// JavaScript Document<script language="javascript">
	var xmlHttp=null;
	function create(){
	if(window.ActiveXObject){
	xmlHttp=new ActiveXObject('Microsoft.XMLHTTP');
	}else{
	xmlHttp=new XMLHttpRequest();
	}
	return xmlHttp;
	}
	///////////////////////////////////////////////////////////////////////////////////////////

	
	function show_day(auto_id)
	{	

	create();
	var auto_id=auto_id;
	
	//var auto_id=document.getElementById(auto_id);
	//alert(auto_id);
	//var day=document.getElementById('day2');
	document.getElementById("total_day").innerHTML='<img src="./images/ajax-loader.gif"  />';
	
    xmlHttp.open('GET','./module/reserve/application/show_day.php?auto_id='+auto_id,true);
	xmlHttp.onreadystatechange=updateqq32;
	xmlHttp.send(null);
	row.parentNode.removeChild(row);

	
	function updateqq32(){
	if(xmlHttp.readyState==4){
	if(xmlHttp.status==200 ||xmlHttp.status==304)
	{
		//alert(xmlHttp.responseText);
	document.getElementById("total_day").innerHTML=xmlHttp.responseText;
	}else{
	alert('error');
	}}}
	}
	
	
	
