(function($){})(window.jQuery);var obx=obx||{};obx.modify_cart=obx.modify_cart||{};obx.credit_card_logos=obx.credit_card_logos||{};obx.payment_type=obx.payment_type||{};obx.order_info_scroll=obx.order_info_scroll||{};obx.cart_items=obx.cart_items||{};obx.modify_cart={init:function(){$("#btn-modify-cart").click(function(){if(confirm("Are you sure you want to leave the checkout?"))window.location="cart.html"})}};
obx.credit_card_logos={init:function(){$("#credit-card-logos a").click(function(e){e.preventDefault();$("#credit-card-logos a").removeClass("active");$(this).addClass("active")})}};
obx.payment_type={init:function(){var payment_validate=$.parselyConditions({csstoggle:"parsley-show",formname:"checkout",validationfields:[{fid:"PaymentMethod",ftype:"select",fvalue:["CreditCard"],faffected:["CreditCardName","CreditCardNumber","ExpirationMonth","ExpirationYear","CVV2"],fhide:false}]});payment_validate.toggleFields();$("#checkout").submit(function(e){if(payment_validate.checkFields());});var payment_panel=$("#PaymentMethod option:selected").attr("data-panel");$("#"+payment_panel).addClass("parsley-show");
$("#PaymentMethod").change(function(){var payment_panel="";var payment_panel=$("#PaymentMethod option:selected").attr("data-panel");$(".gateway").removeClass("parsley-show");$("#"+payment_panel).addClass("parsley-show")})}};
obx.cart_items={init:function(){$("#cart-items.show-hide tr:gt(5)").addClass("hide");$("#cart-items.show-hide .btn").click(function(e){e.preventDefault();$(this).toggleClass("active");if($(this).hasClass("active"))$(this).html("Hide Cart Items");else $(this).html("Expand Cart Items");$("#cart-items.show-hide tr.hide").toggle("slow",function(){obx.order_info_scroll.setPosition($(".checkout-bar").offset().top)})})}};
obx.order_info_scroll={position:0,setPosition:function(theOffset){obx.order_info_scroll.position=theOffset;var bottom=$("#footer-wrapper").offset().top-$(".checkout-bar").outerHeight()-50;if($(window).scrollTop()>=theOffset&&$(window).scrollTop()<=bottom){$(".checkout-bar").removeClass("absolute");$(".checkout-bar").addClass("fixed")}else if($(window).scrollTop()<bottom){$(".checkout-bar").removeClass("fixed");$(".checkout-bar").addClass("absolute")}else{$(".checkout-bar").removeClass("absolute");
$(".checkout-bar").removeClass("fixed")}},init:function(){var el=$(".checkout-row");obx.order_info_scroll.position=$(el).offset().top;$(window).scroll(function(){obx.order_info_scroll.setPosition($(".checkout-row").offset().top)})}};
$(document).ready(function(){if($("body").hasClass("page-checkout-login"));if($("body").hasClass("page-checkout")||$("body").hasClass("page-checkout-login"));if($("body").hasClass("page-checkout")||$("body").hasClass("page-checkout-confirm"))obx.cart_items.init();if($("body").hasClass("page-checkout")){obx.modify_cart.init();obx.credit_card_logos.init();obx.payment_type.init();obx.order_info_scroll.init()}if($("body").hasClass("page-account-billing"));});!function(){}(window.jQuery);var obx=obx||{};
obx.modify_cart=obx.modify_cart||{},obx.credit_card_logos=obx.credit_card_logos||{},obx.payment_type=obx.payment_type||{},obx.order_info_scroll=obx.order_info_scroll||{},obx.cart_items=obx.cart_items||{},obx.modify_cart={init:function(){$("#btn-modify-cart").click(function(){confirm("Are you sure you want to leave the checkout?")&&(window.location="cart.html")})}},obx.credit_card_logos={init:function(){$("#credit-card-logos a").click(function(o){o.preventDefault(),$("#credit-card-logos a").removeClass("active"),
$(this).addClass("active")})}},obx.payment_type={init:function(){var o=$.parselyConditions({csstoggle:"parsley-show",formname:"checkout",validationfields:[{fid:"PaymentMethod",ftype:"select",fvalue:["CreditCard"],faffected:["CreditCardName","CreditCardNumber","ExpirationMonth","ExpirationYear","CVV2"],fhide:!1}]});o.toggleFields(),$("#checkout").submit(function(){o.checkFields()});var t=$("#PaymentMethod option:selected").attr("data-panel");$("#"+t).addClass("parsley-show"),$("#PaymentMethod").change(function(){var o=
"",o=$("#PaymentMethod option:selected").attr("data-panel");$(".gateway").removeClass("parsley-show"),$("#"+o).addClass("parsley-show")})}},obx.cart_items={init:function(){$("#cart-items.show-hide tr:gt(5)").addClass("hide"),$("#cart-items.show-hide .btn").click(function(o){o.preventDefault(),$(this).toggleClass("active"),$(this).html($(this).hasClass("active")?"Hide Cart Items":"Expand Cart Items"),$("#cart-items.show-hide tr.hide").toggle("slow",function(){obx.order_info_scroll.setPosition($(".checkout-bar").offset().top)})})}},
obx.order_info_scroll={position:0,setPosition:function(o){obx.order_info_scroll.position=o;var t=$("#footer-wrapper").offset().top-$(".checkout-bar").outerHeight()-50;$(window).scrollTop()<o||$(window).scrollTop()>t?$(window).scrollTop()<t?($(".checkout-bar").removeClass("fixed"),$(".checkout-bar").addClass("absolute")):($(".checkout-bar").removeClass("absolute"),$(".checkout-bar").removeClass("fixed")):($(".checkout-bar").removeClass("absolute"),$(".checkout-bar").addClass("fixed"))},init:function(){var o=
$(".checkout-row");obx.order_info_scroll.position=$(o).offset().top,$(window).scroll(function(){obx.order_info_scroll.setPosition($(".checkout-row").offset().top)})}},$(document).ready(function(){$("body").hasClass("page-checkout-login"),$("body").hasClass("page-checkout")||$("body").hasClass("page-checkout-login"),($("body").hasClass("page-checkout")||$("body").hasClass("page-checkout-confirm"))&&obx.cart_items.init(),$("body").hasClass("page-checkout")&&(obx.modify_cart.init(),obx.credit_card_logos.init(),
obx.payment_type.init(),obx.order_info_scroll.init()),$("body").hasClass("page-account-billing")});var _mt=_mt||{};
(function(mt,$,jsf,obx){function toggleShippingFields(){var rows=$("#shippingInformationContainer .row:not(#shippingSameAsBillingRow)");var $this=$("#shippingSameAsBillingRow input");if($this.get(0).checked)rows.hide();else rows.show()}function parsleyServerErrors(){$.listen("parsley:field:error",function(data){data.$element.siblings(".server-error").remove()});$.listen("parsley:field:success",function(data){data.$element.removeClass("parsley-error").siblings(".server-error").remove()})}_mt.checkout=
{init:function(){jsf.ajax.addOnEvent(function(data){if(data.status=="begin"){$("#checkout-order").addClass("active");$(".parsley-errors-list").remove()}else if(data.status=="success"){if(obx&&obx.order_info_scroll)obx.order_info_scroll.setPosition($(".checkout-row").offset().top);$("#checkout-order").removeClass("active");$("#checkout").parsley();if($("#globalMessages").children().length)$(window).scrollTop(0);toggleShippingFields()}});$("#content").on("change","#shippingSameAsBillingRow input",toggleShippingFields);
toggleShippingFields();parsleyServerErrors()}};$(document).ready(function(){if($("body").hasClass("page-checkout"))_mt.checkout.init()})})(_mt,window.jQuery,jsf,obx);(function($){})(window.jQuery);var obx=obx||{};obx.fancybox=obx.fancybox||{};obx.scroll=obx.scroll||{};obx.home_carousel=obx.home_carousel||{};obx.home_brands=obx.home_brands||{};obx.reviews=obx.reviews||{};obx.img_gallery=obx.img_gallery||{};obx.product_option_image=obx.product_option_image||{};obx.easytabs_product=obx.easytabs_product||{};obx.product_review=obx.product_review||{};obx.newsletter_signup=obx.newsletter_signup||{};obx.accordion=obx.accordion||{};obx.help=obx.help||{};
obx.form_toggle=obx.form_toggle||{};obx.toolsforcause=obx.toolsforcause||{};obx.wish_list_email=obx.wish_list_email||{};obx.fancybox={init:function(){$(".fancybox").fancybox({openEffect:"none",closeEffect:"none",helpers:{media:{}}})}};obx.scroll={init:function(){$("a.scroll").click(function(e){e.preventDefault();var link=$(this).attr("href");$.scrollTo(link,500)})}};
obx.home_carousel={init:function(){$("#home-carousel li").removeClass("visuallyhidden");$("#home-carousel ul").owlCarousel({autoPlay:true,singleItem:true})}};obx.home_brands={init:function(){$(".featured-brands").owlCarousel({itemsMobile:[767,2],itemsTablet:[959,4],itemsDesktopSmall:false,itemsDesktop:[960,5]})}};
obx.reviews={init:function(){if(_mt&&_mt.productPage){$BV.configure("global",{submissionContainerUrl:_mt.productPage.submissionContainerUrl});$BV.ui("rr","show_reviews",{productId:_mt.productPage.id,page:_mt.productPage.reviewPage,doShowContent:function(callback,json){$productBehavior.showTab("productCustomerReviews")},onEvent:function(json){if(json.eventSource=="Display")if(window.location.href.match(/\/reviews\/\d\/$/i)!=null){$productBehavior.showTab("productCustomerReviews");$("html,body").scrollTop($("#productCustomerReviews").offset().top)}}})}else if(_mt&&
_mt.productReviewPage){console.log("in product review page");$BV.ui("submission_container",{userToken:_mt.productReviewPage.userToken})}}};
obx.img_gallery={init:function(){$fancyGallery=$("#product-thumbs").clone();$fancyGallery.attr("id","product-thumbs-fancy");$fancyGallery.hide();$fancyGallery.find("a:not(:first)").addClass("fancybox");$fancyGallery.find("a").attr("rel","gallery1");$("#product-thumbs").after($fancyGallery);$("#product-thumbs a").click(function(e){e.preventDefault();$clicked=$(this);if(!$clicked.hasClass("active")){$("#product-image img").fadeOut("400",function(){$("#product-image img").remove();var $newImage=$("<img />");
$newImage.attr("src",$clicked.attr("data-med"));$newImage.hide();$("#product-image").attr("href",$clicked.attr("href"));$("#product-image").append($newImage);$("#product-image img").imagesLoaded(function(){$("#product-image img").fadeIn("400")})});$("#product-thumbs a").removeClass("active");$clicked.addClass("active");var index=$("#product-thumbs a").index($clicked);$("#product-thumbs-fancy a").addClass("fancybox");$("#product-thumbs-fancy a").eq(index).removeClass("fancybox")}})}};
obx.product_option_image={changeImage:function(imageSource,type){var dataMed=imageSource.attr("data-med");if(type="Option")dataLrg=imageSource.attr("data-lrg");else if(type="Original")dataLrg=imageSource.attr("href");$("#product-image img").fadeOut("400",function(){$("#product-image img").remove();var $newImage=$("<img />");$newImage.attr("src",dataMed);$newImage.hide();$("#product-image").attr("href",dataLrg);$("#product-image").append($newImage);$("#product-image img").imagesLoaded(function(){$("#product-image img").fadeIn("400")})})},
init:function(){$origImage=$("#product-thumbs-fancy li:first a");$firstSelectOption=$("#product-form select:first option:selected");if($firstSelectOption.val()!=""&&$firstSelectOption.attr("data-med")!==undefined){obx.product_option_image.changeImage($firstSelectOption,"Option");$("#product-thumbs a").removeClass("active");$("#product-thumbs-fancy a").addClass("fancybox")}$("#product-form select").change(function(e){$option=$(this).children(":selected");if($option.val()!=""&&$option.attr("data-med")!==
undefined){obx.product_option_image.changeImage($option,"Option");$("#product-thumbs a").removeClass("active");$("#product-thumbs-fancy a").addClass("fancybox")}else if($("#product-image img").attr("src")==$origImage.attr("data-med"));else{obx.product_option_image.changeImage($origImage,"Original");$("#product-thumbs a").removeClass("active");$origImage.addClass("active");$("#product-thumbs-fancy a:first").removeClass("fancybox")}})}};
obx.easytabs_product={init:function(){$("#product-tabs").easytabs({"animationSpeed":400,"updateHash":false})}};obx.accordion={init:function(){$(".accordion .faq-a").hide();$(".faq-q").click(function(){if($(this).hasClass("active")){$(this).removeClass("active");$(this).next().slideUp()}else{$(".faq-q").removeClass("active");$(this).addClass("active");$(".faq-a").slideUp();$(this).next().slideDown()}})}};
obx.help={init:function(){$(".help-tip span").hide();if(Modernizr.touch)$(".help-tip").click(function(){$(this).find("span").toggle()});else $(".help-tip").hover(function(){$(this).find("span").show()},function(){$(this).find("span").hide()})}};
obx.form_toggle={init:function(){$("#ff-student").hide();$("#fd-instructor").click(function(){$("#fd-student").removeClass("active");$(this).addClass("active");$("#ff-instructor").show();$("#ff-student").hide()});$("#fd-student").click(function(){$("#fd-instructor").removeClass("active");$(this).addClass("active");$("#ff-instructor").hide();$("#ff-student").show()})}};
obx.toolsforcause={init:function(){$(function(){$(".tfc-product").click(function(event){var theLink=$(this).children("a").attr("href");var theID=$(this).attr("id");if(theID!="tfc-product-drillboot")if(theLink!=null&&theLink!=""){event.preventDefault();var windowType="_self";if($(this).hasClass("tfc-tbc"))windowType="Matco";window.open(theLink,windowType,"width=1024,height=768,alwaysRaised,resizable")}});$(".tfc-product").hover(function(){var theLink=$(this).children("a").attr("href");var theID=$(this).attr("id");
if(theID!="tfc-product-drillboot")if(theLink!=null&&theLink!="")$(this).css("cursor","pointer")});$("#tfc-video").one("click",function(event){$("#tfc-video-banner").remove();$(this).append("<iframe class='youtube-player' type='text/html' width='600' height='363' src='http://www.youtube.com/v/zCZCc9ldCLE?fs=1&amp;hl=en_US&amp;showinfo=0&amp;autohide=1&amp;autoplay=1&amp;controls=1&amp;rel=0' frameborder='0' wmode='Opaque'></iframe>")})})}};obx.arrowanimation={init:function(){$(function(){$(".rotate-selection").click(function(){$(this).children("i").toggleClass("down")})})}};
obx.collapseload={init:function(){$(function(){var bodyWidth=$("body").width();if(bodyWidth<=992)$(window).load(function(){$(".collapse-load").collapse("hide");$(".rotate-selection").children("i").toggleClass("down");if($(".oh-i").hasClass("down"))$(".oh-i").removeClass("down")})})}};obx.searchhide={init:function(){$(function(){$(".search-icon").click(function(){$(".fa-search").toggleClass("fa-times");$(".search-hide").slideToggle("fast")})})}};
obx.price={init:function(){$(function(){if($(".prod-listing").hasClass("mobile-carousel")||$(".title").hasClass("faux-h2"))$(".price").addClass("hide")})}};obx.orderhistory={init:function(){$(function(){$(".order-history-top").click(function(){$(this).next(".order-history-expand").slideToggle();$(this).toggleClass("no-border")})})}};
obx.dropDown={init:function(){$(function(){$(".drop-top").click(function(){$(this).next(".drop-expand").slideToggle();if($(".drop-top").hasClass("welcome-account"))$(".drop-top i").first().addClass("welcome-account-hover")});$(document).click(function(){$(".drop-expand").slideUp();if($(".drop-top").hasClass("welcome-account"))$(".drop-top i").first().removeClass("welcome-account-hover")});$(".drop-top").click(function(e){e.stopPropagation()})})}};
obx.appendthumb={init:function(){$(function(){$(".order-detail-image").each(function(){$(this).attr("src",$(this).attr("src").replace(/\.jpg/,"_thumb.jpg"))})})}};obx.promoResponse={init:function(){$(function(){function bodyCheck(){var bodyWidth=$("body").width();if(bodyWidth>=1180)$(".promo-hex-prod").css("margin-left","-420px");if(bodyWidth>=992&&bodyWidth<1180)$(".promo-hex-prod").css("margin-left","-357px");if(bodyWidth<770)$(".promo-hex-prod").css("margin-left","-35px")}bodyCheck();$(window).resize(function(){bodyCheck()})})}};
obx.simpleFilter={init:function(){$(function(){historyFilter($(".filtermonth"),$(".filternum"))});var resetArrow=function(){$(".order-history-expand").hide();$(".order-history-top").removeClass("no-border");$(".order-history-top").children("i").removeClass("down")};function historyFilter(month,num){$(month).change(function(){resetArrow();num.val("");var thismonth=this.value;$(".order-history-top").find("#filt").filter(function(){var selection=this.innerHTML;var firstThree=selection.slice(0,3);if(thismonth==
firstThree)$(this).parents(".order-history-top").show();else if(thismonth=="all")$(this).parents(".order-history-top").show();else $(this).parents(".order-history-top").hide()})});$(num).change(function(){resetArrow();$(month).prop("selectedIndex",0);var thisnum=this.value;var nothing="";if(thisnum){$(".order-history-top").find("#filtNum:not(:Contains("+thisnum+"))").parents(".order-history-top").hide();$(".order-history-top").find("#filtNum:Contains("+thisnum+")").parents(".order-history-top").show()}else $(".order-history-top").find("#filtNum:Contains("+
nothing+")").parents(".order-history-top").show()}).keyup(function(){$(this).change()})}}};obx.wish_list_email={setLoadText:function(button){$(button).val("Sending...");$("#globalMessages.sendWishlist").empty()}};
$(document).ready(function(){$("input, textarea").placeholder();obx.fancybox.init();obx.scroll.init();obx.accordion.init();obx.help.init();obx.form_toggle.init();obx.toolsforcause.init();obx.arrowanimation.init();obx.collapseload.init();obx.searchhide.init();obx.price.init();obx.orderhistory.init();obx.simpleFilter.init();if($("body").is("#Home"))$(".show-bar").show();if($("body").hasClass("page-home")){obx.home_carousel.init();obx.home_brands.init()}if($("body").hasClass("page-product")){obx.easytabs_product.init();
obx.reviews.init();obx.img_gallery.init();obx.product_option_image.init()}if($("body").hasClass("page-account-login"))obx.reviews.init();if($("body").is("#new"))obx.promoResponse.init()});(function($){})(window.jQuery);var obx=obx||{};
$(document).ready(function(){var jRes=jRespond([{label:"handheld",enter:0,exit:769},{label:"tablet",enter:770,exit:1179},{label:"desktop",enter:1180,exit:1E4}]);jRes.addFunc([{breakpoint:"desktop",enter:function(){$("body").addClass("desktop")},exit:function(){$("body").removeClass("desktop")}},{breakpoint:"tablet",enter:function(){$("body").addClass("tablet")},exit:function(){$("body").removeClass("tablet")}},{breakpoint:"handheld",enter:function(){$("body").addClass("mobile");$("#an-phone").insertBefore(".drop-top");
$("#mn-viewcart").insertAfter("#account-selection");if($("body").hasClass("page-home"))$("#search").insertBefore("#home-featured-tool .container img");else $("#search").insertBefore("#section-header");var mainNav=$("#main-nav").html();$("#main-nav li a").each(function(){if($(this).text()=="Tool Catalog")$(this).text("Catalog");if($(this).text()=="Own a Franchise")$(this).text("Own Franchise");if($(this).text()!="Catalog"&&$(this).text()!="Own Franchise"&&$(this).text()!="Find Distributor")$(this).parent().hide()});
var toggle=$('<span id="mobile-nav-toggle"></span>');toggle.insertBefore("#main-nav ul");toggle.click(function(){$(this).toggleClass("active");$("#main-nav li").toggle("slow")});$("#additional-nav nav").appendTo("#breadcrumbs");$("#breadcrumbs nav span, #breadcrumbs nav ol").slideToggle();$("#an-section-title").unbind("click");$("#an-section-title").click(function(){$("#breadcrumbs nav span, #breadcrumbs nav ol").slideToggle()});$(".fancybox").addClass("fancybox-m").removeClass("fancybox");$("#home-featured-products").addClass("border");
$(".hidden_div").remove();$(".mobile-carousel").owlCarousel({slideSpeed:300,paginationSpeed:400,singleItem:true});if($("body").hasClass("page-subsub-category")){$(".listview .pi-cur-price").each(function(){$(this).parent().next().find(".actions").append(this)});$(".listview .pi-old-price").each(function(){$(this).parent().next().find(".actions").append(this)});$(".listview .actions").each(function(){$(this).siblings("p").filter(":first").before(this)})}$("#product-images").insertAfter("#addthis");
$("#home-action-button").insertAfter("#maxme-statement .light-grey:last")},exit:function(){$("body").removeClass("mobile");$("#an-phone").remove();$("#account-nav-contact").append('<li id="an-phone"><a href="tel:+1-866-289-8665">866-289-8665</a></li>');var cart=$("#mn-viewcart").detach();$(".navbar-right").append(cart);$("#search").insertAfter("#tagline");$("#main-nav li").css("display","block");$("#mobile-nav-toggle").remove();$("#breadcrumbs nav").prependTo("#additional-nav");$("#additional-nav nav span, #additional-nav nav ul").css("display",
"block");$(".fancybox-m").addClass("fancybox").removeClass("fancybox-m");if($(".mobile-carousel").length>0)$(".mobile-carousel").data("owlCarousel");$("#home-featured-products").removeClass("border");$("#home-featured-products .mobile-carousel").append('<div class="col-md-1 hidden-sm hidden_div"></div>');$('<div class="col-md-1 hidden-sm hidden_div"></div>').insertBefore("#home-featured-products .col-md-4.col-sm-6.col-xs-9.text-center:first-child");if($("body").hasClass("page-subsub-category")){$(".listview .pi-cur-price").each(function(){$(this).parent().parent().prev().append(this)});
$(".listview .pi-old-price").each(function(){$(this).parent().parent().prev().append(this)});$(".listview .actions").each(function(){$(this).siblings("p").filter(":last").after(this)})}$("#product-images").insertAfter("#product-content");$("#home-action-button").insertAfter("#maxme-image")}}])});!function(){}(window.jQuery);var obx=obx||{};
$(document).ready(function(){var e=jRespond([{label:"handheld",enter:0,exit:769},{label:"tablet",enter:770,exit:1179},{label:"desktop",enter:1180,exit:1E4}]);e.addFunc([{breakpoint:"desktop",enter:function(){$("body").addClass("desktop")},exit:function(){$("body").removeClass("desktop")}},{breakpoint:"tablet",enter:function(){$("body").addClass("tablet")},exit:function(){$("body").removeClass("tablet")}},{breakpoint:"handheld",enter:function(){$("body").addClass("mobile"),$("#an-phone").insertBefore(".drop-top"),
$("#mn-viewcart").insertAfter("#account-selection"),$("#search").insertBefore($("body").hasClass("page-home")?"#home-featured-tool .container img":"#section-header");$("#main-nav").html();$("#main-nav li a").each(function(){"Tool Catalog"==$(this).text()&&$(this).text("Catalog"),"Own a Franchise"==$(this).text()&&$(this).text("Own Franchise"),"Catalog"!=$(this).text()&&"Own Franchise"!=$(this).text()&&"Find Distributor"!=$(this).text()&&$(this).parent().hide()});var e=$('<span id="mobile-nav-toggle"></span>');
e.insertBefore("#main-nav ul"),e.click(function(){$(this).toggleClass("active"),$("#main-nav li").toggle("slow")}),$("#additional-nav nav").appendTo("#breadcrumbs"),$("#breadcrumbs nav span, #breadcrumbs nav ol").slideToggle(),$("#an-section-title").unbind("click"),$("#an-section-title").click(function(){$("#breadcrumbs nav span, #breadcrumbs nav ol").slideToggle()}),$(".fancybox").addClass("fancybox-m").removeClass("fancybox"),$("#home-featured-products").addClass("border"),$(".hidden_div").remove(),
$(".mobile-carousel").owlCarousel({slideSpeed:300,paginationSpeed:400,singleItem:!0}),$("body").hasClass("page-subsub-category")&&($(".listview .pi-cur-price").each(function(){$(this).parent().next().find(".actions").append(this)}),$(".listview .pi-old-price").each(function(){$(this).parent().next().find(".actions").append(this)}),$(".listview .actions").each(function(){$(this).siblings("p").filter(":first").before(this)})),$("#product-images").insertAfter("#addthis"),$("#home-action-button").insertAfter("#maxme-statement .light-grey:last")},
exit:function(){$("body").removeClass("mobile"),$("#an-phone").remove(),$("#account-nav-contact").append('<li id="an-phone"><a href="tel:+1-866-289-8665">866-289-8665</a></li>');var e=$("#mn-viewcart").detach();$(".navbar-right").append(e),$("#search").insertAfter("#tagline"),$("#main-nav li").css("display","block"),$("#mobile-nav-toggle").remove(),$("#breadcrumbs nav").prependTo("#additional-nav"),$("#additional-nav nav span, #additional-nav nav ul").css("display","block"),$(".fancybox-m").addClass("fancybox").removeClass("fancybox-m"),
$(".mobile-carousel").length>0&&$(".mobile-carousel").data("owlCarousel"),$("#home-featured-products").removeClass("border"),$("#home-featured-products .mobile-carousel").append('<div class="col-md-1 hidden-sm hidden_div"></div>'),$('<div class="col-md-1 hidden-sm hidden_div"></div>').insertBefore("#home-featured-products .col-md-4.col-sm-6.col-xs-9.text-center:first-child"),$("body").hasClass("page-subsub-category")&&($(".listview .pi-cur-price").each(function(){$(this).parent().parent().prev().append(this)}),
$(".listview .pi-old-price").each(function(){$(this).parent().parent().prev().append(this)}),$(".listview .actions").each(function(){$(this).siblings("p").filter(":last").after(this)})),$("#product-images").insertAfter("#product-content"),$("#home-action-button").insertAfter("#maxme-image")}}])});
