
function SubmitPortalLogin(eForm){
	if(eForm==null){
		alert('Error: failed to obtain form control.');
		return false;
	}

	var sxUrl=eForm.portal.options[eForm.portal.selectedIndex].value;
	
	if(sxUrl.length==0){
		alert('You must select the portal you want to login to. Please select a portal and try again.');
		return false;
	}

	document.location.href=sxUrl+'/webapps/securelogin/home/index';
}
