var xmlhttp;
function loadXMLDoc(url)
{
xmlhttp=null;
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=state_Change;
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}

function state_Change()
{
if (xmlhttp.readyState==4)
  {// 4 = "loaded"
  if (xmlhttp.status==200)
    {// 200 = "OK"
    document.getElementById('ajtest').innerHTML=xmlhttp.responseText;
    }
  else
    {
    alert("Problem retrieving data:" + xmlhttp.statusText);
    }
  }
}

function launchWindow(x){
window.open(x,"","resizable=2,localtionbar=0,scrollbars=0,width=400,height=300,status=1,titlebar=1,screenX=40,screenY=50 color=33ff00");

}

function launchWindow2(x){
window.open(x,"","resizable=2,localtionbar=0,scrollbars=1,height=950,width=720,status=0,titlebar=0,screenX=50,screenY=50 color=white");
}
