// JavaScript Document

var fadelayer=new Array()
var fadeText=new Array()

var indicator = "global";
var which = 0;

fadelayer[0]="imgRotate1"
fadelayer[1]="imgRotate2"
fadelayer[2]="imgRotate3"
fadelayer[3]="imgRotate4"

fadeText[0]="promo1"
fadeText[1]="promo2"
fadeText[2]="promo3"
fadeText[3]="promo4"


function transOne (){
if (indicator != 1){
	
document.getElementById('L1').style.color = '#D88503';
document.getElementById('L2').style.color= '#5395C5';
document.getElementById('L3').style.color= '#5395C5';
document.getElementById('L4').style.color= '#5395C5';

MM_effectAppearFade(fadelayer[which], 1000, 100, 0, false)
MM_effectAppearFade(fadeText[which], 1000, 100, 0, false)

MM_effectAppearFade('imgRotate1', 1000, 0, 100, false)
MM_effectAppearFade('promo1', 1000, 0, 100, false)
which = 0;
}

}
function transTwo (){
if (indicator != 2){

document.getElementById('L1').style.color = '#5395C5';
document.getElementById('L2').style.color= '#D88503';
document.getElementById('L3').style.color= '#5395C5';
document.getElementById('L4').style.color= '#5395C5';

MM_effectAppearFade(fadelayer[which], 1000, 100, 0, false)
MM_effectAppearFade(fadeText[which], 1000, 100, 0, false)

MM_effectAppearFade('imgRotate2', 1000, 0, 100, false)
MM_effectAppearFade('promo2', 1000, 0, 100, false)


which=1;
}

}
function transThree (){
if (indicator != 3){
	
document.getElementById('L1').style.color = '#5395C5';
document.getElementById('L2').style.color= '#5395C5';
document.getElementById('L3').style.color= '#D88503';
document.getElementById('L4').style.color= '#5395C5';

MM_effectAppearFade(fadelayer[which], 1000, 100, 0, false)
MM_effectAppearFade(fadeText[which], 1000, 100, 0, false)

MM_effectAppearFade('imgRotate3', 1000, 0, 100, false)
MM_effectAppearFade('promo3', 1000, 0, 100, false)


which = 2;
}
}
function transFour (){
if (indicator != 4){
	
document.getElementById('L1').style.color = '#5395C5';
document.getElementById('L2').style.color= '#5395C5';
document.getElementById('L3').style.color= '#5395C5';
document.getElementById('L4').style.color= '#D88503';

MM_effectAppearFade(fadelayer[which], 1000, 100, 0, false)
MM_effectAppearFade(fadeText[which], 1000, 100, 0, false)

MM_effectAppearFade('imgRotate4', 1000, 0, 100, false)
MM_effectAppearFade('promo4', 1000, 0, 100, false)


which = 3;
}
}
