jQuery.template('product-series', function(jQuery, $item) {var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('<div class="content-container collapsible closed">      <h3 class="content-title accordion-header" data-series-name="');if(typeof(SeriesName)!=='undefined' && (SeriesName)!=null){__.push($.encode((typeof(SeriesName)==='function'?(SeriesName).call($item):(SeriesName))));}__.push('"          data-series-img-alt="');if(typeof(SeriesImageAlt)!=='undefined' && (SeriesImageAlt)!=null){__.push($.encode((typeof(SeriesImageAlt)==='function'?(SeriesImageAlt).call($item):(SeriesImageAlt))));}__.push('" data-series-img-src="');if(typeof(SeriesImageSrc)!=='undefined' && (SeriesImageSrc)!=null){__.push($.encode((typeof(SeriesImageSrc)==='function'?(SeriesImageSrc).call($item):(SeriesImageSrc))));}__.push('"          data-series-edu-copy="');if(typeof(SeriesEducationalCopy)!=='undefined' && (SeriesEducationalCopy)!=null){__.push($.encode((typeof(SeriesEducationalCopy)==='function'?(SeriesEducationalCopy).call($item):(SeriesEducationalCopy))));}__.push('">          <span class="series-title">              ');if(typeof(SeriesName)!=='undefined' && (SeriesName)!=null){__.push($.encode((typeof(SeriesName)==='function'?(SeriesName).call($item):(SeriesName))));}__.push(' (<span class="count">');if(typeof(ProductCount)!=='undefined' && (ProductCount)!=null){__.push($.encode((typeof(ProductCount)==='function'?(ProductCount).call($item):(ProductCount))));}__.push('</span>)              <i class="icon"></i>          </span>      </h3>        <span class="seriesInformation">          <a href="');if(typeof(SeriesMoreInformatonLink)!=='undefined' && (SeriesMoreInformatonLink)!=null){__.push($.encode((typeof(SeriesMoreInformatonLink)==='function'?(SeriesMoreInformatonLink).call($item):(SeriesMoreInformatonLink))));}__.push('" target="');if(typeof(SeriesMoreInformatonLinkTarget)!=='undefined' && (SeriesMoreInformatonLinkTarget)!=null){__.push($.encode((typeof(SeriesMoreInformatonLinkTarget)==='function'?(SeriesMoreInformatonLinkTarget).call($item):(SeriesMoreInformatonLinkTarget))));}__.push('">');if(typeof(SeriesMoreInformatonText)!=='undefined' && (SeriesMoreInformatonText)!=null){__.push($.encode((typeof(SeriesMoreInformatonText)==='function'?(SeriesMoreInformatonText).call($item):(SeriesMoreInformatonText))));}__.push('</a>      </span>        <div class="seriesText">          <span class="seriesInfo">              ');if(typeof(SeriesEducationalCopy)!=='undefined' && (SeriesEducationalCopy)!=null){__.push($.encode((typeof(SeriesEducationalCopy)==='function'?(SeriesEducationalCopy).call($item):(SeriesEducationalCopy))));}__.push('          </span>      </div>        <div class="content-inner product-list">          ');if(typeof(Products)!=='undefined' && (Products)!=null){$.each((typeof(Products)==='function'?(Products).call($item):(Products)),function($index, $value){with(this){__.push('          <div class="product span-3" data-analytics-id="');if(typeof(AnalyticsId)!=='undefined' && (AnalyticsId)!=null){__.push($.encode((typeof(AnalyticsId)==='function'?(AnalyticsId).call($item):(AnalyticsId))));}__.push('" data-pim-id="');if(typeof(PimId)!=='undefined' && (PimId)!=null){__.push($.encode((typeof(PimId)==='function'?(PimId).call($item):(PimId))));}__.push('" data-item-id="');if(typeof(ItemId)!=='undefined' && (ItemId)!=null){__.push($.encode((typeof(ItemId)==='function'?(ItemId).call($item):(ItemId))));}__.push('">              <div class="image">                  <a href="');if(typeof(Url)!=='undefined' && (Url)!=null){__.push($.encode((typeof(Url)==='function'?(Url).call($item):(Url))));}__.push('"><img src="');if(typeof(SeriesImageSrc)!=='undefined' && (SeriesImageSrc)!=null){__.push($.encode((typeof(SeriesImageSrc)==='function'?(SeriesImageSrc).call($item):(SeriesImageSrc))));}__.push('" alt="');if(typeof(SeriesImageAlt)!=='undefined' && (SeriesImageAlt)!=null){__.push($.encode((typeof(SeriesImageAlt)==='function'?(SeriesImageAlt).call($item):(SeriesImageAlt))));}__.push('" /></a>                  ');if((typeof(!IsInStock)!=='undefined' && (!IsInStock)!=null) && (typeof(!IsInStock)==='function'?(!IsInStock).call($item):(!IsInStock))){__.push('                  <div class="no-stock">');if(typeof(ActiveCommerce.App.Localize.text)!=='undefined' && (ActiveCommerce.App.Localize.text)!=null){__.push($.encode(ActiveCommerce.App.Localize.text('Product-Out-Of-Stock')));}__.push('</div>                  ');}__.push('                  ');if((typeof(Id)!=='undefined' && (Id)!=null) && (typeof(Id)==='function'?(Id).call($item):(Id))){__.push('                  <div class="compare">                      <input type="checkbox" name="');if(typeof(Id)!=='undefined' && (Id)!=null){__.push($.encode((typeof(Id)==='function'?(Id).call($item):(Id))));}__.push('" />                      <a class="compare-items" href="#">');if(typeof(ActiveCommerce.App.Localize.text)!=='undefined' && (ActiveCommerce.App.Localize.text)!=null){__.push($.encode(ActiveCommerce.App.Localize.text('Compare-Items')));}__.push('</a>                  </div>                  ');}__.push('              </div>                <a href="');if(typeof(Url)!=='undefined' && (Url)!=null){__.push($.encode((typeof(Url)==='function'?(Url).call($item):(Url))));}__.push('" class="details">                  <span class="name">');if(typeof(Name)!=='undefined' && (Name)!=null){__.push($.encode((typeof(Name)==='function'?(Name).call($item):(Name))));}__.push('</span>                  <!--');if((typeof(Price)!=='undefined' && (Price)!=null) && (typeof(Price)==='function'?(Price).call($item):(Price))){__.push('                  <span class="price">                      ');if((typeof(WasPrice)!=='undefined' && (WasPrice)!=null) && (typeof(WasPrice)==='function'?(WasPrice).call($item):(WasPrice))){__.push('<span class="original">');if(typeof(WasPrice)!=='undefined' && (WasPrice)!=null){__.push($.encode((typeof(WasPrice)==='function'?(WasPrice).call($item):(WasPrice))));}__.push('</span> <span class="current">');if(typeof(Price)!=='undefined' && (Price)!=null){__.push($.encode((typeof(Price)==='function'?(Price).call($item):(Price))));}__.push('</span>');}__.push('                      ');if((typeof(!WasPrice)!=='undefined' && (!WasPrice)!=null) && (typeof(!WasPrice)==='function'?(!WasPrice).call($item):(!WasPrice))){__.push('');if(typeof(Price)!=='undefined' && (Price)!=null){__.push($.encode((typeof(Price)==='function'?(Price).call($item):(Price))));}__.push('');}__.push('                  </span>                  ');}__.push('-->                  <hr />                  <p class="ShortDesc">');if(typeof(ShortDescription)!=='undefined' && (ShortDescription)!=null){__.push($.encode((typeof(ShortDescription)==='function'?(ShortDescription).call($item):(ShortDescription))));}__.push('</p>                    ');if((typeof(AllowCustomerReviews)!=='undefined' && (AllowCustomerReviews)!=null) && (typeof(AllowCustomerReviews)==='function'?(AllowCustomerReviews).call($item):(AllowCustomerReviews))){__.push('                  <div class="js-pr-wrapper">                      <div id="pr-category-');if(typeof(PimId)!=='undefined' && (PimId)!=null){__.push($.encode((typeof(PimId)==='function'?(PimId).call($item):(PimId))));}__.push('" data-id="');if(typeof(PimId)!=='undefined' && (PimId)!=null){__.push($.encode((typeof(PimId)==='function'?(PimId).call($item):(PimId))));}__.push('"></div>                  </div>                  ');}__.push('              </a>                ');if((typeof(QuickLookUrl)!=='undefined' && (QuickLookUrl)!=null) && (typeof(QuickLookUrl)==='function'?(QuickLookUrl).call($item):(QuickLookUrl))){__.push('              <div class="quick-look"><a href="');if(typeof(QuickLookUrl)!=='undefined' && (QuickLookUrl)!=null){__.push($.encode((typeof(QuickLookUrl)==='function'?(QuickLookUrl).call($item):(QuickLookUrl))));}__.push('" class="miller-button lgrey-white bttn bttn-sm bttn-primary">');if(typeof(ActiveCommerce.App.Localize.text)!=='undefined' && (ActiveCommerce.App.Localize.text)!=null){__.push($.encode(ActiveCommerce.App.Localize.text('Quick-Look')));}__.push('</a></div>              ');}__.push('          </div>          ');}});}__.push('      </div>  </div>');}return __;});
jQuery.template('product', function(jQuery, $item) {var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('<div class="product" data-analytics-id="');if(typeof(AnalyticsId)!=='undefined' && (AnalyticsId)!=null){__.push($.encode((typeof(AnalyticsId)==='function'?(AnalyticsId).call($item):(AnalyticsId))));}__.push('" data-pim-id="');if(typeof(PimId)!=='undefined' && (PimId)!=null){__.push($.encode((typeof(PimId)==='function'?(PimId).call($item):(PimId))));}__.push('" data-item-id="');if(typeof(ItemId)!=='undefined' && (ItemId)!=null){__.push($.encode((typeof(ItemId)==='function'?(ItemId).call($item):(ItemId))));}__.push('">      <div class="image">          <a href="');if(typeof(Url)!=='undefined' && (Url)!=null){__.push($.encode((typeof(Url)==='function'?(Url).call($item):(Url))));}__.push('"><img src="');if(typeof(ImageSrc)!=='undefined' && (ImageSrc)!=null){__.push($.encode((typeof(ImageSrc)==='function'?(ImageSrc).call($item):(ImageSrc))));}__.push('" alt="');if(typeof(Name)!=='undefined' && (Name)!=null){__.push($.encode((typeof(Name)==='function'?(Name).call($item):(Name))));}__.push('" /></a>          ');if((typeof(!IsInStock)!=='undefined' && (!IsInStock)!=null) && (typeof(!IsInStock)==='function'?(!IsInStock).call($item):(!IsInStock))){__.push('          <div class="no-stock">');if(typeof(ActiveCommerce.App.Localize.text)!=='undefined' && (ActiveCommerce.App.Localize.text)!=null){__.push($.encode(ActiveCommerce.App.Localize.text('Product-Out-Of-Stock')));}__.push('</div>          ');}__.push('          ');if((typeof(Id)!=='undefined' && (Id)!=null) && (typeof(Id)==='function'?(Id).call($item):(Id))){__.push('          <div class="compare">              <input type="checkbox" name="');if(typeof(Id)!=='undefined' && (Id)!=null){__.push($.encode((typeof(Id)==='function'?(Id).call($item):(Id))));}__.push('" />              <a class="compare-items" href="#">');if(typeof(ActiveCommerce.App.Localize.text)!=='undefined' && (ActiveCommerce.App.Localize.text)!=null){__.push($.encode(ActiveCommerce.App.Localize.text('Compare-Items')));}__.push('</a>          </div>          ');}__.push('      </div>        <a href="');if(typeof(Url)!=='undefined' && (Url)!=null){__.push($.encode((typeof(Url)==='function'?(Url).call($item):(Url))));}__.push('" class="details">          <span class="name">');if(typeof(Name)!=='undefined' && (Name)!=null){__.push($.encode((typeof(Name)==='function'?(Name).call($item):(Name))));}__.push('</span>          <!--');if((typeof(Price)!=='undefined' && (Price)!=null) && (typeof(Price)==='function'?(Price).call($item):(Price))){__.push('          <span class="price">              ');if((typeof(WasPrice)!=='undefined' && (WasPrice)!=null) && (typeof(WasPrice)==='function'?(WasPrice).call($item):(WasPrice))){__.push('<span class="original">');if(typeof(WasPrice)!=='undefined' && (WasPrice)!=null){__.push($.encode((typeof(WasPrice)==='function'?(WasPrice).call($item):(WasPrice))));}__.push('</span> <span class="current">');if(typeof(Price)!=='undefined' && (Price)!=null){__.push($.encode((typeof(Price)==='function'?(Price).call($item):(Price))));}__.push('</span>');}__.push('              ');if((typeof(!WasPrice)!=='undefined' && (!WasPrice)!=null) && (typeof(!WasPrice)==='function'?(!WasPrice).call($item):(!WasPrice))){__.push('');if(typeof(Price)!=='undefined' && (Price)!=null){__.push($.encode((typeof(Price)==='function'?(Price).call($item):(Price))));}__.push('');}__.push('          </span>          ');}__.push('-->          <hr />          <p class="ShortDesc">');if(typeof(ShortDescription)!=='undefined' && (ShortDescription)!=null){__.push($.encode((typeof(ShortDescription)==='function'?(ShortDescription).call($item):(ShortDescription))));}__.push('</p>          ');if((typeof(AllowCustomerReviews)!=='undefined' && (AllowCustomerReviews)!=null) && (typeof(AllowCustomerReviews)==='function'?(AllowCustomerReviews).call($item):(AllowCustomerReviews))){__.push('          <div class="js-pr-wrapper">              <div id="pr-category-');if(typeof(PimId)!=='undefined' && (PimId)!=null){__.push($.encode((typeof(PimId)==='function'?(PimId).call($item):(PimId))));}__.push('" data-id="');if(typeof(PimId)!=='undefined' && (PimId)!=null){__.push($.encode((typeof(PimId)==='function'?(PimId).call($item):(PimId))));}__.push('"></div>          </div>          ');}__.push('      </a>        ');if((typeof(QuickLookUrl)!=='undefined' && (QuickLookUrl)!=null) && (typeof(QuickLookUrl)==='function'?(QuickLookUrl).call($item):(QuickLookUrl))){__.push('      <div class="quick-look"><a href="');if(typeof(QuickLookUrl)!=='undefined' && (QuickLookUrl)!=null){__.push($.encode((typeof(QuickLookUrl)==='function'?(QuickLookUrl).call($item):(QuickLookUrl))));}__.push('" class="miller-button lgrey-white bttn bttn-sm bttn-primary">');if(typeof(ActiveCommerce.App.Localize.text)!=='undefined' && (ActiveCommerce.App.Localize.text)!=null){__.push($.encode(ActiveCommerce.App.Localize.text('Quick-Look')));}__.push('</a></div>      ');}__.push('  </div>');}return __;});