try {
	document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}

window.addEvent('domready', function()
{
	$$('a').each(function(e1) 
	{
		a = $(e1);
		if(a.rel == 'external' && a.href != false)
		{
			a.target = '_blank';
		}
	});

    $$('.imgfade').each(function(img) 
	{
        var fadeFx = new Fx.Style(img, 'opacity', {wait: false, duration: 300}).set(0.8);
        img.addEvents
		({
			'mouseover': function()
			{
            	fadeFx.start(1);
	    	},
	    	'mouseout': function()
			{
            	fadeFx.start(0.8);
            }
        });
    });

});


//erstellt von chriss - gefunden von marcus
//ermöglicht die speicherung einer seite als favorit/bookmark im IE und Firefox
var title;
var url;
function CreateBookmarkLink(title, url)
{
	// title = title.toUpperCase();
	if(window.sidebar){ // Mozilla Firefox Bookmark
	window.sidebar.addPanel(title, url, "");}
	else if( window.external ){ // IE Favorite
	window.external.AddFavorite( url, title);}
	else if(window.opera && window.print) { // Opera Hotlist
	return true;}
}