function openwin(url,winname,wi,he) { if (wi == 0) { var wi = 700 var he = 400 } var win=window.open(url,winname,'width='+wi+',height='+he+',scrollbars,status',1); win.resizeTo(wi,he) win.focus(); } function OpenCertDetails() { thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=CAPROA1', 'anew', config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes'); } function viewContent(text) { if (!document.layers) { list.style.position='absolute'; list.style.background='white'; list.style.border='solid 1 black'; list.style.visibility='visible'; x = screen.width; list.style.left=document.body.scrollWidth - 100; list.style.top='2'; list.innerHTML.src = text; } else { document.list.visibility='show'; document.list.moveTo(400,2); document.list.document.write(text); } } function onLineSupport(delay) { d = new Date(); now = d.getSeconds(); if (!getcookie( 'arrivalTime' )) { setcookie ( 'arrivalTime', now ); } if (!getcookie( 'support' )) { remaining = now - getcookie('arrivalTime'); setTimeout( 'popSupportWindow()', (delay - remaining) * 1000 ); } } function popSupportWindow() { window.open("../textpage.php?it=SU","Support",'width=500,height=250',1); setcookie( 'support', '1' ); } function getcookie(cookiename) { var cookiestring=""+document.cookie; var index1=cookiestring.indexOf(cookiename); if (index1==-1 || cookiename=="") return ""; var index2=cookiestring.indexOf(';',index1); if (index2==-1) index2=cookiestring.length; return unescape(cookiestring.substring(index1+cookiename.length+1,index2)); } function setcookie(name,value){ cookiestring=name+"="+escape(value); document.cookie=cookiestring; }