jQuery(document).ready(function(jQuery2){$(".dropdown-toggle").dropdown()}),typeof myShopify=="undefined"&&(myShopify={}),myShopify.addItem=function(id,qty,cb){var query={type:"POST",url:"/cart/add.js",data:"quantity="+qty+"&id="+id,dataType:"json",success:function(response){cb(response)},error:function(response){response=$.parseJSON(response.responseText),cb(response)}};$.ajax(query)},myShopify.getCart=function(cb){var query={type:"POST",url:"/cart.js",dataType:"json",complete:function(response){var cart=$.parseJSON(response.responseText);cb(cart)}};$.ajax(query)},myShopify.switchImage=function(orgImg,src,size){var newSrc=this.getResizedImage(src,size),newHref=this.getResizedImage(src,"1024x1024");orgImg.attr("src",newSrc),orgImg.parent("a").attr("href",newHref)},myShopify.getResizedImage=function(src,size){var stringInfo=src.match(/\.([a-z]+)\?/);if(stringInfo==-1)return-1;var index=stringInfo.index,stringStart=src.slice(0,index),stringEnd=src.slice(index),newSrc=stringStart+"_"+size+stringEnd;return newSrc},myShopify.preloadImages=function(images,size){for(typeof images=="string"&&(images=[images]),i=0;i<images.length;i++)$("<img>",{src:images[i]})};
//# sourceMappingURL=/cdn/shop/t/2/assets/shop.js.map?v=55422634938596602281448030252