window.addEvent('load',function(){
	/* TOOLTIPS AKTIONEN */
	if ($E('#brand-new a') && !window.ie6) {
		$E('#brand-new a').addEvent('click', function(e){
			var e = new Event(e);
			e.stop();
			
			if (!($('req-ajax'))) {
				var el = new Element('div', {
					'id': 'req-ajax',
					'styles': {
						'background-color': '#ffffff',
						'opacity': 0,
						'padding': '20px',
						'position': 'absolute',
						'left': e.page.x - 50,
						'top': e.page.y - 50,
						'z-index': '1240'
					},
					'events': {
						'mouseleave': function(){
							fx.start(0).chain(function(){
								el.remove();
							});
						}
					}
				
				});
				el.injectTop($E('body'));
				var fx = new Fx.Style(el, 'opacity', {
					duration: 500
				});
			}
			
			var url = this.href;
			var req = new Ajax(url, {
				method: 'get',
				onComplete: function(){
					fx.start(0.80);
				},
				update: el
			}).request();
			
			return false;
		});
	}
	else if($E('#brand-new') && window.ie6){
		$E('#brand-new').addEvent('click',function(){
			window.location = this.getElement('a').href;
		});
	}
});

