function check() {
    // Prompt user for the password ...
    pwd = prompt('Please enter password','');
    // ... then set the browser location
    location.href = 'http://www.wabvalyfl.org/chat/' + escape(pwd) + '.html';
}