//<script type="text/javascript">

	function print(id)
	{
		var printWin = window.open("../main/print.asp?id=" + id, "printwin", "dependent,scrollbars=no,resizable=yes,height=25,width=25,left=40,top=60");
		printWin.focus();
	}
	
	function loadPage(url)
	{
		document.location.href = url;
	}
	
	function checkChar()
	{
		var intKeyCode = event.keyCode;
		
		if ((intKeyCode >= 48 && intKeyCode <= 57) || (intKeyCode == 8))
			return true;
		else	
			return false;
	}
	
	function checkInt(obj)
	{
		if(!isNaN(obj.value))
			return true
		else
			return false;	
	}
	
	var obj_old = null;
	var row_old = null;
	
	function showLayer(id, selectedID)
	{
		var obj = document.getElementById("adminlayer" + id);
		var objRow = document.getElementById("row" + id);
		
		if(obj)
		{
			if(obj.style.display == "none")
			{	
				obj.style.display = "";
				objRow.src = "../images/menu_close.gif";
			}
			else
			{	
				obj.style.display = "none";
				objRow.src = "../images/menu_open.gif";
			}	
			
			if((obj_old))
			{
				if (obj != obj_old)
				{	
					obj_old.style.display = "none";
					row_old.src = "../images/menu_open.gif";
				}	
			}
			else
			{	
				if(document.getElementById("adminlayer" + selectedID))
				{	
					document.getElementById("adminlayer" + selectedID).style.display = "none";
					document.getElementById("row" + selectedID).src = "../images/menu_open.gif";
				}
			}	
			
			obj_old = obj;	
			row_old = objRow;
		}
	}
	
	
	function openWindow(url, name, w, h, rez, scroll)
	{
		var win = window.open(url, name, "width="+ w +",height="+ h +",resizable="+ rez +",scrollbars="+ scroll +",status=no,toolbar=no,menubar=no,location=no,left=120,top=100");
		win.focus();
	}
	
	function changePage(obj)
	{
		location.href = obj.value;
	}
	
	function jumpTop()
	{
		location.hash = "#top";
	}
	
	document.write('<img src="/hit.asp?w=' + screen.width + '&h=' + screen.height + '&url=' + escape(document.location.href) + '" height=1 width=1 style="display: none">');
//</script>