function showLpage() { boxWidth = 850; boxHeight = 600; screenWidth=document.all?document.body.clientWidth:window.innerWidth; screenHeight=document.all?document.body.clientHeight:window.innerHeight; xPos = (screenWidth - boxWidth) * 0; yPos = (screenHeight - boxHeight) * 1; document.getElementById('topbox').style.left=xPos; document.getElementById('topbox').style.top=yPos; //Show the background overlay and topbox... document.getElementById('screenoverlay').style.display = 'block'; document.getElementById('topbox').style.display = 'block'; //document.getElementById('Lpage').src='landing_page.html'; document.getElementById('light').style.display = 'none'; document.getElementById('fade').style.display = 'none'; //document.lightbox.submit(); } function delayedshowLpage(seconds) { setTimeout("showLpage()", seconds*1000); } function showTop() { boxWidth = 800; boxHeight = 800; screenWidth=document.all?document.body.clientWidth:window.innerWidth; screenHeight=document.all?document.body.clientHeight:window.innerHeight; xPos = (screenWidth - boxWidth) * 0; yPos = (screenHeight - boxHeight) * 1; document.getElementById('popup').style.left=xPos; document.getElementById('popup').style.top=yPos; document.getElementById('popup').style.display = 'block'; } function delayedShowTop(seconds) { setTimeout("showTop()", seconds*1000); } function closeTop() { document.getElementById('popup').style.display = 'none'; }