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('">      <div class="image">          ');if((typeof(ImageSrc)!=='undefined' && (ImageSrc)!=null) && (typeof(ImageSrc)==='function'?(ImageSrc).call($item):(ImageSrc))){__.push('          <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>          ');}__.push('          ');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('   </a>   ');if((typeof(Colors && Colors.length > 1)!=='undefined' && (Colors && Colors.length > 1)!=null) && (typeof(Colors && Colors.length > 1)==='function'?(Colors && Colors.length > 1).call($item):(Colors && Colors.length > 1))){__.push('   <ul class="swatches">    ');if(typeof(Colors)!=='undefined' && (Colors)!=null){$.each((typeof(Colors)==='function'?(Colors).call($item):(Colors)),function($index, $value){with(this){__.push('    <li');if((typeof(Selected)!=='undefined' && (Selected)!=null) && (typeof(Selected)==='function'?(Selected).call($item):(Selected))){__.push(' class="selected"');}__.push('><a title="');if(typeof(Name)!=='undefined' && (Name)!=null){__.push($.encode((typeof(Name)==='function'?(Name).call($item):(Name))));}__.push('" style="border-color: ');if(typeof(Border)!=='undefined' && (Border)!=null){__.push($.encode((typeof(Border)==='function'?(Border).call($item):(Border))));}__.push(';" href="');if(typeof(ImageSrc)!=='undefined' && (ImageSrc)!=null){__.push($.encode((typeof(ImageSrc)==='function'?(ImageSrc).call($item):(ImageSrc))));}__.push('" data-url="');if(typeof(Url)!=='undefined' && (Url)!=null){__.push($.encode((typeof(Url)==='function'?(Url).call($item):(Url))));}__.push('" data-quick-look-url="');if(typeof(QuickLookUrl)!=='undefined' && (QuickLookUrl)!=null){__.push($.encode((typeof(QuickLookUrl)==='function'?(QuickLookUrl).call($item):(QuickLookUrl))));}__.push('"></a></li>    ');}});}__.push('   </ul>   ');}__.push('   ');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="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 __;});
jQuery.template('tooltip', function(jQuery, $item) {var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('<div class="tooltip">   <span class="arrow"></span>   <h2>');if(typeof(title)!=='undefined' && (title)!=null){__.push($.encode((typeof(title)==='function'?(title).call($item):(title))));}__.push('</h2>   <p>');if(typeof(copy)!=='undefined' && (copy)!=null){__.push($.encode((typeof(copy)==='function'?(copy).call($item):(copy))));}__.push('</p>  </div>');}return __;});