  function sendAndLoad(load_from,send_into_id,$method,param){
   if(!document.all && window.XMLHttpRequest){var xmlhttp =  new XMLHttpRequest();xmlhttp.overrideMimeType('text/xml; charset=iso-8859-1');}
	if(window.ActiveXObject){ 
	
			 try { var xmlhttp =   new ActiveXObject("Msxml2.XMLHTTP");}
			 catch (e) {
			   try {var xmlhttp =   new ActiveXObject("Microsoft.XMLHTTP");}
			    catch (e) { } // try-catch
			 } // try-catch}	
  }
 
 $flag=false;
 
    
 
  xmlhttp.open($method, load_from, true);
	  xmlhttp.onreadystatechange = function() {                
				  if( xmlhttp.readyState!= 4){

						
				   }
				   
				   
				   		  
		           if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {                   
				        response = xmlhttp.responseText;
						if(response.length>0){document.getElementById(send_into_id).innerHTML =  response;$flag=true;return $flag} 
					       xmlhttp.close();
					}
					    
				 }

				   
				      
		 if($method=='POST'){
		 xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=8859-1');
		 }
		 xmlhttp.send(param);
		
		 
}

function openWidow($url){
	param="statusbar=0,location=0,resizable=0,toolbar=0,directories=0,scrolling=0,width=450,height=400";
	win=window.open($url,"",param);
	
}