var title2note = new Class({
	Implements: [Events, Options],
	options: {
	},
	notediv:false,
	
	initialize: function(options){
		this.setOptions(options);
		this.notediv = new Element('div', {'id':'title2note','class':'hidden','html':'abc'});
		this.notediv.inject($(document.body));
		$$('#topMenue a','.leftMenue a','#logo a').each(this.addelement);
	},
	addelement:function(el){
		if (el.title=='') return;
		el.addEvents({
			'mouseover': function(){
				$('title2note').innerHTML=el.title;
				$('title2note').removeClass('hidden');
			},
			'mouseout':function(){
				$('title2note').addClass('hidden');
			}
		});
		
	}
});


document.addEvent('domready', function() {
	var mytitle2note = new title2note();
});
