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} |