/*window.addEvent('domready', function() {
	//elementINL = document.getElementById ('outputJS');
	//elementINL2 = document.getElementById ('outputJS2');

	var itemsHolder = $('sidebar');
	$$(itemsHolder.getElements('.sidebarAuthor')).each(function(item) {
		//item now refers to the current element within the array
		var popUpLink = item.getElement('.sidebarAuthorLink');
		var popUpDiv=item.getElement('.sidebarAuthorDiv');

		var flag;

		$(popUpDiv.id).addEvents({			
			'mouseenter': function(e){
				// Always sets the duration of the tween to 1000 ms and a bouncing transition
				// And then tweens the height of the element
				e.stop();
				flag = 1;
				
				//elementINL2.innerHTML = 'entrou na caixa';
			},
			'mouseleave': function(e){
				// Resets the tween and changes the element back to its original size
				e.stop();
				flag = 0;
				//elementINL2.innerHTML = 'saiu da caixa';
				popUpDiv.fade('out');	
			}
		});
		
		$(popUpLink.id).addEvents({
			'mouseenter': function(e){
				e.stop();
				popUpDiv.fade('hide');
				popUpDiv.fade('in');
				//elementINL.innerHTML = 'está no link';

			},
			'mouseleave': function(e){
				// Resets the tween and changes the element back to its original size
				
				(function(){ 
					if (flag == 1){
						//elementINL.innerHTML = 'saiu do link, está na caixa';
						}
					else if (flag == null){
						//elementINL.innerHTML = 'saiu do link, nunca foi à caixa';
						popUpDiv.fade('out');	
					}
					else if (flag == 0){
						//elementINL.innerHTML = 'saiu do link, saiu da caixa';
						popUpDiv.fade('out');	
					}
				}).delay(25);
				

			}
		});
		
		
		

	});

});*/


//window.addEvent('domready', {
 
    
     // Assigns ReMooz behavior to all anchors with the .remooz class
     
//    ReMooz.assign();

 
//});


function loadHider() {
  		var itemsHolder = $('main');
		$$(itemsHolder.getElements('.sliding_quote')).each(function(item) {
			//item now refers to the current element within the array
			$(item.id).setStyle('display', 'block');
			new Fx.Slide(item.id).hide();
		});
		
		//ReMooz.assign();
};


function effectSlide(slider) {
  		var myVerticalSlide = new Fx.Slide(slider);
		myVerticalSlide.toggle();
};
