//

showXmlHttp(xmlhttp, '/xmlhttp.aspx?FID=3&AccountBar=1', 'accountBar');
// showXmlHttp(xmlhttp2, '/xmlhttp.aspx?FID=4&TotalCart=1', 'cartTotal');

function AccountLogin(gotoUrl)
{
	var email = document.getElementById('email');
	var pword = document.getElementById('pword');
	showXmlHttp(xmlhttp, '/xmlhttp.aspx?FID=3&LoginRequest=1&email=' + email.value + '&pword=' + pword.value, 'accountBar');
	if (gotoUrl != '') window.location.href = gotoUrl;
}

function checkAccountEnter(e, url){ 
var characterCode;

if(e && e.which){ 
e = e;
characterCode = e.which;
}
else{
e = event;
characterCode = e.keyCode;
}

if(characterCode == 13){
AccountLogin(url);
return false; 
}
else{
return true; 
}

}



//
