$(document).ready(function(){var n=$("div.checkbox").add($("div.form-group > div")),t=n.children("label"),i=$("input:checkbox"),r=$("label > a");n.find(t).each(function(){$(this).children("input").prependTo($(this).parent(n))});n.find(i).each(function(){name=$(this).attr("name");$(this).attr("id",name);$(this).next("label").attr("for",name)})}),function(){var n=$(".sk-hpm-form-veet-m"),t=$(".thank-you");n&&($("head").append("<link rel='stylesheet' href='/css/CmsPlugins/RB-StarterKit/themes/veetsk/hpm-veet.css?bundleVirtualPath=%7e%2fcssbundles%2fveetsk-hpm-veet.css%2f' type='text/css' media='screen'>"),$("body").removeClass("RBStarterKitContentGridPage"),$('link[href="/css/CmsPlugins/RB-StarterKit/themes/veetsk/styles-blessed1.css?bundleVirtualPath=%7e%2fcssbundles%2fveetsk-styles-blessed1.css%2f"]').remove());$(".cdc-field-container-1").text("Por favor, rellena todos los campos").css({"font-family":"HelveticaNeueLTStd-Roman","font-size":"15px","margin-top":"10%",color:"#fff","margin-bottom":"25px","text-align":"center",width:"250px","margin-left":"5%"})}();$(document).ready(function(){$(".sk-main-links .dropdown").hover(function(){$(this).addClass("open")},function(){$(this).removeClass("open")})}),function(){var n=$(".no-crop-img img");n.length>0&&$(n).attr("src",function(n,t){return t.split("?")[0]})}(),function(n){n(document).ready(function(){if(n("body").hasClass("sk-veet-towie"))if(n(".sk-segment-body").prepend('<a class="sk-towie-logo" href="/"><\/a>'),n(".sk-grid-richtext--homepage").length)n("body").addClass("sk-veet-towie--homepage"),n(".sk-veet-towie .grid-section > .sk-grid-panel:last-child .sk-grid-richtext.sk-grid-richtext--homepage h1 a").removeAttr("title");else if(n("#cdc-form").length){n(".g-recaptcha").appendTo("#cdc-form .col-md-6.column:last > div").wrap('<div class="cdc-field-container"><\/div>');n("body").addClass("sk-veet-towie--form");n(".cdc-submit.btn.btn-primary").val("SUBMIT").addClass("towie-btn-ready");setTimeout(function(){n(".cdc-submit.btn.btn-primary").val("SUBMIT").addClass("towie-btn-ready")},250);n(".sk-veet-towie.sk-veet-towie--form .sk-container-body > .sk-general-content > .row:first-child > .col-md-12 > .sk-grid-content > .umb-grid > .grid-section > .sk-grid-panel:last").append('<div class="sk-towie-close-btn-container"><button class="sk-veet-towie-close-help-btn"><span>GO BACK<\/span><span>TO ENTRY<\/span><\/button><\/div>');n(".sk-veet-towie.sk-veet-towie--form .sk-segment-body").append('<button class="sk-veet-towie-close-help"><\/button>');n(".sk-veet-towie.sk-veet-towie--form #cdc-form .col-md-6:last-child .cdc-field-container:eq(1)").append('<button class="sk-veet-towie-help"><\/button>');n(".sk-veet-towie-help, .sk-veet-towie-close-help, .sk-veet-towie-close-help-btn").on("click",function(t){t.preventDefault();n("body").toggleClass("sk-veet-towie--help-visible")});n(".sk-veet-towie #cdc-form .input-group.date > input").on("change",function(){n("body > .datepicker").remove()});var i=["Please read and accept Terms and Conditions","Please read and accept Privacy Policy"],t=function(n,t){n.find(".help-block.cdc-error").remove();n.find("input.cdc-checkbox")[0].checked||(n.addClass("has-error"),n.append('<span class="help-block cdc-error"> <span class="validation-required field-validation-error" style="">   <span>'+i[t]+"<\/span> <\/span><\/span>"))};n(".sk-veet-towie #cdc-form").on("submit",function(){n(".sk-veet-towie #cdc-form .checkbox.advanced-cdc-checkbox").each(function(i){var r=n(this).parent();t(r,i)})});n(".sk-veet-towie #cdc-form .checkbox.advanced-cdc-checkbox").each(function(i){var r=n(this),u=r.parent();r.find("> input").on("change",function(){t(u,i)})})}})}(jQuery),function(){".sk-hpm-form-veet-m"&&$(".cdc-submit").val("ENVIAR");".sk-hpm-form-veet-w"&&$(".cdc-submit").val("ENVIAR")}()