function co(m){var menu=null;var t=document.getElementById(m.cK);if(t!=undefined){menu=new aF(t,m.aq);if(m.aB!=undefined)menu.aB=m.aB;if(m.aY!=undefined)menu.aY=m.aY;if(m.H!=undefined)menu.H=m.H;if(m.ay!=undefined)menu.ay=m.ay;if(m.an!=undefined)menu.an=m.an;if(m.ag!=undefined)menu.ag=m.ag;}return menu;};function X(c){var t=c.t;var B=new v(t,c.ad);if(c.cX!=undefined)B.cX=c.cX;if(c.pause!=undefined)B.pause=c.pause;if(c.aZ!=undefined)B.aZ=c.aZ;if(c.aA!=undefined)B.aA=c.aA;if(c.Q!=undefined)B.Q=c.Q;if(c.aH!=undefined)B.aH=c.aH;if(c.D!=undefined)B.D=c.D;if(c.O!=undefined)B.O=c.O;if(c.R!=undefined)B.R=c.R;if(c.al!=undefined)B.al=c.al;var elements=t.getElementsByTagName("A");for(var i=0;i<elements.length;i++){var f=elements[i];if((f.href.toLowerCase().indexOf("pause")>=0)||(f.href.toLowerCase().indexOf("play")>=0))B.cr(f);if(f.href.toLowerCase().indexOf("previous")>=0)B.bX(f);if(f.href.toLowerCase().indexOf("next")>=0)B.cE(f);}return B;};function apImportScript(url){bK=document.createElement("script");bK.src=url;bK.type="text/javascript";document.getElementsByTagName("head")[0].appendChild(bK);};function dC(){ 
	try 
	{  
		var pageTracker = _gat._getTracker("");
		pageTracker._initData();
		pageTracker._trackPageview();
	}
	catch(err) {}
	 };function dD(){if(ap.w()=="MSIE 6.0")co({cK: "ApDDM",aq:{x: -135,y: -17},ag:"auto"});else co({cK: "ApDDM",aq:{x: -40,y: -17},ag:"auto"});var bJ=document.getElementById("Home_SlideShow");if(bJ!=null)new X({t:bJ,ad:"/featured/SlideShow_Slides.htm",pause:7000});var bg=document.getElementById("Kitchen_SlideShow");if(bg!=null)new X({t:bg,ad:"/portfolio/kitchens_slides.htm",pause:7000});var aV=document.getElementById("Bathroom_SlideShow");if(aV!=null)new X({t:aV,ad:"/portfolio/bathrooms_slides.htm",pause:7000});var aJ=document.getElementById("Commercial_SlideShow");if(aJ!=null)new X({t:aJ,ad:"/portfolio/commercial_slides.htm",pause:7000});var aW=document.getElementById("Flooring_SlideShow");if(aW!=null)new X({t:aW,ad:"/portfolio/flooring_slides.htm",pause:7000});} 
apImportScript("/scripts/ApCore.js");
apImportScript("/scripts/ApDDM.js");
apImportScript("/scripts/ApSlideShow.js");
apImportScript("/scripts/ApAsync.js");
apImportScript("/scripts/ValidateSubmit.js");

//apImportScript("http://www.google-analytics.com/ga.js");
apImportScript("/scripts/ga.js");

 window.onload=function(){setTimeout("dD()",100)};var dX=null;function bZ(){var bo=bY();if(bo=="MSIE 6.0"){bf("/styles/ie6Hax.css");}if(bo=="MSIE 7.0"){bf("/styles/ie7Hax.css");}if(bo=="Safari"){bf("/styles/safariHax.css");}};function bf(url){var head=document.getElementsByTagName("head")[0];var bE=document.createElement("link");bE.setAttribute("rel","stylesheet");bE.setAttribute("type","text/css");bE.setAttribute("href",url);head.appendChild(bE);};function bY(){if(navigator.userAgent.indexOf("MSIE 6.0")> -1){return "MSIE 6.0";}if(navigator.userAgent.indexOf("MSIE 7.0")> -1){return "MSIE 7.0";}if(navigator.userAgent.indexOf("Firefox")> -1){return "Firefox";}if(navigator.userAgent.indexOf("Safari")> -1){return "Safari";}if(navigator.userAgent.indexOf("Opera")> -1){return "Opera";}return "unknown";};bZ();