function other_routes1(other_source_route_id, other_desti_route_id, match_stop_name, origin, destination, city_id, se_type)
{
//document.getElementById('submenu').style.opacity =100%;
  var xmlHttp;
   document.getElementById('container_id').innerHTML = '<p style=\"text-align:center;\"><img src=\"images/loader.gif\" width=\"32\" height=\"32\" /></p>';
    try{
      // Firefox, Opera 8.0+, Safari
      xmlHttp=new XMLHttpRequest();
      xmlHttp.overrideMimeType("text/html; charset=utf-8"); /*TO DISPLAY HEBREW CHARACTERS*/   
   }
   catch (e){
       // Internet Explorer
        try{
          xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");         
       }
      catch (e){
          try{
               xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
            xmlHttp.setRequestHeader('Content-Type','text/html; charset=utf-8')
           }
         catch (e){
           alert("Your browser does not support AJAX!");
           return false;
         }
       }
   }
   
   xmlHttp.onreadystatechange=function(){ //Used to set the callback function that handles request state changes.
      //alert(xmlHttp.status+' - '+xmlHttp.readyState);
      if(xmlHttp.readyState==4){   // 0 = uninitialized 1 = loading 2 = loaded 3 = interactive 4 = complete
	 // window.location.reload();
        document.getElementById('container_id').innerHTML=xmlHttp.responseText; //Returns the server response as a string.
		//document.a1.submit();
		//FSdocument.a1.submit();
	    //Returns the server response as a string.
		//if(xmlHttp.responseText!="")
        //alert(xmlHttp.responseText);
        //document.myform.message.value = '';
      }
   }

   //url=url+"&message="+str;
   var url="js/other_routes.php?other_source_route_id="+other_source_route_id; 
   url=url+"&other_desti_route_id="+other_desti_route_id;
   url=url+"&match_stop_name="+match_stop_name;
   url=url+"&origin="+origin;
   url=url+"&destination="+destination;
   url=url+"&city_id="+city_id;
   url=url+"&se_type="+se_type;   
   xmlHttp.open("POST",url,true); //Initializes the request parameters.   / or POST data larger than 512 bytes   
   xmlHttp.send(null);   //Performs the HTTP request.
//   window.setTimeout("FadeOpacity('submenu',100,0,100,80)", 14100);
 }

