if(document.layers)
{
	top.location.href = "/rbl/rbl/ua_disclaimer.html";
}

var sLS;

function HideBG(){
    // hide the flower background image (if called from the onload event)
    var el;
    el = document.getElementById("tblWithBG");
    if (el != null){
        el.style.backgroundImage = 'none';
    }
}

function PNMouseOver(obj)
{
	if(obj.href.indexOf("P" + sLS) != -1) return;
	obj.style.color='#515151';
}
function PNMouseOut(obj){
	if(obj.href.indexOf("P" + sLS) != -1) return;
	obj.style.color='#FCFFFA';
}


function SNMouseOver(obj){
	if(obj.href.indexOf("P" + sLS) != -1) return;
	obj.style.color='#262626';
}
function SNMouseOut(obj){
	if(obj.href.indexOf("P" + sLS) != -1) return;
	obj.style.color='#41423D';
}

function setLocalState()
{
	sHref = document.location.href;
	sLS	  = sHref.substring(sHref.lastIndexOf("/")+2, sHref.lastIndexOf("."));

	if(sLS.length == 1)
	{
		document.getElementById('PN' + sLS).className += "-on";
	} 
	else if(sLS.length == 2)
	{
		document.getElementById('PN' + sLS.charAt(0)).className += "-on";

		if(sLS.charAt(1) == "0")
		{
			return;
		}
		else
		{
			document.getElementById('SN' + sLS).className += "-on";
		}
	}
}


function Main()
{
	setLocalState();
}

