/* Load Event fires when the whole page is loaded, included all images */
window.addEvent('load', function() {
	var myTips = new Tips($$('.tooltipper'), {
		showDelay: 0,
		hideDelay: 0,
		fixed: true,
		offsets: {x:-215,y:-20},
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
						//fade out overlayed content: splash_content_overlay
			fadeContent = new Fx.Style('splash_content_overlay', 'opacity', {
				duration: 500
			});
		},
		onShow: function(toolTip) {
			this.fx.start(1);		
			fadeContent.start(1,0); 
		},
		onHide: function(toolTip) {
			this.fx.start(0);			
			fadeContent.start(0,1);
		}
	});
	
});


/* Load Event fires when the whole page is loaded, included all images */
window.addEvent('load', function() {
	
	fadeContent = new Fx.Style('splash_content_overlay', 'opacity', {duration: 500});
	
	var myHider = $('fader');
	
	if (myHider != null) {	
		myHider .addEvent('mouseenter', function() { fadeContent.start(1,0); });
		myHider .addEvent('mouseleave', function() { fadeContent.start(0,1); });
	}
});
