Similar topics
Philippine Standard Time
Search
Latest topics
Social bookmarking
Bookmark and share the address of The New Public square on your social bookmarking website
Bookmark and share the address of The New Public Square Forum on your social bookmarking website
Who is online?
In total there are 5 users online :: 0 Registered, 0 Hidden and 5 Guests None
Most users ever online was 470 on Tue May 29, 2012 4:40 pm
FORUM TRANSLATOR
Forum Protection
Advertisement
Cow entrails spell 'Allah' and 'Mohammed'
Page 1 of 1
Cow entrails spell 'Allah' and 'Mohammed'
Cow entrails spell blessing for Malaysian wedding
May 29 02:23 AM US/Eastern
var LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT = 300;
var LEO_HIGHLIGHTS_MAX_HIGHLIGHTS = 50;
var LEO_HIGHLIGHTS_IFRAME_TOP_ID = "leoHighlights_top_iframe";
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID = "leoHighlights_bottom_iframe";
var LEO_HIGHLIGHTS_IFRAME_DIV_ID = "leoHighlights_iframe_modal_div_container";
var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH = 520;
var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT = 391;
var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH = 520;
var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT = 665;
var LEO_HIGHLIGHTS_IFRAME_TOP_POS_X = 0;
var LEO_HIGHLIGHTS_IFRAME_TOP_POS_Y = 0;
var LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH = 520;
var LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT = 294;
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_X = 96;
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_Y = 294;
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH = 425;
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT = 97;
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH = 425;
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT = 371;
var LEO_HIGHLIGHTS_SHOW_DELAY_MS = 300;
var LEO_HIGHLIGHTS_HIDE_DELAY_MS = 750;
var LEO_HIGHLIGHTS_SHOW_DELAY_NO_UNDER_MS = 850;
var LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT = "transparent none repeat scroll 0% 0%";
var LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER = "rgb(245, 245, 0) none repeat scroll 0% 0%";
var LEO_HIGHLIGHTS_ROVER_TAG = "711-36858-13496-14";
createInlineScriptElement("var LEO_HIGHLIGHTS_DEBUG = false;
var LEO_HIGHLIGHTS_DEBUG_POS = false;
var _leoHighlightsPrevElem = null;
var _leoHighlightsSnoozed = false;
/**
* Checks if the passed in class exists
* @param c
* @return
*/
function _leoHighlightsClassExists(c) {
return typeof(c) == "function" && typeof(c.prototype) == "object" ? true : false;
}
/**
* Checks if the firebug console is available
* @param c
* @return
*/
function _leoHighlightsFirebugConsoleAvailable(c) {
try
{
if(_leoHighlightsClassExists(_FirebugConsole) &&
window.console && console.log &&
(console instanceof _FirebugConsole))
{
return true;
}
}
catch(e){}
return false;
}
/**
* General method used to debug exceptions
*
* @param location
* @param e
* @return
*/
function _leoHighlightsReportExeception(location,e)
{
try
{
if(_leoHighlightsFirebugConsoleAvailable() ||LEO_HIGHLIGHTS_DEBUG)
{
var logString=location+": "+e+"nt"+e.name+"nt"+
(e.number&0xFFFF)+"nt"+e.description;
if(_leoHighlightsFirebugConsoleAvailable())
{
console.error(logString);
console.trace();
}
}
if(LEO_HIGHLIGHTS_DEBUG)
alert(logString);
}
catch(e){}
}
/**
* This will log a string to the firebug console
*
* @param str
* @return
*/
function _leoHighlightsDebugLog(str)
{
try
{
if(_leoHighlightsFirebugConsoleAvailable())
{
console.log(typeof(_FirebugConsole)+" "+str);
}
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsDebugLog() "+str,e);
}
}
/**
* This will get an attribute and decode it.
*
* @param elem
* @param id
* @return
*/
function _leoHighlightsGetAttrib(elem,id)
{
try
{
var val=elem.getAttribute(id);
return decodeURI(val);
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsGetAttrib()",e);
}
return null;
}
/**
* Checks if this is within a frame by checking for a parent.
*
* @return
*/
function _leoHighlightsIsFrame()
{
try
{
return (window!=top)
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsIsFrame()",e);
}
return false;
}
/**
* This is a dimensions object
*
* @param width
* @param height
* @return
*/
function LeoHighlightsDimension(width,height)
{
try
{
this.width=width;
this.height=height;
this.toString=function() { return ("("+this.width+","+this.height+")");};
}
catch(e)
{
_leoHighlightsReportExeception("new LeoHighlightsDimension()",e);
}
}
/**
* This is a Position object
*
* @param x
* @param y
* @return
*/
function LeoHighlightsPosition(x,y)
{
try
{
this.x=x;
this.y=y;
this.toString=function() { return ("("+this.x+","+this.y+")");};
}
catch(e)
{
_leoHighlightsReportExeception("new LeoHighlightsPosition()",e);
}
}
var LEO_HIGHLIGHTS_ADJUSTMENT = new LeoHighlightsPosition(3,3);
var LEO_HIGHLIGHTS_IFRAME_TOP_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT);
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH,LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT);
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH,LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT);
var LEO_HIGHLIGHTS_DIV_HOVER_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT);
var LEO_HIGHLIGHTS_DIV_CLICK_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT);
/**
* Sets the size of the passed in element
*
* @param elem
* @param dim
* @return
*/
function _leoHighlightsSetSize(elem,dim)
{
try
{
// Set the popup location
elem.style.width = dim.width + "px";
if(elem.width)
elem.width=dim.width;
elem.style.height = dim.height + "px";
if(elem.height)
elem.height=dim.height;
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsSetSize()",e);
}
}
/**
* This can be used for a simple one argument callback
*
* @param callName
* @param argName
* @param argVal
* @return
*/
function _leoHighlightsSimpleGwCallBack(callName,argName, argVal)
{
try
{
var gwObj = new Gateway();
if(argName)
gwObj.addParam(argName,argVal);
gwObj.callName(callName);
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsSimpleGwCallBack() "+callName,e);
}
}
/**
* This gets a url argument from the current document.
*
* @param url
* @return
*/
function _leoHighlightsGetUrlArg(url, name )
{
name = name.replace(/[[]/,"\[").replace(/[]]/,"\]");
var regexS = "[\?&]"+name+"=([^]*)";
var regex = new RegExp( regexS );
var results = regex.exec(url);
if( results == null )
return "";
else
return results[1];
}
/**
* This allows to redirect the top window to the passed in url
*
* @param url
* @return
*/
function _leoHighlightsRedirectTop(url)
{
try
{
top.location=url;
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsRedirectTop()",e);
}
}
/**
* This will find an element by Id
*
* @param elemId
* @return
*/
function _leoHighlightsFindElementById(elemId,doc)
{
try
{
if(doc==null)
doc=document;
var elem=doc.getElementById(elemId);
if(elem)
return elem;
/* This is the handling for IE */
if(doc.all)
{
elem=doc.all[elemId];
if(elem)
return elem;
for ( var i = (document.all.length-1); i >= 0; i--) {
elem=doc.all[i];
if(elem.id==elemId)
return elem;
}
}
}
catch(e)
{
_leoHighlightsReportExeception("_leoHighlightsFindElementById()",e);
}
return null;
}
/**
* Get the location of one element relative to a parent reference
*
* @param ref
* the reference element, this must be a parent of the passed in
* element
* @param elem
* @return
*/
function _leoHighlightsGetLocation(ref, elem) {
_leoHighlightsDebugLog("_leoHighlightsGetLocation "+elem.id);
var count = 0;
var location = new LeoHighlightsPosition(0,0);
var walk = elem;
while (walk != null && walk != ref && count < LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT) {
location.x += walk.offsetLeft;
location.y += walk.offsetTop;
walk = walk.offsetParent;
count++;
}
_leoHighlightsDebugLog("Location is: "+elem.id+" - "+location);
return location;
}
/**
* This is used to update the position of an element as a popup
*
* @param IFrame
* @param anchor
* @return
*/
function _leoHighlightsUpdatePopupPos(iFrame,anchor)
{
try
{
// Gets the scrolled location for x and y
var scrolledPos=new LeoHighlightsPosition(0,0);
if( self.pageYOffset ) {
scrolledPos.x = self.pageXOffset;
scrolledPos.y = self.pageYOffset;
} else if( document.documentElement && document.documentElement.scrollTop ) {
scrolledPos.x = document.documentElement.scrollLeft;
scrolledPos.y = document.documentElement.scrollTop;
} else if( document.body ) {
scrolledPos.x = document.body.scrollLeft;
scrolledPos.y = document.body.scrollTop;
}
/* Get the total dimensions to see what scroll bars might be active */
var totalDim=new LeoHighlightsDimension(0,0)
if (document.all && document.documentElement &&
document.documentElement.clientHeight&&document.documentElement.clientWidth)
{
totalDim.width = document.documentElement.scrollWidth;
totalDim.height = document.documentElement.scrollHeight;
}
else if (document.all)
{ /* This is in IE */
totalDim.width = document.body.scrollWidth;
totalDim.height = document.body.scrollHeight;
}
else
{
totalDim.width = document.width;
totalDim.height = document.height;
}
// Gets the location of the available screen space
var centerDim=new LeoHighlightsDimension(0,0);
if(self.innerWidth && self.innerHeight ) {
centerDim.width = self.innerWidth-(totalDim.height>self.innerHeight?16:0); // subtracting scroll bar offsets for firefox
centerDim.height = self.innerHeight-(totalDim.width>self.innerWidth?16:0); // subtracting scroll bar offsets for firefox
} else if( document.documentElement && document.documentElement.clientHeight ) {
centerDim.width = document.documentElement.clientWidth;
centerDim.height = document.documentElement.clientHeight;
} else if( document.body ) {
centerDim.width = document.body.clientWidth;
centerDim.height = document.body.clientHeight;
}
// Get the current dimension of the popup element
var iFrameDim=new LeoHighlightsDimension(iFrame.offsetWidth,iFrame.offsetHeight)
if (iFrameDim.width 0)
position.x = anchorPos.x + anchorDim.width;
else if (anchorScreenPos.x - anchorDim.width - iFrameDim.width > 0)
position.x = anchorPos.x - anchorDim.width;
else // default to below
position.y = anchorPos.y + anchorDim.height;
_leoHighlightsDebugLog("_leoHighlightsUpdatePopupPos() - sideBottom: "+position);
}
}
/* Make sure that we don't go passed the right hand border */
if(position.x+iFrameDim.width>centerDim.width-20)
position.x=centerDim.width-(iFrameDim.width+20);
// Make sure that we didn't go passed the start
if(position.x
RavlaM- .
- Posts : 975
Join date : 2010-07-31
Similar topics
» Where Is Allah ???
» Did Allah create evil/devil?
» Sino ang huhusga at Papatay sa mga Disbeliever? Si Allah ba? O Muslim?
» Did Allah create evil/devil?
» Sino ang huhusga at Papatay sa mga Disbeliever? Si Allah ba? O Muslim?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Sun Jan 08, 2017 2:42 am by Teng
» Survivor...
Wed Aug 31, 2016 1:00 pm by Esther
» Guys musta na kayo?
Fri May 10, 2013 8:51 am by RavlaM
» iNTRODUCTION
Thu Jan 24, 2013 6:52 pm by Comb@tron
» Lets talk about MARRIAGE
Thu Jan 24, 2013 6:49 pm by Comb@tron
» Para sa Muslim, Masama bang maging Pedopilyo?
Tue Jun 19, 2012 4:13 am by viruzol_007
» DEBATE with VANNIE...
Tue Jun 19, 2012 3:26 am by harballah
» DEATH PENALTY
Fri Mar 16, 2012 11:01 pm by RavlaM
» Ang katotohanan tungkol sa Iglesia ni Cristo na pekeng iglesia na tatag ni Manalo.
Wed Feb 29, 2012 7:57 pm by Lito
» Watch Impeachment trial Live Streaming: CJ CORONA
Thu Jan 19, 2012 4:02 pm by Disciple
» Si kapatid na Felix Manalo
Tue Nov 22, 2011 12:28 pm by Guest
» Ashampoo Burning Studio v10.0.15 Portable
Fri Nov 18, 2011 4:19 pm by Dhugz
» Atomix Virtual DJ Pro v7.0.5 Portable
Fri Nov 18, 2011 4:11 pm by Dhugz
» Constitutional Crisis?
Wed Nov 16, 2011 9:54 pm by Guest
» HOTSPOTSHIELD
Thu Nov 10, 2011 11:54 am by Disciple