//
// ToolTip script for use with mooTools
//
// by PILLWAX Industrial Solutions Consulting
//
// 1.0 - Initial Version
//

function start_ToolTips() {
	var titles = [];
	//$$(document.getElements('[title!=""]')).each(function(element) { if (element.getAttribute('title') != null && element.getAttribute('title')!='') titles.push(element);  });
	$$('img').each(function(a){
		if (a.getAttribute('title')) titles.push(a);
	});
	
	var ToolTips = new Tips(titles, {
		className: 'tooltip',
		initialize: function() { this.fx = new Fx.Style(this.toolTip, 'opacity', {wait: false}) },
		onHide: function() { this.fx.start(0); },
		onShow: function() { this.fx.start(0.9); }
		});
	}
window.onDomReady(start_ToolTips);	

