

var meinetexte = new Array();

meinetexte[meinetexte.length] = 'Hier kommt der Inhalt für Fenster 6. Er wird im Anker mit <code>onmouseover="wechselmeinetexte(6)"</code> gesetzt und mit <code>onmouseout="wechselmeinetexte(-1)"</code> zurück gesetzt ';


var abstand = '<br><br>';

var fenster_start = '<span class="f1">';
var fenster_ende = '</span>';


var name = screen.width 

function mouse_handle() 
{
/*mouse_handle positioniert immer wenn die Mouse bewegt wird das HTML-Element mit der ID text auf die Mousekoordinaten. Das Element folgt somit der Mouse.*/
var position_x = window.event.x;
var position_y = window.event.y;
document.getElementById('text').style.left = position_x;
document.getElementById('text').style.top = position_y;
}

function wechselmeinetexte(welche)
{
/* Diese Funktion wird aus den Eventhandlern der Verweise aufgerufen.*/
/* Sie ruft eine weitere Funktion auf, die dann die Ausgabe übernimmt.*/ 
if (welche == -1)
   {
   /* Wenn als Parameter -1 übergeben wird, wird ein leerer String ausgegeben. So wird dann das Infofenster wieder gelöscht. */
   schreibetext("");
   /* Geben Sie hier mal probehalber etwas zwischen den Hochkommata ein. */
   }
else
   {
   /* In jedem anderen Fall (ausser -1) wird hier der Text zum jeweiligen Verweis ausgegeben.*/
   schreibetext(abstand + fenster_start + meinetexte[welche] + fenster_ende);
   }
}
/**/
function schreibetext(temp)
{
/* Diese Funktion dient der Ausgabe */
/* getElementById("text") stellt die Kommunikation zu dem HTML-Element her, das im Body definiert ist. */
document.getElementById("text").style.visibility = "hidden";
/* Hier wird der HTML-Code mit dem in temp übergebenen Code ausgetauscht.*/
document.getElementById("text").innerHTML = temp;
document.getElementById("text").style.visibility = "visible";
}



function Go(x)
{
   parent.Hauptframe.location.href = x;
   document.forms[0].elements[0].blur();
}

