/*wait-Layer*/ 

function checkPleasewait()  { 

if (!pageReady)  { 

if (document.getElementById("pleasewait").style.visibility=="hidden")  { 

startPleasewait(); 

} 

setTimeout("checkPleasewait();",500); 

} 



if (pageReady)  { 

stopPleasewait(); 

} 

} 

document.write("<div id='pleasewait' style='position:absolute;left:350px;top:200px;width:300px;height:50px;z-index:5;visibility:hidden'><img id='imgpleasewait' src='wait.gif' border='0' align='center' onClick='stopPleasewait();' width='300' height='50'></div>"); 



function startPleasewait()  { 

document.getElementById("pleasewait").style.visibility="visible"; 

} 



function stopPleasewait()  { 

document.getElementById("pleasewait").style.visibility="hidden"; 

pageReady=true; 

}

checkPleasewait();



