function showHideLayers() { var i, visStr, obj, args = showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) { if ((obj = findObj(args[i])) != null) { visStr = args[i+2]; if (obj.style) { obj = obj.style; if(visStr == 'show') visStr = 'visible'; else if(visStr == 'hide') visStr = 'hidden'; } obj.visibility = visStr; } } } function findObj(theObj, theDoc) { var p, i, foundObj; if(!theDoc) theDoc = document; if( (p = theObj.indexOf("?")) > 0 && parent.frames.length) { theDoc = parent.frames[theObj.substring(p+1)].document; theObj = theObj.substring(0,p); } if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj]; for (i=0; !foundObj && i < theDoc.forms.length; i++) foundObj = theDoc.forms[i][theObj]; for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) foundObj = findObj(theObj,theDoc.layers[i].document); if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj); return foundObj; } var pspoped = false; var tmautoclose = false; function showad( adid, tmout ) { if ( !pspoped ) { showHideLayers(adid,"","show"); if ( !tmautoclose ) tmautoclose = setTimeout('showHideLayers("'+adid+'","","hide")', tmout); } } function showhtmlad(html,adwidth,adheight) { pswidth = adwidth; psheight = adheight + 10; psleft = bwidth - pswidth; pstop = bheight - psheight; if ( pstop < 0 ) pstop = 0; if ((obj = findObj('_pspp_div')) != null) { obj.style.left = psleft + "px"; obj.style.top = pstop + "px"; // alert(adwidth+":"+adheight); // obj.style.left = "50px"; // obj.style.top = "50px"; obj.style.width = pswidth + "px"; obj.style.height = psheight + "px"; } var obj = findObj('_pspp_adframe'); if ( obj ) { obj.style.width = adwidth + "px"; obj.style.height = adheight + "px"; obj.innerHTML = html; tmr = setTimeout('showad( "_pspp_div", 30000 )', 500); } } function hidead( adid ) { showHideLayers(adid,"","hide"); if ( tmautoclose ) { clearTimeout ( tmautoclose ); tmautoclose = false; pspoped = true; } } bwidth = 800; bheight = 600; if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { bwidth = window.innerWidth-16; bheight = window.innerHeight-16; } if (navigator.appName.indexOf("Microsoft")!=-1) { bwidth = document.body.offsetWidth-25; bheight = document.body.offsetHeight-20; } } pswidth = 125; psheight = 135; psleft = bwidth - pswidth; pstop = bheight - psheight; if ( pstop < 0 ) pstop = 0; url = 'http://interserve.net/engine/show.img.php?crttype=pspx(1:1)&cid=1297&pid=0&name=1297_0_19251282479373200'; var tmp = new Date(); var suffix = tmp.getTime(); url += '&anticache='+suffix; curl = 'http://interserve.net/engine/click.php?cid=1297&pid=0&name=1297_0_19251282479373200'; document.write("
"); url = 'http://interserve.net/engine/show.img.php?crttype=pspx(1:1)&cid=1297&pid=0&name=1297_0_19251282479373200'; var tmp = new Date(); var suffix = tmp.getTime(); url += '&anticache='+suffix; document.write("");