Hello world!

21 Dec

var player = null;
function playerReady(thePlayer) {
player = window.document[thePlayer.id];

}
setOverlayHTML();
//setInterval( “setOverlayHTML()”, 100000 );
setInterval( “setFooterHTML()”, 130000 );
setInterval( “setOverlayHTML()”, 400000 );
cdInterval=null;
function setBannerHTML(banner_html)
{
document.getElementById(“banner_container”).innerHTML = banner_html;
}
function removeBannerHTML()
{
document.getElementById(“banner_container”).innerHTML = “”;
}
function thisMovie(movieName) {
if (navigator.appName.indexOf(“Microsoft”) != -1) {
return window[movieName];
} else {
return document.getElementById(movieName);
}
}
function removeOverlayHTML()
{
document.getElementById(“ad_overlay_content”).innerHTML = “”;
document.getElementById(“ad_overlay”).style.display=”none”;
cdInterval=0;

document.getElementById(“countdownnum”).innerHTML=0;
player.sendEvent(“PLAY”, true);

}

function setOverlayHTML()
{

removeFooterHTML();
document.getElementById(“ad_overlay_content”).innerHTML = “
http://ap.lijit.com/adif_px.php?z=129161&u=livefoot“;
document.getElementById(“countdownnum”).innerHTML=”35″;
cdInterval=setInterval(“countDown()”,1000);
document.getElementById(“ad_overlay”).style.display=””;
}

function setFooterHTML()
{

document.getElementById(“ad_footer_content”).innerHTML = “http://ap.lijit.com/adif_px.php?z=129160&u=livefoot“;
document.getElementById(“ad_footer”).style.display=””;
}
function removeFooterHTML()
{
document.getElementById(“ad_footer_content”).innerHTML = “”;
document.getElementById(“ad_footer”).style.display=”none”;
}
function countDown()
{
currentCD=parseInt(document.getElementById(“countdownnum”).innerHTML);
if (currentCD==1)
removeOverlayHTML();
else
document.getElementById(“countdownnum”).innerHTML=(currentCD-1);
}

Follow

Get every new post delivered to your Inbox.