var $mw=jQuery.noConflict();$mw(function(){$mw(".tabs").tabSwitcher();$mw("#main-nav").mainNav({showDelay:200,hideDelay:200,fadeSpeed:200});$mw("#brands").rotatingSlides({fadeToSlide:false,targetElms:"ul",Height:"50px",dwellTime:7000,speedIn:1500,speedOut:1500});$mw("div.basket").createBasket();RecentlyViewed.GetRecentlyViewedItemsAndBuildHtml();$mw("a.popup").popupWindow();$mw("#searchtype").each(function(){var b=$mw(this),d=window.location.href,c=d.slice(d.indexOf("searchtype")).split("=");if(typeof c[1]!="undefined"){c=c[1].split("&");targetedOption=b.find("option[value="+c[0]+"]").attr("selected","selected")}});try{oHandler=$mw(".selectStyle").msDropDown().data("dd");oHandler.visible(true);$mw("#ver").html($mw.msDropDown.version)}catch(a){}$mw("#searchstring").each(function(){var e,d="I'm searching for...",b=window.location.href,c=b.slice(b.indexOf("searchstring")).split("=");if(typeof c[1]!="undefined"){c=c[1].split("&");e=decodeURIComponent(c[0].replace(/\+/g," "))}else{e=d}$mw(this).val(e);$mw(this).focus(function(){if($mw(this).val()==e&&e==d){$mw(this).val("")}}).blur(function(){if($mw(this).val()==""){$mw(this).val(e)}})})});$mw(window).load(function(){$mw("#feature").rotatingSlides({targetElms:"li",navigation:true,Height:"auto",dwellTime:4500,speedIn:1000,speedOut:1000});$mw(".carousel").rotatingSlides({targetElms:"li",navigation:true,Height:"auto",dwellTime:4500,speedIn:1000,speedOut:1000})});$mw.fn.mainNav=function(a){var b={classPrefix:"nav-",navID:"#main-nav",activeLink:"active",showDelay:1000,hideDelay:800,fadeSpeed:100,firstCharCount:8,lastCharCount:5};var a=$mw.extend(b,a);$mw(b.navID+" li."+b.classPrefix+"parent:first").addClass("first");$mw(b.navID+" li."+b.classPrefix+"parent:last").addClass("last");theBoundary=parseInt($mw(b.navID).width());$mw("."+b.classPrefix+"section-container").each(function(){var j=$mw(this),f=j.find("."+b.classPrefix+"section-block");f.first().addClass("first");f.last().addClass("last");var e=0,d=f.length,h=0;f.each(function(){var o=$mw(this).find(".nav-col"),n=0;o.last().addClass("last");o.each(function(){n+=parseInt($mw(this).outerWidth(true))});$mw(this).width(n);e+=parseInt($mw(this).outerWidth(true));var m=$mw(this).height();if(m>h){h=m}});f.height(h);var c=j.parent().outerWidth(true)/2;j.css({width:e});var e=j.outerWidth(true);j.css({left:c-(e/2),visibility:"visible"});var l=j.offset().left,g=$mw(b.navID).offset().left,k=(l+e)-(g+theBoundary);leftPos=g-l;if(l+e>g+theBoundary){j.css({marginLeft:-k+"px"})}else{if(l<g){j.css({marginLeft:leftPos+"px"})}}j.hide()});$mw("."+b.classPrefix+"parent").each(function(){var c=$mw(this),d=0,e=0;if(c.find("a."+b.classPrefix+"title").hasClass("selected")){theSelectedTab=$mw(this).find(".selected").text().replace(/&/g,"and"),theSelectedTab=theSelectedTab.replace(/ /g,"-").toLowerCase();$mw(this).find(".selected").addClass(theSelectedTab)}c.hover(function(){if(typeof theSelectedTab!="undefined"){$mw("."+theSelectedTab).removeClass("selected")}if(c.find("a:not(.active)")){clearTimeout(d)}e=window.setTimeout(function(){c.find("."+b.classPrefix+"section-container").fadeIn(b.fadeSpeed)},b.showDelay);$mw(this).find("a").addClass(b.activeLink);$mw.ie6HideShowSelect("hidden")},function(){if(typeof theSelectedTab!="undefined"){$mw("."+theSelectedTab).addClass("selected")}clearTimeout(e);d=window.setTimeout(function(){c.find("."+b.classPrefix+"section-container").hide()},b.hideDelay);$mw(this).find("a").removeClass(b.activeLink);$mw.ie6HideShowSelect("visible")})})};$mw.fn.rotatingSlides=function(a){var b={targetElms:"li",Height:"auto",fadeToSlide:true,duration:5000,speedIn:1000,speedOut:1000,navigation:false};var a=$mw.extend(b,a);this.each(function(){var j=$mw(this),g=j.find(".parent").parent(),k=j.find(b.targetElms+".parent"),d,l=0,e,m=function(){if(b.fadeToSlide==false){k.eq(l).removeClass("active").fadeOut(b.speedOut,function(){l=(l+1)%k.length;k.eq(l).fadeIn(b.speedIn).addClass("active")})}else{k.eq(l).removeClass("active").fadeOut(b.speedOut);l=(l+1)%k.length;k.eq(l).fadeIn(b.speedIn).addClass("active")}if(b.navigation==true){h()}};function h(){var n=j.find(".parent.active").index();d.removeClass("active");j.find(".slide-link:eq("+n+")").addClass("active")}if(b.navigation==true&&k.length>1){j.prepend('<ul class="slide-nav">');for(var c=1;k.length>c-1;c++){j.find(".slide-nav").append('<li><a class="slide-link" href="#" rel="'+c+'">'+c+"</a></li>")}}d=j.find(".slide-link");if(b.Height=="auto"){var f=0;k.each(function(){if($mw(this).height()>f){f=$mw(this).height()}});b.Height=f}j.css({height:b.Height,overflow:"hidden",position:"relative"});k.css({height:b.Height,position:"absolute"});d.click(function(o){o.preventDefault();if(!$mw(this).hasClass("active")){d.removeClass("active");$mw(this).addClass("active");var n=$mw(this).attr("rel")-1;j.find(b.targetElms+".parent.active").hide().removeClass("active");j.find(b.targetElms+".parent:eq("+n+")").show().addClass("active");h()}});k.hide();k.eq(0).show().addClass("active");d.eq(0).addClass("active");if(k.length>1){e=setInterval(m,b.dwellTime)}j.hover(function(){clearInterval(e)},function(){if(k.length>1){e=setInterval(m,b.dwellTime)}})})};$mw.fn.tabSwitcher=function(){this.each(function(){var a=$mw(this),c=a.find(".tab-content"),d=a.find(".tab-nav li");var b="";for(i=0;i<6;i++){if(i>1){b="s"}a.find(".truncate-"+i+"-line"+b).each(function(){doLineTruncate($mw(this),i)})}c.hide();d.eq(0).addClass("active");c.eq(0).show();d.click(function(){d.removeClass("active");$mw(this).addClass("active");c.hide();var e=$mw(this).find("a").attr("href");$mw(e).show();return false})})};$mw.fn.popupWindow=function(){this.each(function(){var a=$mw(this),c=a.attr("href"),e=a.val(),d="640",b="480";a.click(function(){window.open(c,e,"width="+d+"px, height="+b+"px");return false})})};$mw.CurrencyCookie="PlayCurrency3";$mw.fn.createBasket=function(b){var a={BasketCookie:"PlayBasket",BasketSummaryCookie:"BasketSummary",buyButtonDisabled:false,showBasketConfirmation:true,loadingSpinner:'<img src="images/loading.gif" alt="loading" />',ScrollToTopSpeed:1000,PauseToShowBasket:700,BuyButtonSelect:'a[addtobasket="true"]',BasketPopup:"#basket-popup",BasketPopupShowTime:5000,BasketPopupFadeOutTime:800,BasketHtmlFragmentUrl:"/home/home/0-/basket.html",AjaxLoadingImage:"ajaxLoadingImage",ReplaceBuyButton:'<a href="#" class="buy_button jsBuyButton">BUY</a>',InitialiseBasket:".initialiseBasketJS",InputButtonSubmit:"input#btnSubmit",JsBuyButton:".jsBuyButton",EmptyBasket:"empty-basket",BasketPageLink:"div.basket-actions"};var b=$mw.extend(a,b);this.each(function(){var J=new B();function B(){}function y(){}function I(U,T,V,W){for(basketItemCounter=0;basketItemCounter<U.Items.length;basketItemCounter++){if(U.Items[basketItemCounter].ProductId==T&&U.Items[basketItemCounter].PromotionId==V&&U.Items[basketItemCounter].ListingId==W){U.Items[basketItemCounter].Quantity++;return}}U.Items.push(m(T,V,W,1,0,0));$mw.SetCookie(b.BasketCookie,P(U.Items))}function P(V){var U="";var T="";for(basketItemCounter=0;basketItemCounter<V.length;basketItemCounter++){U+=H(V[basketItemCounter],T);T="##"}return U}function H(V,W){var T=W;var U="@@";T+=V.ProductId;T+=U;T+=V.PromotionId;T+=U;T+=V.ListingId;T+=U;T+=V.Quantity;T+=U;T+=V.UnitPrice;T+=U;T+=V.OriginalUnitPrice;return T}function O(T){var U=[];if(T!=null){var V=T.split("##");for(basketItemCounter=0;basketItemCounter<V.length;basketItemCounter++){if(V[basketItemCounter]!=""){U.push(r(V[basketItemCounter]))}}}return U}function r(U){var T=U.split("@@");return m(T[0],T[1],T[2],T[3],T[4],T[5])}function m(Y,Z,V,U,X,T){var W=new y();W.ProductId=Y;W.PromotionId=Z;W.ListingId=V;W.Quantity=U;W.UnitPrice=X;W.OriginalUnitPrice=T;return W}function f(){var T=$mw.GetCookie(b.BasketSummaryCookie);var U=[];if(T!=null&&T!=undefined){U=T.split("@@");if(U[1]=="0"){U[0]=$mw.GetCurrencyCode($mw.GetCookie($mw.CurrencyCookie))}}else{U[0]=$mw.GetCurrencyCode($mw.GetCookie($mw.CurrencyCookie));U[1]="0";U[2]="0.00"}$mw(".basket").load(b.BasketHtmlFragmentUrl,function(){if(U[1]!="0"&&$mw.GetCurrencyCode($mw.GetCookie($mw.CurrencyCookie))!=U[0]){S()}else{b.showBasketConfirmation=false;w(U[1],$mw.GetCurrencySymbol(U[0]),U[2],false)}})}$mw(b.BuyButtonSelect).attr("href","#").click(function(){var T=this;if(T.getAttribute("ProductId")>0){if(b.buyButtonDisabled){return false}b.buyButtonDisabled=true;setTimeout(function(){b.buyButtonDisabled=false},500);b.showBasketConfirmation=true;var V=$mw(window).scrollTop()>0?b.PauseToShowBasket:0;var U=1;$mw("html, body").animate({scrollTop:0},b.ScrollToTopSpeed,function(){if(U==1){setTimeout(function(){L(T.getAttribute("ProductId"),T.getAttribute("PromotionId"),T.getAttribute("ListingId"))},V);U++}})}return false});function S(){b.showBasketConfirmation=false;L(0,0,0)}function L(V,T,U){var W={};W.ListingId=U;W.Id=V;N.push(W);x();if(V!=0){I(J,V,T,U)}s()}function x(){if(b.showBasketConfirmation){o()}J.Items=O($mw.GetCookie(b.BasketCookie))}var e=0;var u=false;var K=false;var l=false;function s(){e++;u=false;setTimeout(function(){Q(e)},15000);$mw.getJSON(validatedBasketSerivceUrl,{basket:JSON.stringify(c(J))},(function(T){return function(U){d(U,T)}})(e))}function Q(T){if(e==T&&u==false){A(false,true)}}function c(T){var V=new n();V.Currency=$mw.GetCurrencyCode($mw.GetCookie($mw.CurrencyCookie));var W=[];for(basketItemCounter=0;basketItemCounter<T.Items.length;basketItemCounter++){W.push(U(T.Items[basketItemCounter]))}V.Products=W;return V;function U(Y){var X=new q();X.ProductId=Y.ProductId;X.PromotionId=Y.PromotionId;X.ListingId=Y.ListingId;X.Quantity=Y.Quantity;return X}}function d(T,Y){u=true;if(Y!=e){return}try{var W="";var U="";for(addedProductsCounter=0;addedProductsCounter<N.length;addedProductsCounter++){W=W+U+N[addedProductsCounter].Id;U=","}if(W!="0"){p(W)}t();F(T.Products);$mw.SetCookie(b.BasketCookie,P(J.Items));$mw.SetCookie(b.BasketSummaryCookie,T.Currency+"@@"+T.TotalQuantity+"@@"+T.TotalPrice);for(addedProductsCounter=0;addedProductsCounter<N.length;addedProductsCounter++){for(basketItemCounter=0;basketItemCounter<J.Items.length;basketItemCounter++){if(N[addedProductsCounter].Id==J.Items[basketItemCounter].ProductId&&N[addedProductsCounter].ListingId==J.Items[basketItemCounter].ListingId){N[addedProductsCounter].Price=J.Items[basketItemCounter].OriginalUnitPrice;break}}}var V=String(T.TotalPrice).split(".");w(T.TotalQuantity,$mw.GetCurrencySymbol(T.Currency),T.TotalPrice,z(T.Products))}catch(X){A(false,true)}}function z(T){for(basketProductCounter=0;basketProductCounter<T.length;basketProductCounter++){if(T[basketProductCounter].Error!=null){if(T[basketProductCounter].Error.Level=="Error"&&T[basketProductCounter].Error.Type!="ItemNotAvailableInSpecifiedCurrency"){return true}}}return false}function F(T){for(productCounter=0;productCounter<T.length;productCounter++){var U=T[productCounter];for(basketItemCounter=0;basketItemCounter<J.Items.length;basketItemCounter++){var V=J.Items[basketItemCounter];if(U.ProductId==V.ProductId&&U.PromotionId==V.PromotionId&&U.ListingId==V.ListingId){V.UnitPrice=U.UnitPrice;V.OriginalUnitPrice=U.OriginalUnitPrice;break}}}}function w(Z,U,W,V){var T=$mw("a.basket-summary");var aa=T.find("span");Z>0?T.removeClass(b.EmptyBasket):T.addClass(b.EmptyBasket);aa.eq(0).html(Z+" item"+((Z!=1)?"s":""));aa.eq(1).html(U);var Y=String(W).split(".");aa.eq(2).html(Y[0]);aa.eq(3).html(E(Y[1],"0",2));var X=window.location.href.match(/ShoppingBasket.html/g);if(X){$mw(b.BasketPageLink).remove()}if(b.showBasketConfirmation){A(V,false)}else{b.showBasketConfirmation=true}}function E(V,U,T){if(V==undefined){V=""}while(V.length<T){V=V+U}return V}var g=false;function o(){g=false;$mw.ie6HideShowSelect("hidden");$mw(b.BasketPopup).show();$mw("div.basket-message").toggleClass(b.AjaxLoadingImage,true);$mw("div.basket-message").find("p").hide()}function A(U,W){g=true;var T=$mw("div.basket-message");var V=T.find("p");V.hide();T.toggleClass(b.AjaxLoadingImage,false);if(!U&&!W){V.eq(0).show();ShowPromo("")}if(U){V.eq(0).show();V.eq(1).show();ShowPromo("")}if(W){V.eq(2).show()}T.find("p:visible:last").removeClass("underline");setTimeout(function(){if(g){$mw(b.BasketPopup).fadeOut(b.BasketPopupFadeOutTime);T.toggleClass(b.AjaxLoadingImage,true);$mw.ie6HideShowSelect("visible")}},b.BasketPopupShowTime)}if($mw(b.InitialiseBasket).length!=0){var R=$mw(b.InitialiseBasket);R.find(b.InputButtonSubmit).replaceWith(b.ReplaceBuyButton);var C=R.find(b.JsBuyButton);C.click(function(){var U=R.find("input:checked"),T=R.find("input.bundleProduct"),V=T.eq(0).attr("promotionId");if(U.length>0){j(U,0)}else{if(T.length>0){j(T,V)}}return false})}function j(U,T){var W=$mw(window).scrollTop()>0?b.PauseToShowBasket:0;var V=1;$mw("html, body").animate({scrollTop:0},b.ScrollToTopSpeed,function(){if(V==1){setTimeout(function(){x();U.each(function(){var X={};X.ListingId=0;X.Id=$mw(this).val();N.push(X);I(J,$mw(this).val(),T,0)});s()},W);V++}})}function n(){}function q(){}var N=[];var G=$mw.GetCurrencyCode($mw.GetCookie($mw.CurrencyCookie));var k=G=="GBP"?"EUR":"GBP";function p(T){K=true;$mw.getJSON(productServiceUrl+T+"?callback=?",{currency:k},function(U){v(U)})}function v(T){for(addedProductsCounter=0;addedProductsCounter<N.length;addedProductsCounter++){for(dataCounter=0;dataCounter<T.length;dataCounter++){if(N[addedProductsCounter].Id==T[dataCounter].Id){N[addedProductsCounter].Title=T[dataCounter].Title;N[addedProductsCounter].ParentId=T[dataCounter].ParentId;N[addedProductsCounter].Quantity=1;if(N[addedProductsCounter].ListingId==0){N[addedProductsCounter].StockMessage=T[dataCounter].StockStatus+" | "+T[dataCounter].StockAvailability;N[addedProductsCounter].OtherCurrencyPrice=T[dataCounter].Price}break}}}K=false;h()}function t(){var T="";var U="";for(addedProductsCounter=0;addedProductsCounter<N.length;addedProductsCounter++){if(N[addedProductsCounter].ListingId!=0){T=T+U+N[addedProductsCounter].ListingId;U=","}}if(T!=""){l=true;$mw.getJSON(listingServiceUrl+T+"?callback=?",{currency:k},function(V){D(V)})}}function D(T){for(addedProductsCounter=0;addedProductsCounter<N.length;addedProductsCounter++){if(N[addedProductsCounter].ListingId>0){for(dataCounter=0;dataCounter<T.length;dataCounter++){if(N[addedProductsCounter].ListingId==T[dataCounter].Id){N[addedProductsCounter].OtherCurrencyPrice=T[dataCounter].Price;N[addedProductsCounter].StockMessage="Available | Sellers usually dispatch within 1-5 working days";break}}}}l=false;h()}function h(){if(l==true||K==true){return}var Y="";var T="";var V="";var W="";var ab="";var aa="";var X="";var U="";var Z="";for(addedProductsCounter=0;addedProductsCounter<N.length;addedProductsCounter++){Y=Y+Z+M(N[addedProductsCounter].Title,60);T=T+Z+N[addedProductsCounter].Id;V=V+Z+N[addedProductsCounter].ParentId;W=W+Z+N[addedProductsCounter].Quantity;ab=ab+Z+M(N[addedProductsCounter].StockMessage,64);if(G=="GBP"){X=X+Z+N[addedProductsCounter].OtherCurrencyPrice;U=U+Z+N[addedProductsCounter].Price}else{X=X+Z+N[addedProductsCounter].Price;U=U+Z+N[addedProductsCounter].OtherCurrencyPrice}Z=";"}var aa=G;N=[];WebTrendsAddToBasketCall(Y,T,V,W,ab,aa,X,U)}function M(T,U){if(T==undefined){return""}if(T.length>U){return T.substring(0,U)}return T}f()})};$mw.GetCookie=function(e){var c=document.cookie;var a=e+"=";var d=c.indexOf("; "+a);if(d==-1){d=c.indexOf(a);if(d!=0){return null}}else{d+=2}var b=document.cookie.indexOf(";",d);if(b==-1){b=c.length}return unescape(c.substring(d+a.length,b))};$mw.SetCookie=function(a,b){document.cookie=a+"="+escape(b)+";path=/"};$mw.GetCurrencyCode=function(a){if(a=="EUR"||a=="258"){return"EUR"}return"GBP"};$mw.GetCurrencySymbol=function(a){if(a=="EUR"||a=="258"){return"&#8364;"}return"&#163;"};$mw.ie6HideShowSelect=function(a){if($mw.browser.msie&&$mw.browser.version=="6.0"){$mw("select").css({visibility:a})}};var RecentlyViewed={options:{numberOfProductsToStoreInCookie:3,numberOfProductsToShowInRecentlyViewedPanel:3,RecentlyViewedCookie:"RecentlyViewed",RecentlyViewedProductIdsCookie:"RecentlyViewedProductIds",RecentlyViewedItemsHtmlFragmentUrl:"/home/home/0-/recentlyvieweditems.html",rvListItems:"ol.recentlyViewedList li",rvContainer:"div#RecentlyViewedItems"},AddToRecentlyViewedItems:function(h,c,e,b,j,a,g,f){var d=RecentlyViewed.AddToRecentlyViewedCookie(h,c,e,b,j,a,g,f);RecentlyViewed.AddToRecentlyViewedProductIdsCookie(g);RecentlyViewed.GetRecentlyViewedItemsAndBuildHtml(d)},AddToRecentlyViewedCookie:function(k,c,f,b,l,a,j,g){var d=RecentlyViewed.GetRecentlyViewedItems({PageUrl:k,ImageUrl:c,Title:f,Price:b,EuroPrice:l,Region:a,ProductId:j,PlayTrade:g});var e="";var h=0;for(itemCounter=0;itemCounter<d.length;itemCounter++){if(e!=""){e+="##"}e+=d[itemCounter].PageUrl;e+="@@";e+=d[itemCounter].ImageUrl;e+="@@";e+=d[itemCounter].Title;e+="@@";e+=d[itemCounter].Price;e+="@@";e+=d[itemCounter].EuroPrice;e+="@@";e+=d[itemCounter].Region;e+="@@";e+=d[itemCounter].ProductId;e+="@@";e+=d[itemCounter].PlayTrade;h++;if(h==RecentlyViewed.options.numberOfProductsToStoreInCookie){break}}$mw.SetCookie(RecentlyViewed.options.RecentlyViewedCookie,e);return d},AddToRecentlyViewedProductIdsCookie:function(b){var c=$mw.GetCookie(RecentlyViewed.options.RecentlyViewedProductIdsCookie);if(c==null&&c==undefined){$mw.SetCookie(RecentlyViewed.options.RecentlyViewedProductIdsCookie,b);return}var d=[];d.push(b);var f=c.split("@@");for(cookieItemCounter=0;cookieItemCounter<f.length;cookieItemCounter++){var a=true;for(productIdCounter=0;productIdCounter<d.length;productIdCounter++){if(d[productIdCounter]==f[cookieItemCounter]){a=false;break}}if(a){d.push(f[cookieItemCounter])}}var e="";for(productIdCounter=0;productIdCounter<d.length;productIdCounter++){e+=d[productIdCounter];e+="@@"}$mw.SetCookie(RecentlyViewed.options.RecentlyViewedProductIdsCookie,e)},GetRecentlyViewedItems:function(c){var e=[];if(c!=undefined&&c!=null){e.push(c)}var d=$mw.GetCookie(RecentlyViewed.options.RecentlyViewedCookie);if(d==null||d==undefined){return e}var g=d.split("##");if(!g.length>0){return}var a=0;for(cookieItemCounter=0;cookieItemCounter<g.length;cookieItemCounter++){var f=g[cookieItemCounter].split("@@");var b=true;for(itemCounter=0;itemCounter<e.length;itemCounter++){if(f[6]==e[itemCounter].ProductId){b=false;break}}if(b){e.push({PageUrl:f[0],ImageUrl:f[1],Title:f[2],Price:f[3],EuroPrice:f[4],Region:f[5],ProductId:f[6],PlayTrade:f[7]})}}return e},GetRecentlyViewedItemsAndBuildHtml:function(c){if(c==null||c==undefined){c=RecentlyViewed.GetRecentlyViewedItems()}var b=$mw.GetCookie($mw.CurrencyCookie);var a=$mw(RecentlyViewed.options.rvContainer);a.children().remove();if(c.length>0){a.load(RecentlyViewed.options.RecentlyViewedItemsHtmlFragmentUrl,function(){RecentlyViewed.PopulateRecentlyViewedItems(c,RecentlyViewed.options.numberOfProductsToShowInRecentlyViewedPanel,b)})}},PopulateRecentlyViewedItems:function(f,a,c){var d="src='"+imagesSourceUrl+"proxy/Default_85x85_1.gif'";var e=$mw(RecentlyViewed.options.rvListItems);var b=0;for(itemCounter=0;itemCounter<f.length;itemCounter++){if(b==a){break}var g=f[itemCounter];e.eq(itemCounter).find("a").attr("href",g.PageUrl);e.eq(itemCounter).find("a img").attr({src:g.ImageUrl,alt:g.Title,title:g.Title,onerror:d});e.eq(itemCounter).find("p a").attr("href",g.PageUrl).html(g.Title);b++}e.find("p a").textTruncate(33);for(liCounter=f.length;liCounter<e.length;liCounter++){e.eq(liCounter).remove()}}};function ShowPromo(a){var b=jQuery("div#PromoDetails");if(!b.hasClass("active")){b.show().toggleClass("active");return false}if(a.length>0){window.location.href=a}};
