window.onload = function(){
  
  if( $("news") ){
    var slideNews = new Fx.Slide('newsAll');
    $('newsTitle').addEvent('click', function(e){	            
      e = new Event(e);
      slideNews.toggle();
      e.stop();
    });
  }
  /*         
  if( $("events") && ( ! $("bodyEvents")) ){
    var slideEvents = new Fx.Slide('eventsAll');
    $('eventsTitle').addEvent('click', function(e){	            
	    e = new Event(e);
	    slideEvents.toggle();
	    e.stop();
    });
  }
  if( $("newsletter") ){
    var slideEvents = new Fx.Slide('newsletterAll');
    $('newsletterTitle').addEvent('click', function(e){	            
	    e = new Event(e);
	    slideEvents.toggle();
	    e.stop();
    });
  }
  */        
  // NAFTY CORNERS
  Nifty("div.niftyHeader", "top normal");
  Nifty("div.niftyMenu", "top normal");
  Nifty("div.niftyTab", "bottom normal");
  Nifty("div.niftyColumnFooter", "normal");
  Nifty("div.niftyFooter", "top normal");
  Nifty("div.niftyArea", "normal");
  Nifty("div.niftyColumnOne,div.niftyColumnTwo,div.niftyColumnThree", "normal same-height");
  Nifty("div.niftyNews", "bottom normal");
  Nifty("div.niftyEvents", "bottom normal");
  Nifty("div.niftyNewsletter", "bottom normal");
  Nifty("div.niftyLegend", "bottom normal");
  //Nifty("blockquote", "normal");
}