function createTips(){
	
	$$('#mainContent a').each(function(element) {
		var theText = element.getAttribute('title');
		if (element.hasAttribute('name')) {
			var theTitle = element.getAttribute('name');
		}
		else {
			
			var theTitle = element.getAttribute('href');
		}
		
		element.store('tip:title', theTitle);
		element.store('tip:text', theText);
	});
	
	
	var myTips = new Tips($$('#mainContent a'), {
		className: 'tool-tip', 
		hideDelay: 500, 
		showDelay: 500
		});
		
		myTips.addEvents({
	'show': function(tip) {
		tip.fade('0.8');
	},
	'hide': function(tip) {
		tip.fade('0');
	}
	});
}
