function check_info(){
    $('#act').val('check');
    var options = {
        url:'register.php',
        dataType: 'json',
        success: function(data) {
            $("#user_text").html(data.user_text);
            $("#password_text").html(data.password_text);
            $("#conf_password_text").html(data.conf_password_text);
            $("#first_name_text").html(data.first_name_text);
            $("#last_name_text").html(data.last_name_text);
            $("#email_text").html(data.email_text);
            $("#company_name_text").html(data.company_name_text);
            $("#address_text").html(data.address_text);
            $("#city_text").html(data.city_text);
            $("#zip_text").html(data.zip_text);
            $("#phone_text").html(data.phone_text);
            $("#fax_text").html(data.fax_text);
            $("#url_text").html(data.url_text);
            $("#logo_text").html(data.logo_text);
            $("#code_text").html(data.code_text);
            $("#state_text").html(data.state_text);
            $("#country_text").html(data.country_text);
            if (data.status=='ok'){
                window.location='/welcome.php';
            } else {
                //alert(data.status);
            }
        },
        error: function (data, status, e)
                {
                    //alert(status);
                }
    };
    $('#signup_form').ajaxSubmit(options);
}
