function homerollover(name, phase) {
	if (phase == "over") {
		document.images[name].src="images/" + name + "_ovr.gif";
	}
	else {
		document.images[name].src="images/" + name + ".gif";
	}
}
	
function rollover(name, phase) {
	if (phase == "over") {
		window.document.images[name].src="images/" + name + "ov.jpg";
	}
	else {
		window.document.images[name].src="images/" + name + ".jpg";
	}
}

sfHover = function() {
	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);


//Pop-Up Code
function myvoid(){ } 

var popup = null;

function openPicWin(page,IWidth,IHeight,flags) 
{ 
 	if (popup)
	{
		if (!popup.closed)
		{
			popup.close();
		}
	}
	popup = null; 

	var ITop = (screen.height/2)-(IHeight/2);
 	var ILeft = (screen.width/2)-(IWidth/2);
 	
	if (flags != null)
	{
		if (flags.substring(0,1) != ",")
		{
			flags = "," + flags;
		}
	}
	
	popup = window.open(page, "AceAirCargo", "TOP=" + ITop + ",LEFT=" + ILeft + ",HEIGHT=" + IHeight + ",WIDTH=" + IWidth + flags);
	popup.focus();
 }