function numbersonly(evnt)
{
	var unicode=evnt.charCode? evnt.charCode : evnt.keyCode
	if (unicode<=46||unicode>57 || unicode==47){
		if(unicode == 8 || unicode == 9)
		return true;
		else
		return false;
	}
}

$(document).ready(function() {
	$("a.category").mouseover(function(e) {
	  //$("#categoryImg").css({top:e.clientY+"px",left:e.clientX +100});		
		
	  var eleOffset=$(this).offset();
		
		wwidth=parseInt(eleOffset.left + 170);
		
		$("#categoryImg").css({left:wwidth+"px"});
		$("#categoryImg").show();
		iname= $("#catimg").attr("name");
		isrc= $(this).attr("name");
		$("#catimg").attr("src",iname + isrc);
	});

	$("a.category").mouseout(function(e) {
		$("#categoryImg").hide();
	});
});

function popupWindow(url,width,height) {
	w=window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width='+width+',height='+height+',screenX=150,screenY=150,top=150,left=150')
	w.moveTo(500,200);
}
