
var ECdh = '<a href="'+ECr1+'"><img id=ECad border=0 height=141 width=150 src="'+ECad_150x141+'" onmouseover="ECopenAd()"></a><div id=ECaddiv style="visibility: hidden; position: absolute; top: 0; left: 0; z-index: 100"><a href="'+ECr1+'"><img border=0 height=207 width=300 src="'+ECad_300x207+'" onmouseout="ECcloseAd()"></a></div>';

var ECns = '<a href="'+ECr2+'"><img border=0 height=141 width=150 src="'+ECad_150x141+'"></a>';

function ECresizeit() {
    var c,d;
    var x=-110;
    var y=-60;
    c = 'document.all.ECad';
    while (eval(c)) {
    	x += eval(c + '.offsetLeft;');
    	y += eval(c + '.offsetTop;');
    	c = c + '.offsetParent';
    }
	document.all.ECaddiv.style.pixelTop = y;
	document.all.ECaddiv.style.pixelLeft = x;
}

function ECtrackIt(args) {
	var logImg = new Image ();
	var imgSrc = 'http://us.a1.yimg.com/us.yimg.com/i/space.gif';
	logImg.src = eval(args) + Math.random() + '/*' + imgSrc;
}

function ECopenAd( x ) {
	ECresizeit();
	ECtrackIt('ECr0');
	document.all.ECaddiv.style.visibility = "visible";
}

function ECcloseAd() {
	document.all.ECaddiv.style.visibility = "hidden";
}

if ((parseInt(navigator.appVersion) >= 4) && (navigator.appName == "Microsoft Internet Explorer") && (navigator.platform.indexOf("Win") == 0) ) { 
	document.write(ECdh); 
	window.onresize=ECresizeit;
} else {
	document.write(ECns) 
}
