// JavaScript Document

if (document.images){
	
	////////TOP//////////////////
	/////////////////////////////
	var upPort = new Image();
	var overPort = new Image();
	
	var upRes = new Image();
	var overRes = new Image();
	
	var upCont = new Image();
	var overCont = new Image();
	
	upPort.src = "images/layout/nav-top/top_nav_off_01.gif"
	upRes.src = "images/layout/nav-top/top_nav_off_02.gif"
	upCont.src = "images/layout/nav-top/top_nav_off_03.gif"
	
	overPort.src = "images/layout/nav-top/top_nav_on_01.gif"
	overRes.src = "images/layout/nav-top/top_nav_on_02.gif"
	overCont.src = "images/layout/nav-top/top_nav_on_03.gif"
	
	function portOn(){
		document.images.port.src = overPort.src;	
	}
	
	function resOn(){
		document.images.res.src = overRes.src;	
	}
	
	function contOn(){
		document.images.cont.src = overCont.src;	
	}
	
	
	
	
	function portOff(){
		document.images.port.src = upPort.src;	
	}
	
	function resOff(){
		document.images.res.src = upRes.src;	
	}
	
	function contOff(){
		document.images.cont.src = upCont.src;	
	}
	
	
	
	///BOTTOM////////////////
	/////////////////////////
	
	upPrint = new Image();
	overPrint = new Image();
	
	upWeb = new Image();
	overWeb = new Image();
	
	upLogo = new Image();
	overLogo = new Image();
	
	upAds = new Image();
	overAds = new Image();
	
	upPrint.src = "images/layout/nav-bottom/bottom_nav_off_01.gif"
	overPrint.src = "images/layout/nav-bottom/bottom_nav_on_01.gif"
	
	upWeb.src = "images/layout/nav-bottom/bottom_nav_off_02.gif"
	overWeb.src = "images/layout/nav-bottom/bottom_nav_on_02.gif"
	
	upLogo.src = "images/layout/nav-bottom/bottom_nav_off_03.gif"
	overLogo.src = "images/layout/nav-bottom/bottom_nav_on_03.gif"
	
	upAds.src = "images/layout/nav-bottom/bottom_nav_off_04.gif"
	overAds.src = "images/layout/nav-bottom/bottom_nav_on_04.gif"
	
	function printOn(){
		document.images.prnt.src = overPrint.src;	
	}
		
	function webOn(){
		document.images.web.src = overWeb.src;	
	}
	
	function logoOn(){
		document.images.logoId.src = overLogo.src;	
	}
	
	function adsOn(){
		document.images.ads.src = overAds.src;	
	}
	
	
	
	
	function printOff(){
		document.images.prnt.src = upPrint.src;	
	}
		
	function webOff(){
		document.images.web.src = upWeb.src;	
	}
	
	function logoOff(){
		document.images.logoId.src = upLogo.src;	
	}
	
	function adsOff(){
		document.images.ads.src = upAds.src;	
	}
}