function loginCheck(responseText,statusText){try{var jsonObj=eval('('+responseText+')');if(jsonObj['status']=='success'){if(jsonObj['redirect_to']){window.location=jsonObj['redirect_to'];}else{window.location='/mypwn/mypins/';}}else{alert('email or password invalid');}}
catch(e){alert('email or password invalid');if(visit==0){Google_tracker('/MyPowwownow_login_error');visit++;}}}
function passresetexpired(redir){alert('Sorry!  Your password reset link has expired.  For security reasons, please use your link within 24 hours.');if(redir){document.location.href=redir;}}