function WindowStatus()
  {window.status='Stroman Realty - (800) 733-8864'}

function PasswdRemindWin()
{
window.open("password_reminder.asp","win1","toolbar=no,directories=no,resize=yes,menubar=no,location=no,scrollbars=yes,width=470,height=380,maximize=null,top=70,left=80");
}



closetime = 0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
window.focus();
}

function doPopup() {
url = "receive-rebate.html";
width = 320;  // width of window in pixels
height = 225; // height of window in pixels
delay = 3;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}

function logincheck(fm)
{
if(fm.email.value == "")
    {alert("Please enter a username! It is your email address.")
     fm.email.focus()
     return false
    }
else if(fm.password.value == "")
    {alert("Please enter a password!")
     fm.password.focus()
     return false
    }
 else 
    {fm.action="main.Asp"
     return true
    }
}
