var SWF1 = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"545\" height=\"228\"><param name=movie value=\"images/centr3.swf\"><param name=quality value=high><param name=\"SCALE\" value=\"noborder\"><embed src=\"images/centr3.swf\" width=\"545\" height=\"228\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" scale=\"noborder\"></embed></object>";
var SWF2 = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"545\" height=\"228\"><param name=movie value=\"images/centr0.swf\"><param name=quality value=high><param name=\"SCALE\" value=\"noborder\"><embed src=\"images/centr0.swf\" width=\"545\" height=\"228\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" scale=\"noborder\"></embed></object>";
var SWF3 = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"545\" height=\"228\"><param name=movie value=\"images/centr1.swf\"><param name=quality value=high><param name=\"SCALE\" value=\"noborder\"><embed src=\"images/centr1.swf\" width=\"545\" height=\"228\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" scale=\"noborder\"></embed></object>";
var CLR  = "<table border=\"0\" width=\"545\" height=\"228\" background=\"ims/bg.gif\" bgcolor=\"#535964\"><tr><td><img src=\"ims/empty.gif\" width=\"545\" height=\"228\"></td></tr></table>";
var SWFList = [SWF1,SWF2,SWF3];
var TMOList = [24150,26600,47500];
var current = 0;
timer = 0;
function SWFRotation() {
	if(current++ == SWFList.length-1) current = 0;
	document.getElementById("flashIntro").innerHTML = SWFList[current];
	timer = setTimeout("SWFFadeOut()", TMOList[current]);
}
function SWFFadeOut() {
	document.getElementById("flashIntro").innerHTML = CLR;
	timer = setTimeout("SWFRotation()", 800);
}
function getPage(dlink){
	document.stl.num.value = (current+1);
	document.stl.action = dlink;
	document.stl.submit();
}
function initRotation(val) {
	if(val=="1"){current = "2";}
	if(val=="2"){current = "0";}
	if(val=="3"){current = "1";}
}