window.addEvent('domready', function() {
	
	$$('.tip').each(function(tip){
			var Tip = new Tips('#'+ tip.id, {
			initialize:function(){
				this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
			},
			onShow: function(toolTip) {
				this.fx.start(1);
			},
			onHide: function(toolTip) {
				this.fx.start(0);
			}
		});
	});	
	
	$$('.cover').each(function(cover){
			var Tip = new Tips('#'+ cover.id, {
			initialize:function(){
				this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
			},
			onShow: function(toolTip) {
				this.fx.start(1);
			},
			onHide: function(toolTip) {
				this.fx.start(0);
			}
		});
	});		
	
	$$('.text').each(function(text){
			var mySlide = new Fx.Slide(text.id);
			mySlide.hide();
			$('toggle' + text.id).addEvent('click', function(e){
				e = new Event(e);
				mySlide.toggle();
				e.stop();
			});
		});	
});	
	

/*function desc_short(id){
//	window.addEvent('domready', function() {
		var mySlide = new Fx.Slide('#'+id);
//		mySlide.hide();
		$('#'+id).addEvent('click', function(e){
			e = new Event(e);
			mySlide.toggle();
			e.stop();
		});
//	});
}

*/
		
	