jQuery(document).ready(function(){
/*
	jQuery('#fz_apply_apply_form').submit(function(){
        var str = jQuery('#fz_apply_apply_form').serialize();
        var url = baseUrl + 'fzApply/validateApply?'+str;
        
        jQuery.get(url, {}, function(data){
        	if (data.valid!=undefined) {
                jQuery('#fz_apply_apply_form').unbind().submit();
            } else {
              if(data.first_name != undefined
               || data.last_name != undefined
               || data.email_address != undefined
               || data.password != undefined
               || data.password2 != undefined){
                jQuery(".applyLeftError span").show();
              }else{
                jQuery(".applyLeftError span").hide();
              }

              if(data.street_number != undefined
               || data.street_name != undefined
               || data.city != undefined
               || data.zip_code != undefined
               || data.country_id != undefined){
                jQuery(".centerLeftError span").show();
              }else{
                jQuery(".centerLeftError span").hide();
              }

              if(data.birth_date != undefined){
                jQuery(".invalidChamps span").show();
              }else{
                jQuery(".invalidChamps span").hide();
              }

              if(data.captcha != undefined){
                jQuery(".IncorrectTyping span").show();
              }else{
                jQuery(".IncorrectTyping span").hide();
              }
              
              jQuery('input[id^="fzApplyApply_"]').css("background", '');
              for(error in data){
            	  jQuery("#fzApplyApply_" + error).css("background", 'url("../images/registarView_bgInput_error.png")');
              }
              
           }

        }, "json");


      return false;
    });
    
    */
});

