	
	if (self != top) {top.location.href = self.location}
	
	function stoperror() {
		return true
	}
	window.onerror=stoperror

	IE  = document.all &&!window.opera;
	GK  = window.sidebar;
	AOB = [];
	x   = 0;
	
	function Fader() {
	  this.timeOut=false;
	  this.fade=function(y)
		{
		  clearTimeout(this.timeOut);
		  this.value=Number(eval('this.object.'+this.attr))+(this.delta*this.evt[y]);
		  if(this.value>=this.min && this.value<=this.max)
			{
			  eval('this.object.'+this.attr+'='+this.value)
			  this.timeOut=setTimeout('AOB['+this.index+'].fade('+y+')',this.rate);
			}
		}
	}
	
	
	function init_fader(obj,delta,rate,min,max,dir) {
	  if(IE || GK) {
		  AOB.push(new Fader(x));
		  OB        = AOB[x];
		  OB.index  = x;
		  OB.object = obj;
		  if(IE) {
			  OB.attr = 'filters.alpha.opacity';
			  OB.faktor = 1;
			}
		  else
			{
			  OB.attr   = 'style.MozOpacity';
			  OB.faktor = 100;
			}
		  OB.delta = delta/OB.faktor;
		  OB.rate  = rate;
		  OB.min   = min/OB.faktor;
		  OB.max   = max/OB.faktor;
		  OB.evt=[-1,1];if(dir)OB.evt.reverse();
		  OB.object.onmouseover = new Function('f1','AOB['+x+'].fade(0)');
		  OB.object.onmouseout  = new Function('f2','AOB['+x+'].fade(1)');
		  OB.fade(0);x++;
		}
	}
	
	var saveWidth = 0;
	
	function scaleImg(what) {
		what = document.getElementById(what);
		if (navigator.appName=="Netscape")
			winW = window.innerWidth;
		if (navigator.appName.indexOf("Microsoft")!=-1)
			winW = document.body.offsetWidth;
		if (what.width>(800) || saveWidth>(800)) {
			if (what.width==(800))
				what.width=saveWidth;
			else
			{
				saveWidth = what.width;
				what.style.cursor = "pointer";
				what.width=(800);
			}
		}
	}
	
	// Select Code
	function highlighcode(xform) {
		eval(xform.select());
		//eval(xform.focus());
	}
	
	// Copy Selected Code
	function copycode(xform) {
		highlighcode(xform);
		textRange = eval(xform.createTextRange());
		textRange.execCommand("RemoveFormat");
		textRange.execCommand("Copy");
		alert("The code was copied into the clipboard.\nDer Code wurde in die Zwischenablage kopiert.");
	}
	
	function doadboxme(myid) {
		if(!document.getElementById(myid)) {return false;}
		myid2=myid+'_hidden';
		if(!document.getElementById(myid2)) {myid2=myid;}
		if(!document.getElementById(myid2)) {return false;}
		
		var agt=navigator.userAgent.toLowerCase();
		
		if(agt.indexOf('msie') != -1) {agt='style="width:98%"'} else {agt='';}
		myo=document.getElementById(myid2).innerHTML;
		
		if(document.all) {
			myo=myo.replace(/<BR>/g,'<br>');
			myo=myo.replace(/class\=adHeadline/g,'class="adHeadline"');
			myo=myo.replace(/class\=adText/g,'class="adText"');
		}
		mol=myo.length; if(mol<200) {
		} else {
		myo=myo.split('<br><br>');
		out='';
		for(i=0;i<myo.length;i++) {
		if(myo[i] != '') {
		var re = /window.status=\'(.+?)\'.+?href=\"(.+?)\".+?\"adHeadline\"\>(.+?)\<.+?\"adText\"\>(.+?)\</;
		myf=re.exec(myo[i]);
		if(myf) {
			out+='<a href="'+myf[2]+'" '+agt+' onmouseover="window.status=\''+myf[1]+'\'; return true;" onmouseout="window.status=\' \'; return true;" class="adUnit" target="_blank"><div class="adHeadline">'+myf[3]+'</div><div class="adText">'+myf[4]+'</div></a>';
		}
		}
		}
		document.getElementById(myid).innerHTML=out;
		}
	}
	
	function MM_swapImgRestore() {
        var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_preloadImages() {
        var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) {
        var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
        if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
        for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
        if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() {
        var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
        if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
