Home Francais E-mail Animanga - Anime and Manga Services





Search :



Subject:
From:
URL:
E-mail:
Source code of the pop-up page here... (Sun Apr 27 06:49:51 2003 )
kabob [View profile ]


I replaced each instance of < with { and vice 
versa; I replaced each instance of > with } in 
order to prevent any weird HTML effects when you 
read this message:

// SOURCE CODE OF POP-UP WINDOW

{HTML}
{head}
{SCRIPT 
SRC="http://include.ebay.com/aw/pics/js/cookies.j
s"}{/SCRIPT}
{script 
src="http://include.ebay.com/aw/pics/js/popout/pr
omo_popout_mediaplex.js"}{/script}
{script language="javascript"}
{!--
function redirectMe()
{
	//Read and escape the popup timestamp
	var srch = unescape
(document.location.search);
	var tsInd = srch.indexOf("&ts=");
	var pts = new Date(srch.substring
(tsInd+4,srch.indexOf("&",tsInd+1)));
	var ts = new Date(ReadCookie
("surveyTimestamp"));

	if (pts {= ts)
		window.close();
	else
	{
		//Write the survey cookie so 
this doesn't get shown again
		var et = new Date();
		et.setMonth(et.getMonth()+3);
	//Expire in 3 months
		WriteCookie(surveyCookie, 
surveyValue, tDomain, "/", et);

		var wi = srch.indexOf("&width=");
		var hi = srch.indexOf
("&height=");
		var left = (screen.width) ? 
(screen.width-parseInt(srch.substring
(wi+7,hi)))/2 : 0;
		var top = (screen.height) ? 
(screen.height-parseInt(srch.substr(hi+8)))/2 : 
0;
		window.moveTo(left,top);
		window.focus();
		location.href = srch.substring
(1,tsInd);
	}
}
//--}
{/script}
{/head}

{body onLoad="setTimeout(redirectMe,1000);"}

{/body}
{/HTML}



[ Back to Cels Forum ]


Message thread :


Copyright ©2000 Yann Stettler and CohProg Sarl. All rights reserved. Privacy statement