
var emailNum = 0;

function isin(str,srch) { return (str.toLowerCase().indexOf(srch) >= 0); }

function needSignin()
{
	alert("You need to sign-in to access this feature.");
	if (document.signinFrm && document.signinFrm.email) {
		document.signinFrm.email.focus();
	}
}

function hLite()
{
		if (hLinkCount > hLinkTotal)
			{
				lnk.style.color = "#f7ed54";
			}
		if (hLinkCount <= hLinkTotal)
		{
			lnk = eval("mainNav" + hLinkCount);
			lnk.style.color = "#ffffff";
			if (hLinkCount - 1 != 0)
			{
				oldlnk = eval("mainNav" + (hLinkCount - 1));
				oldlnk.style.color = "#f7ed54";
			}
			if ((hLinkCount - 1) == whiteLink) {
				oldlnk.style.color = "#ffffff";
			}
			hLinkCount++;
			
			setTimeout ('hLite()', 100);
		}
} 
