//when the dom is ready
window.addEvent('domready', function() {
			

	//store titles and text
	$$('a.tipz').each(function(element,index) {
	var content = element.get('title').split('::');
	element.store('tip:title', content[0]);
	element.store('tip:text', content[1]);
	});
				
	//create the tooltips
	var tipz = new Tips('.tipz',{
	className: 'tipz',
	offsets: {'x':100 ,'y':-50},
	fixed: false,
	hideDelay: 50,
	showDelay: 50
	});
	
	
	//store titles and text
	$$('a.colour_tips').each(function(element,index) {
	var content = element.get('title').split('::');
	element.store('tip:title', content[0]);
	element.store('tip:text', content[1]);
	});
				
	//create the tooltips
	var colour_tips = new Tips('.colour_tips',{
	className: 'colour_tips',
	offsets: {'x':20 ,'y':20},
	fixed: false,
	hideDelay: 50,
	showDelay: 50
	});
	
	
			
});