    function GetXmlHttpObject(handler)  
    {  
       var objXMLHttp=null  
       if (window.XMLHttpRequest)  
       {  
           objXMLHttp=new XMLHttpRequest()  
       }  
       else if (window.ActiveXObject)  
       {  
           objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")  
       }  
       return objXMLHttp  
    }  
      
    function stateChanged()  
    {  
       if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")  
       {  
               document.getElementById("txtResult").innerHTML= xmlHttp.responseText;
       }  
       else {  
               //alert(xmlHttp.status);  
       }  
    }
    
    function dstudChanged()  
    {  
       if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")  
       {  
               document.getElementById("deleteStudentResult").innerHTML= xmlHttp.responseText;  
       }  
       else {  
               //alert(xmlHttp.status);  
       }  
    }  
     
// CHANGE CONTENT OF DIRECORY
    function loadDirectory(str)  
    {  
/*    	if (str1=="")
	  	  {
	  	  document.getElementById("container").innerHTML="";
	  	  return;
	  	  }*/
	  	if (window.XMLHttpRequest)
	  	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  	  xmlhttp=new XMLHttpRequest();
	  	  }
	  	else
	  	  {// code for IE6, IE5
	  	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  	  }
	  	xmlhttp.onreadystatechange=function()
	  	  {
	  	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	  	    {
	  	    document.getElementById("loadDirectoryResult").innerHTML=xmlhttp.responseText;
	  	    }
	  	  }
	  	xmlhttp.open("GET","process-directory.php?selected="+str,true);
	  	xmlhttp.send();
    }
    
 // CHANGE CONTENT OF DIRECORY
    function loadSitemap(str)  
    {  
/*    	if (str1=="")
	  	  {
	  	  document.getElementById("container").innerHTML="";
	  	  return;
	  	  }*/
	  	if (window.XMLHttpRequest)
	  	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  	  xmlhttp=new XMLHttpRequest();
	  	  }
	  	else
	  	  {// code for IE6, IE5
	  	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  	  }
	  	xmlhttp.onreadystatechange=function()
	  	  {
	  	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	  	    {
	  	    document.getElementById("containerLeft").innerHTML=xmlhttp.responseText;
	  	    }
	  	  }
	  	xmlhttp.open("GET","process-sitemap.php?selected="+str,true);
	  	xmlhttp.send();
    }
 
    // CHANGE CONTENT OF DIRECORY
    function loadMenuArticle(str)  
    {  
/*    	if (str1=="")
	  	  {
	  	  document.getElementById("container").innerHTML="";
	  	  return;
	  	  }*/
	  	if (window.XMLHttpRequest)
	  	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  	  xmlhttp=new XMLHttpRequest();
	  	  }
	  	else
	  	  {// code for IE6, IE5
	  	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  	  }
	  	xmlhttp.onreadystatechange=function()
	  	  {
	  	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	  	    {
	  	    document.getElementById("containerMain").innerHTML=xmlhttp.responseText;
	  	    }
	  	  }
	  	xmlhttp.open("GET","process-menuarticle.php?selected="+str,true);
	  	xmlhttp.send();
    }
    
    // CHANGE CONTENT OF ABOUT US
    function loadMenuArticle(str)  
    {  
/*    	if (str1=="")
	  	  {
	  	  document.getElementById("container").innerHTML="";
	  	  return;
	  	  }*/
	  	if (window.XMLHttpRequest)
	  	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  	  xmlhttp=new XMLHttpRequest();
	  	  }
	  	else
	  	  {// code for IE6, IE5
	  	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  	  }
	  	xmlhttp.onreadystatechange=function()
	  	  {
	  	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	  	    {
	  	    document.getElementById("containerMain").innerHTML=xmlhttp.responseText;
	  	    }
	  	  }
	  	xmlhttp.open("GET","process-menuarticle.php?selected="+str,true);
	  	xmlhttp.send();
    }
