// Tooltip based on the Mootools Pkg - Tools that go moo
// Use Mootip by placing any text between a div with a title
//     example: <div title="Tip Foo">Mootip</div>
// The first the Mootip is always the header. If no header is needed, you can put a block on it by entering :: before your text
//     with header example: <div title="Tip Foo Header::Tip Foo Description">Mootip</div>
//     without header example: <div title="::Tip Foo">Mootip</div>
// CSS class .tip defines text that contain descriptions or definitions.
//     example: <div class="tip" title="Defined Mootip::Defined Tip Foo">Mootip</div>

window.onload=function()
 {
	
	var as = [];

	$S('span').each(function(a){
		if (a.getAttribute('title')) as.push(a);
	});
	
	new Tips(as, {maxOpacity: 0.9, maxTitleChars: 150});

 }
