var xmlHttp

function showService(id_services)
{ 
document.getElementById("show_service").style.display = "block";
document.getElementById("show_service_overlay").style.display = "block";

xmlHttp=GetXmlHttpObject_srv()

if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="show_service.php"
url=url+"?id_services="+id_services
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChanged_srv 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function stateChanged_srv() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("show_service").innerHTML=xmlHttp.responseText;
 } 
}

function GetXmlHttpObject_srv()
{
var xmlHttp=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;
}
