var width = 425;
var height = 425;
var left = (screen.width - width) / 2;
var top = (screen.height - height) / 2;
var size = 'height=' + height + ', width=' + width + ', top=' + top + ', left=' + left
window.focus();
var baseurl='{url}';
function SearchLookup() {
  var url = "http://homepageuniverse.com/names/register.php?command=lookup&domain=" + document.Lookup.domain.value.toLowerCase() +
  "&tld[0]=" + document.Lookup.tld.options.value;
  document.write("<head><title>HomepageUniverse :: Domain Search ; Searching...</title><script>var i = new Image();i.src = '/images/names/lookup_searching.gif';</script><link rel='stylesheet' href='/styles.css'></head><body>");
  document.write("");
  document.write("<br><br><br><br>");
  document.write("<table border=0 width=50% align=center>");
  document.write("<tr><td align=center><img src='/images/names/lookup_searching.gif' border=0 width=308 height=117></td></tr>");
  document.write("<tr><td align=center>"); 
  document.write("<br><br>We are now searching for your chosen domain name and any matches.  This can take a few seconds, please be patient and do not press any keyboard keys or click any mouse buttons while the search is in progress.<br><br>");
  document.write("<br><br>");
  document.write("</td></tr>");
  document.write("</table>");
  document.write("</BODY></HTML>");
  document.writeln("");
  location.replace(url);
  return; 
}
function popup(URL,WIDTH,HEIGHT,ShowOnce,scroll) {
  self.name = "main";
  var winl = (screen.width - WIDTH) / 2;
  var wint = (screen.height - HEIGHT) / 2;
  OpenWin = this.open(URL, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars="+scroll+",resizable=no,width=" + WIDTH + ",height=" + HEIGHT + ", top="+wint+",left="+winl);
}

  function over(src, color, aid) {
    var a_id = document.getElementById( aid ); src.style.cursor = 'pointer'; src.bgColor = color;
  }
  function out(src, color, aid) { 
    var a_id = document.getElementById( aid ); src.style.cursor = 'default'; src.bgColor = color;
  }
  function clicked(aid) { var a_id = document.getElementById( aid ); a_id.click(); }

function vh(obj) {
  if (eval("obj.form.vhost_off.checked") == true) {
    location.replace('?cmd=vh&vhost_off=1');
  } else {
    location.replace('?cmd=vh&vhost_off=0');
  }
}