Files
Last update 4 months 2 weeks
by
Arnaud-Apu-Fanovard
jquery.plugins2.js.téléchargement/*! ============================================================= * jQuery Tooltip plugin 1.3 * * http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ * http://docs.jquery.com/Plugins/Tooltip * * Copyright (c) 2006 - 2008 Jrn Zaefferer * * $Id: jquery.tooltip.js 5741 2008-06-21 15:22:16Z joern.zaefferer $ * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html *//*! ============================================================= * Thickbox 3.1 - 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 *//*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/(function(e){e.browser||e.extend({browser:function(){var e={};try{navigator.vendor?/Chrome/.test(navigator.userAgent)?(e.browser="Chrome",e.version=parseFloat(navigator.userAgent.split("Chrome/")[1].split("Safari")[0])):/Safari/.test(navigator.userAgent)?(e.browser="Safari",e.version=parseFloat(navigator.userAgent.split("Version/")[1].split("Safari")[0])):/Opera/.test(navigator.userAgent)&&(e.Opera="Safari",e.version=parseFloat(navigator.userAgent.split("Version/")[1])):/Firefox/.test(navigator.userAgent)?(e.browser="Firefox",e.version=parseFloat(navigator.userAgent.split("Firefox/")[1])):(e.browser="MSIE",/MSIE/.test(navigator.userAgent)?e.version=parseFloat(navigator.userAgent.split("MSIE")[1]):e.version="edge")}catch(t){e=t}return e}})})(jQuery),jQuery.url=function(){var n={},e={},t={url:window.location,strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(\d*))?))?((((?:[^?#/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#/]*\.[^?#/.]+(?:[?#]|$)))*\/?)?([^?#/]*))(?:\?([^#]*))?(?:#(.*))?)/}},o=function(){str=decodeURI(t.url);for(var s=t.parser[t.strictMode?"strict":"loose"].exec(str),e={},n=14;n--;)e[t.key[n]]=s[n]||"";return e[t.q.name]={},e[t.key[12]].replace(t.q.parser,function(n,s,o){s&&(e[t.q.name][s]=o)}),e},i=function(t){return e.length||s(),t=="base"?e.port!==null&&e.port!==""?e.protocol+"://"+e.host+":"+e.port+"/":e.protocol+"://"+e.host+"/":e[t]===""?null:e[t]},a=function(t){return e.length||s(),e.queryKey[t]===null?null:e.queryKey[t]},s=function(){e=o(),r()},r=function(){var t=e.path;n=[],n=e.path.length==1?{}:(t.charAt(t.length-1)=="/"?t.substring(1,t.length-1):path=t.substring(1)).split("/")};return{setMode:function(e){return strictMode=e=="strict",this},setUrl:function(e){return t.url=e===void 0?window.location:e,s(),this},segment:function(t){return e.length||s(),t===void 0?n.length:n[t]===""||n[t]===void 0?null:n[t]},attr:i,param:a}}(),eval(function(e,t,n,s,o,i){if(o=function(e){return(e<t?"":o(parseInt(e/t)))+((e=e%t)>35?String.fromCharCode(e+29):e.toString(36))},!"".replace(/^/,String)){for(;n--;)i[o(n)]=s[n]||o(n);s=[function(e){return i[e]}],o=function(){return"\\w+"},n=1}for(;n--;)s[n]&&(e=e.replace(new RegExp("\\b"+o(n)+"\\b","g"),s[n]));return e}(`;(8($){j e={},9,m,B,A=$.2u.2g&&/29\\s(5\\.5|6\\.)/.1M(1H.2t),M=12;$.k={w:12,1h:{Z:25,r:12,1d:19,X:"",G:15,E:15,16:"k"},2s:8(){$.k.w=!$.k.w}};$.N.1v({k:8(a){a=$.1v({},$.k.1h,a);1q(a);g 2.F(8(){$.1j(2,"k",a);2.11=e.3.n("1g");2.13=2.m;$(2).24("m");2.22=""}).21(1e).1U(q).1S(q)},H:A?8(){g 2.F(8(){j b=$(2).n('Y');4(b.1J(/^o\\(["']?(.*\\.1I)["']?\\)$/i)){b=1F.$1;$(2).n({'Y':'1D','1B':"2r:2q.2m.2l(2j=19, 2i=2h, 1p='"+b+"')"}).F(8(){j a=$(2).n('1o');4(a!='2f'&&a!='1u')$(2).n('1o','1u')})}})}:8(){g 2},1l:A?8(){g 2.F(8(){$(2).n({'1B':'',Y:''})})}:8(){g 2},1x:8(){g 2.F(8(){$(2)[$(2).D()?"l":"q"]()})},o:8(){g 2.1k('28')||2.1k('1p')}});8 1q(a){4(e.3)g;e.3=$('<t 16="'+a.16+'"><10></10><t 1i="f"></t><t 1i="o"></t></t>').27(K.f).q();4($.N.L)e.3.L();e.m=$('10',e.3);e.f=$('t.f',e.3);e.o=$('t.o',e.3)}8 7(a){g $.1j(a,"k")}8 1f(a){4(7(2).Z)B=26(l,7(2).Z);p l();M=!!7(2).M;$(K.f).23('W',u);u(a)}8 1e(){4($.k.w||2==9||(!2.13&&!7(2).U))g;9=2;m=2.13;4(7(2).U){e.m.q();j a=7(2).U.1Z(2);4(a.1Y||a.1V){e.f.1c().T(a)}p{e.f.D(a)}e.f.l()}p 4(7(2).18){j b=m.1T(7(2).18);e.m.D(b.1R()).l();e.f.1c();1Q(j i=0,R;(R=b[i]);i++){4(i>0)e.f.T("<1P/>");e.f.T(R)}e.f.1x()}p{e.m.D(m).l();e.f.q()}4(7(2).1d&&$(2).o())e.o.D($(2).o().1O('1N://','')).l();p e.o.q();e.3.P(7(2).X);4(7(2).H)e.3.H();1f.1L(2,1K)}8 l(){B=S;4((!A||!$.N.L)&&7(9).r){4(e.3.I(":17"))e.3.Q().l().O(7(9).r,9.11);p e.3.I(':1a')?e.3.O(7(9).r,9.11):e.3.1G(7(9).r)}p{e.3.l()}u()}8 u(c){4($.k.w)g;4(c&&c.1W.1X=="1E"){g}4(!M&&e.3.I(":1a")){$(K.f).1b('W',u)}4(9==S){$(K.f).1b('W',u);g}e.3.V("z-14").V("z-1A");j b=e.3[0].1z;j a=e.3[0].1y;4(c){b=c.2o+7(9).E;a=c.2n+7(9).G;j d='1w';4(7(9).2k){d=$(C).1r()-b;b='1w'}e.3.n({E:b,14:d,G:a})}j v=z(),h=e.3[0];4(v.x+v.1s<h.1z+h.1n){b-=h.1n+20+7(9).E;e.3.n({E:b+'1C'}).P("z-14")}4(v.y+v.1t<h.1y+h.1m){a-=h.1m+20+7(9).G;e.3.n({G:a+'1C'}).P("z-1A")}}8 z(){g{x:$(C).2e(),y:$(C).2d(),1s:$(C).1r(),1t:$(C).2p()}}8 q(a){4($.k.w)g;4(B)2c(B);9=S;j b=7(2);8 J(){e.3.V(b.X).q().n("1g","")}4((!A||!$.N.L)&&b.r){4(e.3.I(':17'))e.3.Q().O(b.r,0,J);p e.3.Q().2b(b.r,J)}p J();4(7(2).H)e.3.1l()}})(2a);`,62,155,"||this|parent|if|||settings|function|current||||||body|return|||var|tooltip|show|title|css|url|else|hide|fade||div|update||blocked|||viewport|IE|tID|window|html|left|each|top|fixPNG|is|complete|document|bgiframe|track|fn|fadeTo|addClass|stop|part|null|append|bodyHandler|removeClass|mousemove|extraClass|backgroundImage|delay|h3|tOpacity|false|tooltipText|right||id|animated|showBody|true|visible|unbind|empty|showURL|save|handle|opacity|defaults|class|data|attr|unfixPNG|offsetHeight|offsetWidth|position|src|createHelper|width|cx|cy|relative|extend|auto|hideWhenEmpty|offsetTop|offsetLeft|bottom|filter|px|none|OPTION|RegExp|fadeIn|navigator|png|match|arguments|apply|test|http|replace|br|for|shift|click|split|mouseout|jquery|target|tagName|nodeType|call||mouseover|alt|bind|removeAttr|200|setTimeout|appendTo|href|MSIE|jQuery|fadeOut|clearTimeout|scrollTop|scrollLeft|absolute|msie|crop|sizingMethod|enabled|positionLeft|AlphaImageLoader|Microsoft|pageY|pageX|height|DXImageTransform|progid|block|userAgent|browser".split("|"),0,{}));var tb_pathToImage="/images/loadingAnimation.gif";jQuery.ooCookie=function(e){return{setCookie:function(e){var n,s,o,i,a,r,c,t="";e=e||{},i={cookieID:0,setCookie:1,getCookie:2};for(n in this)n in i||(this[n]===null&&(this[n]=""),t+=n+"="+this[n]+"&");return t=t.substring(0,t.length-1),o="",e.expires&&(typeof e.expires=="number"||e.expires.toUTCString)&&(typeof e.expires=="number"?(s=new Date,s.setTime(s.getTime()+e.expires*24*60*60*1e3)):s=e.expires,o="; expires="+s.toUTCString()),a=e.path?"; path="+e.path:"",r=e.domain?"; domain="+e.domain:"",c=e.secure?"; secure":"",document.cookie=[this.cookieID,"=",t,o,a,r,c].join(""),!0},getCookie:function(){var e,n,s,o,i,t=null;if(document.cookie&&document.cookie!=""){n=document.cookie.split(";");for(e=0;e<n.length;e++)if(s=n[e].trim(),s.substring(0,this.cookieID.length+1)==this.cookieID+"="){t=s.substring(this.cookieID.length+1);break}if(typeof t!="undefined"&&t!==null){o=t.split("&");for(e=0;e<o.length;e++)i=o[e].split("="),eval('this["'+i[0]+'"]="'+i[1]+'"')}}return!0},cookieID:e}},$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox"),imgLoader=new Image,imgLoader.src=tb_pathToImage});function tb_init(e){$(document).on("click",e,function(e){var t=this.title||this.name||null,n=$(this).attr("href")||this.alt,s=this.rel||!1;return e.button!=0&&e.button!=void 0||(tb_show(t,n,s),this.blur(),!1)})}function tb_show(e,t,n){try{var s,i,r,c,l,d,h,u=t.replace(/^[^?]+\??/,""),a=tb_parseQuery(u),o=document.forms.aspnetForm;if((typeof o=="undefined"||o===null)&&(o=document.body),typeof document.body.style.maxHeight=="undefined"?($("body","html").css({height:"100%",width:"100%"}),$("html").css("overflow","hidden"),document.getElementById("TB_HideSelect")===null&&($(o).append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window' role='dialog' aria-labelledby='TB_ajaxWindowTitle' tabindex='-1'></div>"),$("#TB_overlay").on("click",tb_remove))):document.getElementById("TB_overlay")===null&&($(o).append("<div id='TB_overlay'></div><div id='TB_window' role='dialog' aria-labelledby='TB_ajaxWindowTitle' tabindex='-1'></div>"),$("#TB_overlay").on("click",tb_remove),$("#TB_title").length!=0&&$("#TB_title").remove()),tb_detectMacXFF()?$("#TB_overlay").addClass("TB_overlayMacFFBGHack"):$("#TB_overlay").addClass("TB_overlayBG"),e===null&&(e=""),$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>"),$("#TB_load").show(),t.indexOf("?")!==-1?r=t.substr(0,t.indexOf("?")):r=t,c=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/,i=r.toLowerCase().match(c),i==".jpg"||i==".jpeg"||i==".png"||i==".gif"||i==".bmp"){if(TB_PrevCaption="",TB_PrevURL="",TB_PrevHTML="",TB_NextCaption="",TB_NextURL="",TB_NextHTML="",TB_imageCount="",TB_FoundURL=!1,n){TB_TempArray=$("a[@rel="+n+"]").get();for(TB_Counter=0;TB_Counter<TB_TempArray.length&&TB_NextHTML==="";TB_Counter++)h=TB_TempArray[TB_Counter].href.toLowerCase().match(c),TB_TempArray[TB_Counter].href==t?(TB_FoundURL=!0,TB_imageCount="Image "+(TB_Counter+1)+" of "+TB_TempArray.length):TB_FoundURL?(TB_NextCaption=TB_TempArray[TB_Counter].title,TB_NextURL=TB_TempArray[TB_Counter].href,TB_NextHTML="<span id='TB_next'> <a href='#'>Next ></a></span>"):(TB_PrevCaption=TB_TempArray[TB_Counter].title,TB_PrevURL=TB_TempArray[TB_Counter].href,TB_PrevHTML="<span id='TB_prev'> <a href='#'>< Prev</a></span>")}imgPreloader=new Image,imgPreloader.onload=function(){imgPreloader.onload=null;var c=tb_getPageSize(),i=c[0]-150,a=c[1]-150,s=imgPreloader.width,o=imgPreloader.height;if(s>i?(o=o*(i/s),s=i,o>a&&(s=s*(a/o),o=a)):o>a&&(s=s*(a/o),o=a,s>i&&(o=o*(i/s),s=i)),TB_WIDTH=s+30,TB_HEIGHT=o+60,$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+t+"' width='"+s+"' height='"+o+"' alt='"+e+"'/></a><div id='TB_caption'>"+e+"<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").on("click",tb_remove),TB_PrevHTML!==""){function r(){return $(document).off("click",r)&&$(document).off("click",r),$("#TB_window").remove(),$("body").append("<div id='TB_window'></div>"),tb_show(TB_PrevCaption,TB_PrevURL,n),!1}$("#TB_prev").on("click",r)}if(TB_NextHTML!==""){function l(){return $("#TB_window").remove(),$("body").append("<div id='TB_window'></div>"),tb_show(TB_NextCaption,TB_NextURL,n),!1}$("#TB_next").on("click",l)}document.onkeydown=function(e){e==null?keycode=event.keyCode:keycode=e.which,keycode==27?tb_remove():keycode==190?TB_NextHTML==""||(document.onkeydown="",l()):keycode==188&&(TB_PrevHTML==""||(document.onkeydown="",r()))},tb_position(),$("#TB_load").remove(),$("#TB_ImageOff").on("click",tb_remove),$("#TB_window").css({display:"block"})},imgPreloader.src=t}else d=t.replace(/^[^?]+\??/,""),s=tb_parseQuery(d),TB_WIDTH=s.width*1+30||630,TB_HEIGHT=s.height*1+40||440,ajaxContentW=TB_WIDTH-30,ajaxContentH=TB_HEIGHT-45,t.indexOf("TB_iframe")!=-1?(l=a.QuickView=="true",urlNoQuery=t.split("TB_"),$("#TB_iframeContent").remove(),s.modal!="true"?$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+e+"</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("+l+")' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>"):($("#TB_overlay").off(),$("#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("+l+")' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>"))):$("#TB_window").css("display")!="block"?s.modal!="true"?$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+e+"</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>"):($("#TB_overlay").off(),$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")):($("#TB_ajaxContent")[0].style.width=ajaxContentW+"px",$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px",$("#TB_ajaxContent")[0].scrollTop=0,$("#TB_ajaxWindowTitle").html(e)),$("#TB_closeWindowButton").on("click",tb_remove),t.indexOf("TB_inline")!=-1?($("#TB_ajaxContent").append($("#"+s.inlineId).children()),$("#TB_window").on("unload",function(){$("#"+s.inlineId).append($("#TB_ajaxContent").children())}),tb_position(),$("#TB_load").remove(),$("#TB_window").css({display:"block"})):t.indexOf("TB_iframe")!=-1?(tb_position(),$.browser.safari&&($("#TB_load").remove(),$("#TB_window").css({display:"block"}))):$("#TB_ajaxContent").load(t+="&random="+(new Date).getTime(),function(){tb_position(),$("#TB_load").remove(),tb_init("#TB_ajaxContent a.thickbox"),$("#TB_window").css({display:"block"})});s.modal||(document.onkeyup=function(e){e==null?keycode=event.keyCode:keycode=e.which,keycode==27&&tb_remove()}),a.QuickView=="true"&&($("#TB_window").draggable().addClass("quickview"),$("#TB_overlay").remove(),$("#TB_title").css({display:"block"}),tb_absolute_pos())}catch{}}function tb_showIframe(e){$("#TB_load").remove(),$("#TB_window").css({display:"block"});var t=$("#TB_iframeContent").contents().find("#ProductDetailWrapper").height()+48+"px",n=$("#TB_iframeContent").contents().find("#ProductDetailWrapper").height()+13+"px";e&&($("#TB_window").css({height:t}),$("#TB_iframeContent").css({height:n,width:"100%"}),$("#TB_window").trigger("focus"))}function tb_remove(){return $("#TB_imageOff").off("click"),$("#TB_closeWindowButton").off("click"),$("#TB_window").fadeOut("fast",function(){$(this).find("#TB_iframeContent").length>=1?$("#TB_window,#TB_overlay,#TB_HideSelect").on("unload",new String("#TB_iframeContent")).off().remove():$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").off().remove()}),$("#TB_load").remove(),typeof document.body.style.maxHeight=="undefined"&&($("body","html").css({height:"auto",width:"auto"}),$("html").css("overflow","")),document.onkeydown="",document.onkeyup="",!1}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_absolute_pos(){var e=tb_getPageSize(),t=(e[1]-$("TB_window").outerHeight())/2+$(window).scrollTop()+"px";$("#TB_window").css({top:t,left:"50%",position:"absolute"})}function tb_parseQuery(e){var t,n,s,i,a,o={};if(!e)return o;for(i=e.split(/[;&]/),n=0;n<i.length;n++){if(t=i[n].split("="),!t||t.length!=2)continue;a=unescape(t[0]),s=unescape(t[1]),s=s.replace(/\+/g," "),o[a]=s}return o}function tb_getPageSize(){var e=document.documentElement,t=window.innerWidth||self.innerWidth||e&&e.clientWidth||document.body.clientWidth,n=window.innerHeight||self.innerHeight||e&&e.clientHeight||document.body.clientHeight;return arrayPageSize=[t,n],arrayPageSize}function tb_detectMacXFF(){var e=navigator.userAgent.toLowerCase();if(e.indexOf("mac")!=-1&&e.indexOf("firefox")!=-1)return!0}(function(e){e.fn.notifyme=function(){s=!1,e("body").append('<div id="notify" class="notify"> <div id="dialog" title="Notify Me!"> <form> <div id="dialog-content"> <p id="validateTips">Coming Soon.</p> <fieldset> <label for="part">Part #</label> <select id="part-select" class="ui-widget-content ui-corner-all"></select> <label for="qty">Requested Qty</label><br /> <input type="text" name="qty" id="qty" value="1" class="ui-widget-content ui-corner-all" /><br /> <label for="name">Name</label> <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /> <input type="hidden" name="name" id="mfg" /> <div id="divEmail"> <label for="email">Email</label> <input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" /> </div> </fieldset> </div> </form> <div id="thankyou"><h3 class="black">Thank You.</h3><p>Your request has been successfully received.</p></div> </div> </div>');var s,o=e("#name"),i=e("#dialog"),h=e("input#mfg"),n=e("#part-select"),r=e("#email"),v=e("#phone"),l=e("#qty"),c=e([]).add(o).add(r).add(n),d=e("#validateTips");function a(e){d.text(e).effect("highlight",{},1500)}function m(t){n.find("option").remove();var s=t.split("|");n.append(e("<option></option>").val("-").html("Select Part #")),e.each(s,function(t,s){n.append(e("<option></option>").val(s).html(s))})}function f(e,t){return e.val().length!=0||(e.addClass("ui-state-error"),a(t+" is a required field!"),!1)}function p(e,t){return e.val()!="-"||(e.addClass("ui-state-error"),a(t),!1)}function u(e,t,n){return!!t.test(e.val())||(e.addClass("ui-state-error"),a(n),!1)}e("input[name=via]").on("change",function(){e("input[name='via']:checked").val()=="email"?(e("#divEmail").removeClass("hidden"),e("#divPhone").addClass("hidden")):(e("#divEmail").addClass("hidden"),e("#divPhone").removeClass("hidden")),e(this).trigger("blur")}),i.dialog({bgiframe:!0,autoOpen:!1,height:360,modal:!0,buttons:{Submit:function(){var i,a,t=!0,n="";c.removeClass("ui-state-error"),t=t&&u(l,/^([0-9,])+$/i,"Quantity is invalid!"),t=t&&p(e("select#part-select"),"Please select a part number!"),t=t&&f(o,"Name"),t=t&&u(r,/^((([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,"eg. username@domain.com"),n=s?"&AutoNotification=1":"&AutoNotification=0",t&&(i="listName=ComingSoon&PartNbr="+e("#part-select").val()+n+"&Title="+o.val()+"&Email="+r.val()+"&RequestedQTY="+l.val()+"&RequestTime="+Date("yyyy-MM-ddTHH:mm:ssZ")+"&Manufacturer="+h.val(),a={type:"GET",url:"/Ajax/SavePromoQue.ashx",data:i,success:function(e){g(e)}},e.ajax(a))},Cancel:function(){e(this).dialog("close")}},close:function(){c.val("").removeClass("ui-state-error")}});function g(t){t=="Success"&&(setTimeout(function(){i.dialog("close"),e("#thankyou").hide(),e("#dialog-content").show(),e(".ui-dialog-buttonpane").show()},2e3),e("#dialog-content").fadeOut(200).hide(),e("#thankyou").fadeIn(200).show(),e(".ui-dialog-buttonpane").fadeOut(200).hide())}e(".btn-notify").on("click",function(){i.dialog("open"),d.text(e(this).attr("title")),s=!!e(this).hasClass("auto"),e("input#mfg").val(e(this).attr("title")),m(e(this).attr("rel"))})}})(jQuery),function(e){e.fn.quickview=function(){e(this).wrap('<span class="quickviewwrap"></span>'),e(this).after('<img id="qvBtn" class="qvBtn" src="/images/qvBtn.png" style="display: none;">'),e(this).next(".qvBtn").css("top",-19),e(this).next(".qvBtn").css("left",20),e(".qvBtn").wrap('<a class="thickbox"></a>'),e(".quickviewwrap").on("mouseenter",function(){e(this).find(".qvBtn").show()}).on("mouseleave",function(){e(this).find(".qvBtn").hide()}),e(this).each(function(){e(this).next("a.thickbox").attr("href","/QuickViewProdDetail.aspx?PartNum="+e(this).attr("rel")+"&IsPKC=true&keepThis=true&TB_iframe=true&height=375&width=550&QuickView=true")}),e(".thickbox").on("click",function(){e("#TB_window",window.parent.document).css({top:"50%",left:"50%",margin:"-"+e("#TB_window",window.parent.document).height()/2+"px 0 0 -"+e("#TB_window",window.parent.document).width()/2+"px"})})}}(jQuery),jQuery.fn.extend({imagesrc:function(){var e,t=$(this).data("aptsrc");return typeof t!==typeof void 0&&t!==!1?e=t:e=$(this).attr("src"),typeof e===typeof void 0||e===!1?"":(e=e.replace(/^(?:\.\.\/)+/,""),e=e.replace(/^.*\/\/[^/]+/,""),e.substring(0,1)!=="/"&&(e="/"+e),e)}}),function(e,t){"use strict";var o="banManZone",i={URLTOLoad:"/bmp/get.aspx",SiteID:"1",PageID:"95246",DG1:"en-US",DG2:"www",DG3:"USDu",DG4:"",LoadCompleted:function(){}};function a(t,n){this.element=t,this.settings=e.extend({},i,n),this._defaults=i,this._name=o,this.init()}e.extend(a.prototype,{init:function(){var o,i=this,a=this.settings.SiteID,s=e(this.element).data("zone-id"),r=this.settings.PageID,c=this.settings.URLTOLoad,l=e(this.element).data("kw"),d=this.settings.DG1,u=this.settings.DG2,h=this.settings.DG3,m=this.settings.DG4,n=c;n+="?zone="+s,n+="&site="+a,n+="&page="+r,n+="&Keywords="+encodeURIComponent(l),n+="&DG1="+d,n+="&DG2="+u,n+="&DG3="+h,n+="&DG4="+m,o=Math.ceil(Math.random()*999999),n+="&RandomNumber="+o,n+="&Custom1="+t.location.host,e(this.element).load(n,"",function(t,n){if(typeof t!="undefined"&&t.length>0){if(t.substring(0,1)!="<"||n=="error"){e(this).html("");return}e(this).find("#ctlDisplayAd1_lblAd").prop("id",!1),i.settings.LoadCompleted(s)}})}}),e.fn[o]=function(t){return this.each(function(){e.data(this,"plugin_"+o)||e.data(this,"plugin_"+o,new a(this,t))})}}(jQuery,window,document)