function hideFlashMessage(){
	if ($('flashMessage')){
		new Fx.Slide('flashMessage').slideOut();
	}
}

$(document).ready(function(){
    $("#header").click(function(){
        document.location.href = "/";
    })
})




// window.addEvent('load', function() {
//     
// 
//  hideFlashMessage.delay(3000);
// 
//  //create our Accordion instance
//  //if ($('pricelist')){
//         var priceListAc = new Accordion($('pricelist1'), 'h4.pricelistToggle', 'div.pricelistTable', {
//                    opacity: false,
//                    onActive: function(toggler, element){
//                        toggler.setStyle('color', '#000');
//                    },
//                    onBackground: function(toggler, element){
//                        toggler.setStyle('color', '#999');
//                    }
//                });
//  //}
//  
//  var priceListAc = new Accordion($('equipment-list'), 'h4.toggle', 'div.equip', {
//      opacity: false,
//      //display: -1,
//      onActive: function(toggler, element){
//      var img = toggler.getElement("img");
//      var source = img.get("src");
//      source = source.replace(".", "_downarrow.");
//      img.set("src", source);
//      },
//      onBackground: function(toggler, element){
//  var img = toggler.getElement("img");
//      var source = img.get("src");
//      source = source.replace("_downarrow.", ".");
//      img.set("src", source);
//      }
//  });
//  
//  $(document.body).getElements('h4.pricelistToggle').addEvent('click', function(){
//         $('showInStorePrices').inject($(this));
//     });
//  
//  var inStorePricesShown = false; 
//     if ($('showInStorePrices')) {
//         $('showInStorePrices').addEvent('click', function(){
//          inStorePricesShown = !inStorePricesShown;
//             $(document.body).getElements('.shopPrice').toggleClass('hidePrice');
//             $(document.body).getElements('.onlinePrice').toggleClass('hidePrice');
// 
//             $('showInStorePrices').toggleClass('onlinePriceOn');
// 
//             return false;
//         });
//     }
//  
//  
//  var data = [
//        "1.gif", "2.gif", "3.gif","4.gif","5.gif","6.gif"
//     ];
//     // Initialize the Slideshow instance
//     var myShow = new Slideshow('show', data, { loop:3, overlap:false, delay: 4000, transition: 'back:in:out', height: 303, hu: '/img/sidebars', width: 193 });
//  
// 
//  
// });
