/////////////////////////////////
/////////////////////////////////
////START: GLOW BACkGROUND SCRIPT

var glowStopID = "X";
var startID = "X";
var fadeGlowTime = "";

function startGlowBG(glowStartID)
{  
startID =document.getElementById(glowStartID);
	if (glowStopID != "X") { 
		stopGlowBG(glowStopID) 	
		}
		
repeatGlowBG(startID);

glowStopID = glowStartID;
}


function repeatGlowBG(startID) {
	//YFT.fade(startID, [255,255,60], [255,255,255], 750);
	clearTimeout(fadeGlowTime)
	startID.style.background = 'rgb(255,255,0)';
	
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,25)\'', 400);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,50)\'', 500);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,75)\'', 600);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,100)\'', 700);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,125)\'', 800);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,150)\'', 900);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,175)\'', 1000);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,200)\'', 1100);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,225)\'', 1200);
	fadeGlowTime = setTimeout('startID.style.background = \'rgb(255,255,255)\'', 1300);
	
	fadeGlowTime = setTimeout('repeatGlowBG(startID)', 1400);
	
}



function stopGlowBG(glowStopID)
{ 
var stopID =document.getElementById(glowStopID);
stopID.style.background = "white";
}

////STOP: GLOW BACkGROUND SCRIPT
/////////////////////////////////
