
// Copyright (c) 2004 Fastclick.com, Inc

function stoperror(){
return true
}
window.onerror=stoperror

var myFFURL='http://media30.fastclick.net/w/safepop.cgi?mid=46762&sid=4253&id=103614&len=629&c=3&nfcp=1&ff=1';
var myFURL='http://media30.fastclick.net/w/safepop.cgi?mid=46762&sid=4253&id=103614&len=629&c=3&nfcp=1&ff=2';
var mySPURL='http://media30.fastclick.net/w/safepop.cgi?mid=46762&sid=4253&id=103614&len=629&c=3&nfcp=1&fp=2';
var myURL='http://media30.fastclick.net/w/safepop.cgi?mid=46762&sid=4253&id=103614&len=629&c=3&nfcp=1&fp=1';

var popV='width=720,height=300';
var dz=document;
var jsp;
if(parseFloat(navigator.appVersion)>=4){var myTI=screen.height/2-300/2;var myLI=screen.width/2-720/2;myURL=myURL+'&top='+myTI+'&left='+myLI+'&pop=slider';popV+=',top=3000,left=3000';}
if(parseFloat(navigator.appVersion)>=4){var myFURL=myFURL+'&top='+myTI+'&left='+myLI+'&pop=slider';popV+=',top=3000,left=3000';}
var ojp=0;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
IE6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
IE5plus = IE5 || IE6;
fastClickpopWindow();


function setVal(){
ojp=777;
}

function ffPop(){
var encodedURL=escape(myFFURL);
var top=screen.height/2-300/2;
var left=screen.width/2-720/2;
var width=720;
var height=300;
document.write('<embed src="http://cdn.fastclick.net/fastclick.net/ffp.swf?url='+encodedURL+'&width='+width+'&height='+height+'&top='+top+'&left='+left+'" quality="high" wmode="transparent" bgcolor="#333333" width="1" height="1" name="popup" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
fcfocus();
}

function fcfocus() {
for (var i=0; i<50; i++){
var delay=i*25+1;
setTimeout('self.focus()',delay);
}
}

function xpsp2() {
var top=screen.height/2-300/2;
var left=screen.width/2-720/2;
var geoString="top="+top+",left="+left+",width=720,height=300";
var sp2ck=document.cookie;sp2idx=sp2ck.indexOf('XPSP2_true');
if(sp2idx <= 0 && !ojp) {
window.open('http://media30.fastclick.net/w/safepop.cgi?mid=46762&sid=4253&id=103614&len=629&c=3&nfcp=1&fp=4','cool4116', geoString, true);
self.focus();
dt=new Date();
dt.setTime(dt.getTime()+(60*60*1000));
document.cookie = "fcXPSP2CK=XPSP2_true; path=/; expires="+ dt.toGMTString();
if (typeof(cap_ck)!= "undefined"){
document.cookie=cap_ck;
}
    fcfocus();
}
}

function fcfp() {
if(!ojp) {
var encodedURL=escape(mySPURL);
var top=screen.height/2-300/2;
var left=screen.width/2-720/2;
var width=720;
var height=300;
var flurl='http://cdn.fastclick.net/fastclick.net/ffp3.swf?url='+encodedURL+'&width='+width+'&height='+height+'&top='+top+'&left='+left;

this.layer = document.createElement("div");
this.layer.style.visibility = "visible";
this.layer.innerHTML = '<embed src="'+flurl+'" allowScriptAccess="always" type="application/x-shockwave-flash" name="stpFlash" wmode="transparent" bgcolor="#eeeeee" width="1" height="1" swLiveConnect="true"/>';
document.body.appendChild(this.layer);
fcfocus();
setTimeout('this.layer.style.visibility = "hidden"', 2000);
}
}

function fastClickpopWindow(){

if(IE5plus) {
var xwin4116 = window.open("",'cool4116', popV, true);
fcfocus();

if(xwin4116){
xwin4116.document.write('<scr'+'ipt language="javascript">');
xwin4116.document.write('if(window.opener){setTimeout(\'window.opener.setVal()\',500);}');
xwin4116.document.write("setTimeout('reDIR()',1000);");
xwin4116.document.write("function reDIR(){location.href='"+myURL+"';}");
xwin4116.document.write('</scr'+'ipt>');
}

setTimeout('fcfp()', 2000);

} else { 

var xwin4116 = window.open("",'cool4116', popV, true);
if(xwin4116) {
xwin4116.document.write('<scr'+'ipt language="javascript">');
xwin4116.document.write('if(window.opener){setTimeout(\'window.opener.setVal()\',500);}');
xwin4116.document.write("setTimeout('reDIR()',1000);");
xwin4116.document.write("function reDIR(){location.href='"+myFURL+"';}");
xwin4116.document.write('</scr'+'ipt>');
fcfocus();
} else {
if(!ojp) {
ffPop();
}
}

}

}
if (typeof(cap_ck)!= "undefined"){
document.cookie=cap_ck;
}
        
if((navigator.userAgent.indexOf("AOL") == -1) && !ojp && IE5plus) {
document.onclick=xpsp2;
if (typeof(cap_ck)!= "undefined"){
document.cookie='he=llo; path=/; expires=0';
}
} else {
if (typeof(cap_ck)!= "undefined"){
document.cookie=cap_ck;
}
}

