// JavaScript Document

// Simple function to demonstrate Left Nav Rollovers for templates only.
// NCR will need to implement in existing CMS system

function leftNavColorToggle(idCell, newStyle) {
	document.getElementById(idCell).className = newStyle;
	document.getElementById("a_"+idCell).className = newStyle;	

}

// Simple function to demonstrate Main (Top/Global) Nav "on" states for templates only. 
// This script is used to assist displaying the "on" states of the current
// section of the site in the Main Nav so that multiple versions of the header
// did not need to be created. Ideally, NCR will be able to implement this 
// type of feature with their existing CMS system.


function setMainNav(sectionName, onStyle) {
	document.getElementById("section_"+sectionName).className = onStyle;
}
function poponload()
{
testwindow= window.open ("notify.cfm", "mywindow","location=0,status=0,scrollbars=0,width=400,height=50,resizable=0");

}

function addToFavorites(newurl,pageTitle) 
	{ 
	
		if (window.external)

		{
			var pagename=pageTitle;
			window.external.AddFavorite(newurl,pagename);
		
		}
	else 
		{ 
			alert("Sorry! Your browser doesn't support this function.");	
		}
	}
function newsite(newslink)
{
	window.open(newslink,'_blank');
}
