function signInDemo(thisFrm){
    mindomoWindow = open('/mindomodemo.php', 'mindomo', 'height=' + screen.height + ',width=' + screen.width + ',resizable=yes');
    if (!mindomoWindow.opener) mindomoWindow.opener = self;
    return false;
}

function signUp(thisFrm)
{
    if(thisFrm.eml.value != thisFrm.eml1.value){alert('Please make sure that e-mail addresses are the same!');return false;}
    if('' == thisFrm.fnm.value){alert('Please enter your First Name and try again!');return false;}
    if('' == thisFrm.lnm.value){alert('Please enter your Last Name and try again!');return false;}
    if('' == thisFrm.eml.value){alert('Please enter your e-mail and try again!');return false;}
    if('' == thisFrm.pw1.value){alert('Please enter your password and try again!');return false;}
    if(thisFrm.pw1.value != thisFrm.pw2.value){alert('The passwords don\'t match!');return false;}
    
    return true;
}
