$(document).ready(function()  
 {  
     // hides all DIVs with the CLASS container  
     // and displays the one with the ID 'home' only  
     $(".switch").css("display","none");  
    $("#advertising01").css("display","block");
	 
       
     // makes the navigation work after all containers have bee hidden   
     showViaLink($("#work_left a"));  
       
 });  
   
 // shows a given element and hides all others  
 function showViaKeypress(element_id)  
 {  
    $(".switch").css("display","none");  
     $(element_id).slideDown("slow");  
 }  
   
 // shows proper DIV depending on link 'href'  
 function showViaLink(array)  
 {  
     array.each(function(i)  
    {     
         $(this).click(function()  
         {  
             var target = $(this).attr("href");  
             $(".switch").css("display","none");  
             $(target).slideDown("slow");  
         });  
     });  
 }
