<!--

  //var homepath2 = 'http://usrrbdev.rrb.gov/';
  //var homepath2 = 'http://usrrbtest.rrb.gov/';
  //var homepath2 = 'http://rrbstage.rrb.gov/';
  //var homepath2 = 'http://rrbtest.rrb.gov/';
  var homepath2 = 'http://www.rrb.gov/';

// Added 09/02/2005 For link in drop down menu

function openWindow(url) {

window.open(url,'NewWindow',"top=1,left=1,height=300,width=600,status=no,toolbar=no,menubar=no,location=no");

}

// Added 09/02/2005 For link in drop down menu

function linkNavigate(url){

	window.location.href = url

}

// Added 09/02/2005 For side navigation

function SwapOver(Cell){

Cell.style.color="#DCDCDC"
Cell.style.background="#F5F5DC"

}

function SwapOut(Cell){

Cell.style.color="#000000"
Cell.style.background="#F0F8FF"

}


function SwapOver_topnav(Cell){

//Cell.style.color="navy"
Cell.style.background="#CCCCCC"

}

function SwapOut_topnav(Cell){

//Cell.style.color="#000000"
Cell.style.background="#F0F8FF"

}



function SwapOver_botnav(Cell){

//Cell.style.color="navy"
Cell.style.background="#F0F8FF"

}

function SwapOut_botnav(Cell){

//Cell.style.color="#000000"
Cell.style.background="navy"

}

function SwapOver_recovery(Cell){

//Cell.style.color="navy"
Cell.style.background="#E0F7CC"

}

function SwapOut_recovery(Cell){

//Cell.style.color="#000000"
Cell.style.background="#DCE6F0"

}


//Added 05/12/2005 for nextPage, nextPageERS and getLink functions


function nextPage(LinkClicked) {

window.location.href = homepath2 + "disclaimer/exit_disclaimer.asp?LinkClicked='" + LinkClicked + "'"

}

function nextPageERS(LinkClicked) {

window.location.href = homepath2 + "disclaimer/exit_disclaimer.asp?LinkClickedERS='" + LinkClicked + "'"

}

function nextPageMediaSite(LinkClicked) {

window.location.href = homepath2 + "disclaimer/exit_disclaimer.asp?LinkClickedMediaSite='" + LinkClicked + "'"

}

function getLink() {
	if (location.search!='')
	{
	var theLink=location.search
	var theLink_Array=theLink.split("=")
	    if (theLink_Array[0]=='?LinkClickedERS')
	     {
             location.href=eval(theLink_Array[1]+'='+theLink_Array[2]+'='+theLink_Array[3])	     
	     }
	     else if (theLink_Array[0]=='?LinkClickedMediaSite')
	     {
             location.href=eval(theLink_Array[1]+'='+theLink_Array[2])	     
	     }
	     else
	     {
	     location.href=eval(theLink_Array[1])	     
	     }
	}
	else
	{
	return 
	}
}	

	



//-->


