/*
Effects scripts
*/
window.addEvent('domready', function(){			
	/* Tips 1 */
	var Tips1 = new Tips($$('.Tips1'));
	 
	/* Tips 2 */
	var Tips2 = new Tips($$('.Tips2'), {
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: 100}).set(0);
		},
		onShow: function(toolTip) {
			this.fx.start(1);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});
	 
	/* Tips 3 */
	var Tips3 = new Tips($$('.Tips3'), {
		showDelay: 100,
		hideDelay: 200,
		fixed: true
	});
	 
	/* Tips 4 */
	var Tips4 = new Tips($$('.Tips4'), {
		className: 'custom'
	});


/*
Resize Text
*/

	$('small').addEvent('click', function() {
		$('text').style.fontSize = '8pt';	
	});
	$('reset').addEvent('click', function() {
		$('text').style.fontSize = '9pt';		
	});
	$('large').addEvent('click', function() {
		$('text').style.fontSize = '11pt';		
	});
}); 