function alertChangeId(){
alert('Sie benutzen Opera 5 \ndamit diese Seite korrekt angezeigt wird, müssen Sie als Browseridentifikation \n\"Identify as MSIE5\"\neinstellen. \n(File/Preferences/Connections/)');
}
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 shl() {
  var i,p,v,obj,args=shl.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='s')?'visible':(v='h')?'hidden':v; }
    obj.visibility=v; }
}
function pri() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=pri.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 sir() {
  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 si() {
  var i,j=0,x,a=si.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];}
}
function rali() { 
	var zz = Math.round((Math.random())*25);
	var randurl = "link" + zz + ".html";
	window.location.href=randurl;
}
function fenstergross() {
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.op5=this.agent.indexOf("Opera 5")>-1||this.agent.indexOf("Opera/5")>-1
	this.op6=this.agent.indexOf("Opera 6")!=-1;
	this.dom=document.getElementById?1:0
	this.ie5=((this.ver.indexOf("MSIE 5")||this.ver.indexOf("MSIE 6"))>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=(this.ie4||this.ie5)?1:0;
	this.mac=(this.ver.indexOf("Mac")>-1)?1:0;
	this.ns5=(this.dom && parseInt(this.ver)>=5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
 	this.op5=(document.all&&window.innerWidth)?1:0;
  this.bw=(this.ie5 ||this.ie6|| this.ie4 || this.ns4 || this.ns5 ||this.op5)
	fenster = window.name;
	if ( fenster == "vollbild" ) {
		window.close();
		window.open("desktop.html");	
	}
	else {
		var xwin=(screen.availWidth)+10; 
		var ywin=(screen.availHeight)+50;
		features="toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,left=-5,top=-25,width="+xwin+",height="+ywin;
		if ( this.op5 || this.op6 ) { window.close(); }
		else if ( this.ie5 || this.ie6 ) { window.location.href="about:blank"; }
		else { window.close(); }
		vollbild = window.open("vollbild.html","vollbild",features);
	}
} 
function gonee3() {
	fenster = window.name;
	if ( fenster == "vollbild" ) {
		window.close();
		window.open("http://www.neeneenee.de/");	
		}
	else { window.location.href="http://www.neeneenee.de/"; }
} 
function posi() {
	self.moveTo(-5,-25);
	self.focus();
	window.location.href="desktop.html";
}
function P7_JumpMenu(selObj,restore){ 
	var theFullString = selObj.options[selObj.selectedIndex].value;
	if (restore) selObj.selectedIndex=0;
	var theLength = theFullString.length;
	var endPos = theFullString.lastIndexOf("~");
	var theUrl, theTarget, theParent;
	if (endPos > 0) {theUrl = theFullString.substring(0,endPos);}
	else {theUrl = theFullString;}
	endPos++
	if (endPos < theLength) {theTarget = theFullString.substring(endPos,theLength)}
	else {theTarget = "window:Main";}
	if (theTarget == "window:s") {eval("window.location='"+theUrl+"'");}
	else if (theTarget == "f") {document.forms[0].submit();}
	else if (theTarget == "window:New") {window.open(theUrl);}
	else if (theTarget == "window:Main") {eval("parent.location='"+theUrl+"'");}
	else if (theTarget == "#:#") { ;}
	else {eval("parent.frames[\'"+theTarget+"\'].location='"+theUrl+"'");}
}
function P7AniMagic(el, x, y, a, b, c, s) { 
 var g,elo=el,f="",m=false,d="";x=parseInt(x);y=parseInt(y);
 var t = 'g.p7Magic = setTimeout("P7AniMagic(\''+elo+'\','; 
 if ((g=MM_findObj(el))!=null) {d=(document.layers)?g:g.style;}else{return;}
 if (parseInt(s)>0) {eval(t+x+','+y+','+a+','+b+','+c+',0)",' + s+')');return;}
 var xx=(parseInt(d.left))?parseInt(d.left):0;
 var yy=(parseInt(d.top))?parseInt(d.top):0;
 if(parseInt(c)==1) {x+=xx;y+=yy;m=true;c=0;}
 else if (c==2) {m=false;clearTimeout(g.p7Magic);}
 else {var i=parseInt(a);
  if (eval(g.moved)){clearTimeout(g.p7Magic);}
  if (xx<x){xx+=i;m=true;if(xx>x){xx=x;}}
  if (xx>x){xx-=i;m=true;if(xx<x){xx=x;}}
  if (yy<y){yy+=i;m=true;if(yy>y){yy=y;}}
  if (yy>y){yy-=i;m=true;if(yy<y){yy=y;}}}
 if (m){if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){
    xx+="px";yy+="px";}
  d.left=xx;d.top=yy;g.moved=true;eval(t+x+','+y+','+a+','+b+','+c+',0)",'+b+')');
  }else {g.moved=false;}
}
function fmi(seite) {
parent.frames.mitte.location.href=seite;
parent.frames.rechts.location.href="/vrml/random/random.html";
}
function obw(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
function otw(theName) { 
	thePath = "/vrml/worlds/tech/"+theName+"/"+theName+'.wrl'
  window.open(thePath,'tech','status=yes,toolbar=yes,resizable=yes,scrollbars=no,width=780,height=525');
}
function twc(id,c){ 
	var d=eval(id)==null||eval(id+".closed");
	if(!d){eval(id+"."+c);}
}
