window.addEvent('domready', function() {
	var searchBox = $(document.body).getElement('.search_field');
	searchBox.addEvents({
		'focus': function() { if ( this.get('value') == 'Search UND' ) this.set('value',''); },
		'blur':  function() { if ( this.get('value') == '' ) this.set('value','Search UND'); }
	});

	var tooltips = $$('.tooltip');
	if(tooltips.length>0) {
		tooltips.each(function(tip){
			tip.store("tip:title", tip.get('title').split("::")[0]);
			tip.store("tip:text", tip.get('title').split("::")[1]);
		});
		new Tips(tooltips, {});
	}
});