var xOffset=0;
var yOffset=-50;
var timerId;
function showPopup(C,E,B){if(window.currentlyVisiblePopup==C){return true
}else{if(!timerId){timerId=setTimeout(function(){showPopup(C,E,B)
},500)
}else{if(E){timerId=null;
hideCurrentPopup();
try{E.cancelBubble=true
}catch(F){}var D=Event.pointerX+xOffset;
var A=Event.pointerY+yOffset;
if(B){D=Element.cumulativeOffset(B).left+B.width;
A=Element.cumulativeOffset(B).top
}moveObject(C,D,A);
if(changeObjectVisibility(C,"visible")){window.currentlyVisiblePopup=C;
return true
}else{return false
}}else{return false
}}}}function hideCurrentPopup(){if(timerId){clearTimeout(timerId);
timerId=null
}if(window.currentlyVisiblePopup){changeObjectVisibility(window.currentlyVisiblePopup,"hidden");
window.currentlyVisiblePopup=false
}}function checkHideCurrentPopup(C,A){if(A){var D=Element.cumulativeOffset(A).left;
var B=(C.pageX)?C.pageX:C.x;
if(B<D+A.width){hideCurrentPopup()
}}}window.onload=initializeHacks;
document.onclick=hideCurrentPopup;
function initializeHacks(){if((navigator.appVersion.indexOf("MSIE 5")!=-1)&&(navigator.platform.indexOf("Mac")!=-1)&&getStyleObject("blankDiv")){window.onresize=explorerMacResizeFix
}resizeBlankDiv();
createFakeEventObj()
}function createFakeEventObj(){if(!window.event){window.event=false
}}function resizeBlankDiv(){if((navigator.appVersion.indexOf("MSIE 5")!=-1)&&(navigator.platform.indexOf("Mac")!=-1)&&getStyleObject("blankDiv")){getStyleObject("blankDiv").width=document.body.clientWidth-20;
getStyleObject("blankDiv").height=document.body.clientHeight-20
}}function explorerMacResizeFix(){location.reload(false)
}function getStyleObject(A){if(document.getElementById&&document.getElementById(A)){return document.getElementById(A).style
}else{if(document.all&&document.all(A)){return document.all(A).style
}else{if(document.layers&&document.layers[A]){return document.layers[A]
}else{return false
}}}}function changeObjectVisibility(A,C){var B=getStyleObject(A);
if(B){B.visibility=C;
return true
}else{return false
}}function moveObject(A,D,B){var C=getStyleObject(A);
if(C){try{C.left=D+"px";
C.top=B+"px"
}catch(E){}return true
}else{return false
}};