/*
 
 Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
 Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 Version 2.1.1

 jqZoom version 2.2
 Author Doc. Ing. Renzi Marco(www.mind-projects.it)
 i'm looking for a job,pick me up!!!
 mail: renzi.mrc@gmail.com

 Thickbox 3 - One Box To Rule Them All.
 By Cody Lindley (http://www.codylindley.com)
 Copyright (c) 2007 cody lindley
 Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
if(typeof lang=="undefined")var lang="en";if(typeof base==="undefined")base="http://www.fluid-forms.com";
var strings={en:{dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],format:"day, dd. month",decimalSeperator:".",thousandSeperator:","},de:{dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],monthNames:["Januar","Februar","M&auml;rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],
format:"day, dd. month",decimalSeperator:",",thousandSeperator:"."}};
$(document).ready(function(){function a(){$("#metanav .cart").removeClass("active");$("#panels .cart").hide()}function b(){$("#feedback").animate({left:"-222px"}).data("opened","false")}$("#tool").show();if(typeof lang=="undefined")lang=$("html").attr("lang");$(".message").css("visibility","inherit").hide().fadeIn(1E3);$("a.email").nospam();$("a.emailReplace").nospam({replaceText:true});if("https:"==document.location.protocol)base=base.replace("http://","https://");typeof action!=="undefined"&&action!=
"cart"&&$.ajax({url:base+"/cart/mini?rand="+Math.random(1E7),dataType:"jsonp",jsonp:"jsonp_callback",success:function(f){$(".panel.cart").html(f.html);$("#metanav .cart span").html($(".panel.cart #quantity").val())}});var d;$("#metanav a[title]").each(function(){$(this).attr("who",$(this).attr("title"));$(this).attr("title","");$(this).click(function(){var f=$(this).attr("who");$("#metanav a").removeClass("active");$("#panels .panel").hide();$("#panels .panel[who="+f+"]").slideDown("fast");$(this).addClass("active");
$(this).blur();return false});$(this).hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")})});$("#panels .panel").not(".cart").each(function(){$(this).attr("who",$(this).attr("title"));if($(this).attr("who")!="cart"){var f=$("#metanav").width()-119;$(this).css("width",f)}});$("#panels .panel").attr("title","");$(document).click(function(f){f=$(f.target);if(!f.is(".panel")&&!f.parents(".panel").length>0){$("#metanav a").removeClass("active");$("#panels .panel").hide()}});
$("#metanav .cart").hover(function(){$(this).addClass("active");$("#panels .cart").show()},function(){d=setTimeout(a,200)});$("#panels .cart").hover(function(){clearTimeout(d)},function(){a()});$("#panels input.password").focus(function(){$new=$('<input type="password" class="password">');$new.attr("name",$(this).attr("name"));$new.insertAfter($(this)).focus();$(this).remove()});$("#panels input.email").focus(function(){$(this).val()=="Email"&&$(this).val("")});$("#panels input.email").blur(function(){$(this).val()==
""&&$(this).val("Email")});$("#newsletterEmail",$("div.newsletter")).val("Email");$("#newsletterEmail",$("div.newsletter")).focus(function(){$(this).val()=="Email"&&$(this).val("")});$("#secnav a#newsletter").click(function(){$("#newsletterDropDown").slideDown("fast");$('#newsletterDropDown input[type="text"]').focus();return false});$(document).click(function(f){f=$(f.target);!f.is("#newsletter")&&!f.is("#newsletterDropDown")&&!f.parents("#newsletterDropDown").length>0&&$("#newsletterDropDown").slideUp("fast")});
$("div.newsletter").append('<div class="loading">&nbsp;</div>');$(".newsletter .loading").hide();$("div.newsletter").append('<div class="message msg_info"><p>&nbsp;</p></div>');$("div.newsletter").append('<div class="message msg_error"><p>&nbsp;</p></div>');$("#submit",$("div.newsletter")).click(function(){$("div.newsletter .msg_error").fadeOut("fast");$("div.newsletter .msg_info").fadeOut("fast");var f={en:{invalid:"The email address seems to be incorrect. Please check it and try again.",failure:"The server reported a problem with the email address. Please check it and try again.",
success:"Thank you!"},de:{invalid:"Die E-Mailadresse scheint falsch zu sein. Bitte korrigieren und nochmals versuchen.",failure:"Der Server meldet ein Problem mit dieser E-Mailadresse. Bitte korrigieren und nochmals versuchen.",success:"Danke!"}},h=$(this).parent(),m=$("#newsletterEmail",h).val();m||(m=$(".email",h).val());if(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(m)){$(this).siblings().filter(".loading").show();
$.ajax({url:base+"/newsletterSubscriber/subscribe/?format=json&email="+m+"&lang="+lang,dataType:"jsonp",jsonp:"jsonp_callback",success:function(n){$(".msg_info",h).fadeIn("fast");if(n.status=="success"){$(".msg_info p",h).html(f[lang].success);pageTracker._setVar("newsletter-subscriber")}else $(".msg_info p",h).html(f[lang].failure);$(".loading",h).hide()}})}else{$(this).siblings().filter(".msg_error").fadeIn("fast");$(this).siblings().filter(".msg_error").children("p").html(f[lang].invalid)}});$("#progress-bar #progress").length>
0&&typeof productId!="undefined"&&$.ajax({url:base+"/product/orderQueueLength/"+productId,dataType:"jsonp",jsonp:"jsonp_callback",success:function(f){$("#progress-bar #progress").css("width",f.quantity*5);$("#progress-total").html(""+f.quantity);$("#progress-bar").fadeIn()}});$("#HowDoesItWork").css("cursor","pointer");$("#HowDoesItWork").click(function(){if(typeof editing=="undefined"||!editing)location=$("#url",$(this)).val()});$("#feedback").fadeIn("slow");$("#feedback .flap").click(function(){$("#feedback").data("opened")==
"true"?b():$("#feedback").animate({left:"0px"}).data("opened","true")});$("#feedback #sendIt").click(function(){var f={msg:$("#feedbackMessage").val(),feedbackFromURL:$("#feedbackFromURL").val()},h=$("#feedbackEmail").val();if(h)f.email=h;$("body").css({cursor:"wait"});$(this).css({cursor:"wait"});$.getJSON($("#feedbackController").val(),f,function(){$("#feedback .panel .input").hide();$("#feedback .panel .thanks").show();setInterval(b,3E3);$("body").css({cursor:"default"});$("#feedback #sendIt").css({cursor:"pointer"});
return false})});$("#EmailReminder #sendIt").click(function(){var f={remindMeDate:$("#remindMeDate").val(),feedbackFromURL:$("#feedbackFromURL").val(),email:$("#EmailReminder #reminder-email").val()};if(f.email){$("body").css({cursor:"wait"});$(this).css({cursor:"wait"});$.getJSON($("#remindMeController").val(),f,function(h){console.log(h);$("body").css({cursor:"default"});$("#EmailReminder #sendIt").css({cursor:"pointer"});tb_remove();return false})}});shopUtils.initTips();var k=$(".productThumbs");
k.length>0&&k.load(base+"/shop/products?ajax=1");$(".jqzoom img").each(function(){typeof $(this).attr("jqimg")=="undefined"&&$(this).attr("jqimg",$(this).attr("src"))});$("#changeCountry select").change(function(){$("#changeCountry form").submit()});$("#changeCountryShipping select").change(function(){$("#changeCountryShipping form").submit()});$("#changeCountryBilling select").change(function(){$("#changeCountryBilling form").submit()});var g=function(){$("#changeCountryPriceBox .loading").show();
var f=$("#productId").val();f&&$.ajax({async:true,cache:false,url:base+"/shop/changeCountry",data:{productId:f,renderTemplate:1,shipCountryCode:$("#shipCountryCode").val()},dataType:"jsonp",jsonp:"jsonp_callback",success:function(h){$("#priceBoxHolder").html(h.html);$("#changeCountryPriceBox select").change(g);var m=$("#shipCountryCode").val();h=getVatValue(m);m=calculateShip(m,$("#productWeight").val(),null);m*=1+h;$("#shippingCostsInfo").html(formatPrice(m.toFixed(2)));$("#taxRate").html(""+h*100);
$("#priceBaseRaw").val($("#price").val());$("#priceForConversion").html($("#price").val());calculate();$("#changeCountryPriceBox .loading").hide();shopUtils.initTips()}})};$("#showMore").click(function(){pageTracker._trackEvent("product","more",id)});$(".fbshare").click(function(){pageTracker._trackEvent("facebook","share",$(this).attr("href"))});$("#changeCountryPriceBox select").change(g);g();$(".currencies select").change(function(f){calculate(f)});$(".currencies select").keyup(function(f){calculate(f)});
calculate();(function(){function f(){var m=$("ul#listticker li:first");m.fadeOut(h,function(){$("ul#listticker").append("<li>"+m.html()+"</li>");m.remove();$("ul#listticker li:first").fadeIn(h)})}var h=1700;$("ul#listticker li").hide();$("ul#listticker li:first").fadeIn(h);interval=setInterval(f,1E4)})()});
var calculate=function(a){var b=$(".currencies select");if(b.length<=0){b=$(".currencies #currency");d=false}if(b.val()){if(typeof a!="undefined"&&typeof a.target!="undefined")b=$(a.target);var d=true;a=b.val().split("|")[0];var k=$("#priceBaseRaw").val().replace(",",""),g=b.val().split("|")[1];k=k*a;if(a<=0)a=1;$(".price",$(".currencies")).text(formatPrice(k,g));d&&currentCurrency!=g&&g!="undefined"&&$.get($(".currencies #changeCurrencyURL").val(),{currency:g},function(f){currentCurrency=f});$(".currencies select").val(b.val())}};
function FluidFormsShopUtils(){this.settings={en:{decimalSymbol:".",digitGroupSymbol:","},de:{decimalSymbol:",",digitGroupSymbol:"."}}}FluidFormsShopUtils.prototype.initTips=function(){$("a.jTip").cluetip({cluetipClass:"jtip",arrows:true,dropShadowSteps:3});$("a.tip").cluetip({splitTitle:"|"});$("a.jTip").click(function(){$(this).blur();return false})};
FluidFormsShopUtils.prototype.formatNumber=function(a){a=parseFloat(a);var b=this.settings[lang].digitGroupSymbol,d=this.settings[lang].decimalSymbol;a=isNaN(a)?0:a;var k=this.round(a,2).toFixed(2).match(/^(-?)([0-9]+).([0-9]+)$/);a=k[1];var g=k[2];k=k[3];for(var f=[];g.length>3;){f.unshift(g.substr(g.length-3,3));g=g.substr(0,g.length-3)}f.unshift(g);return a+f.join(b)+d+k};FluidFormsShopUtils.prototype.round=function(a,b){b=b||0;b=Math.pow(10,b);return Math.round(a*b)/b};
FluidFormsShopUtils.prototype.formatDate=function(a){var b=strings[lang].format;b=b.replace("day",strings[lang].dayNames[a.getDay()]);b=b.replace("dd",a.getDate());return b=b.replace("month",strings[lang].monthNames[a.getMonth()])};FluidFormsShopUtils.prototype.formatPrice=function(a,b){if(typeof b!="string")b="EUR";return b+" "+formatNumber(this.round(a,2))};var shopUtils=new FluidFormsShopUtils;function formatNumber(a){return shopUtils.formatNumber(a)}
function formatDate(a){return shopUtils.formatDate(a)}function formatPrice(a,b){return shopUtils.formatPrice(a,b)}function parseAndRoundFloat(a){return Math.round(parseFloat(a)*100)/100}function parseFloatI18n(a){return parseFloat(a.replace(",","."))}function getVatValue(a){a=vatValues[a];return a==null?0:a}
function calculateShip(a,b,d){if(b==0||d=="pickup")return 0;d||(d="standard");b=Math.max(0,b);if(a=="AT")return getNationalPrice(b,d);(a=zones[a])||(a="5");return prices[d][a].base+prices[d][a].perKG*b}function getNationalPrice(a,b){return a==0?0:a<2?b=="express"?8.18:4.08:a<4?b=="express"?8.18:5.08:a<8?b=="express"?11.28:6.18:a<12?b=="express"?14.28:7.78:a<20?b=="express"?18.38:9.88:a<31.5?b=="express"?25.58:13.08:1E3}
jQuery.fn.nospam=function(a){a=jQuery.extend({replaceText:false,filterLevel:"normal"},a);return this.each(function(){e=null;if(e=a.filterLevel=="low"?$(this).is("a[rel]")?$(this).attr("rel").replace("//","@").replace(/\//g,"."):$(this).text().replace("//","@").replace(/\//g,"."):$(this).is("a[rel]")?$(this).attr("rel").split("").reverse().join("").replace("//","@").replace(/\//g,"."):$(this).text().split("").reverse().join("").replace("//","@").replace(/\//g,"."))if($(this).is("a[rel]")){$(this).attr("href",
"mailto:"+e);a.replaceText&&$(this).text(e)}else $(this).text(e)})};
(function(a){a.fn.bgIframe=a.fn.bgiframe=function(b){if(a.browser.msie&&/6.0/.test(navigator.userAgent)){b=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},b||{});var d=function(g){return g&&g.constructor==Number?g+"px":g},k='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+b.src+'"style="display:block;position:absolute;z-index:-1;'+(b.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(b.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
d(b.top))+";left:"+(b.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":d(b.left))+";width:"+(b.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":d(b.width))+";height:"+(b.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":d(b.height))+';"/>';return this.each(function(){a("> iframe.bgiframe",this).length==0&&this.insertBefore(document.createElement(k),this.firstChild)})}return this}})(jQuery);
(function(a){var b,d,k,g,f,h,m;a.fn.cluetip=function(l,o){if(typeof l=="object"){o=l;l=null}return this.each(function(u){var j=a(this),c=a.extend(true,{},a.fn.cluetip.defaults,o||{},a.metadata?j.metadata():a.meta?j.data():{}),N=false,J=parseInt(c.cluezIndex,10)-1,G=false,X=0;if(!a("#cluetip").length){d=a('<div id="cluetip-inner"></div>');g=a('<h3 id="cluetip-title"></h3>');k=a('<div id="cluetip-outer"></div>').append(d).prepend(g);b=a('<div id="cluetip"></div>').css({zIndex:c.cluezIndex}).append(k).append('<div id="cluetip-extra"></div>')[n](q).hide();
a('<div id="cluetip-waitimage"></div>').css({position:"absolute",zIndex:J-1}).insertBefore("#cluetip").hide();b.css({position:"absolute",zIndex:J});k.css({position:"relative",zIndex:J+1});f=a('<div id="cluetip-arrows" class="cluetip-arrows"></div>').css({zIndex:J+1}).appendTo("#cluetip")}var Y=c.dropShadow?+c.dropShadowSteps:0;if(!h){h=a([]);for(var K=0;K<Y;K++)h=h.add(a("<div></div>").css({zIndex:J-K-1,opacity:0.1,top:1+K,left:1+K}));h.css({position:"absolute",backgroundColor:"#000"}).prependTo(b)}var v=
j.attr(c.attribute),O=c.cluetipClass;if(!v&&!c.splitTitle&&!l)return true;if(c.local&&c.localPrefix)v=c.localPrefix+v;c.local&&c.hideLocal&&a(v+":first").hide();var z=parseInt(c.topOffset,10),E=parseInt(c.leftOffset,10),B,U,P=isNaN(parseInt(c.height,10))?"auto":/\D/g.test(c.height)?c.height:c.height+"px",Q,C,A,L,R,V=isNaN(parseInt(c.width,10))?275:parseInt(c.width,10),s=V+(parseInt(b.css("paddingLeft"),10)||0)+(parseInt(b.css("paddingRight"),10)||0)+Y,M=this.offsetWidth,D,r,w,H,I,x=c.attribute!="title"?
j.attr(c.titleAttribute):"";if(c.splitTitle){if(x==undefined)x="";I=x.split(c.splitTitle);x=I.shift()}if(c.escapeTitle)x=x.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;");var S=function(i){if(!c.onActivate(j))return false;G=true;b.removeClass().css({width:V});v==j.attr("href")&&j.css("cursor",c.cursor);j.attr("title","");c.hoverClass&&j.addClass(c.hoverClass);C=j.offset().top;D=j.offset().left;w=i.pageX;L=i.pageY;if(j[0].tagName.toLowerCase()!="area"){Q=a(document).scrollTop();H=a(window).width()}if(c.positionBy==
"fixed"){r=M+D+E;b.css({left:r})}else{r=M>D&&D>s||D+M+s+E>H?D-s-E:M+D+E;if(j[0].tagName.toLowerCase()=="area"||c.positionBy=="mouse"||M+s>H)if(w+20+s>H){b.addClass(" cluetip-"+O);r=w-s-E>=0?w-s-E-parseInt(b.css("marginLeft"),10)+parseInt(d.css("marginRight"),10):w-s/2}else r=w+E;var t=r<0?i.pageY+z:i.pageY;b.css({left:r>0&&c.positionBy!="bottomTop"?r:w+s/2>H?H/2-s/2:Math.max(w-s/2,0)})}U=a(window).height();if(l){if(typeof l=="function")l=l(j[0]);d.html(l);F(t)}else if(I){i=I.length;d.empty();for(var p=
0;p<i;p++)p==0?d.html(I[p]):d.append('<div class="split-body">'+I[p]+"</div>");F(t)}else if(!c.local&&v.indexOf("#")!=0)if(/\.(jpe?g|tiff?|gif|png)$/i.test(v)){d.html('<img src="'+v+'" alt="'+x+'" />');F(t)}else if(N&&c.ajaxCache){d.html(N);F(t)}else{i=c.ajaxSettings;i.cache=false;i.url=v;i.beforeSend=function(){k.children().empty();c.waitImage&&a("#cluetip-waitimage").css({top:L+20,left:w+20}).show()};i.error=function(){G&&d.html("<i>sorry, the contents could not be loaded</i>")};i.success=function(y){N=
c.ajaxProcess(y);G&&d.html(N)};i.complete=function(){if((m=a("#cluetip-inner img").length)&&!a.browser.opera)a("#cluetip-inner img").load(function(){m--;if(m<1){a("#cluetip-waitimage").hide();G&&F(t)}});else{a("#cluetip-waitimage").hide();G&&F(t)}};a.ajax(i)}else if(c.local){i=a(v+":eq("+u+")").clone(true).show();d.html(i);F(t)}},F=function(i){function t(){}b.addClass("cluetip-"+O);if(c.truncate){var p=d.text().slice(0,c.truncate)+"...";d.html(p)}x?g.show().html(x):c.showTitle?g.show().html("&nbsp;"):
g.hide();if(c.sticky){var y=a('<div id="cluetip-close"><a href="#">'+c.closeText+"</a></div>");c.closePosition=="bottom"?y.appendTo(d):c.closePosition=="title"?y.prependTo(g):y.prependTo(d);y.click(function(){W();return false});if(c.mouseOutClose)a.fn.hoverIntent&&c.hoverIntent?b.hoverIntent({over:t,timeout:c.hoverIntent.timeout,out:function(){y.trigger("click")}}):b.hover(t,function(){y.trigger("click")});else b.unbind("mouseout")}p="";k.css({overflow:P=="auto"?"visible":"auto",height:P});B=P=="auto"?
Math.max(b.outerHeight(),b.height()):parseInt(P,10);A=C;R=Q+U;if(c.positionBy=="fixed")A=C-c.dropShadowSteps+z;else if(r<w&&Math.max(r,0)+s>w||c.positionBy=="bottomTop")if(C+B+z>R&&L-Q>B+z){A=L-B-z;p="top"}else{A=L+z;p="bottom"}else A=C+B+z>R?B>=U?Q:R-B-z:j.css("display")=="block"||j[0].tagName.toLowerCase()=="area"||c.positionBy=="mouse"?i-z:C-c.dropShadowSteps;if(p=="")r<D?(p="left"):(p="right");b.css({top:A+"px"}).removeClass().addClass("clue-"+p+"-"+O).addClass(" cluetip-"+O);if(c.arrows){i=C-
A-c.dropShadowSteps;f.css({top:/(left|right)/.test(p)&&r>=0&&i>0?i+"px":/(left|right)/.test(p)?0:""}).show()}else f.hide();h.hide();b.hide()[c.fx.open](c.fx.open!="show"&&c.fx.openSpeed);c.dropShadow&&h.css({height:B,width:V}).show();a.fn.bgiframe&&b.bgiframe();if(c.delayedClose>0)X=setTimeout(W,c.delayedClose);c.onShow(b,d)},T=function(){G=false;a("#cluetip-waitimage").hide();if(!c.sticky||/click|toggle/.test(c.activation)){W();clearTimeout(X)}c.hoverClass&&j.removeClass(c.hoverClass)},W=function(){k.parent().hide().removeClass();
c.onHide(b,d);j.removeClass("cluetip-clicked");x&&j.attr(c.titleAttribute,x);j.css("cursor","");c.arrows&&f.css({top:""})};if(/click|toggle/.test(c.activation))j.click(function(i){if(b.is(":hidden")||!j.is(".cluetip-clicked")){S(i);a(".cluetip-clicked").removeClass("cluetip-clicked");j.addClass("cluetip-clicked")}else T(i);this.blur();return false});else if(c.activation=="focus"){j.focus(function(i){S(i)});j.blur(function(i){T(i)})}else{j.click(function(){if(j.attr("href")&&j.attr("href")==v&&!c.clickThrough)return false});
var Z=function(i){if(c.tracking==true){var t=r-i.pageX,p=A?A-i.pageY:C-i.pageY;j.mousemove(function(y){b.css({left:y.pageX+t,top:y.pageY+p})})}};a.fn.hoverIntent&&c.hoverIntent?j.mouseover(function(){j.attr("title","")}).hoverIntent({sensitivity:c.hoverIntent.sensitivity,interval:c.hoverIntent.interval,over:function(i){S(i);Z(i)},timeout:c.hoverIntent.timeout,out:function(i){T(i);j.unbind("mousemove")}}):j.hover(function(i){S(i);Z(i)},function(i){T(i);j.unbind("mousemove")})}})};a.fn.cluetip.defaults=
{width:275,height:"auto",cluezIndex:97,positionBy:"auto",topOffset:15,leftOffset:15,local:false,localPrefix:null,hideLocal:true,attribute:"rel",titleAttribute:"title",splitTitle:"",escapeTitle:false,showTitle:true,cluetipClass:"default",hoverClass:"",waitImage:true,cursor:"help",arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:"hover",clickThrough:false,tracking:false,delayedClose:0,closePosition:"top",closeText:"Close",truncate:0,fx:{open:"show",openSpeed:""},
hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(){return true},onShow:function(){},onHide:function(){},ajaxCache:true,ajaxProcess:function(l){return l=l.replace(/<s(cript|tyle)(.|\s)*?\/s(cript|tyle)>/g,"").replace(/<(link|title)(.|\s)*?\/(link|title)>/g,"")},ajaxSettings:{dataType:"html"},debug:false};var n="appendTo",q="body";a.cluetip={};a.cluetip.setup=function(l){if(l&&l.insertionType&&l.insertionType.match(/appendTo|prependTo|insertBefore|insertAfter/))n=l.insertionType;
if(l&&l.insertionElement)q=l.insertionElement}})(jQuery);
(function(a){a.fn.jqueryzoom=function(b){var d={xzoom:200,yzoom:200,offset:10,position:"right",lens:1,preload:1};b&&a.extend(d,b);var k="";a(this).hover(function(){var g=a(this).offset().left,f=a(this).offset().top,h=a(this).children("img").get(0).offsetWidth,m=a(this).children("img").get(0).offsetHeight;k=a(this).children("img").attr("alt");var n=a(this).children("img").attr("jqimg");a(this).children("img").attr("alt","");if(a("div.zoomdiv").get().length==0){a(this).after("<div class='zoomdiv'><img class='bigimg' src='"+
n+"'/></div>");a(this).append("<div class='jqZoomPup'>&nbsp;</div>")}if(d.position=="right")leftpos=g+h+d.offset+d.xzoom>screen.width?g-d.offset-d.xzoom:g+h+d.offset;else{leftpos=g-d.xzoom-d.offset;if(leftpos<0)leftpos=g+h+d.offset}a("div.zoomdiv").css({top:f,left:leftpos});a("div.zoomdiv").width(d.xzoom);a("div.zoomdiv").height(d.yzoom);a("div.zoomdiv").show();d.lens||a(this).css("cursor","crosshair");a(document.body).mousemove(function(q){mouse=new MouseEvent(q);q=a(".bigimg").get(0).offsetWidth;
var l=a(".bigimg").get(0).offsetHeight,o="x",u="y";if(isNaN(u)|isNaN(o)){u=q/h;o=l/m;a("div.jqZoomPup").width(d.xzoom/u);a("div.jqZoomPup").height(d.yzoom/o);d.lens&&a("div.jqZoomPup").css("visibility","visible")}xpos=mouse.x-a("div.jqZoomPup").width()/2-g;ypos=mouse.y-a("div.jqZoomPup").height()/2-f;if(d.lens){xpos=mouse.x-a("div.jqZoomPup").width()/2<g?0:mouse.x+a("div.jqZoomPup").width()/2>h+g?h-a("div.jqZoomPup").width()-2:xpos;ypos=mouse.y-a("div.jqZoomPup").height()/2<f?0:mouse.y+a("div.jqZoomPup").height()/
2>m+f?m-a("div.jqZoomPup").height()-2:ypos}d.lens&&a("div.jqZoomPup").css({top:ypos,left:xpos});scrolly=ypos;a("div.zoomdiv").get(0).scrollTop=scrolly*o;scrollx=xpos;a("div.zoomdiv").get(0).scrollLeft=scrollx*u})},function(){a(this).children("img").attr("alt",k);a(document.body).unbind("mousemove");d.lens&&a("div.jqZoomPup").remove();a("div.zoomdiv").remove()});count=0;if(d.preload){a("body").append("<div style='display:none;' class='jqPreload"+count+"'>sdsdssdsd</div>");a(this).each(function(){var g=
a(this).children("img").attr("jqimg"),f=jQuery("div.jqPreload"+count+"").html();jQuery("div.jqPreload"+count+"").html(f+'<img src="'+g+'">')})}}})(jQuery);function MouseEvent(a){this.x=a.pageX;this.y=a.pageY}var tb_pathToImage="https://www.fluid-forms.com/static/img/loadingAnimation.gif";$(document).ready(function(){tb_init("a.thickbox");imgLoader=new Image;imgLoader.src=tb_pathToImage});
function tb_init(a){$(a).click(function(){tb_show(this.title||this.name||null,this.href||this.alt,this.rel||false);this.blur();return false})}
function tb_show(a,b,d){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}tb_detectMacXFF()?
$("#TB_overlay").addClass("TB_overlayMacFFBGHack"):$("#TB_overlay").addClass("TB_overlayBG");if(a===null)a="";$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var k=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/,g=(b.indexOf("?")!==-1?b.substr(0,b.indexOf("?")):b).toLowerCase().match(k);if(g==".jpg"||g==".jpeg"||g==".png"||g==".gif"||g==".bmp"){TB_imageCount=TB_NextHTML=TB_NextURL=TB_NextCaption=TB_PrevHTML=TB_PrevURL=TB_PrevCaption="";TB_FoundURL=false;if(d){TB_TempArray=
$("a[@rel="+d+"]").get();for(TB_Counter=0;TB_Counter<TB_TempArray.length&&TB_NextHTML==="";TB_Counter++){TB_TempArray[TB_Counter].href.toLowerCase().match(k);if(TB_TempArray[TB_Counter].href!=b)if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}else{TB_FoundURL=
true;TB_imageCount="Image "+(TB_Counter+1)+" of "+TB_TempArray.length}}}imgPreloader=new Image;imgPreloader.onload=function(){imgPreloader.onload=null;var n=tb_getPageSize(),q=n[0]-150;n=n[1]-150;var l=imgPreloader.width,o=imgPreloader.height;if(l>q){o*=q/l;l=q;if(o>n){l*=n/o;o=n}}else if(o>n){l*=n/o;o=n;if(l>q){o*=q/l;l=q}}TB_WIDTH=l+30;TB_HEIGHT=o+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+b+"' width='"+l+"' height='"+o+"' alt='"+a+"'/></a><div id='TB_caption'>"+
a+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");$("#TB_closeWindowButton").click(tb_remove);if(TB_PrevHTML!==""){function u(){$(document).unbind("click",u)&&$(document).unbind("click",u);$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,d);return false}$("#TB_prev").click(u)}if(TB_NextHTML!==""){function j(){$("#TB_window").remove();
$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,d);return false}$("#TB_next").click(j)}document.onkeydown=function(c){keycode=c==null?event.keyCode:c.which;if(keycode==27)tb_remove();else if(keycode==190){if(TB_NextHTML!=""){document.onkeydown="";j()}}else if(keycode==188)if(TB_PrevHTML!=""){document.onkeydown="";u()}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=b}else{var f=b.replace(/^[^\?]+\??/,
""),h=tb_parseQuery(f);TB_WIDTH=h.width*1+30||630;TB_HEIGHT=h.height*1+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(b.indexOf("TB_iframe")!=-1){urlNoQuery=b.split("TB_");$("#TB_iframeContent").remove();if(h.modal!="true")$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+a+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+
Math.round(Math.random()*1E3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>");else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1E3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else if($("#TB_window").css("display")!="block")if(h.modal!=
"true")$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+a+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+
"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(a)}$("#TB_closeWindowButton").click(tb_remove);if(b.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+h.inlineId).children());$("#TB_window").unload(function(){$("#"+h.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else if(b.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();
$("#TB_window").css({display:"block"})}}else $("#TB_ajaxContent").load(b+="&random="+(new Date).getTime(),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}if(!h.modal)document.onkeyup=function(n){keycode=n==null?event.keyCode:n.which;keycode==27&&tb_remove()}}catch(m){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}
function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}
function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt(TB_WIDTH/2,10)+"px",width:TB_WIDTH+"px"});jQuery.browser.msie&&jQuery.browser.version<7||$("#TB_window").css({marginTop:"-"+parseInt(TB_HEIGHT/2,10)+"px"})}function tb_parseQuery(a){var b={};if(!a)return b;a=a.split(/[;&]/);for(var d=0;d<a.length;d++){var k=a[d].split("=");if(!(!k||k.length!=2)){var g=unescape(k[0]);k=unescape(k[1]);k=k.replace(/\+/g," ");b[g]=k}}return b}
function tb_getPageSize(){var a=document.documentElement;return arrayPageSize=[window.innerWidth||self.innerWidth||a&&a.clientWidth||document.body.clientWidth,window.innerHeight||self.innerHeight||a&&a.clientHeight||document.body.clientHeight]}function tb_detectMacXFF(){var a=navigator.userAgent.toLowerCase();if(a.indexOf("mac")!=-1&&a.indexOf("firefox")!=-1)return true};

