function validateDateInput( object, evnt )
{
	if(evnt.keyCode == 8 ) return true;
//	if(evnt.keyCode == 127 ) return true;
	
	if( object.value.length == 2 ) {
		object.value = object.value+'.';
	}
	if( object.value.length == 5 ) {
		object.value = object.value+'.';
	}
	if( object.value.length > 10 ) {
		return false;
	}
}
function validateDate( value, object )
{
	if(window.event.keyCode == 0 ) return true;
	if( value.length == 2 ) {
		object.value = object.value+'.';
	}
	if( value.length == 5 ) {
		object.value = object.value+'.';
	}
	if( value.length > 10 ) {
		return false;
	}
}

function sendAsyncRequest( strURL, postString, resultdiv_id )
{
	var xmlhttp=false;
	/*@cc_on @*/
	/*@if (@_jscript_version >= 5)
	// JScript gives us Conditional compilation, we can cope with old IE versions.
	// and security blocked creation of the objects.
	 try {
	  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
	  try {
	   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (E) {
	   xmlhttp = false;
	  }
	 }
	@end @*/
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	  xmlhttp = new XMLHttpRequest();
	}
	var status;
    xmlhttp.open('GET', strURL, true);
//    xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    xmlhttp.onreadystatechange = function() {
        if (xmlhttp.readyState == 4) {
            document.getElementById( resultdiv_id ).innerHTML = xmlhttp.responseText;
//            alert(resultdiv_id);
        }
    }
    xmlhttp.send(postString);
}

