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();

function SearchLookup() {
  var tld_f = "tld[0]";
  var url = "http://homepageuniverse.com/names/register.php?command=lookup&domain=" + document.Lookup.domain.value.toLowerCase() +
  "&tld[0]=" + document.Lookup[tld_f].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='{surl}/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=229 height=158></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(); }