var LoginPage = 
{
	RememberLogin : function()
	{
		var objCheckBox, objImg;
		objCheckBox = document.getElementById("storeincookie");
		objImg = document.getElementById("imgRememberLogin");
		if(objCheckBox.checked == true)
		{
			objCheckBox.checked = false;
			objImg.src = objImg.src.replace("-on", "-off");
		}
		else
		{
			objCheckBox.checked = true;
			objImg.src = objImg.src.replace("-off", "-on");
		}
	},
	
	TextBoxClick : function(id)
	{
		var txts = new Object();
		txts['postusername'] = "Username";
		txts['postpassword'] = "Password";
		
		var obj = document.getElementById(id);
		if(obj != null)
		{
			if(obj.value == txts[id])
			{
				obj.value = "";
			}
			else if(obj.value == "")
			{
				obj.value = txts[id];
			}
		}
	},

   	SetLoginHeader : function()
	{
		ContentDisplayJS.EmbedFontByCSS("CategoryTitle", "Casual Contact MF");
		ContentDisplayJS.EmbedFontByCSS("ContentBoxSubHeader", "standard 07_55");
		ContentDisplayJS.EmbedFontByID("DivRemember", "Xpress SF");
	},
	
	init : function()
	{
		LoginPage.SetLoginHeader();
	}

};