// JavaScript Document
function popWin(src, nm, h,w){
	return window.open(src, nm, "status=0, toolbar=0, location=0, " +
					   			"menubar=0, directories=0, resizable=0, " +
								"scrollbars=0, width=" + w + ", height=" + h);
 
}

function getImage(sr){
	var a = new Image();
	a.src = sr;
	return a;
}
function setImageHover(id, ov, ot){
	$(document).ready(function(){
		$("#" + id).hover(
			function(){$(this).attr("src",ov); },
			function(){$(this).attr("src",ot); }
		);
	});
}

function navUtility(){
	if (document.images)
	{
	  pic1= new Image();
	  pic1.src=""; 
	
	}

	$(document).ready(function(){
		$("#navCont ul li a img").hover(
			function(){
				$(this).attr("src",$(this).attr("src").replace(".jpg","-over.jpg"));
			},function(){
				$(this).attr("src",$(this).attr("src").replace("-over.jpg",".jpg"));
			});
	
		$("#navCont li").hover(
			function(){
				//$(this).addClass("navHover");
				$(this).addClass("navHover");
				//alert($(this).attr("id") + " | on");
			},function(){
				//$(this).removeClass("navHover");
				$(this).removeClass("navHover");
				//alert($(this).attr("id") + " | off");
			}
		);
	
	});

}