function switchLayers(div,attr) {
  var objDiv;
  objDiv=getObject(div);
  if(attr == 'hide') {
    objDiv.style.visibility = 'hidden';
  } else {
    objDiv.style.visibility = 'visible';
  }
}

function launchurl(strUrl) {
window.location=strUrl;
}

function changedivcontent(strDiv){
  var objDiv;
  objDiv=getObject(strDiv);
  objDiv.innerHTML="<H1> Loading </H1>";
  //testme("http://www.palominovalleyweather.com/SWN/SWN.php");
  window.status="Running loadXMLDoc";
  loadXMLDoc("http://localhost/palominovalleyweather/temp.txt","CONTENT");
}


function getObject(strName)  {
  if (document.getElementById) {
    this.obj = document.getElementById(strName);
  } else if (document.all) {
    this.obj = document.all[strName];
  } else if (document.layers) {
    this.obj = getObjNN4(document,strName);
  }
  return this.obj;
}

function cursor_wait() {
  document.body.style.cursor = 'pointer';
}

function cursor_clear() {
  document.body.style.cursor = 'default';
}

