Signin  Pricing  Examples  Support

Libraries > main.js

main.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://gamberorosso.it/templates/shaper_helix3/js/main.js

Function Explorer





















Libraries on gamberorosso.it


chosen.jquery.min.js

dynupdate.js

vmprices.js

vmsite.js

jquery-migrate.min.js

jquery.min.js

jquery-noconflict.js

core.js

mootools-core.js

update_cart.js

bootstrap.min.js

jquery.sticky.js

main.js

masonry.pkgd.min.js



Explore More


hammer.min.js

jquery.carouFredSel-6.2.1.js

jquery.cookie.js

jquery.equalheights.min.js

main.js
				
jQuery(function($){var $body=$('body'),$wrapper=$('.body-innerwrapper'),$toggler=$('#offcanvas-toggler'),$close=$('.close-offcanvas'),$offCanvas=$('.offcanvas-menu');$toggler.on('click',function(event){event.preventDefault();stopBubble(event);setTimeout(offCanvasShow,50);});$close.on('click',function(event){event.preventDefault();offCanvasClose();});var offCanvasShow=function(){$body.addClass('offcanvas');$wrapper.on('click',offCanvasClose);$close.on('click',offCanvasClose);$offCanvas.on('click',stopBubble);};var offCanvasClose=function(){$body.removeClass('offcanvas');$wrapper.off('click',offCanvasClose);$close.off('click',offCanvasClose);$offCanvas.off('click',stopBubble);};var stopBubble=function(e){e.stopPropagation();return true;};$('.sp-megamenu-wrapper').parent().parent().css('position','static').parent().css('position','relative');$('.sp-menu-full').each(function(){$(this).parent().addClass('menu-justify');});$(document).ready(function(){$("body.sticky-header").find('#sp-header').sticky({topSpacing:0})});$('[data-toggle="tooltip"]').tooltip();$(document).on('click','.sp-rating .star',function(event){event.preventDefault();var data={'action':'voting','user_rating':$(this).data('number'),'id':$(this).closest('.post_rating').attr('id')};var request={'option':'com_ajax','plugin':'helix3','data':data,'format':'json'};$.ajax({type:'POST',data:request,beforeSend:function(){$('.post_rating .ajax-loader').show();},success:function(response){var data=$.parseJSON(response.data);$('.post_rating .ajax-loader').hide();if(data.status=='invalid'){$('.post_rating .voting-result').text('You have already rated this entry!').fadeIn('fast');}else if(data.status=='false'){$('.post_rating .voting-result').text('Somethings wrong here, try again!').fadeIn('fast');}else if(data.status=='true'){var rate=data.action;$('.voting-symbol').find('.star').each(function(i){if(i<rate){$(".star").eq(-(i+1)).addClass('active');}});$('.post_rating .voting-result').text('Thank You!').fadeIn('fast');}},error:function(){$('.post_rating .ajax-loader').hide();$('.post_rating .voting-result').text('Failed to rate, try again!').fadeIn('fast');}});});});!function(t,e){function n(t,e,n){var r=t.children(),o=!1;t.empty();for(var a=0,d=r.length;d>a;a++){var l=r.eq(a);if(t.append(l),n&&t.append(n),i(t,e)){l.remove(),o=!0;break}n&&n.detach()}return o}function r(e,n,a,d,l){var s=!1,c="a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",u="script, .dotdotdot-keep";return e.contents().detach().each(function(){var f=this,h=t(f);if("undefined"==typeof f)return!0;if(h.is(u))e.append(h);else{if(s)return!0;e.append(h),!l||h.is(d.after)||h.find(d.after).length||e[e.is(c)?"after":"append"](l),i(a,d)&&(s=3==f.nodeType?o(h,n,a,d,l):r(h,n,a,d,l),s||(h.detach(),s=!0)),s||l&&l.detach()}}),s}function o(e,n,r,o,d){var c=e[0];if(!c)return!1;var f=s(c),h=-1!==f.indexOf(" ")?" ":" ",p="letter"==o.wrap?"":h,g=f.split(p),v=-1,w=-1,b=0,y=g.length-1;for(o.fallbackToLetter&&0==b&&0==y&&(p="",g=f.split(p),y=g.length-1);y>=b&&(0!=b||0!=y);){var m=Math.floor((b+y)/2);if(m==w)break;w=m,l(c,g.slice(0,w+1).join(p)+o.ellipsis),i(r,o)?(y=w,o.fallbackToLetter&&0==b&&0==y&&(p="",g=g[0].split(p),v=-1,w=-1,b=0,y=g.length-1)):(v=w,b=w)}if(-1==v||1==g.length&&0==g[0].length){var x=e.parent();e.detach();var T=d&&d.closest(x).length?d.length:0;x.contents().length>T?c=u(x.contents().eq(-1-T),n):(c=u(x,n,!0),T||x.detach()),c&&(f=a(s(c),o),l(c,f),T&&d&&t(c).parent().append(d))}else f=a(g.slice(0,v+1).join(p),o),l(c,f);return!0}function i(t,e){return t.innerHeight()>e.maxHeight}function a(e,n){for(;t.inArray(e.slice(-1),n.lastCharacter.remove)>-1;)e=e.slice(0,-1);return t.inArray(e.slice(-1),n.lastCharacter.noEllipsis)<0&&(e+=n.ellipsis),e}function d(t){return{width:t.innerWidth(),height:t.innerHeight()}}function l(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue=e:t.textContent&&(t.textContent=e)}function s(t){return t.innerText?t.innerText:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function c(t){do t=t.previousSibling;while(t&&1!==t.nodeType&&3!==t.nodeType);return t}function u(e,n,r){var o,i=e&&e[0];if(i){if(!r){if(3===i.nodeType)return i;if(t.trim(e.text()))return u(e.contents().last(),n)}for(o=c(i);!o;){if(e=e.parent(),e.is(n)||!e.length)return!1;o=c(e[0])}if(o)return u(t(o),n)}return!1}function f(e,n){return e?"string"==typeof e?(e=t(e,n),e.length?e:!1):e.jquery?e:!1:!1}function h(t){for(var e=t.innerHeight(),n=["paddingTop","paddingBottom"],r=0,o=n.length;o>r;r++){var i=parseInt(t.css(n[r]),10);isNaN(i)&&(i=0),e-=i}return e}if(!t.fn.dotdotdot){t.fn.dotdotdot=function(e){if(0==this.length)return t.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){t(this).dotdotdot(e)});var o=this;o.data("dotdotdot")&&o.trigger("destroy.dot"),o.data("dotdotdot-style",o.attr("style")||""),o.css("word-wrap","break-word"),"nowrap"===o.css("white-space")&&o.css("white-space","normal"),o.bind_events=function(){return o.bind("update.dot",function(e,d){e.preventDefault(),e.stopPropagation(),l.maxHeight="number"==typeof l.height?l.height:h(o),l.maxHeight+=l.tolerance,"undefined"!=typeof d&&(("string"==typeof d||"nodeType"in d&&1===d.nodeType)&&(d=t("<div />").append(d).contents()),d instanceof t&&(a=d)),g=o.wrapInner('<div class="dotdotdot" />').children(),g.contents().detach().end().append(a.clone(!0)).find("br").replaceWith("  <br />  ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,u=!1;return s.afterElement&&(c=s.afterElement.clone(!0),c.show(),s.afterElement.detach()),i(g,l)&&(u="children"==l.wrap?n(g,l,c):r(g,o,g,l,c)),g.replaceWith(g.contents()),g=null,t.isFunction(l.callback)&&l.callback.call(o[0],u,a),s.isTruncated=u,u}).bind("isTruncated.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(o[0],s.isTruncated),s.isTruncated}).bind("originalContent.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(o[0],a),a}).bind("destroy.dot",function(t){t.preventDefault(),t.stopPropagation(),o.unwatch().unbind_events().contents().detach().end().append(a).attr("style",o.data("dotdotdot-style")||"").data("dotdotdot",!1)}),o},o.unbind_events=function(){return o.unbind(".dot"),o},o.watch=function(){if(o.unwatch(),"window"==l.watch){var e=t(window),n=e.width(),r=e.height();e.bind("resize.dot"+s.dotId,function(){n==e.width()&&r==e.height()&&l.windowResizeFix||(n=e.width(),r=e.height(),u&&clearInterval(u),u=setTimeout(function(){o.trigger("update.dot")},100))})}else c=d(o),u=setInterval(function(){if(o.is(":visible")){var t=d(o);(c.width!=t.width||c.height!=t.height)&&(o.trigger("update.dot"),c=t)}},500);return o},o.unwatch=function(){return t(window).unbind("resize.dot"+s.dotId),u&&clearInterval(u),o};var a=o.contents(),l=t.extend(!0,{},t.fn.dotdotdot.defaults,e),s={},c={},u=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=t.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=t.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),s.afterElement=f(l.after,o),s.isTruncated=!1,s.dotId=p++,o.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&o.watch(),o},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},t.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},t.fn.dotdotdot.debug=function(){};var p=1,g=t.fn.html;t.fn.html=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):g.apply(this,arguments)};var v=t.fn.text;t.fn.text=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?(n=t("<div />").text(n).html(),this.trigger("update",[n])):v.apply(this,arguments)}}}(jQuery);(function(a){a.tools=a.tools||{version:"v1.2.7"};var b;b=a.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:undefined,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var c,d;a.fn.drag=function(b){document.ondragstart=function(){return!1},b=a.extend({x:!0,y:!0,drag:!0},b),c=c||a(document).on("mousedown mouseup",function(e){var f=a(e.target);if(e.type=="mousedown"&&f.data("drag")){var g=f.position(),h=e.pageX-g.left,i=e.pageY-g.top,j=!0;c.on("mousemove.drag",function(a){var c=a.pageX-h,e=a.pageY-i,g={};b.x&&(g.left=c),b.y&&(g.top=e),j&&(f.trigger("dragStart"),j=!1),b.drag&&f.css(g),f.trigger("drag",[e,c]),d=f}),e.preventDefault()}else try{d&&d.trigger("dragEnd")}finally{c.off("mousemove.drag"),d=null}});return this.data("drag",!0)};function e(a,b){var c=Math.pow(10,b);return Math.round(a*c)/c}function f(a,b){var c=parseInt(a.css(b),10);if(c)return c;var d=a[0].currentStyle;return d&&d.width&&parseInt(d.width,10)}function g(a){var b=a.data("events");return b&&b.onSlide}function h(b,c){var d=this,h=c.css,i=a("<div><div/><a href='#'/></div>").data("rangeinput",d),j,k,l,m,n;b.before(i);var o=i.addClass(h.slider).find("a").addClass(h.handle),p=i.find("div").addClass(h.progress);a.each("min,max,step,value".split(","),function(a,d){var e=b.attr(d);parseFloat(e)&&(c[d]=parseFloat(e,10))});var q=c.max-c.min,r=c.step=="any"?0:c.step,s=c.precision;s===undefined&&(s=r.toString().split("."),s=s.length===2?s[1].length:0);if(b.attr("type")=="range"){var t=b.clone().wrap("<div/>").parent().html(),u=a(t.replace(/type/i,"type=text data-orig-type"));u.val(c.value),b.replaceWith(u),b=u}b.addClass(h.input);var v=a(d).add(b),w=!0;function x(a,f,g,h){g===undefined?g=f/m*q:h&&(g-=c.min),r&&(g=Math.round(g/r)*r);if(f===undefined||r)f=g*m/q;if(isNaN(g))return d;f=Math.max(0,Math.min(f,m)),g=f/m*q;if(h||!j)g+=c.min;j&&(h?f=m-f:g=c.max-g),g=e(g,s);var i=a.type=="click";if(w&&k!==undefined&&!i){a.type="onSlide",v.trigger(a,[g,f]);if(a.isDefaultPrevented())return d}var l=i?c.speed:0,t=i?function(){a.type="change",v.trigger(a,[g])}:null;j?(o.animate({top:f},l,t),c.progress&&p.animate({height:m-f+o.height()/2},l)):(o.animate({left:f},l,t),c.progress&&p.animate({width:f+o.width()/2},l)),k=g,n=f,b.val(g);return d}a.extend(d,{getValue:function(){return k},setValue:function(b,c){y();return x(c||a.Event("api"),undefined,b,!0)},getConf:function(){return c},getProgress:function(){return p},getHandle:function(){return o},getInput:function(){return b},step:function(b,e){e=e||a.Event();var f=c.step=="any"?1:c.step;d.setValue(k+f*(b||1),e)},stepUp:function(a){return d.step(a||1)},stepDown:function(a){return d.step(-a||-1)}}),a.each("onSlide,change".split(","),function(b,e){a.isFunction(c[e])&&a(d).on(e,c[e]),d[e]=function(b){b&&a(d).on(e,b);return d}}),o.drag({drag:!1}).on("dragStart",function(){y(),w=g(a(d))||g(b)}).on("drag",function(a,c,d){if(b.is(":disabled"))return!1;x(a,j?c:d)}).on("dragEnd",function(a){a.isDefaultPrevented()||(a.type="change",v.trigger(a,[k]))}).click(function(a){return a.preventDefault()}),i.click(function(a){if(b.is(":disabled")||a.target==o[0])return a.preventDefault();y();var c=j?o.height()/2:o.width()/2;x(a,j?m-l-c+a.pageY:a.pageX-l-c)}),c.keyboard&&b.keydown(function(c){if(!b.attr("readonly")){var e=c.keyCode,f=a([75,76,38,33,39]).index(e)!=-1,g=a([74,72,40,34,37]).index(e)!=-1;if((f||g)&&!(c.shiftKey||c.altKey||c.ctrlKey)){f?d.step(e==33?10:1,c):g&&d.step(e==34?-10:-1,c);return c.preventDefault()}}}),b.blur(function(b){var c=a(this).val();c!==k&&d.setValue(c,b)}),a.extend(b[0],{stepUp:d.stepUp,stepDown:d.stepDown});function y(){j=c.vertical||f(i,"height")>f(i,"width"),j?(m=f(i,"height")-f(o,"height"),l=i.offset().top+m):(m=f(i,"width")-f(o,"width"),l=i.offset().left)}function z(){y(),d.setValue(c.value!==undefined?c.value:c.min)}z(),m||a(window).load(z)}a.expr[":"].range=function(b){var c=b.getAttribute("type");return c&&c=="range"||a(b).filter("input").data("rangeinput")},a.fn.rangeinput=function(c){if(this.data("rangeinput"))return this;c=a.extend(!0,{},b.conf,c);var d;this.each(function(){var b=new h(a(this),a.extend(!0,{},c)),e=b.getInput().data("rangeinput",b);d=d?d.add(e):e});return d?d:this}})(jQuery);(function(a){a.tools=a.tools||{version:"v1.2.7"},a.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialEffect:!1,initialIndex:0,event:"click",rotate:!1,slideUpSpeed:400,slideDownSpeed:400,history:!1},addEffect:function(a,c){b[a]=c}};var b={"default":function(a,b){this.getPanes().hide().eq(a).show(),b.call()},fade:function(a,b){var c=this.getConf(),d=c.fadeOutSpeed,e=this.getPanes();d?e.fadeOut(d):e.hide(),e.eq(a).fadeIn(c.fadeInSpeed,b)},slide:function(a,b){var c=this.getConf();this.getPanes().slideUp(c.slideUpSpeed),this.getPanes().eq(a).slideDown(c.slideDownSpeed,b)},ajax:function(a,b){this.getPanes().eq(0).load(this.getTabs().eq(a).attr("href"),b)}},c,d;a.tools.tabs.addEffect("horizontal",function(b,e){if(!c){var f=this.getPanes().eq(b),g=this.getCurrentPane();d||(d=this.getPanes().eq(0).width()),c=!0,f.show(),g.animate({width:0},{step:function(a){f.css("width",d-a)},complete:function(){a(this).hide(),e.call(),c=!1}}),g.length||(e.call(),c=!1)}});function e(c,d,e){var f=this,g=c.add(this),h=c.find(e.tabs),i=d.jquery?d:c.children(d),j;h.length||(h=c.children()),i.length||(i=c.parent().find(d)),i.length||(i=a(d)),a.extend(this,{click:function(d,i){var k=h.eq(d),l=!c.data("tabs");typeof d=="string"&&d.replace("#","")&&(k=h.filter("[href*=\""+d.replace("#","")+"\"]"),d=Math.max(h.index(k),0));if(e.rotate){var m=h.length-1;if(d<0)return f.click(m,i);if(d>m)return f.click(0,i)}if(!k.length){if(j>=0)return f;d=e.initialIndex,k=h.eq(d)}if(d===j)return f;i=i||a.Event(),i.type="onBeforeClick",g.trigger(i,[d]);if(!i.isDefaultPrevented()){var n=l?e.initialEffect&&e.effect||"default":e.effect;b[n].call(f,d,function(){j=d,i.type="onClick",g.trigger(i,[d])}),h.removeClass(e.current),k.addClass(e.current);return f}},getConf:function(){return e},getTabs:function(){return h},getPanes:function(){return i},getCurrentPane:function(){return i.eq(j)},getCurrentTab:function(){return h.eq(j)},getIndex:function(){return j},next:function(){return f.click(j+1)},prev:function(){return f.click(j-1)},destroy:function(){h.off(e.event).removeClass(e.current),i.find("a[href^=\"#\"]").off("click.T");return f}}),a.each("onBeforeClick,onClick".split(","),function(b,c){a.isFunction(e[c])&&a(f).on(c,e[c]),f[c]=function(b){b&&a(f).on(c,b);return f}}),e.history&&a.fn.history&&(a.tools.history.init(h),e.event="history"),h.each(function(b){a(this).on(e.event,function(a){f.click(b,a);return a.preventDefault()})}),i.find("a[href^=\"#\"]").on("click.T",function(b){f.click(a(this).attr("href"),b)}),location.hash&&e.tabs=="a"&&c.find("[href=\""+location.hash+"\"]").length?f.click(location.hash):(e.initialIndex===0||e.initialIndex>0)&&f.click(e.initialIndex)}a.fn.tabs=function(b,c){var d=this.data("tabs");d&&(d.destroy(),this.removeData("tabs")),a.isFunction(c)&&(c={onBeforeClick:c}),c=a.extend({},a.tools.tabs.conf,c),this.each(function(){d=new e(a(this),b,c),a(this).data("tabs",d)});return c.api?d:this}})(jQuery);(function(t,e){"use strict";function n(){if(!i.READY){i.event.determineEventTypes();for(var t in i.gestures)i.gestures.hasOwnProperty(t)&&i.detection.register(i.gestures[t]);i.event.onTouch(i.DOCUMENT,i.EVENT_MOVE,i.detection.detect),i.event.onTouch(i.DOCUMENT,i.EVENT_END,i.detection.detect),i.READY=!0}}var i=function(t,e){return new i.Instance(t,e||{})};i.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},i.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,i.HAS_TOUCHEVENTS="ontouchstart"in t,i.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i,i.NO_MOUSEEVENTS=i.HAS_TOUCHEVENTS&&navigator.userAgent.match(i.MOBILE_REGEX),i.EVENT_TYPES={},i.DIRECTION_DOWN="down",i.DIRECTION_LEFT="left",i.DIRECTION_UP="up",i.DIRECTION_RIGHT="right",i.POINTER_MOUSE="mouse",i.POINTER_TOUCH="touch",i.POINTER_PEN="pen",i.EVENT_START="start",i.EVENT_MOVE="move",i.EVENT_END="end",i.DOCUMENT=document,i.plugins={},i.READY=!1,i.Instance=function(t,e){var r=this;return n(),this.element=t,this.enabled=!0,this.options=i.utils.extend(i.utils.extend({},i.defaults),e||{}),this.options.stop_browser_behavior&&i.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),i.event.onTouch(t,i.EVENT_START,function(t){r.enabled&&i.detection.startDetect(r,t)}),this},i.Instance.prototype={on:function(t,e){for(var n=t.split(" "),i=0;n.length>i;i++)this.element.addEventListener(n[i],e,!1);return this},off:function(t,e){for(var n=t.split(" "),i=0;n.length>i;i++)this.element.removeEventListener(n[i],e,!1);return this},trigger:function(t,e){var n=i.DOCUMENT.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e;var r=this.element;return i.utils.hasParent(e.target,r)&&(r=e.target),r.dispatchEvent(n),this},enable:function(t){return this.enabled=t,this}};var r=null,o=!1,s=!1;i.event={bindDom:function(t,e,n){for(var i=e.split(" "),r=0;i.length>r;r++)t.addEventListener(i[r],n,!1)},onTouch:function(t,e,n){var a=this;this.bindDom(t,i.EVENT_TYPES[e],function(c){var u=c.type.toLowerCase();if(!u.match(/mouse/)||!s){(u.match(/touch/)||u.match(/pointerdown/)||u.match(/mouse/)&&1===c.which)&&(o=!0),u.match(/touch|pointer/)&&(s=!0);var h=0;o&&(i.HAS_POINTEREVENTS&&e!=i.EVENT_END?h=i.PointerEvent.updatePointer(e,c):u.match(/touch/)?h=c.touches.length:s||(h=u.match(/up/)?0:1),h>0&&e==i.EVENT_END?e=i.EVENT_MOVE:h||(e=i.EVENT_END),h||null===r?r=c:c=r,n.call(i.detection,a.collectEventData(t,e,c)),i.HAS_POINTEREVENTS&&e==i.EVENT_END&&(h=i.PointerEvent.updatePointer(e,c))),h||(r=null,o=!1,s=!1,i.PointerEvent.reset())}})},determineEventTypes:function(){var t;t=i.HAS_POINTEREVENTS?i.PointerEvent.getEvents():i.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],i.EVENT_TYPES[i.EVENT_START]=t[0],i.EVENT_TYPES[i.EVENT_MOVE]=t[1],i.EVENT_TYPES[i.EVENT_END]=t[2]},getTouchList:function(t){return i.HAS_POINTEREVENTS?i.PointerEvent.getTouchList():t.touches?t.touches:[{identifier:1,pageX:t.pageX,pageY:t.pageY,target:t.target}]},collectEventData:function(t,e,n){var r=this.getTouchList(n,e),o=i.POINTER_TOUCH;return(n.type.match(/mouse/)||i.PointerEvent.matchType(i.POINTER_MOUSE,n))&&(o=i.POINTER_MOUSE),{center:i.utils.getCenter(r),timeStamp:(new Date).getTime(),target:n.target,touches:r,eventType:e,pointerType:o,srcEvent:n,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return i.detection.stopDetect()}}}},i.PointerEvent={pointers:{},getTouchList:function(){var t=this,e=[];return Object.keys(t.pointers).sort().forEach(function(n){e.push(t.pointers[n])}),e},updatePointer:function(t,e){return t==i.EVENT_END?this.pointers={}:(e.identifier=e.pointerId,this.pointers[e.pointerId]=e),Object.keys(this.pointers).length},matchType:function(t,e){if(!e.pointerType)return!1;var n={};return n[i.POINTER_MOUSE]=e.pointerType==e.MSPOINTER_TYPE_MOUSE||e.pointerType==i.POINTER_MOUSE,n[i.POINTER_TOUCH]=e.pointerType==e.MSPOINTER_TYPE_TOUCH||e.pointerType==i.POINTER_TOUCH,n[i.POINTER_PEN]=e.pointerType==e.MSPOINTER_TYPE_PEN||e.pointerType==i.POINTER_PEN,n[t]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}},i.utils={extend:function(t,n,i){for(var r in n)t[r]!==e&&i||(t[r]=n[r]);return t},hasParent:function(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1},getCenter:function(t){for(var e=[],n=[],i=0,r=t.length;r>i;i++)e.push(t[i].pageX),n.push(t[i].pageY);return{pageX:(Math.min.apply(Math,e)+Math.max.apply(Math,e))/2,pageY:(Math.min.apply(Math,n)+Math.max.apply(Math,n))/2}},getVelocity:function(t,e,n){return{x:Math.abs(e/t)||0,y:Math.abs(n/t)||0}},getAngle:function(t,e){var n=e.pageY-t.pageY,i=e.pageX-t.pageX;return 180*Math.atan2(n,i)/Math.PI},getDirection:function(t,e){var n=Math.abs(t.pageX-e.pageX),r=Math.abs(t.pageY-e.pageY);return n>=r?t.pageX-e.pageX>0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT:t.pageY-e.pageY>0?i.DIRECTION_UP:i.DIRECTION_DOWN},getDistance:function(t,e){var n=e.pageX-t.pageX,i=e.pageY-t.pageY;return Math.sqrt(n*n+i*i)},getScale:function(t,e){return t.length>=2&&e.length>=2?this.getDistance(e[0],e[1])/this.getDistance(t[0],t[1]):1},getRotation:function(t,e){return t.length>=2&&e.length>=2?this.getAngle(e[1],e[0])-this.getAngle(t[1],t[0]):0},isVertical:function(t){return t==i.DIRECTION_UP||t==i.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(t,e){var n,i=["webkit","khtml","moz","ms","o",""];if(e&&t.style){for(var r=0;i.length>r;r++)for(var o in e)e.hasOwnProperty(o)&&(n=o,i[r]&&(n=i[r]+n.substring(0,1).toUpperCase()+n.substring(1)),t.style[n]=e[o]);"none"==e.userSelect&&(t.onselectstart=function(){return!1})}}},i.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(t,e){this.current||(this.stopped=!1,this.current={inst:t,startEvent:i.utils.extend({},e),lastEvent:!1,name:""},this.detect(e))},detect:function(t){if(this.current&&!this.stopped){t=this.extendEventData(t);for(var e=this.current.inst.options,n=0,r=this.gestures.length;r>n;n++){var o=this.gestures[n];if(!this.stopped&&e[o.name]!==!1&&o.handler.call(o,t,this.current.inst)===!1){this.stopDetect();break}}return this.current&&(this.current.lastEvent=t),t.eventType==i.EVENT_END&&!t.touches.length-1&&this.stopDetect(),t}},stopDetect:function(){this.previous=i.utils.extend({},this.current),this.current=null,this.stopped=!0},extendEventData:function(t){var e=this.current.startEvent;if(e&&(t.touches.length!=e.touches.length||t.touches===e.touches)){e.touches=[];for(var n=0,r=t.touches.length;r>n;n++)e.touches.push(i.utils.extend({},t.touches[n]))}var o=t.timeStamp-e.timeStamp,s=t.center.pageX-e.center.pageX,a=t.center.pageY-e.center.pageY,c=i.utils.getVelocity(o,s,a);return i.utils.extend(t,{deltaTime:o,deltaX:s,deltaY:a,velocityX:c.x,velocityY:c.y,distance:i.utils.getDistance(e.center,t.center),angle:i.utils.getAngle(e.center,t.center),direction:i.utils.getDirection(e.center,t.center),scale:i.utils.getScale(e.touches,t.touches),rotation:i.utils.getRotation(e.touches,t.touches),startEvent:e}),t},register:function(t){var n=t.defaults||{};return n[t.name]===e&&(n[t.name]=!0),i.utils.extend(i.defaults,n,!0),t.index=t.index||1e3,this.gestures.push(t),this.gestures.sort(function(t,e){return t.index<e.index?-1:t.index>e.index?1:0}),this.gestures}},i.gestures=i.gestures||{},i.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(t,e){switch(t.eventType){case i.EVENT_START:clearTimeout(this.timer),i.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==i.detection.current.name&&e.trigger("hold",t)},e.options.hold_timeout);break;case i.EVENT_MOVE:t.distance>e.options.hold_threshold&&clearTimeout(this.timer);break;case i.EVENT_END:clearTimeout(this.timer)}}},i.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(t,e){if(t.eventType==i.EVENT_END){var n=i.detection.previous,r=!1;if(t.deltaTime>e.options.tap_max_touchtime||t.distance>e.options.tap_max_distance)return;n&&"tap"==n.name&&t.timeStamp-n.lastEvent.timeStamp<e.options.doubletap_interval&&t.distance<e.options.doubletap_distance&&(e.trigger("doubletap",t),r=!0),(!r||e.options.tap_always)&&(i.detection.current.name="tap",e.trigger(i.detection.current.name,t))}}},i.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(t,e){if(t.eventType==i.EVENT_END){if(e.options.swipe_max_touches>0&&t.touches.length>e.options.swipe_max_touches)return;(t.velocityX>e.options.swipe_velocity||t.velocityY>e.options.swipe_velocity)&&(e.trigger(this.name,t),e.trigger(this.name+t.direction,t))}}},i.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,drag_max_touches:1,drag_block_horizontal:!1,drag_block_vertical:!1,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(t,n){if(i.detection.current.name!=this.name&&this.triggered)return n.trigger(this.name+"end",t),this.triggered=!1,e;if(!(n.options.drag_max_touches>0&&t.touches.length>n.options.drag_max_touches))switch(t.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:if(t.distance<n.options.drag_min_distance&&i.detection.current.name!=this.name)return;i.detection.current.name=this.name,(i.detection.current.lastEvent.drag_locked_to_axis||n.options.drag_lock_to_axis&&n.options.drag_lock_min_distance<=t.distance)&&(t.drag_locked_to_axis=!0);var r=i.detection.current.lastEvent.direction;t.drag_locked_to_axis&&r!==t.direction&&(t.direction=i.utils.isVertical(r)?0>t.deltaY?i.DIRECTION_UP:i.DIRECTION_DOWN:0>t.deltaX?i.DIRECTION_LEFT:i.DIRECTION_RIGHT),this.triggered||(n.trigger(this.name+"start",t),this.triggered=!0),n.trigger(this.name,t),n.trigger(this.name+t.direction,t),(n.options.drag_block_vertical&&i.utils.isVertical(t.direction)||n.options.drag_block_horizontal&&!i.utils.isVertical(t.direction))&&t.preventDefault();break;case i.EVENT_END:this.triggered&&n.trigger(this.name+"end",t),this.triggered=!1}}},i.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(t,n){if(i.detection.current.name!=this.name&&this.triggered)return n.trigger(this.name+"end",t),this.triggered=!1,e;if(!(2>t.touches.length))switch(n.options.transform_always_block&&t.preventDefault(),t.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:var r=Math.abs(1-t.scale),o=Math.abs(t.rotation);if(n.options.transform_min_scale>r&&n.options.transform_min_rotation>o)return;i.detection.current.name=this.name,this.triggered||(n.trigger(this.name+"start",t),this.triggered=!0),n.trigger(this.name,t),o>n.options.transform_min_rotation&&n.trigger("rotate",t),r>n.options.transform_min_scale&&(n.trigger("pinch",t),n.trigger("pinch"+(1>t.scale?"in":"out"),t));break;case i.EVENT_END:this.triggered&&n.trigger(this.name+"end",t),this.triggered=!1}}},i.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(t,n){return n.options.prevent_mouseevents&&t.pointerType==i.POINTER_MOUSE?(t.stopDetect(),e):(n.options.prevent_default&&t.preventDefault(),t.eventType==i.EVENT_START&&n.trigger(this.name,t),e)}},i.gestures.Release={name:"release",index:1/0,handler:function(t,e){t.eventType==i.EVENT_END&&e.trigger(this.name,t)}},"object"==typeof module&&"object"==typeof module.exports?module.exports=i:(t.Hammer=i,"function"==typeof t.define&&t.define.amd&&t.define("hammer",[],function(){return i}))})(this),function(t,e){"use strict";t!==e&&(Hammer.event.bindDom=function(n,i,r){t(n).on(i,function(t){var n=t.originalEvent||t;n.pageX===e&&(n.pageX=t.pageX,n.pageY=t.pageY),n.target||(n.target=t.target),n.which===e&&(n.which=n.button),n.preventDefault||(n.preventDefault=t.preventDefault),n.stopPropagation||(n.stopPropagation=t.stopPropagation),r.call(this,n)})},Hammer.Instance.prototype.on=function(e,n){return t(this.element).on(e,n)},Hammer.Instance.prototype.off=function(e,n){return t(this.element).off(e,n)},Hammer.Instance.prototype.trigger=function(e,n){var i=t(this.element);return i.has(n.target).length&&(i=t(n.target)),i.trigger({type:e,gesture:n})},t.fn.hammer=function(e){return this.each(function(){var n=t(this),i=n.data("hammer");i?i&&e&&Hammer.utils.extend(i.options,e):n.data("hammer",new Hammer(this,e||{}))})})}(window.jQuery||window.Zepto);var $nuSlider=jQuery.noConflict();(function($){$.nuSlider=function(element,options){var plugin=this;var $element=$(element);plugin.init=function(options){plugin.settings=$.extend({step:1,viewport:1,transitionTime:1000,interval:0,minItemWidth:0,aspectRatio:false,scrollbar:false,orientation:'vertical',itemsWrapperClass:'.itemsWrapper',itemsContainerClass:'.items',itemClass:'.item',scrollbarClass:'.scrollbar',scrollbarHandlerClass:'.handler',scrollbarProgressClass:'.progress'},options);plugin.settings.InitViewport=plugin.settings.viewport;plugin.settings.InitStep=plugin.settings.step;plugin.items=$element.find(plugin.settings.itemClass);plugin.itemsContainer=$element.find(plugin.settings.itemsContainerClass);plugin.itemsWrapper=$element.find(plugin.settings.itemsWrapperClass);plugin.nextButton=$element.find('.nextButton');plugin.previousButton=$element.find('.previousButton');plugin.navigationButtons=$element.find('.navigationButton');plugin.scrollbar=$element.find(plugin.settings.scrollbarClass);plugin.scrollbarHandler=plugin.scrollbar.find(plugin.settings.scrollbarHandlerClass);plugin.scrollbarProgress=plugin.scrollbar.find(plugin.settings.scrollbarProgressClass);plugin.index=0;plugin.applyStyles();plugin.addEvents();if(plugin.settings.scrollbar){plugin.settings.interval=false;plugin.settings.viewport=parseInt(plugin.itemsWrapper.width()/$(plugin.items[0]).width());}
if(plugin.settings.interval){plugin.loop=setInterval(function(){plugin.nextButton.trigger('click');},plugin.settings.interval);}},plugin.applyStyles=function(){plugin.itemsWrapper.css('position','relative');plugin.itemsWrapper.css('overflow','hidden');if(plugin.settings.aspectRatio){var numbers=plugin.settings.aspectRatio.split('/');plugin.itemsWrapper.css('padding-bottom',100*(numbers[1]/numbers[0])+'%');}
plugin.itemsContainer.css('position','absolute');plugin.itemsContainer.css('display','block');if(plugin.settings.orientation=='horizontal'){plugin.itemWidth=plugin.itemsWrapper.width()/plugin.settings.viewport;if(plugin.settings.minItemWidth){plugin.settings.viewport=plugin.settings.InitViewport;plugin.settings.step=plugin.settings.InitStep;plugin.itemWidth=plugin.itemsWrapper.width()/plugin.settings.viewport;while(plugin.itemWidth<plugin.settings.minItemWidth){if(plugin.settings.viewport===1){break;}
plugin.settings.viewport--;plugin.settings.step=plugin.settings.viewport;plugin.itemWidth=plugin.itemsWrapper.width()/plugin.settings.viewport;}
if(plugin.itemWidth===0){plugin.itemWidth=plugin.settings.minItemWidth;}}
plugin.items.each(function(index){$(this).css({'width':plugin.itemWidth+'px','position':'absolute','top':'0','left':index*plugin.itemWidth+'px','overflow':'hidden'});});plugin.itemsContainer.css({'width':plugin.items.length*plugin.itemWidth+'px'});}else{plugin.itemsWrapperHeight=plugin.itemsWrapper.height()/plugin.settings.viewport;plugin.items.each(function(index){$(this).css({'width':plugin.itemsWrapper.width(),'height':plugin.itemsWrapperHeight+'px','position':'absolute','left':'0','top':index*plugin.itemsWrapperHeight+'px','overflow':'hidden'});});plugin.itemsContainer.css({'height':plugin.items.length*plugin.itemsWrapperHeight+'px'});}
if(plugin.settings.scrollbar){plugin.nextButton.css('display','none');plugin.previousButton.css('display','none');plugin.navigationButtons.parents('ul:first').css('display','none');plugin.scrollbar.css('position','relative');plugin.scrollbarHandler.css('position','absolute');}else{plugin.scrollbar.css('display','none');plugin.navigationButtons.parents('ul:first').css('display','block');plugin.navigationButtons.each(function(index){$(this).parent().css({'display':'inline-block'});if(index>0&&(index)%plugin.settings.step!==0){$(this).parent().css({'display':'none'});}});}},plugin.addEvents=function(){plugin.nextButton.click(function(event){event.preventDefault();plugin.setNextItem();plugin.navigate(plugin.index);});plugin.previousButton.click(function(event){event.preventDefault();plugin.setPreviousItem();plugin.navigate(plugin.index);});plugin.navigationButtons.click(function(event){event.preventDefault();plugin.index=plugin.navigationButtons.index($(this));plugin.navigate(plugin.index);});var items=plugin.items.hammer();var resizeTimer;$(window).resize(function(){clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){var currentWidth=plugin.itemsWrapper.width();if(plugin.settings.orientation=='horizontal'){currentWidth=currentWidth/plugin.settings.viewport;}
if(plugin.itemWidth!==currentWidth){plugin.applyStyles();}},100);});if(plugin.settings.scrollbar){plugin.scrollbarHandler.css('left','0');var handler=plugin.scrollbarHandler.hammer({drag_block_horizontal:true});handler.on('dragstart',function(){$(this).data('nuOffset',parseInt($(this).css('left')));});handler.on('drag',function(e){var range=plugin.scrollbar.outerWidth()-$(this).outerWidth();var nuOffset=$(this).data('nuOffset');var offset=nuOffset+e.gesture.deltaX;if(offset<0){offset=0;}
if(offset>range){offset=range;}
plugin.scrollbarHandler.css({left:offset});plugin.scrollbarProgress.css('width',offset);var percentage=offset/range;var viewportRange=plugin.itemsContainer.outerWidth()-(plugin.itemWidth*plugin.settings.viewport);plugin.itemsContainer.css('left',-viewportRange*percentage);});}},plugin.navigate=function(index){if(typeof(plugin.loop)!='undefined'){clearInterval(plugin.loop);}
plugin.itemsContainer.stop(true,false);plugin.navigationButtons.removeClass('navigationButtonActive');$(plugin.navigationButtons[plugin.index]).addClass('navigationButtonActive');var position=$(plugin.items[plugin.index]).position();plugin.itemsContainer.animate({'top':-position.top,'left':-position.left},plugin.settings.transitionTime);if(plugin.settings.interval){plugin.loop=setInterval(function(){plugin.nextButton.trigger('click');},plugin.settings.interval);}},plugin.setNextItem=function(){if(plugin.index<(plugin.items.length-plugin.settings.step)){plugin.index+=plugin.settings.step;if(plugin.items.length<plugin.index+plugin.settings.step){plugin.index=plugin.items.length-plugin.settings.step;}}else{plugin.index=0;}},plugin.setPreviousItem=function(){if(plugin.index>0){plugin.index-=plugin.settings.step;}else{plugin.index=plugin.items.length-plugin.settings.step;}
if(plugin.index<0){plugin.index=0;}},plugin.moveScrollbar=function(){if(plugin.settings.scrollbar){var percentage=plugin.index/(plugin.items.length-plugin.settings.step);var range=plugin.scrollbar.outerWidth()-plugin.scrollbarHandler.outerWidth();var offset=range*percentage;plugin.scrollbarProgress.css('width',offset);plugin.scrollbarHandler.css('left',offset);}}
plugin.init(options);}
$.fn.nuSlider=function(options){return this.each(function(){if(undefined==$(this).data('nuSlider')){var plugin=new $.nuSlider(this,options);$(this).data('nuSlider',plugin);}});}})(jQuery);if(typeof jQuery!='undefined'){function resSlideshow(){if($nv('.slideshow').length){var offset=$nv('.slideshow').offset();var height=$nv(window).height();var width=$nv(window).width();var space=height-offset.top;var exHeight=$nv('.slideshow .textWrapper').height();if(width<900&&width>321){$nv('.slideshow').addClass('mobileSlideShow');$nv('.slideshow').find('.itemsWrapper').css('height',space);}else if(width===320){$nv('.slideshow').addClass('mobileSlideShow');$nv('.slideshow').find('.itemsWrapper').css('height',space+exHeight+50);}
else{$nv('.slideshow').removeClass('mobileSlideShow');$nv('.slideshow').find('.itemsWrapper').css('height','');}}}
var $nv=jQuery.noConflict();$nv(window).resize(function(){setTimeout(function(){resSlideshow();},500);});$nv(document).ready(function(){resSlideshow();$nv("ul.tabs").tabs("> .pane",{effect:'fade'});$nv("ul.tabsPlain").tabs("> .panePlain",{effect:'fade'});$nv('#menuToggler a').click(function(e){e.preventDefault();$nv('#mainNavigation ul.menu').toggleClass('activeMenu');$nv(this).toggleClass('activeToggler');});$nv('a#searchOpen').click(function(e){e.preventDefault();$nv(this).parents('#siteSearch').addClass('small-12 large-12 formIsOpen');$nv('#mainNavigation').addClass('p11 relative');$nv('#logoWrap').addClass('p3');});$nv('a#searchClose').click(function(e){e.preventDefault();$nv(this).parents('#siteSearch').removeClass('small-12 large-12 formIsOpen');$nv('#mainNavigation').removeClass('p11 relative');$nv('#logoWrap').removeClass('p3');});$nv('form#contact-form').find('input[type!="checkbox"][type!="radio"]').addClass('inputbox');$nv('form#contact-form').find('textarea').addClass('inputbox');$nv('.admintable').find('#url').addClass('inputbox');$nv('#com_users').find('input[type!="checkbox"]').addClass('inputbox');$nv('#com_users').find('input[type="checkbox"]').removeClass('inputbox');$nv('#com_users').find('input[type="radio"]').removeClass('inputbox');$nv("#menuToggler").click(function(){$nv(".mainNavigation").slideToggle();$nv(this).toggleClass('menuActive');});$nv(".mainNavigation ul.menu > li:last-child").addClass('last-child');if($nv('.itemNavigation').length){$nv("body").keydown(function(e){if(e.keyCode==37){if($nv('.itemPrevious').length){window.location=$nv('.itemPrevious').attr('href');}}
else if(e.keyCode==39){if($nv('.itemNext').length){window.location=$nv('.itemNext').attr('href');}}});}});}
var JTabs=new Class({Implements:[Options,Events],options:{display:0,useStorage:true,onActive:function(title,description){description.setStyle('display','block');title.addClass('open').removeClass('closed');},onBackground:function(title,description){description.setStyle('display','none');title.addClass('closed').removeClass('open');},titleSelector:'dt',descriptionSelector:'dd'},initialize:function(dlist,options){this.setOptions(options);this.dlist=document.id(dlist);this.titles=this.dlist.getChildren(this.options.titleSelector);this.descriptions=this.dlist.getChildren(this.options.descriptionSelector);this.content=new Element('div').inject(this.dlist,'after').addClass('current');this.storageName='jpanetabs_'+this.dlist.id;if(this.options.useStorage){if(Browser.Features.localstorage){this.options.display=localStorage[this.storageName];}else{this.options.display=Cookie.read(this.storageName);}}
if(this.options.display===null||this.options.display===undefined){this.options.display=0;}
this.options.display=this.options.display.toInt().limit(0,this.titles.length-1);for(var i=0,l=this.titles.length;i<l;i++)
{var title=this.titles[i];var description=this.descriptions[i];title.setStyle('cursor','pointer');title.addEvent('click',this.display.bind(this,i));description.inject(this.content);}
this.display(this.options.display);if(this.options.initialize)this.options.initialize.call(this);},hideAllBut:function(but){for(var i=0,l=this.titles.length;i<l;i++)
{if(i!=but)this.fireEvent('onBackground',[this.titles[i],this.descriptions[i]]);}},display:function(i){this.hideAllBut(i);this.fireEvent('onActive',[this.titles[i],this.descriptions[i]]);if(this.options.useStorage){if(Browser.Features.localstorage){localStorage[this.storageName]=i;}else{Cookie.write(this.storageName,i);}}}});window.addEvent('domready',function(){$$('dl.tabs').each(function(tabs){new JTabs(tabs,{});});});jQuery(window).scroll(function(){if(jQuery(window).scrollTop()>90){jQuery('#sp-header').css('height','46px');jQuery('#sp-header .sp-default-logo').css('height','45px');jQuery('#sp-header .logo').css('height','45px');jQuery('#sp-header .sp-megamenu-parent >li>a').css('line-height','45px');jQuery('#sp-header #offcanvas-toggler').css('line-height','45px');jQuery('#sp-header #offcanvas-toggler >i').css('margin-bottom','0px');}else{jQuery('#sp-header').css('height','70px');jQuery('#sp-header .sp-default-logo').css('height','56px');jQuery('#sp-header .logo').css('height','70px');jQuery('#sp-header .sp-megamenu-parent >li>a').css('line-height','70px');jQuery('#sp-header #offcanvas-toggler').css('line-height','70px');jQuery('#sp-header #offcanvas-toggler >i').css('margin-bottom','0px');}});jQuery(document).scroll(function(){if(jQuery("#sp-left").length){var scroll_top=jQuery(document).scrollTop();var topCol=jQuery("#sp-left").offset().top;var heightCol=jQuery("#sp-left").height();var bottomCol=topCol+heightCol;var winH=jQuery(window).height();var maxH=jQuery("#sp-component").height()+jQuery("#sp-component").offset().top-winH;if(scroll_top>(bottomCol-winH)){var delta=winH+(scroll_top-bottomCol);if(scroll_top<maxH)
jQuery("#sp-left").css("paddingTop",delta+"px");}else{jQuery("#sp-left").css("paddingTop","0px");}}});jQuery(document).scroll(function(){if(jQuery("#sp-right").length){var scroll_top=jQuery(document).scrollTop();var topCol=jQuery("#sp-right").offset().top;var heightCol=jQuery("#sp-right").height();var bottomCol=topCol+heightCol;var winH=jQuery(window).height();var maxH=jQuery("#sp-component").height()+jQuery("#sp-component").offset().top-winH;if(scroll_top>(bottomCol-winH)){var delta=winH+(scroll_top-bottomCol);if(scroll_top<maxH)
jQuery("#sp-right").css("paddingTop",delta+"px");}else{jQuery("#sp-right").css("paddingTop","0px");}}});jQuery(document).ready(function(){var scroll_top=jQuery(document).scrollTop();var top=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()+jQuery('#sp-bannerontop').outerHeight()-scroll_top;if(jQuery('#sp-header').outerHeight()==46){jQuery('#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner').css('top',jQuery('#sp-header').outerHeight()+"px");}else{jQuery('#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner').css('top',top+"px");}});jQuery(document).scroll(function(){var scroll_top=jQuery(document).scrollTop();var top=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()-scroll_top;if(jQuery('#sp-header').css('position')=='fixed'){jQuery('#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner').css('top',jQuery('#sp-header').outerHeight()+"px");}else{jQuery('#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner').css('top',top+"px");}
if(scroll_top==0){top=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()+jQuery('#sp-bannerontop').outerHeight();if(top<=108){top=108}
jQuery('#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner').css('top',top+"px");}});jQuery(document).ready(function(){var top=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()+jQuery('#sp-bannerontop').outerHeight();jQuery('#sp-takeover.takeoverBanner').css('top',top+'px');var takeoverW=jQuery('#sp-takeover.takeoverBanner .container').width();jQuery('#sp-takeover.takeoverBanner .container').css("marginLeft","-"+(takeoverW/2)+"px");});jQuery(window).load(function(){console.log(typeof head_takeover!=="undefined");if(typeof head_takeover!=="undefined"){jQuery('.body-innerwrapper').css('padding-top','0px');}});jQuery(document).resize(function(){var top=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()+jQuery('#sp-bannerontop').outerHeight();jQuery('#sp-takeover.takeoverBanner').css('top',top+'px');var takeoverW=jQuery('#sp-takeover.takeoverBanner .container').width();jQuery('#sp-takeover.takeoverBanner').css("marginLeft","-"+(takeoverW/2)+"px");});jQuery(document).ready(function(){if(jQuery('#head_skin_add').length!=0){jQuery('#sp-page-title div.container').css('background-color','#fff');jQuery('#sp-topbanner div.container').css('background-color','#fff');jQuery('#sp-main-story div.container').css('background-color','#fff');jQuery('#sp-main-body div.container').css('background-color','#fff');jQuery('.body-innerwrapper').css('padding','0px');}else{}});jQuery(document).scroll(function(){if(jQuery('#head_skin_add').length!=0){var scroll_top=jQuery(document).scrollTop();var top=jQuery('#head_skin_add').offset().top-scroll_top-26;if(top>=0){jQuery('body.site').attr('style','background-position: center '+top+'px !important');}else{jQuery('body.site').attr('style','background-position: center 35px !important');}}else{}});jQuery(document).ready(function(){if(jQuery('#inner-topstory .sp-module').length>0){var htops=jQuery('#inner-topstory').height()+18;if(jQuery(window).width()>=768&&jQuery(window).width()<=1000){jQuery('#sp-right').css("top",htops+"px");}
jQuery('#sp-component').css("top",htops+"px");jQuery('#sp-left').css("top",htops+"px");}});jQuery(window).resize(function(){if(jQuery('#inner-topstory .sp-module').length>0){var htops=jQuery('#inner-topstory').height()+18;if(jQuery(window).width()>=768&&jQuery(window).width()<=1000){jQuery('#sp-right').css("top",htops+"px");}
jQuery('#sp-component').css("top",htops+"px");jQuery('#sp-left').css("top",htops+"px");}});jQuery(document).ready(function(){jQuery('section#sp-store-bar').appendTo('header#sp-header');});jQuery('.offcanvas-menu .offcanvas-inner .sp-module ul li.divider .separator').click(function(e){var target=jQuery(e.target);var parent=target.parent();parent.toggleClass(' openChild ');});jQuery(document).scroll(function(){if(jQuery(".item_sharing_buttons_col").length){var scroll_top=jQuery(document).scrollTop();var topCol=jQuery(".item_sharing_buttons_col .addthis_sharing_toolbox").offset().top;var heightCol=jQuery(".item_sharing_buttons_col").height();heightCol=240;var bottomCol=topCol+heightCol;var winH=jQuery(window).height();var maxH=jQuery("#sp-component .itemFullText").height()-heightCol-40;var minH=jQuery(".item_sharing_buttons_col").offset().top;var delta=scroll_top-minH+80;if(scroll_top>minH-80){if(scroll_top<maxH+winH){jQuery(".item_sharing_buttons_col").css("paddingTop",delta+"px");}}else{jQuery(".item_sharing_buttons_col").css("paddingTop","0px");}}});jQuery(window).ready(function(){jQuery('.sp-has-child').children("a").click(function(event){event.preventDefault();if(jQuery(this).hasClass('opened')){closemm();}else{closemm();jQuery(this).parent().children("div").css('display','block');jQuery(this).parent().children("div").css('position','absolute');jQuery(this).toggleClass(" opened ");}});jQuery(document).ready(function(){var scroll_top=jQuery(document).scrollTop();var top_sbar=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()+jQuery('#sp-bannerontop').outerHeight()-scroll_top;jQuery('section#sp-store-bar .sp-module .sp-module-content ul#storeMobile li.parent ul.nav-child').css('height',(jQuery(window).height()-top_sbar)+'px');var target=jQuery('section#sp-store-bar .sp-module .sp-module-content ul#storeMobile li.parent ul.nav-child li.divider .separator');var parent=target.parent();parent.toggleClass(' openChild ');});jQuery(window).resize(function(){var scroll_top=jQuery(document).scrollTop();var top_sbar=jQuery('#sp-header').outerHeight()+jQuery('#sp-top-bar').outerHeight()+jQuery('#sp-bannerontop').outerHeight()-scroll_top;jQuery('section#sp-store-bar .sp-module .sp-module-content ul#storeMobile li.parent ul.nav-child').css('height',(jQuery(window).height()-top_sbar)+'px');});jQuery('ul#storeMobile li.divider .separator').click(function(e){var target=jQuery(e.target);var parent=target.parent();parent.toggleClass(' openChild ');});});function closemm(){jQuery('.sp-megamenu-parent .sp-dropdown').css('display','none');jQuery('.opened').toggleClass(" opened ");}
window.mobilecheck=function(){var check=false;(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check=true})(navigator.userAgent||navigator.vendor||window.opera);if(jQuery("body").hasClass('com-virtuemart'))check=false;return check;}
window.mobileAndTabletcheck=function(){var check=false;(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check=true})(navigator.userAgent||navigator.vendor||window.opera);if(jQuery("body").hasClass('com-virtuemart'))check=false;return check;}


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z