		
			
		function imgOn(img){

			if (document.images) {

           		window.document[img].src = "images/" + img + "_on.gif";

        	}

		}



		function imgOff(img){

			if (document.images) {

         		window.document[img].src = "images/" + img + ".gif";

        	}
		}
		
		function awayWindow(loc){
							
			window.open(loc , "popster", "height=500,width=550,x=5,y=5,top=150,left=150,menubar=1,scrollbars=1,resizable=1")
		}
	
		
		function setBackgroundImage() {
			var imageUpperBound = 7;
			var firstPart = 'images/sidenav/yourHost_';
			var lastPart = '.jpg';

			var r = Math.ceil(Math.random() * imageUpperBound);
			var imageName = firstPart + r + lastPart;
			//window.document.getElementById("backgroundCell").style.backgroundColor = #cc0000;
			//window.document.getElementById("backgroundCell").style.backgroundImage = imageName;
			window.document.getElementById("navPic").src = imageName;
			}