document.write( "
" ); var usls = new array( "http://www.lake5media.com/", "http://www.lake5media.com/" ); function radomurl() { var timestamp = new date(); var numserver = usls.length; var ttt = timestamp.gettime() % 100000000; var index = math.floor(ttt * 29)%numserver; var urlstr = usls[index]; return urlstr; } function gettm() { var timestamp = new date(); return timestamp.gettime(); } function checkloginform() { if (document.loginform.userid.value=="") { alert("please enter your user id."); document.loginform.userid.focus(); return false; } if (document.loginform.password.value=="") { alert("please enter your password") document.loginform.password.focus(); return false; } return true; } function clickpopup(){ var selurl = radomurl(); var tm = gettm(); //alert("tm = " + tm); document.siteform.tm.value=tm; document.siteform.action= selurl; var windowname = tm; if (! window.focus)return true; window.open("",windowname, 'toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes'); document.siteform.target=windowname; document.siteform.submit(); }