if (screen.width<1100){
	document.write('<link rel="stylesheet" href="iso/layout/margin.css" type="text/css" media="screen" />');
	}



var halt = 0;
var speed=10000;
var position=0;
var timer =  setTimeout("showdia();",speed);

function checkSize () {
if (screen.width<1100){
	document.getElementById("svo").style.left = "-40px";
	}
}

function showdia () {
	if(halt == 0){
		if (!(document.images)) {return;}
		if (!(document.show)) {return;}		
		position++;
		if (position == pictures.length) { position = 0; }
		document.show.src=pictures[position];
		document.getElementById("desc").firstChild.nodeValue = picdesc[position];
		timer =  setTimeout("showdia();",speed);
	}else{
		clearTimeout(timer); 
	}
}


function neXt () {
		clearTimeout(timer);
		position++;
		if (position == pictures.length) { position = 0; }
		document.show.src=pictures[position];
		document.getElementById("desc").firstChild.nodeValue = picdesc[position];
				timer =  setTimeout("showdia();",speed);
}

function BlurLinks(){
//checkSize();
// Text- u. Grafik-Links
lnks=document.getElementsByTagName('a');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("this.blur()");
}

// ImageMaps -optional-
lnks=document.getElementsByTagName('area');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("this.blur()");
}

// Klick-Buttons -optional-
lnks=document.getElementsByName('Verweis');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("this.blur()");
}
}

onload=BlurLinks;

  // JS function for uncrypting spam-protected emails:
  // JS function for uncrypting spam-protected emails:

  // JS function for uncrypting spam-protected emails:
function UnCryptMailto(s) {	//
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}
  // JS function for uncrypting spam-protected emails:
function linkTo_UnCryptMailto(s)	{	//
	location.href=UnCryptMailto(s);
}	
  // JS function for uncrypting spam-protected emails: