var DefaultTop=50;function hideElement(a){if(document.getElementById&&document.getElementById(a)&&document.getElementById(a).style){document.getElementById(a).style.visibility="hidden";document.getElementById(a).style.display="none"}}function showElement(a){if(document.getElementById&&document.getElementById(a)&&document.getElementById(a).style){document.getElementById(a).style.visibility="visible";document.getElementById(a).style.display="block"}}function closePopUp(a){}function showPopup(f,a,c,e){document.getElementById(f).style.height=window.screen.availHeight+"px";var b=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);showElement(c);var d=document.getElementsByTagName("SELECT");for(var g=0;g<d.length;g++){d[g].style.visibility="hidden";d[g].style.display="none"}}function hidePopup(){document.body.parentNode.style.overflow="";var a=document.getElementsByTagName("SELECT");for(var b=0;b<a.length;b++){a[b].style.visibility="visible";a[b].style.display=""}}function checkscroll(a,e,c,d){if(document.getElementById(c).style.visibility=="visible"){var b=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);document.getElementById(e).style.top=b+"px";if(d==null||d=="undefined"){d=DefaultTop}document.getElementById(a).style.top=String(Number(b)+d)+"px";setTimeout("checkscroll('"+a+"','"+e+"','"+c+"',"+d+")",1)}}function StopVideo(a){if(document.getElementById&&document.getElementById(a)&&document.getElementById(a).src){document.getElementById(a).src=""}}var ashxLoadControlPath="../Handlers/LoadControl.ashx";function LoadVideoControl(a){var b=ashxLoadControlPath;var c="~/UserControls/DisplayAd.ascx";b+="?rnd="+Math.random();b+="&SkipLogginTest=1";b+="&ControlPath="+c;b+="&ExternalSrcId="+a;$("#divInnerVideo").load(b,function(f,d,e){})}function LoadVideoControlToTop(a){var b=ashxLoadControlPath;var c="~/UserControls/DisplayAd.ascx";b+="?rnd="+Math.random();b+="&SkipLogginTest=1";b+="&ControlPath="+c;b+="&ExternalSrcId="+a;$(window.parent.document.getElementById("divInnerVideo")).load(b,function(f,d,e){})}function hideVideoFromTop(){window.parent.document.getElementById("divInnerVideo").innerHTML="";hideElement("fullscreen2");hidePopup()};
