var product_names={'9500':'Lithi-Tek 9500','8510':'Siloxa-Tek 8510','8505':'Siloxa-Tek 8505','8500':'Siloxa-Tek 8500','5505':'Cryli-Tek 5505','5500':'Cryli-Tek 5500','5105':'Gem-Tek 5105','5100':'Gem-Tek 5100','4500':'Lithi-Tek 4500','3500':'Sila-Tek 3500','770':'Countertop 770','745':'Polyaspartic 745','660':'Countertop 660','645':'Urethane 645','325':'Epoxy 325'};var categories={'applications':{'Basement':[9500,8510,8500],'Concrete_Countertop':[880,770,745,660],'Driveway__Sidewalk':[9500,8510,8505,8500,5505,5500,5105,5100],'Garage__Shop_Floor':[9500,8510,8505,8500,745,645,325],'Patio__Pool_Deck':[8510,8505,8500,5505,5500,5105,5100],'Warehouse__Industrial':[9500,8510,8505,8500,4500,3500,745,645,325]},'substrates':{'Brick':[8500,8505,8510,5100,5105,5500,5505],'Concrete':[325,645,745,660,745,770,880,3500,5500,5505,8500,8505,8510,9500],'Cinderblock':[8500,8510],'Exposed_Aggregate':[8510,8500,8505,5100,5105,5500,5505],'Paver':[8510,8500,8505,5100,5105,5500,5505],'Slate':[8510,8500,8505,5100,5105,5500,5505],'Stone':[8510,8500,8505,5100,5105,5500,5505],'Stucco':[8500],'Stamped_Concrete':[8510,8500,8505,5100,5105,5500,5505]},'chemistry':{'Acrylic':[5500,5505,660],'Epoxy':[325],'Polyaspartic':[745],'Silane__Siloxane':[8510,8500,8505,770],'Silicate':[9500,4500,3500],'Siliconate':[9500],'Silicone':[5100,5105],'Urethane':[645]},'finish':{'Natural':[9500,8510,8505,8500,3500,770],'High_Gloss':[5505,5105,745,645],'Low_Sheen':[5500,5100,660,325]}};$(function(){$('#main_nav_button').css('cursor','pointer');$(document).on('click','#main_nav_button',function(event){event.preventDefault();$(this).toggleClass("open");$('#main_nav > ul').toggleClass("open");$(document.body).toggleClass("clip")});$('#page_nav_open').css('cursor','pointer');$('#page_nav_open').click(function(event){event.preventDefault();$('#page_nav > ul').toggleClass("open")});$('.has_submenu').hover(function(){$('.page_content').addClass("dim")},function(){$('.page_content').removeClass("dim")});$("#nav_all_label").attr("data-original-label",$("#nav_all_label").html());$("#nav_filters input").change(function(ev){if(ev.target.defaultValue=="all"){$("input[name='applications']:checked").prop('checked',!1);$("input[name='substrates']:checked").prop('checked',!1);$("input[name='finish']:checked").prop('checked',!1);$("input[value='any']").prop('checked',!0);$("#nav_all_label").html($("#nav_all_label").attr("data-original-label"));reset_nav_filters()}else{$('#nav_product_list a').addClass("choice");$("input[name='all']:checked").prop('checked',!1);$("#nav_all_label").html($("#nav_all_label").attr("data-original-label")+" / Reset");if($(window).width()<1100){apply_nav_filters()}else{$('#filter_button > input').removeClass("dim");$('#filter_button > input').addClass("pulse")}}
ga('send','event',{eventCategory:'NavFilters',eventAction:'click',eventLabel:ev.target.defaultValue})});$("#filter_button > input").click(function(){apply_nav_filters()});$(".scrollable").niceScroll({cursorcolor:"#00F",autohidemode:!1,railalign:'left',railvalign:'bottom',horizrailenabled:!1,cursorcolor:"rgba(0,0,0,0.3)",cursorwidth:'20px',cursorborder:'0px solid #000',cursorborderradius:0});thumb='
';$('.nicescroll-rails div').html(thumb);$("#ascrail2000").appendTo("#scrollable1");$("#ascrail2001").appendTo("#scrollable2");$('Show Filters
').appendTo('.nav-menu-products .menu_container');$('#show_filters').click(function(){$('.nav-menu-products .menu_container').toggleClass("open");$(this).html($('.nav-menu-products .menu_container').hasClass("open")?"Apply Filters":"Show Filters");$('#nav_products .submenu').toggleClass('dimmed')});$('.has_submenu > .a').click(function(ev){console.log((this).parent().id+", "+ev);ev.preventDefault();if($(window).width()<1100){close=$(this).parent().hasClass("hover")?!0:!1;$("#main_nav > ul > li").removeClass("hover");if(!close){$(document.body).addClass("clip")}else $(document.body).removeClass("clip");if(!close)$(this).parent().addClass("hover")}else{$("#main_nav > ul > li").removeClass("hover");$(document.body).removeClass("clip")}});$('.nav_click .submenu').append('Close
');$('.nav_close').click(function(){$('.has_submenu').removeClass("hover");$(document.body).removeClass("clip")});$(".submenu").scroll(function(){$(".submenu .text-section").css("margin-top",$(this).scrollTop()+"px");$(".submenu .nav_close").css("margin-top",$(this).scrollTop()+"px")});handle_search()});function handle_search(){if($('td.gsc-search-button').length){$('td.gsc-search-button').hover(function(){$('td.gsc-input').addClass("active")},function(){$('td.gsc-input').removeClass("active")});$('td.gsc-search-button').click(function(){$('td.gsc-input').removeClass("active")})}else setTimeout('handle_search();',100)}
function apply_nav_filters(){nav_product_filter_new($("input[name='applications']:checked").val(),"applications");nav_product_filter_new($("input[name='substrates']:checked").val(),"substrates");nav_product_filter_new($("input[name='finish']:checked").val(),"finish");if($("input[value='any']:checked").length>2){$('#nav_filters_reset').html('')}else $('#nav_filters_reset').html('Reset Filters');$('#filter_button > input').removeClass("pulse");$('#filter_button > input').addClass("dim");if($('#nav_product_list a.choice').length<1){$('#nav_product_error').html('Sorry, there are no products matching the current filter settings.
Would you like to reset the filters?
');$('#nav_product_error').addClass("error")}else{$('#nav_product_error').html('');$('#nav_product_error').removeClass("error")}}
function nav_product_filter_new(choice,list){if(choice){ga('send','event',{eventCategory:'NavFiltersApply',eventAction:'click',eventLabel:list+" "+choice});if(choice!="any"){$('#nav_product_list a').removeClass("hilite");$('#nav_product_list a').removeClass("hilite2");$('#nav_product_list a.choice').each(function(){$(this).removeClass("choice");for(var i=0;i"")$(this).attr("href",$(this).attr("data-original-href"))});$('#nav_product_list a.choice').removeClass("dim");$('#nav_product_list a.dim').each(function(){$(this).attr("href","javascript:void(0);")})}}
function reset_nav_filters(){ga('send','event',{eventCategory:'NavFiltersApply',eventAction:'click',eventLabel:"all"});$('#nav_product_list a').addClass("choice");$('#nav_product_list a').removeClass("dim");$('#nav_product_list a').removeClass("hilite2");$('#nav_product_list a').removeClass("hilite");$('#nav_product_list a.choice').each(function(){if($(this).attr("data-original-href")>"")$(this).attr("href",$(this).attr("data-original-href"))});$(".menu_tier input").parent().removeClass("dim");$('#nav_product_error').html('');$('#nav_product_error').removeClass("error");$("input[value='any']").prop('checked',!0);$('#nav_filters_reset').html('')}
function nav_product_list(list){if(!$('#nmt_'+list+'_list').hasClass("active")){$('#nav_menu_tiers ul.tier2').removeClass("active");$('#nav_menu_tiers > ul > li').removeClass("active");$('#nmt_'+list).addClass("active");var html='';html+='Any '+$('#nmt_'+list).attr("data-original")+'';for(var key in categories[list]){if(!categories[list].hasOwnProperty(key))continue;html+=''+key.replace("__","/").replace("_"," ")}
$('#nmt_'+list+'_list').html(html);$('#nmt_'+list+'_list').addClass("active")}else $('#nmt_'+list+'_list').removeClass("active")};(function(root,factory){if(typeof define==="function"&&define.amd){define(factory)}else if(typeof exports==="object"){module.exports=factory()}else{root.ResizeSensor=factory()}}(this,function(){var requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(fn){return window.setTimeout(fn,20)};function forEachElement(elements,callback){var elementsType=Object.prototype.toString.call(elements);var isCollectionTyped=('[object Array]'===elementsType||('[object NodeList]'===elementsType)||('[object HTMLCollection]'===elementsType)||('undefined'!==typeof jQuery&&elements instanceof jQuery)||('undefined'!==typeof Elements&&elements instanceof Elements));var i=0,j=elements.length;if(isCollectionTyped){for(;i'+''+''+'';element.appendChild(element.resizeSensor);if(getComputedStyle(element,'position')=='static'){element.style.position='relative'}
var expand=element.resizeSensor.childNodes[0];var expandChild=expand.childNodes[0];var shrink=element.resizeSensor.childNodes[1];var reset=function(){expandChild.style.width=100000+'px';expandChild.style.height=100000+'px';expand.scrollLeft=100000;expand.scrollTop=100000;shrink.scrollLeft=100000;shrink.scrollTop=100000};reset();var dirty=!1;var dirtyChecking=function(){if(!element.resizedAttached)return;if(dirty){element.resizedAttached.call();dirty=!1}
requestAnimationFrame(dirtyChecking)};requestAnimationFrame(dirtyChecking);var lastWidth,lastHeight;var cachedWidth,cachedHeight;var onScroll=function(){if((cachedWidth=element.offsetWidth)!=lastWidth||(cachedHeight=element.offsetHeight)!=lastHeight){dirty=!0;lastWidth=cachedWidth;lastHeight=cachedHeight}
reset()};var addEvent=function(el,name,cb){if(el.attachEvent){el.attachEvent('on'+name,cb)}else{el.addEventListener(name,cb)}};addEvent(expand,'scroll',onScroll);addEvent(shrink,'scroll',onScroll)}
forEachElement(element,function(elem){attachResizeEvent(elem,callback)});this.detach=function(ev){ResizeSensor.detach(element,ev)}};ResizeSensor.detach=function(element,ev){forEachElement(element,function(elem){if(elem.resizedAttached&&typeof ev=="function"){elem.resizedAttached.remove(ev);if(elem.resizedAttached.length())return}
if(elem.resizeSensor){if(elem.contains(elem.resizeSensor)){elem.removeChild(elem.resizeSensor)}
delete elem.resizeSensor;delete elem.resizedAttached}})};return ResizeSensor}))