function ahah(url, target) {
  document.getElementById(target).innerHTML = '<div style="height: 100px; padding: 60px 0 0 0"><center>Loading...</center></div>';
  var bar_func = document.getElementById("bar");
  bar_func.style.display="block";
  bar_func.style.visibility="visible";
	
  bar_func.onclick=function() {
	  close_bar();
  }
  var bar_window = document.getElementById("bar_win");
  bar_window.style.visibility="visible";
  
  var scrOfY = GetScrOfY();
  
  bar_window.style.top = scrOfY+150+"px";
  if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
  } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
  }
  if (req != undefined) {
    req.onreadystatechange = function() {ahahDone(url, target);};
    req.open("GET", url, true);
    req.send("");
  }
}  

function winload(name) {
	ahah(name,"bar_win");
	return false;
}
