// JavaScript Document

var xmlHttp

function speccoc(str)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return
 }
var url="/speccoc.php";
url=url+"?q="+str;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=speccocky; 
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function speccocky() 
{ 
if (xmlHttp.readyState==4)
 { 
 document.getElementById("speccoc").innerHTML=xmlHttp.responseText;
 } 
}

function cenacocp(str)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return
 }
var url="/cenacoc.php";
url=url+"?p="+str;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=cenacocky; 
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function cenacocl(str)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return
 }
var url="/cenacoc.php";
url=url+"?l="+str;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=cenacocky; 
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function cenacocky() 
{ 
if (xmlHttp.readyState==4)
 { 
 document.getElementById("cenacocky").innerHTML=xmlHttp.responseText;
 } 
}

function GetXmlHttpObject()
{
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;
}
