
//window function:
function doLogin() {

  //build url to titleprofile.com
  //add user and pass if they both exist

  remote=window.open("http://www.titleprofile.com");
  
  //if ( != null && p != null) {
  
    //alert(this.document.tpInfo.tpUser.value);
    alert(this.document.getElementById("tpPass").value);
    remote.focus();
    remote.document.getElementById("username").value = this.document.getElementById("tpPass").value;
    
  //}
}
