var xmlHttp;


function AJAX_setWatch(z){ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null){
    alert ("Browser does not support HTTP Request")
    return
  }

  var url="WatchItem.asp"
  url=url+"?id="+z
  xmlHttp.onreadystatechange=stateChangedW 
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
}

function stateChangedW(){
  if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
    var sstr = xmlHttp.responseText;
    var tag = sstr;
    if (tag != ''){
      document.getElementById("WatchStat").innerHTML = tag;
    }
  } 
}


