function SwapImage(imgName, destImage){
	document.images[imgName].src = destImage;
}
	
//initialize
var sDivCurrent = '';//stores the currently visible layer so that it can be hidden when required

function ShowLayer(sLayerID){
	if (document.getElementById){
		if (sDivCurrent != ''){
			var oDivCurrent = document.getElementById(sDivCurrent);
			oDivCurrent.style.visibility = "hidden";
		
		//set the new layer top and left vals to the old one's
		var l = oDivCurrent.style.left;
		var t = oDivCurrent.style.top;
		}
		oDivCurrent = document.getElementById(sLayerID);
		//oDivCurrent.style.left = l
		//oDivCurrent.style.top = t
		oDivCurrent.style.visibility = "visible";
		sDivCurrent = sLayerID;
		
	}
}

function OpenWin(sContent,sWinName,iWidth,iHeight){
	window.open(sContent, sWinName, 'resizable,width='+iWidth+',height='+iHeight);
}


//suckerfish Hover
	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);