﻿
function doLogin(tid){var username=document.login.username.value;var password=document.login.password.value;document.getElementById('loginMessage').innerHTML="<p style='color:yellow;font-size:10px;'>One moment please... signing in.</p>";xmlhttp.open("GET","AJX-functions.asp?DOTEAMLOGIN=NOW&username="+username+"&password="+password+"&TID="+tid+"",true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){if(xmlhttp.responseText=="error"){document.getElementById('loginMessage').innerHTML="<p style='color:yellow;font-size:10px;'>Incorrect username or password.</p>";}else{document.location.href="xTeam.asp?tid="+tid;}}};xmlhttp.send(null);}
function getPassword(){window.open('lostpassword.asp','_blank','toolbar=no,scrollbars=no,top=20,left=20,width=550,height=250');}
