var Ajax = {
	xmlHttpReq: false,
	
	init: function(str, myHandler, myFile){
	  if(window.XMLHttpRequest){
	    this.xmlHttpReq = new XMLHttpRequest();
	  }else if(window.ActiveXObject) {
	   	this.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
	  }
	  
	  this.xmlHttpReq.open('POST', myFile, true);
	  this.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	  
		if( myHandler != null ){
		  this.xmlHttpReq.onreadystatechange = myHandler;
		}
	 
	  this.xmlHttpReq.send(str); 	  
	}
}

function xmlhttpPost(str, myHandler, myFile){
	Ajax.init(str, myHandler, myFile);
}
