function init() {
	if (!document.getElementById) return;
	preloads=new Array();
	imgs=document.getElementsByTagName('img');
	for (i=0;i<imgs.length;i++) {
		for (j=0; j<imgs[i].attributes.length; j++) {
			tt = imgs[i].attributes[j].name.toUpperCase();
			if (tt == "SWAP") {
				soff = imgs[i].getAttribute('src'); son = soff.replace("_off","_on");
				preloads[i] = new Image(); preloads[i].src = son;
				imgs[i].onmouseover = new Function("imgs["+i+"].src='"+son+"'");
				imgs[i].onmouseout = new Function("imgs["+i+"].src='"+soff+"'");
			}
		}
	}
	fadeall();
	window.setTimeout("changepic(0)",3000);
	window.setTimeout("changepic(1)",2000);
	window.setTimeout("changepic(2)",3500);
	window.setTimeout("changepic(3)",2500);
	window.setTimeout("changepic(4)",2250);
	window.setTimeout("changepic(5)",3250);
	window.setTimeout("changepic(6)",2750);

	o=document.getElementById("visa");
	o.style.visibility="visible";
}

onload=init;

function fadeIn(whatdiv,s) {
	if (document.all) {
	    document.getElementById(whatdiv).style.filter="blendTrans(duration="+s+")";
	    if (document.getElementById(whatdiv).filters.blendTrans.status != 2) {
	        document.getElementById(whatdiv).filters.blendTrans.apply();
	        document.getElementById(whatdiv).style.visibility="visible";
	        document.getElementById(whatdiv).filters.blendTrans.play();
	    }
	} else {
	        document.getElementById(whatdiv).style.visibility="visible";
	}
}
function fadeall() {
	window.setTimeout("fadeIn('hf1',0.5)",0);
	window.setTimeout("fadeIn('hf2',0.7)",100);
	window.setTimeout("fadeIn('hf3',0.9)",200);
	window.setTimeout("fadeIn('hf4',1.1)",300);
	window.setTimeout("fadeIn('hf5',1.3)",400);
	window.setTimeout("fadeIn('hf6',1.5)",500);
	window.setTimeout("fadeIn('hf7',1.7)",600);

	window.setTimeout("fadeIn('hl1',0.6)",50);
	window.setTimeout("fadeIn('hl2',0.8)",150);
	window.setTimeout("fadeIn('hl3',1.0)",250);
	window.setTimeout("fadeIn('hl4',1.2)",350);
	window.setTimeout("fadeIn('hl5',1.4)",450);
	window.setTimeout("fadeIn('hl6',1.6)",550);
}

