function searchSite()
{
    var value=$('#SEARCH').val();
    window.location='/search:q='+escape(value);

}


function closeCustomerSupport() 
{
    $('#customer_support').slideUp();
}

function processCustomerSupport()
{
  $.post(
        '/content/customer_support.php?AJAX=1&SEND=1',
        {data : $('#customer_support_container input, #customer_support_container select, #customer_support_container textarea').serialize()},
        function(data) {            
            $('#customer_support').html(data);            
        } );  
}

   $(function(){
       $('.menu_customer_support').click( function(){
       $('#customer_support').load('/content/customer_support.php','', function() {
         $(this).slideDown();
       });
       return false;
    });


   $('#productmenu_outer').hover(
       function(){
          $('#productmenu').fadeIn();
       }, function(){
         $('#productmenu').fadeOut();
     });



   $('#requestlink, .requestlinkclass').click( function(){
       $('#customer_support').load('/content/capacitor_request.php','', function() {
         window.scrollTo(0,0);
         $(this).slideDown();
       });
       return false;
    });


   $('#header2').cycle({ 
      fx:      'fade', 
      //fx: 'shuffle',
      speed:    2500, 
      timeout:  10000
   });          


});