// Color shifter v0.01
// John Hobbs 11/22/06
// www.velvetcache.org
function colorShift(strTarget,sR,sG,sB,tR,tG,tB) {
	if(sR == tR && sG == tG && sB == tB) { return; }
	if(sR != tR) { (sR < tR) ? sR++ : sR--; }
	if(sG != tG) { (sG < tG) ? sG++ : sG--; }
	if(sB != tB) { (sB < tB) ? sB++ : sB--; }
	document.getElementById(strTarget).style.backgroundColor = "rgb("+sR+","+sG+","+sB+")";
	setTimeout("colorShift('"+strTarget+"',"+sR+","+sG+","+sB+","+tR+","+tG+","+tB+")",1);
}
