function checkSecure1033()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function checkSecure2057()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function checkSecure1031()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function checkSecure1034()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function checkSecure1036()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function checkSecure2052()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.***');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function checkSecure1040()
{
	if (document.getElementById("textCompanyLoginName").value.substring(0,1) == '#' && location.protocol.toUpperCase() == 'HTTP:')
	{
		alert('You must use https:// as the protocol to login securely.');
		document.getElementById("divSubmitHidden").style.display = 'none';
		document.getElementById("divSubmitVisible").style.display = 'block';
		return false;
	}
	else
	{
		return true;
	}
};

function loadIt()
{
	if (document.getElementById('textCompanyLoginName').type.toLowerCase() == 'hidden')
	  setTimeout("document.getElementById('txtUserAccount').focus();",10);
  else
  	setTimeout("document.getElementById('textCompanyLoginName').focus();",10);
};

