/***  
 *    Steve Deane:    
 *    Make the site disappear
 *    and then come back again!
 ***/ 
   
   
   $(document).ready(function(){
      /*** Simple Hide and Slide ***/
      /*$("img.wp-image-33").click(function () {
        $("#allWrap").hide(2000,function(){$("#marketingPitch").slideDown(2000);});
      });
      $("a.marketing").click(function () {
        $("#marketingPitch").slideUp(1000,function(){$("#allWrap").slideDown(3000);});
      });*/
      
      /*** A little more too it ***/
      $("img.wp-image-33").click(function () {
        //document.getElementById('header').innerHTML="";
        //document.getElementById('header').backgroundImage="http://nutwork2009.nutwork.com.au/wp-content/themes/images/headerBg.jpg";
        $("#sidebar").hide(500,function(){$("#content").hide(500,function(){$("#footerWrap").slideUp(500,function(){$("#middle").hide(500,function(){$("#clear_nav").slideUp(300,function(){$("#nav").slideUp(300,function(){$("#header").hide(800,function(){$("#marketingPitch").slideDown(1000);});});});});});});});
      });
      $("a.marketing").click(function () {
        $("#marketingPitch").hide(0,function(){$("#allWrap").show(1500);});
        $("#header").show(1500);
        $("#nav").show(1500);
        $("#clear_nav").show(1500);
        $("#middle").show(1500);
        $("#footerWrap").show(1500);
        $("#content").show(1500);
        $("#sidebar").show(1500);
      });
   
   });