otpAuth = function() {
    $jQuery('.otpAuthPreload').html('<img src="/images/wait.gif" />');
    $jQuery.post('/ajax/query/otpauth/', { phone : $jQuery('#otpAuthPhone').val(), password : $jQuery('#otpAuthPassword').val() }, function(resp) {    
        switch(resp.message) {
        case 'send':                     
                $jQuery('#otpAuthSendForm').hide();
                $jQuery('#otpAuthConfirmForm').show();
                $jQuery('#otpAuthPassword').focus();                
                $jQuery('.otpAuthPreload').html('<input type="submit" value="'+siteMessage.go+'">');
                alert(siteMessage.insert_pass);
            break;
        case 'confirm':
                location = '/';        
            break;
        default:
            $jQuery('.otpAuthPreload').html('<input type="submit" value="'+siteMessage.go+'">');
            alert(resp.message);
            break;
        }
    }, 'json');
}