document.title='Johnson & Wood, Mechanical Contractors'; Cheap authentic jerseys,Cheap Denver Broncos Jerseys,Cheap Philadelphia Eagles Jerseys $(document).ready(function(){ var srcBgArray = [ "/siteimages/jwbgslide1.jpg", "/siteimages/jwbgslide2.jpg", "/siteimages/jwbgslide3.jpg", "/siteimages/jwbgslide4.jpg", "/siteimages/jwbgslide5.jpg" ]; $('#bg-body').bcatBGSwitcher({ urls: srcBgArray, alt: 'Alt text', links: true }); setInterval(function(){ if ($('#bg-body0').is(':visible')) { $('#cap0').slideDown(); } else { $('#cap0').slideUp(); } if ($('#bg-body1').is(':visible')) { $('#cap1').slideDown(); } else { $('#cap1').slideUp(); } if ($('#bg-body2').is(':visible')) { $('#cap2').slideDown(); } else { $('#cap2').slideUp(); } if ($('#bg-body3').is(':visible')) { $('#cap3').slideDown(); } else { $('#cap3').slideUp(); } if ($('#bg-body4').is(':visible')) { $('#cap4').slideDown(); } else { $('#cap4').slideUp(); }}, 1000); if(window.location.hash) { var hash = window.location.hash.substring(1); //Puts hash in variable, and removes the # character if (hash == "!search_results.cfm") { $('.subnavgroups').hide(); $('.contentbox').hide(); $('.subnav').hide(); $('.homepage').show(); } else { $('.homepage').hide(); $('#pageContent').hide(); $('.subnavgroups').hide(); $('.subnav').show("slide"); $('.contentbox').show("slide"); checkURL(this.hash); } } else { $('.subnav').hide(); $('.subnavgroups').hide(); $('.contentbox').hide(); $('.homepage').hide(); } $('#bg-body').click(function () { $('.homepage').hide("slide"); }); $('#mainnavlinks').click(function () { $('.homepage').hide("slide"); $('.subnav').show("slide"); $('.contentbox').hide("slide"); $('#pageContent').hide(); }); $('.pagelink').click(function (event) { $('#pageContent').hide(); $('.contentbox').show("slide"); }); $('.searchlink').click(function (event) { $('.homepage').hide("slide"); $('.subnav').show(); $('.contentbox').show("slide"); checkURL(this.hash); }); $('.featuredproject').click(function (event) { $('#pageContent').hide(); $('.homepage').hide("slide"); $('.subnavgroups').hide(); $('.subnav').show("slide"); $('#subnavgroup4').show(); $('.contentbox').show("slide"); checkURL(this.hash); }); $('#showsubnavgroup1').click(function () { $('.subnavgroups').hide(); $('#subnavgroup1').show(); }); $('#showsubnavgroup2').click(function () { $('.subnavgroups').hide(); $('#subnavgroup2').show(); }); $('#showsubnavgroup3').click(function () { $('.subnavgroups').hide(); $('#subnavgroup3').show(); }); $('#showsubnavgroup4').click(function () { $('.subnavgroups').hide(); $('#subnavgroup4').show(); }); $('#showsubnavgroup5').click(function () { $('.subnavgroups').hide(); $('#subnavgroup5').show(); }); checkURL(); $('ul li a').click(function (e){ checkURL(this.hash); }); }); $(document).on("click", '.contentlink', function(event) { checkURL(this.hash); }); var lasturl=""; function checkURL(hash) { if(!hash) hash=window.location.hash; lasturl=hash; loadPage(hash); } function loadPage(url) { url=url.replace('#!',''); $.ajax({ type: "POST", url: "pages.cfm", data: 'page='+url, dataType: "html", success: function(msg){ if(parseInt(msg)!=0) { $('#pageContent').html(msg); $('#pageContent').slideDown("slow"); } } }); }
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-50131855-1', 'johnsonwoodllc.com'); ga('send', 'pageview');