function YahooNote()
{
	var URLAddress = "../General/YahooUsers.aspx";
	openWindow(URLAddress,'WinPopUp','160','240','500','320','no','no','')
	return;
}


		
function SetControlFocus(ctl)
{
	try
	{
		if (document.forms[0][ctl] != null)
		{
			document.forms[0][ctl].focus();
		}
	}
	catch (err)
	{
		alert (err.description);
	}
}
   		
function StoreValue()
{
   	try
   	{
   		document.forms[0]['TxtHiddenPwd'].value = document.forms[0]['TxtPassword'].value
   	}
   	catch(err)
   	{
   		alert(err.description);
   	}
}
   		
function FrmLoad()
{
   	try
   	{
   		var ControlId =	document.getElementById('HiddSetFocusId').value;
   		document.getElementById('HiddSetFocusId').value = ''; 
   		if ( ControlId == 'SRSLstJobCategory1' || ControlId == 'SRSLstJobCategory2' || ControlId == 'SRSLstJobCategory3' || ControlId == 'SRSLstJobCategory4' || ControlId == 'SRSLstJobCategory5')
   		{
   			//window.location.href = '#BMJobAlert' ;
   			document.location.href = '#BMJobAlert';   
   		}
   		if ( ControlId == 'TxtMailId' )
   		{
   			SetControlFocus(ControlId);
   		}
   		
   		 if (document.getElementById('ddlLearnFrom').value == 5)
   		  {
   		    document.getElementById('PnlRefid').style .visibility = "visible";
   		  }
   	}
   	catch(err)
   	{
   		alert(err.description);
   	}
}