function create_object(){
	if(window.XMLHttpRequest){
		var obj	=	new XMLHttpRequest();
	}else if(window.ActiveXObject){
		var obj	=	new ActiveXObject("Microsoft.XMLHTTP");
	}
	return obj;
}

htp		=	create_object();
http		=	create_object();
function send_request(month){
url	=	"../ajax_response.php?action=time&month="+month;	
http.open('get',url,false);
 http.onreadystatechange	=	function handle_response(){
	 if(http.readyState==4){
		var txt	=	http.responseText;
		
	    if(txt!=""){
			document.getElementById('div_start').innerHTML	=	txt;
        }
     }
 };
 http.send(null);
}

function send_request1(month){
url	=	"../ajax_response.php?action=text&month="+month;	
http.open('get',url,false);
 http.onreadystatechange	=	function handle_response1(){
	 if(http.readyState==4){
		var txt	=	http.responseText;
		
	    if(txt!=""){
		//	arr		=	txt.split('~DM~');
		//	document.getElementById('batch_title').value	=	arr[0];
			document.getElementById('batch_desc').value	=	txt;
        }
     }
 };
 http.send(null);
}