<!--
//Submit form on enter
function submitenter(username,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13)
{
Login();
return false;
}
else
return true;
}
//-->

<!--start stealth
//Login
 function Login() {
  window.status=('Attempting to Login to user area.')
  
  var AccId;
  AccId = document.iAccInput.iAccID.value
		 
     if (AccId == "")
	{ 
         alert('Please enter your username to log in to the customer area.');
         window.status=('Sorry, those details are not recognised. \n Please check the spelling and try again.')
	} 
    else
	{
//This is the directory that they will be pointed to, so you may have to change this to fit your site         
	 var location=("/galleries/" + AccId + "/index.htm");  
		window.open(location);
window.status=('   Verifying:  ' + AccId + '  Please wait........');
	}
	}
// end hiding -->

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->