function SetBackgroundColor( sObject, sColor )
{
	if( !document.all ) return false;
	
	var objLink = document.all[ sObject ];
	if( !objLink || !objLink.style ) return false;
	
	objLink.style.backgroundColor = sColor;

	return true;
}

function OnSlideChange( iSlideNum )
{
	var iSlide = 1;
	while( SetBackgroundColor( "slide" + iSlide, "transparent" ) )
	{
		++iSlide;
	}
		
	SetBackgroundColor( "slide" + iSlideNum, "#ffffcc" );
}

