(function(){var l={config:{css:"http://static.wmobjects.com.br/webstore/style/product.min.css",fonts:"https://fonts.googleapis.com/css?family=Open+Sans:400,600|Open+Sans+Condensed:700",js:"http://static.wmobjects.com.br/webstore/js/vendor/jquery/jquery-2.0.3.min.js"},walmartFiles:function(){if(!l.verifyDomain()&&"undefined"===typeof jQuery)for(key in l.config)if("css"==key||"fonts"==key){var b=document.createElement("link");b.rel="stylesheet";b.type="text/css";b.href=l.config[key];var a=document.getElementsByTagName("link")[0]; "undefined"===typeof a?document.body.insertBefore(b):a.parentNode.insertBefore(b,a)}else"js"==key&&(b=document.createElement("script"),b.type="text/javascript",b.src=l.config[key],a=document.getElementsByTagName("script")[0],"undefined"===typeof a?document.body.insertBefore(b):a.parentNode.insertBefore(b,a));l.startSystem()},verifyDomain:function(){var b=!1;domain=String(window.location);seek=domain.search(/walmart.com/g);0<=seek&&(b=!0);return b},startSystem:function(){var b=window.setInterval(function(){"undefined"!== typeof jQuery&&(new connmartSystem(l),window.clearInterval(b))},100)}};l.walmartFiles()})(); function connmartSystem(l){(function(b){var a={initialize:function(){a.log("Start Application");a.info("Application running with success!");a.autoLoadMethod.initialize();a.getConfig();a.scrollMethod.scrollEvents()},getConfig:function(){a.log("Method getConfig");for(var c=a.objects.$container.attr("class").split(" "),b=0,e=a.config.methods.length;b=e&&b+.05*g<=e+f?!0:!1},sectionInScreen:function(c){var g=null;a.objects.$sections.each(function(e,f){var d=b(f),h=d.attr("class").replace(a.objects.sections.replace(".",""),"").replace(" ",""),k=d.offset().top,d=d.height();k<=c&&k+d>=c-.8*c&&(g=h)});return g},active:function(b){a.log("Method active");a.objects.win.clearInterval(a.config.interval);b!==a.config.sectionActive&&(a.helperMethod.deactiveButton(a.config.sectionActive),a.config.sectionActive=b,!1== a.config.calltoaction&&(a.config.interval=a.objects.win.setInterval(function(){for(key in a.config.positionSections)a.config.positionSections[key].section==a.config.sectionActive&&void 0!==a.config.positionSections[key].title&&a.seoMethod.walmart("scroll",a.config.positionSections[key].position,a.config.positionSections[key].title);a.objects.win.clearInterval(a.config.interval)},1E3)));null!==a.objects.$nav&&a.helperMethod.moveNav();a.helperMethod.activeButton(a.config.sectionActive)},deactive:function(){a.log("Method deactive"); a.helperMethod.deactiveButton(a.config.sectionActive);a.config.sectionActive=null}},autoLoadMethod:{initialize:function(){a.autoLoadMethod.lastChild();a.config.isMobile=a.autoLoadMethod.isMobile();a.autoLoadMethod.positionSections()},lastChild:function(){/msie [1-8]{1}[^0-9]/.test(navigator.userAgent.toLowerCase())&&b("*:last-child").addClass("connmart-last-child")},isMobile:function(){return-1!=a.objects.win.navigator.userAgent.toLowerCase().search(/(android|ipad|iphone|ipod|weboS|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|wos)/i)? !0:!1},positionSections:function(){a.objects.$sections.each(function(c,g){var e=b(g).attr("class").replace(a.objects.sections.replace(".",""),"").replace(" ",""),f=b(a.objects.container+" "+a.objects.nav+" .go-"+e).attr("title");a.config.positionSections.push({section:e,position:c+1,title:f})})}},log:function(b){a.config.debug&&console.log("[ CONNMART LOG: "+b+" ]")},info:function(b){a.config.information&&console.log("[ CONNMART INFORMATION: "+b+" ]")},config:{debug:!1,information:!1,methods:["nav", "calltoaction"],calltoaction:!1,sectionActive:null,isMobile:!1,interval:null,positionSections:[]}};a.objects={win:window,$win:b(window),container:".connmart-container",$container:b(".connmart-container"),sections:".connmart-section",$sections:b(".connmart-container .connmart-section"),nav:".connmart-nav",$nav:null,calltoaction:".connmart-calltoaction",$calltoaction:null};a.initialize()})(jQuery)};