
$(document).ready(function() {
	$(".searchBoxInner").hover( function () {$(this).addClass('searchBoxHover');},function () {$(this).removeClass('searchBoxHover');});
	$('#re-type-password').focus(function(){reTypeHasFocus = true;});
});


	function ns_SendPostBack(eventTarget, eventArgument) 
	{
		
		var theform;
		if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
			theform = document.forms["FormSignIn"];
		}
		else {
			theform = document.FormSignIn;
		}
		
		theform.ns_EventTarget.value   = eventTarget.split("$").join(":");
		theform.ns_EventArgument.value = eventArgument;
		
		theform.submit();
		
	}

	function  initPage()
	{
		var pass        = document.getElementById("txtPassword"); 
		pass.onkeypress = onEnterClicked;
	}

	function onEnterClicked(evt) 
	{
	    var e = evt? evt : window.event; 
		
		if (e.keyCode == 13)
		{
		  e.returnValue = false;
		  ns_SendPostBack('signin','');	
		}		  
	}
