window.addEvent('domready',function(){

	// news alert?
	if($('newsalert')){
		var newsalert = new mooSlide2({ 
			slideSpeed: 1100, 
			fadeSpeed: 500,  
			toggler:'newsalert_toggle', 
			content:'newsalert', 
			height:160, 
			removeOnClick: true, 
			opacity:'1', 
			effects:Fx.Transitions.Bounce.easeOut, 
			from:'top'});
		newsalert.run();
	}   
	
	//news ticker?
	if($('scroller')){
		initScroller();
	}
	
	// mouseovers for current issue buttons 
	if($('current_issue')){
		var preload = new Image();
		var buttons = $('current_issue').getElements('a img');
		buttons.each(function(bt){
		  if(bt.src.indexOf('_off.') > 0){
			preload.src = bt.src.replace('_off.','_on.');
			bt.addEvent('mouseover', function(){
				this.src = this.src.replace('_off.','_on.');						  
			});
			bt.addEvent('mouseout', function(){
				this.src = this.src.replace('_on.','_off.');						  
			});
		  }
		});
	}

})

