/*:"US"*/jQuery.fn.randomize = function(childElem) { return this.each(function() { var $this = jQuery(this); var elems = $this.children(childElem); elems.sort(function() { return (Math.round(Math.random())-0.5); }); $this.detach(childElem); for(var i=0; i < elems.length; i++) $this.append(elems[i]); });};function loadScript( url, callback ) { var script = document.createElement( "script" ); script.type = "text/javascript"; if(script.readyState) { script.onreadystatechange = function() { if ( script.readyState === "loaded" || script.readyState === "complete" ) { script.onreadystatechange = null; callback(); } }; } else { script.onload = function() { callback(); }; } script.src = url; document.getElementsByTagName( "head" )[0].appendChild( script );}loadScript("/skin/frontend/rwd/astrabootstrap/js/owl.carousel.min.js", function() { initRegioData();});function initRegioData(){jQuery('.regiodata').hide(); jQuery('.NorthernAmerica').show();jQuery('.regiodata:not(.NorthernAmerica)').remove();jQuery('.reion').hide();jQuery('#NA' ).fadeIn(500);jQuery('svg > path').attr('class','');jQuery("path[data-show='NA']").attr('class','activemap');jQuery('#brand-logo-slider').show();jQuery('#brand-logo-slider .slider-items').randomize('#brand-logo-slider .slider-items div');jQuery('.inproductaslo').show();jQuery('.inproductaslo').randomize('.inproductaslo div'); jQuery('.firstnorandomat').prependTo('.inproductaslo');jQuery('#brand-logo-slider .firstnorandom').prependTo('#brand-logo-slider .slider-items');var owlBrands = jQuery("#brand-logo-slider .slider-items");owlBrands.owlCarousel({autoplay : true,items : 4,itemsDesktop : [1024,4],itemsDesktopSmall : [900,3],itemsTablet: [600,2],itemsMobile : [320,1],navigation : true,navigationText : ["",""],slideSpeed : 500,pagination : false});var owlProductbrand = jQuery(".inproductaslo");owlProductbrand.owlCarousel({autoplay : true,items : 2,itemsDesktop : [1024,2],itemsDesktopSmall : [900,2],itemsTablet: [600,2],itemsMobile : [320,1],navigation : true,navigationText : ["",""],slideSpeed : 500,pagination : false});}