
function go_login (tag, pwd )   {
	if (pwd.value == "") {
		alert("Must enter " + tag + " password" );
    pwd.focus()
		return;
	}
  //alert( tag + '?' + 'Password=' + pwd.value )
	switch( tag ){
	case "Assignment":
                //newURL = 'assignments/nAuthent.asp?'+'Password='+pwd.value
                newURL = 'emaildirect.asp?Area=0&Tab=1&ID='+pwd.value
		document.form1.password.value = ""
		break;
	case "Investment":
                        // code to handle password errors
                if (pwd.value == "dexter") {
                        pwd.value = "dexterhorton";
                }
                //newURL = 'investment/InvestOp.asp?'+'Password='+pwd.value
                newURL = 'emaildirectconfi.asp?Area=1&Tab=1&ID='+pwd.value
		document.form2.password.value = ""
	   	break;
	case "Research":
                newURL = 'research/mRSCH.asp?'+'Password='+pwd.value
		document.form3.password.value = ""
	   	break;
	}
  window.location = newURL
  //var newwindow = window.open(newURL,"",'HEIGHT=575,WIDTH=800,resizable,scrollbars,dependent,status,locationbar,menubar,toolbar');
  //newwindow.moveTo(0,0);
  //newwindow.resizeTo(screen.availWidth,screen.availHeight);
}

