// Allure Functions


function checkLoginPress(theForm) {
  if (!checkText(theForm.sEmail,"Please enter your email address.", "yes"))  {
    return false;
  }
  return true;
 }
 
function checkRegisterPress(theForm){
  if (!checkText(theForm.sEmail,"Please enter your email address.", "yes"))  {
    return false;
  }
  return true;
}

function checkLoginBroker(theForm) {
  if (!checkText(theForm.sEmail,"Please enter your email address.", "yes"))  {
    return false;
  }
  if (!checkText(theForm.sPassword,"Please enter a password.", "yes"))  {
    return false;
  }
  return true;
 }
 
function checkRegisterBroker(theForm){
  if (!checkText(theForm.sEmail,"Please enter your email address.", "yes"))  {
    return false;
  }
  if (!checkText(theForm.sPassword,"Please enter a password.", "yes"))  {
    return false;
  }
  return true;
}

// preload images specified here for CSS rollover images
function loadImages(){
	if(document.images) {
		pic1= new Image();
		pic1.src="/images/connect_off.gif";
	}
}
