LENTI DA VISTA
Dal 2004 la nostra ottica è punto di riferimento per l'acquisto di un occhiale grazie alla varietà dell'offerta...

VISITA LA NOSTRA SELEZIONE!

MONTATURE DA VISTA E DA SOLE
La nostra ottica sceglie accuratamente i marchi di ottica per garantire qualità ed elevate performance al miglior prezzo...

SCOPRI I NOSTRI MARCHI!

LENTI A CONTATTO
La nostra ottica è in grado di offrire un servizio su misura, creando una lente personalizzata per ogni esigenza...

CERCA LA TUA LENTE!

GIOIELLERIA
Lorenza Gioielli dispone di un'ampia gamma di marchi di gioielleria, argenteria e orologeria...

VISITA LA NOSTRA GIOIELLERIA!

I NOSTRI MARCHI

REGISTRATI E RICEVI LO SCONTO!

"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label_price"); find_wrong_values = true; if(!spinner_check_field){ scroll_on_element(form_id); } } } }); if(find_wrong_values === false) return true; return false; } function wd_file_upload_check(form_id, upload_check_field){ var x = jQuery("#form" + form_id); var find_wrong_type_upload = false; var upload_check = upload_check_field ? upload_check_field : window['file_upload_check'+form_id]; jQuery.each( upload_check, function( wdid, upload_types ) { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none") { ext_available=getfileextension(jQuery(element).val(), upload_types); if(!ext_available) { jQuery("#form"+form_id+" #wd_upload_type_"+wdid).remove(); x.find(jQuery("div[wdid='"+wdid+"'] .wdform-element-section")).append("
Can not upload this type of file
"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label_upload"); find_wrong_type_upload = true; } else{ jQuery("#form"+form_id+" #wd_upload_type_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label_upload").removeClass("error_label_upload") } } }); if(!upload_check_field && find_wrong_type_upload === true){ scroll_on_element(form_id); } if(find_wrong_type_upload === false) return true; return false; } function wd_is_filled(form_id, field_id){ var x = jQuery("#form" + form_id); var req_fields = field_id ? field_id.split() : window['required_fields'+form_id]; var not_filled = {}; jQuery(req_fields).each(function(index, wdid){ if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none" ) { switch(window['labels_and_ids'+form_id][wdid]){ case 'type_text': case 'type_textarea': case 'type_paypal_price_new': case 'type_spinner': case 'type_number': case 'type_phone_new': case 'type_submitter_mail': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == jQuery(element).attr('title') || jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } break; } case 'type_own_select': case 'type_country': case 'type_paypal_select': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none"){ if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }).change(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); wd_is_filled(form_id, wdid); }); } break; } case 'type_phone': { var element = ["#wdform_" + wdid + "_element_first" + form_id, "#wdform_" + wdid + "_element_last" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == "" || jQuery(elem).val() == jQuery(elem).attr('title')){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_name': { var element = ["#wdform_" + wdid + "_element_title" + form_id, "#wdform_" + wdid + "_element_first" + form_id, "#wdform_" + wdid + "_element_last" + form_id, "#wdform_" + wdid + "_element_middle" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if((jQuery(elem).val() == "" || jQuery(elem).val() == jQuery(elem).attr('title')) && typeof jQuery(elem).val() != "undefined"){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_address': { var element = ["#wdform_" + wdid + "_street1" + form_id, "#wdform_" + wdid + "_street2" + form_id, "#wdform_" + wdid + "_city" + form_id, "#wdform_" + wdid + "_state" + form_id, "#wdform_" + wdid + "_postal" + form_id, "#wdform_" + wdid + "_country" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == "" && typeof jQuery(elem).val() != "undefined"){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_checkbox': case 'type_radio': case 'type_scale_rating': case 'type_paypal_checkbox': case 'type_paypal_radio': case 'type_paypal_shipping': { if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none"){ if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0 || jQuery("#wdform_"+ wdid +"_other_input" + form_id).val() == ""){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ jQuery(this).change(function() { if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0 || jQuery("#wdform_"+ wdid +"_other_input" + form_id).val() == ""){ wd_is_filled(form_id, wdid); } else{ jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); } }); }); } break; } case 'type_star_rating': { var element = "#wdform_" + wdid + "_selected_star_amount" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery("#wdform_" + wdid + "_element" + form_id).click(function(){ if(jQuery(element).val() != ""){ jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); } }); } break; } case 'type_range': { var element = ["#wdform_" + wdid + "_element" + form_id + "0", "#wdform_" + wdid + "_element" + form_id + "1"]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == ""){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_grading': { if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { var count_grading = 0; jQuery.each(jQuery("#wdform_" + wdid + "_element" + form_id + " input"), function( i, val ){ if(jQuery(this).val() != "") count_grading ++; }); if(count_grading == 0) not_filled[wdid] = true; } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#wdform_" + wdid + "_element" + form_id + " input"), function( i, val ){ jQuery(this).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); }); } break; } case 'type_slider': { var slider_element = "#wdform_" + wdid + "_element" + form_id; var element = "#wdform_" + wdid + "_slider_value" + form_id; var min_value = "#wdform_" + wdid + "_element_min" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == jQuery(min_value).html()){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(slider_element).slider({ change: function( event, ui ) { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); wd_is_filled(form_id, wdid); } }); } break; } case 'type_date': case 'type_date_new': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).change(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); wd_is_filled(form_id, wdid); }); } break; } case 'type_date_range': { var element = ["#wdform_" + wdid + "_element" + form_id + "0", "#wdform_" + wdid + "_element" + form_id + "1"]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == ""){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).change(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_date_fields': { var element = ["#wdform_" + wdid + "_day" + form_id, "#wdform_" + wdid + "_month" + form_id, "#wdform_" + wdid + "_year" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == ""){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }).change(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_time': { var element = ["#wdform_" + wdid + "_hh" + form_id, "#wdform_" + wdid + "_mm" + form_id, "#wdform_" + wdid + "_ss" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == "" && typeof jQuery(elem).val() != "undefined"){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_password': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } break; } case 'type_file_upload': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == jQuery(element).attr('title') || jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).change(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); wd_is_filled(form_id, wdid); }); } break; } case 'type_matrix': { if(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="radio" || jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="checkbox"){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ jQuery(this).change(function() { if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0){ wd_is_filled(form_id, wdid); } else{ jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); } }); }); } } else if(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="text"){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { var count_input_matrix = 0; jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ if(jQuery(this).val() != "") count_input_matrix ++; }); if(count_input_matrix == 0) not_filled[wdid] = true; } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ jQuery(this) .focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }) .blur(function() { wd_is_filled(form_id, wdid); }); }); } } else{ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { var count_select_matrix = 0; jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] select"), function( i, val ){ if(jQuery(this).val() != "") count_select_matrix ++; }); if(count_select_matrix == 0) not_filled[wdid] = true; } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] select"), function( i, val ){ jQuery(this).focus(function() { if(jQuery(this).val() == ""){ jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); } }).change(function() { wd_is_filled(form_id, wdid); }).blur(function() { wd_is_filled(form_id, wdid); }); }); } } break; } case 'type_send_copy': { if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery("div[wdid='"+ wdid +"'] input:checked").length == 0){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").change(function() { if(jQuery("div[wdid='"+ wdid +"'] input:checked").length == 0){ wd_is_filled(form_id, wdid); } else{ jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); } }); } break; } case 'type_captcha': case 'type_arithmetic_captcha':{ var element = ""; if(window['labels_and_ids'+form_id][wdid] == 'type_captcha') element = '#wd_captcha_input' + form_id; else element = '#wd_arithmetic_captcha_input' + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } break; } } } }); if(Object.keys(not_filled).length === 0 && Object.keys(window["check_before_submit" + form_id]).length === 0){ return true; } else { if(Object.keys(not_filled).length !== 0){ jQuery.each( not_filled, function( wdid, elem ) { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-element-section:first").append("
Field is required
"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label"); }); } if(!field_id){ scroll_on_element(form_id); } window['check_submit'+form_id] = 1; return false; } } function scroll_on_element(form_id){ var parent_div = jQuery("#form" + form_id + " .fm-not-filled")[0].closest(".wdform_row"); var body_hight = document.body.clientHeight; var element_offset = jQuery(jQuery("#form" + form_id + " .fm-not-filled")[0]).offset().top; var scrollChecker = function() { if(document.body.clientHeight !== body_hight ){ body_hight = document.body.clientHeight; element_offset = jQuery(jQuery("#form" + form_id + " .fm-not-filled")[0]).offset().top; jQuery('html body').stop(); animateBodyToError(); } }; jQuery(window).on("scroll",scrollChecker); function animateBodyToError(){ jQuery('html body').animate({ scrollTop: element_offset - 150 }, 500, function(){ jQuery(window).off("scroll", scrollChecker); old_bg=jQuery(parent_div).css("background-color"); jQuery(parent_div).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); }); } animateBodyToError(); } function wd_check_regExp(form_id, regExpObj){ var x = jQuery("#form" + form_id); var find_wrong_exp = false; var check_regExp = regExpObj ? regExpObj : window['check_regExp_all'+form_id]; jQuery.each( check_regExp, function( wdid, exp ) { var element = "#wdform_" + wdid + "_element" + form_id; var RegExpression = ""; var rules = unescape(exp[0]); (exp[1].length 0 && jQuery(element).val() != jQuery(element).attr('title')){ if (RegExpression.test(jQuery(element).val()) != true){ jQuery("#form"+form_id+" #wd_exp_"+wdid).remove(); x.find(jQuery("div[wdid='"+wdid+"'] .wdform-element-section")).append("
" + exp[2] + "
"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label_exp"); find_wrong_exp = true; if(!regExpObj){ scroll_on_element(form_id); } } } } }); if(find_wrong_exp === false) return true; return false; } function wd_check_price_min_max(form_id, price_nim_max){ var x = jQuery("#form" + form_id); var check_price_min_max = price_nim_max ? price_nim_max : window['check_paypal_price_min_max'+form_id]; var find_wrong_price = false; jQuery.each( check_price_min_max, function( wdid, min_max_option ) { var element = "#wdform_" + wdid + "_element" + form_id; var range_min = min_max_option[3] ? min_max_option[3] : 0; var range_max = min_max_option[4] ? min_max_option[4] : -1; if((min_max_option[2] ? true : false) || jQuery(element).val()!=min_max_option[1]) if((range_max!=-1 && parseFloat(jQuery(element).val()) > range_max) || parseFloat(jQuery(element).val()) " + "The " + min_max_option[0] + " value must be between " + (min_max_option[3] ? min_max_option[3] : 0) + '-' + (min_max_option[4] ? min_max_option[4] : "any") + "
"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label_price"); find_wrong_price = true; if(!price_nim_max){ scroll_on_element(form_id); } } }); if(find_wrong_price === false) return true; return false; } function formOnload10() { if (navigator.userAgent.toLowerCase().indexOf('msie') != -1 && parseInt(navigator.userAgent.toLowerCase().split('msie')[1]) === 8) { jQuery("#form10").find(jQuery("input[type='radio']")).click(function() {jQuery("input[type='radio']+label").removeClass('if-ie-div-label'); jQuery("input[type='radio']:checked+label").addClass('if-ie-div-label')}); jQuery("#form10").find(jQuery("input[type='radio']:checked+label")).addClass('if-ie-div-label'); jQuery("#form10").find(jQuery("input[type='checkbox']")).click(function() {jQuery("input[type='checkbox']+label").removeClass('if-ie-div-label'); jQuery("input[type='checkbox']:checked+label").addClass('if-ie-div-label')}); jQuery("#form10").find(jQuery("input[type='checkbox']:checked+label")).addClass('if-ie-div-label'); } jQuery.each( check_regExp_all10, function( wdid, exp ) { var exp_array = {}; exp_array[wdid] = exp; jQuery("div[wdid='"+wdid+"'] input").blur(function() {wd_check_regExp(10, exp_array)}).focus(function() {jQuery("#form"+10+" #wd_exp_"+wdid).remove(); jQuery("#form"+10+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label_exp").removeClass("error_label_exp")}); }); jQuery.each( check_paypal_price_min_max10, function( wdid, price_min_max_option ) { var price_min_max_array = {}; price_min_max_array[wdid] = price_min_max_option; jQuery("div[wdid='"+wdid+"'] input").blur(function() {wd_check_price_min_max(10, price_min_max_array)}).focus(function() {jQuery("#form"+10+" #wd_price_"+wdid).remove(); jQuery("#form"+10+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label_price").removeClass("error_label_price")}); }); jQuery.each( spinner_check10, function( wdid, spinner_min_max ) { var spinner_min_max_array = {}; spinner_min_max_array[wdid] = spinner_min_max; jQuery("div[wdid='"+wdid+"'] input").blur(function() {wd_spinner_check(10, spinner_min_max_array)}).focus(function() {jQuery("#form"+10+" #wd_price_"+wdid).remove(); jQuery("#form"+10+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label_price").removeClass("error_label_price")}); }); jQuery.each( file_upload_check10, function( wdid, upload_types ) { var upload_types_array = {}; upload_types_array[wdid] = upload_types; jQuery("div[wdid='"+wdid+"'] input").change(function() {wd_file_upload_check(10, upload_types_array)}); }); jQuery("div[type='type_text'] input, div[type='type_number'] input, div[type='type_phone'] input, div[type='type_name'] input, div[type='type_submitter_mail'] input, div[type='type_submitter_mail_confirmation'] input, div[type='type_paypal_price'] input, div[type='type_paypal_price_new'] input, div[type='type_textarea'] textarea").focus(function() {delete_value(this)}).blur(function() {return_value(this)}); jQuery("div[type='type_number'] input, div[type='type_phone'] input, div[type='type_spinner'] input, div[type='type_range'] input, .wdform-quantity, div[type='type_paypal_price_new'] input").keypress(function(evt) {return check_isnum(evt)}); jQuery("div[type='type_grading'] input").keypress(function(evt) {return check_isnum_or_minus(evt)}); jQuery("div[type='type_paypal_checkbox'] input[type='checkbox'], div[type='type_paypal_radio'] input[type='radio'], div[type='type_paypal_shipping'] input[type='radio']").click(function() {set_total_value(10)}); jQuery("div[type='type_paypal_select'] select, div[type='type_paypal_price'] input, div[type='type_paypal_price_new'] input").change(function() {set_total_value(10)}); jQuery(".wdform-quantity").change(function() {set_total_value(10)}); jQuery("div[type='type_address'] select").change(function() {set_total_value(10)}); jQuery("div[type='type_time'] input").blur(function() {add_0(this)}); jQuery('.wdform-element-section').each(function() { if(!jQuery(this).parent()[0].style.width && parseInt(jQuery(this).width())!=0) { if(jQuery(this).css('display')=="table-cell") { if(jQuery(this).parent().attr('type')!="type_captcha") jQuery(this).parent().css('width', parseInt(jQuery(this).width()) + parseInt(jQuery(this).parent().find(jQuery(".wdform-label-section"))[0].style.width)+15); else jQuery(this).parent().css('width', (parseInt(jQuery(this).parent().find(jQuery(".captcha_input"))[0].style.width)*2+50) + parseInt(jQuery(this).parent().find(jQuery(".wdform-label-section"))[0].style.width)+15); } } if (!jQuery(this).parent()[0].style.width && parseInt(jQuery(this).width()) != 0) { if (jQuery(this).css('display') == "table-cell") { if (jQuery(this).parent().attr('type') != "type_captcha") { jQuery(this).parent().css('width', parseInt(jQuery(this).width()) + parseInt(jQuery(this).parent().find(jQuery(".wdform-label-section"))[0].style.width)+15); } else { jQuery(this).parent().css('width', (parseInt(jQuery(this).parent().find(jQuery(".captcha_input"))[0].style.width)*2+50) + parseInt(jQuery(this).parent().find(jQuery(".wdform-label-section"))[0].style.width)+15); } } } if(parseInt(jQuery(this)[0].style.width.replace('px', '')) = 2*parseInt(jQuery(this).css('line-height').replace('px', ''))) { jQuery(this).parent().css('max-width',jQuery(this).parent().width()); jQuery(this).parent().css('width',''); } }); (function(jQuery){ jQuery.fn.shuffle = function() { var allElems = this.get(), getRandom = function(max) { return Math.floor(Math.random() * max); }, shuffled = jQuery.map(allElems, function(){ var random = getRandom(allElems.length), randEl = jQuery(allElems[parseInt(random)]).clone(true)[0]; allElems.splice(random, 1); return randEl; }); this.each(function(i){ jQuery(this).replaceWith(jQuery(shuffled[i])); }); return jQuery(shuffled); }; })(jQuery); if( jQuery("input[name^='wdform_4_element10']:checked").val()=="SI, voglio ricevere offerte e promo!" ) jQuery("#form10 div[wdid=5]").removeAttr("style"); else jQuery("#form10 div[wdid=5]").css("display", "none"); jQuery("div[wdid=4] input[type='radio']").click(function() { if( jQuery("input[name^='wdform_4_element10']:checked").val()=="SI, voglio ricevere offerte e promo!" ) jQuery("#form10 div[wdid=5]").removeAttr("style"); else jQuery("#form10 div[wdid=5]").css("display", "none"); }); if(window.before_load) { before_load(); } } jQuery(window).load(function () { formOnload10(); }); form_view_count10=0; jQuery(document).ready(function () { for(i=1; i 1) { for (i = 1; i ").appendTo("#form10"); jQuery("").appendTo("#form10"); var disabled_fields =""; jQuery("div[wdid]").each(function() { if(jQuery(this).css("display")=="none") { disabled_fields += jQuery(this).attr("wdid"); disabled_fields += ","; } if(disabled_fields) jQuery("").appendTo("#form10"); });jQuery("").appendTo("#form"+form_id); a[form_id] = 1; var checkStripe = 2; if(checkStripe == 1){ var jq_mainForm = jQuery("form[id='form"+form_id+"']"); if (jq_mainForm.find(".wdfm_stripe_elem").first().parents(".wdform_row").is(":visible")) { wdfm_call_stripe(); } else{ document.getElementById("form"+form_id).submit(); } } else{ document.getElementById("form"+form_id).submit(); } } function check10(id, form_id) { if(!wd_is_filled(form_id)) return false; if(!wd_check_regExp(form_id)) return false; if(!wd_check_price_min_max(form_id)) return false; if(!wd_file_upload_check(form_id)) return false; if(!wd_spinner_check(form_id)) return false; x = jQuery("#10form_view"+id); return true; }
NOME:*
COGNOME:*
E-MAIL:*
CONTROLLO GRATUITO DELLA VISTA
noun_545957_cc2LENTI PERSONALIZZATE, CREATE SU MISURA
noun_545957_cc2PRODOTTI PER LA MANUTENZIONE DELLE LENTI
noun_545957_cc2ESAME OPTOMETRICO GRATUITO
noun_545957_cc2LENTI A CONTATTO E ASSISTENZA
noun_545957_cc2PRODOTTI CERTIFICATI E GARANTITI
noun_545957_cc2ESAME CONTATTOLOGICO GRATUITO
noun_545957_cc2LENTI ULTRASOTTILI, FOTOCROMATICHE, ANTIRIFLESSO
noun_545957_cc2IMPEGNO E FORMAZIONE CONTINUA A SERVIZIO DEL CLIENTE

LA NOSTRA FOTOGALLERY