﻿function LoginStatus_KeyPressed(clientID)
{
	event.cancelBubble = true;
	event.returnValue = false;
	
	if (event.keyCode == 13)
	{
		var lb = $get(clientID+"_lbLogin");
		var but = $get(clientID + "_butLogin");
		if (lb != null)
			lb.click();
		else if (but != null)
			but.click();
	}
}
function LoginStatus_KeyPressed2(clientID)
{
	event.cancelBubble = true;
	event.returnValue = false;
	
	if (event.keyCode == 13)
	{
	    var lb = $get(clientID + "_LoginLinkButton");
		eval(unescape(lb.href));
	}
}
/*
function LoginStatus_MouseOver(o)
{
	var tbl = o;while (tbl.tagName != "TABLE") tbl = tbl.parentNode;
	var r = tbl.style;
	//var _bcOver=tbl.getAttribute
	//			(this.BackColorOnOver == "" ? "" : ("r.backgroundColor='" + this.BackColorOnOver + "';")) +
	//			(this.BorderWidthOnOver == "" ? "" : ("r.borderWidth='" + this.BorderWidthOnOver + "';")) +
	//			(this.BorderColorOnOver == "" ? "" : ("r.borderColor='" + this.BorderColorOnOver + "';")) +
	//			(this.BorderStyleOnOver == "" ? "" : ("r.borderStyle='" + this.BorderStyleOnOver + "';"));
}
function LoginStatus_MouseOut(o)
{
}
*/
