sfHover = function() { 
	if (document.getElementById("nav")!=null){
		var sfEls = document.getElementById("nav").getElementsByTagName("li"); 
		for (var i=0; i<sfEls.length; i++) { 
			sfEls[i].onmouseover=function() { 
			this.className+=" sfhover"; 
		} 
		sfEls[i].onmouseout=function() { 
			this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); 
			} 
		} 
	}
}
 
if (window.attachEvent) window.attachEvent("onload", sfHover);


//function to open up links on header and footer when in an authenticated site.
var newBrowserWindow
function makeBrowserWindow() 
{
  newBrowserWindow = window.open("","unisys","scrollbars=yes,resizable=yes,location=yes,toolbar=yes,width=650,height=350") 
  newBrowserWindow.focus()
}


//stardard new window function
var newWindow

function makeNewWindow(theURL,winName,features) 
{
  newWindow = window.open(theURL,winName,features) 
  newWindow.focus()
}

 

//contact window function
var newContactWindow

function makeContactWindow() 
{
  newContactWindow = window.open("","contact","scrollbars=no,resizable=no,left=180,top=150 screenX=180,screenY=150,alwaysRaised=yes,width=500,height=400") 
  newContactWindow.focus()
}
 
//copyright date function
var today = new Date();
var Year = takeYear(today);
function takeYear(theDate)
{
	x = theDate.getYear();
	var y = x % 100;
	y += (y < 38) ? 2000 : 1900;
	return y;
}
function popwin(theURL,winName,features) 
{
      newWindow = window.open(theURL,winName,features);
      newWindow.focus();
}
