try{Typekit.load()}catch(e){}var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-21527282-1']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s)})();var nav_hover_timer;window.addEvent('domready',function(){var nav_children=[];$$('#arch_nav>li').each(function(el){c=el.getChildren('ul');if(c.length>0){c.each(function(cel){nav_children.include(cel)})}el.addEvents({'mouseover':function(){$$('#arch_nav .hover').each(function(cel){cel.removeClass('hover')});clearTimeout(nav_hover_timer);this.addClass('hover')},'mouseout':function(){$$('#arch_nav .hover').each(function(cel){nav_hover_timer=(function(){this.removeClass('hover')}).delay(500,cel)})}})});s1=$('col_1').getSize();s2=$('col_2').getSize();t=s2.y-63;if(s1.y<t){$('col_1').setStyle('height',t+'px')}$$('#arch_nav > .page_item').each(function(li){if(li.getChildren('.children').length==0){cdiv=new Element('div',{'class':'children'});li.grab(cdiv)}});if(!!$('products_list')){$('products_list').getChildren('li').each(function(li){if(li.getChildren('.children').length>0){if(li.hasClass('current_page_ancestor')||li.hasClass('current_page_item')){stCl='expanded';aTxt='Hide products'}else{stCl='contracted';aTxt='Show products'}li.getChildren('.children').each(function(child){child.addClass(stCl)});a=new Element('a',{'class':'showmore','href':'#','html':aTxt});a.addEvent('click',function(el){el.stop();this.getSiblings('.children').each(function(child){child.toggleClass('expanded');child.toggleClass('contracted');if(child.hasClass('expanded')){aTxt='Hide products'}else{aTxt='Show products'}this.set('text',aTxt)},this)});a.inject(li.getChildren('.children')[0],'before')}})}if(!!$('pricelist')){function expand_pl_tbody(tbody,fade){tbid=tbody.id.replace(/pricelist_/,'');if(tbodies[tbid]==0){return true}tbody.getChildren('tr').each(function(tr){tr.setStyle('display','table-row');if(!tr.hasClass('featured')&&fade){tr.getChildren('td').each(function(td){td.fade('hide');td.fade('in')})}});th=tbody.getChildren('tr.section-header th');if(!!$('showmore_'+tbid)){$('showmore_'+tbid).dispose()}a=new Element('a',{id:'a_'+tbid,href:'#'+tbid,html:'Show fewer '+tbid+' prices'});a.addEvent('click',function(el){el.stop();tbid=this.id.replace(/^a_/,'');Object.each(tbodies,function(v,k){if(v>0&&!!$('pricelist_'+k)){if(k==tbid){contract_pl_tbody($('pricelist_'+k))}}})});span=new Element('span',{"class":'showmore',"id":'showmore_'+tbid});span.grab(a);th.grab(span);alt_stripe_pl_tbody(tbody)}function contract_pl_tbody(tbody,all){tbid=tbody.id.replace(/pricelist_/,'');if(tbodies[tbid]==0){return true}tbody.getChildren('tr').each(function(tr){if(tr.hasClass('price-row')&&!tr.hasClass('featured')){tr.setStyle('display','none')}});th=tbody.getChildren('tr.section-header th');if(!!$('showmore_'+tbid)){$('showmore_'+tbid).dispose()}a=new Element('a',{id:'a_'+tbid,href:'#'+tbid,html:'Show more '+tbid+' prices ('+tbodies[tbid]+')'});a.addEvent('click',function(el){el.stop();tbid=this.id.replace(/^a_/,'');Object.each(tbodies,function(v,k){if(v>0&&!!$('pricelist_'+k)){if(k==tbid){expand_pl_tbody($('pricelist_'+k))}}})});span=new Element('span',{"class":'showmore',"id":'showmore_'+tbid});span.grab(a);th.grab(span);alt_stripe_pl_tbody(tbody)}function alt_stripe_pl_tbody(tbody){i=0;tbody.getChildren('tr').each(function(tr){if(tr.hasClass('price-row')&&tr.getStyle('display')!='none'){tr.removeClass('odd');tr.removeClass('even');tr.addClass((i%2)?'odd':'even');i++}})}var tbodies={};if(window.location.hash){toexp='pricelist_'+window.location.hash.replace(/^#/,'');if(!!($(toexp))){$(toexp).addClass('expanded')}}$$('#pricelist tbody').each(function(tbody){tbid=tbody.id.replace(/pricelist_/,'');tbodies[tbid]=0;tbody.getChildren('tr').each(function(tr){if(tr.hasClass('price-row')&&!tr.hasClass('featured')){tbodies[tbid]++}});if(tbodies[tbid]>0){if(tbody.hasClass('expanded')){expand_pl_tbody(tbody,false)}else{contract_pl_tbody(tbody)}}alt_stripe_pl_tbody(tbody)});$$('#pricelist_nav a').each(function(el){tbid=el.href.replace(/^[^#]*#/,'');if(!!$('pricelist_'+tbid)&&tbodies[tbid]>0){el.addEvent('click',function(el){expand_pl_tbody($('pricelist_'+this.href.replace(/^[^#]*#/,'')),true)})}})}});