function neuesWindow (URL,breite,hoehe){
		
	var iMyWidth;
    	var iMyHeight;
	
        iMyWidth = (window.screen.width/2) - ( (breite/2)+5 ); //half the screen width minus half the new window width (plus 5 pixel borders).
        iMyHeight = (window.screen.height/2) - ( (hoehe/2)+5 ); //half the screen height minus half the new window height (plus title and status bars).
     win =   window.open(URL,"popUp","status, noresize,left=" + iMyWidth +",height=" + hoehe + ",width=" + breite + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes");	
		win.focus()
	}

function printFenster (URL,breite,hoehe){
		
	var iMyWidth;
    	var iMyHeight;
	
        iMyWidth = (window.screen.width/2) - ( (breite/2)+5 ); //half the screen width minus half the new window width (plus 5 pixel borders).
        iMyHeight = (window.screen.height/2) - ( (hoehe/2)+5 ); //half the screen height minus half the new window height (plus title and status bars).
     win =   window.open(URL,"popUp","status, noresize,left=" + iMyWidth +",height=" + hoehe + ",width=" + breite + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes, toolbar=yes");	
		win.focus()
	}


function sendSelected(f) {
        document.form1.selectedset.value="";
        for(i=0;i<f.elements.length;i++) {
               if (f.elements[i].checked) {
                       document.form1.selectedset.value+=""+f.elements[i].value+":";
               }
        }
}


if (parseInt(navigator.appVersion) > 3) {
	if (navigator.appName == "Netscape") {
		layerVar="document.layers";
		styleVar="";
	}else{
		layerVar="document.all";
		styleVar=".style";
	}
}


function hideWorld() {  
ShowHideWorld('bertext','hidden');
ShowHideWorld('zossentext','hidden');
ShowHideWorld('opptext','hidden');
}

function hideAll() {  

skf_ShowHideLayer('bertext','bertext','hidden');
skf_ShowHideLayer('zossentext','bertext','hidden');
skf_ShowHideLayer('opptext','bertext','hidden');
skf_ShowHideLayer('ansprech_berlin','bertext','hidden');
skf_ShowHideLayer('ansprech_oppurg','bertext','hidden');
skf_ShowHideLayer('start','starttext','hidden');
skf_ShowHideLayer('ber','ansprech_ber','hidden');



//Put all layers used in the nav here.  //Copy the hideLayer() function above.  
} 

function skf_ShowHideLayer(Layer1,Layer2,attrib) {

	if (parseInt(navigator.appVersion) > 3) {
	
		eval(layerVar + '["' + Layer1 + '"]' + styleVar + '.visibility = "' + attrib + '"');
		eval(layerVar + '["' + Layer2 + '"]' + styleVar + '.visibility = "' + attrib + '"');
		
	}
}

function ShowHideWorld(Layer1,attrib) {

	if (parseInt(navigator.appVersion) > 3) {
	
		eval(layerVar + '["' + Layer1 + '"]' + styleVar + '.visibility = "' + attrib + '"');
	}
}


function Go(x)
{
   parent.Hauptframe.location.href = x;
   document.forms[0].elements[0].blur();
}

function neuesWindow (URL,breite,hoehe){
		
	var iMyWidth;
    	var iMyHeight;
	
        iMyWidth = (window.screen.width/2) - ( (breite/2)+5 ); //half the screen width minus half the new window width (plus 5 pixel borders).
        iMyHeight = (window.screen.height/2) - ( (hoehe/2)+5 ); //half the screen height minus half the new window height (plus title and status bars).
     win =   window.open(URL,"popUp","status, noresize,left=" + iMyWidth +",height=" + hoehe + ",width=" + breite + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes");	
		win.focus()
	}

function sendSelected(f) {
        document.form1.selectedset.value="";
        for(i=0;i<f.elements.length;i++) {
               if (f.elements[i].checked) {
                       document.form1.selectedset.value+=""+f.elements[i].value+":";
               }
        }
}



if (navigator.appVersion.indexOf("2.") != -1){
	check = false;
	}
if ((navigator.appVersion.indexOf("3.") != -1) && (navigator.appName.indexOf("Explorer") != -1)){
	check = false;
	}
else
 {
	check = true;
	}
if (check == true){
	image1 = new Image();
	image1.src = "../images/products/buttons/h_nav1.gif";
	image1on = new Image();
	image1on.src = "../images/products/buttons/h_nav1_hi.gif";
	image1alt = new Image();
	image1alt.src = "../images/products/buttons/h_nav1_hi.gif";

	image2 = new Image();
	image2.src = "../images/products/buttons/h_nav2.gif";
	image2on = new Image();
	image2on.src = "../images/products/buttons/h_nav2_hi.gif";
	image2alt = new Image();
	image2alt.src = "../images/products/buttons/h_nav2_hi.gif";

	image3 = new Image();
	image3.src = "../images/products/buttons/h_nav3.gif";
	image3on = new Image();
	image3on.src ="../images/products/buttons/h_nav3_hi.gif";
	image3alt = new Image();
	image3alt.src = "../images/products/buttons/h_nav3_hi.gif";

	image4 = new Image();
	image4.src = "../images/products/buttons/h_nav4.gif";
	image4on = new Image();
	image4on.src = "../images/products/buttons/h_nav4_hi.gif";
	image4alt = new Image();
	image4alt.src = "../images/products/buttons/h_nav4_hi.gif";
	
	image5 = new Image();
	image5.src = "../images/products/buttons/h_nav5.gif";
	image5on = new Image();
	image5on.src = "../images/products/buttons/h_nav5_hi.gif";
	image5alt = new Image();
	image5alt.src = "../images/products/buttons/h_nav5_hi.gif";

	image6 = new Image();
	image6.src = "../images/products/buttons/h_nav6.gif";
	image6on = new Image();
	image6on.src = "../images/products/buttons/h_nav6_hi.gif";
	image6alt = new Image();
	image6alt.src = "../images/products/buttons/h_nav6_hi.gif";
	
	image7 = new Image();
	image7.src = "../images/products/buttons/h_nav_mount.gif";
	image7on = new Image();
	image7on.src = "../images/products/buttons/h_nav_mount_hi.gif";
	image7alt = new Image();
	image7alt.src = "../images/products/buttons/h_nav_mount_hi.gif";
	
	image8 = new Image();
	image8.src = "../images/products/buttons/h_nav_prot.gif";
	image8on = new Image();
	image8on.src = "../images/products/buttons/h_nav_prot_hi.gif";
	image8alt = new Image();
	image8alt.src = "../images/products/buttons/h_nav_prot_hi.gif";
}
imagealt = ""
function imageon(name){
	if (imagealt != name){
        	document[name].src = eval(name + "on.src");
	}
}
function imageoff(name){
	if (imagealt != name){
        	document[name].src = eval(name + ".src");
	}
}
function on(name){
        if (check == true){
	imageon(name);
	}
}
function off(name){
        if (check == true){
	imageoff(name);
	}
}
function alt(name){
	if (check == true){
	document[name].src = eval(name + "alt.src");
	if (imagealt != name){
		if (imagealt != ""){
			document[imagealt].src = eval(imagealt + ".src");
		}
	}
	imagealt = name
	}
}



function MM_preloadImages() { //v3.0
 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_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.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=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

//-->
