function doValidate(a)
{
    document.forms[a].submit();
}
	function fo(n){
	var q = document.getElementById(n);
	return q;
	}
	function XXxml()
	{
	
	//return Try.these
   //function() {return new ActiveXObject('Msxml2.XMLHTTP')},
   //function() {return new ActiveXObject('Microsoft.XMLHTTP')},
   //function() {return new XMLHttpRequest()}
   //)


	}
	function xml()	{
	try
		{
		i=new XMLHttpRequest()
		}
		catch(e)
		{
			try
				{
				i=new ActiveXObject("Msxml2.XMLHTTP")
				}
				catch(e)
				{
					try
						{
						i=new ActiveXObject("Microsoft.XMLHTTP")
						}
						catch(e)
						{
						i=false;
						}
				}
		}
	return i;
	}
	
	function evalJSON(str) {
		return (str != "" && str != null) ? eval("(" + str + ")") : false;
	}
	
	function submitenter(myfield,e,trg) {
			var keycode;
			if (window.event) keycode = window.event.keyCode;
			else if (e) keycode = e.which;
			else return true;
			
			if (keycode == 13) {
			   trg();
			   return false;
			  }
			else return true;
	}
	
	function startTime(){
		
		var today=new Date()
		var h=today.getHours()
		var m=today.getMinutes()
		var s=today.getSeconds()
		m=checkTime(m)
		s=checkTime(s)
		document.getElementById('nav_date_2').innerHTML=s+':<b>'+m+'</b>:<b>'+h+'</b>'
		t=setTimeout('startTime()',500)
	}
	
	function checkTime(i){
	
		if (i<10){
		i='0' + i
		}
		return i
	}
	function _on(z)
{
	x = fo(z).style.display = 'block';
}
function _off(z)
{
	x = fo(z).style.display = 'none';
}

