var xmlhttp

function loadXMLDoc(url){
	
xmlhttp=null
try{
	xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
}
catch(e){
	try{
 		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
 	}
 	catch(e2){
		
	}
}
if(xmlhttp==null){
	xmlhttp=new XMLHttpRequest()
}


if (xmlhttp!=null){
  xmlhttp.onreadystatechange=state_Change
  xmlhttp.open("GET",url,true)
  xmlhttp.send(null)
}
else  {
  alert("Your browser does not support XMLHTTP.")
  }
}

function state_Change()
{
// if xmlhttp shows "loaded"
if (xmlhttp.readyState==4)
  {
  // if "OK"
  if (xmlhttp.status==200)
    {
	document.getElementById("loader").style.display= "none";
	document.getElementById("output_container").style.display= "none";
	document.getElementById("output_container").innerHTML=xmlhttp.responseText;
	Effect.Appear('output_container');
    }
  else
    {
    alert("Problem retrieving XML data" + xmlhttp.status)
    }
  }
}