function pop (a){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a, 'Pop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=600,width=1000,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a,'Pop','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=620,width=1000,top=0,left=0');
		mini.focus();
	}
}

function zoom (a){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a,'Zoom','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=520,width=680,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a,'Zoom','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=540,width=700,top=0,left=0');
		mini.focus();
	}
}

function zoomL (a){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a,'Zoom','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=560,width=740,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a,'Zoom','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=580,width=760,top=0,left=0');
		mini.focus();
	}
}

function zoomhoch (a){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a,'Zoom','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=720,width=680,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a,'Zoom','toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=740,width=700,top=0,left=0');
		mini.focus();
	}
}


function printpop (a, zeit){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1,height=590,width=600,top=0,left=0');
		mini.focus();
		//mini.print();
        setTimeout('mini.print()' , zeit);
	}
	else{
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1, height=590, width=600, top=0, left=0');
		mini.focus();
		mini.print();
	}
}

function printpopL (a, zeit){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1,height=590,width=800,top=0,left=0');
		mini.focus();
		//mini.print();
        setTimeout('mini.print()' , zeit);
	}
	else{
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1, height=590, width=800, top=0, left=0');
		mini.focus();
		mini.print();
	}
}
function printpopXL (a, zeit){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1,height=690,width=900,top=0,left=0');
		mini.focus();
		//mini.print();
        setTimeout('mini.print()' , zeit);
	}
	else{
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1, height=690, width=900, top=0, left=0');
		mini.focus();
		mini.print();
	}
}
// Open popup window for common service contacts
function popupcontacts(path) {
	if (path != "") {
            // closeAllPopups(false);
            path = path;
            contactwindow = window.open(path, "contactsSelect", 'width=621,height=600,screenX=100,screenY=20,left=100,top=20,resizable=no,scrollbars=yes');
            contactwindow.focus();
	}
}

function makeRemote(dateiname) {
	remote = window.open("","remotewin",'toolbar=1,location=0,status=0,menubar=1,resizable=yes,scrollbars=1,height=520,width=475,top=0,left=0');
	remote.location.href = dateiname
	if (remote.opener == null) remote.opener = window;
		remote.opener.name = "opener";
	}
function go(url) {
opener.location.href = url;
}

var i=0, sw=screen.width*100/100, sh=screen.height*100/100;
function resize() {
if (navigator.appName == 'Netscape') i=0;
nw = 385 + ((document.closeButton.width > document.articleImage.width) ? document.closeButton.width : document.articleImage.width);
nh = document.articleImage.height + 340 - i;
if(nw>sw) nw = sw;
if(nh>sh) nh = sh;
window.resizeTo(nw, nh);
nx = screen.width/2 - nw/2;
ny = screen.height/2 - nh/2;
window.moveTo(nx, ny);
}


function resizePopup(h) {
	if(h>285){
		if(navigator.appName.substring(0,8)=="Netscape"){
			window.self.innerHeight=670;
			window.self.focus();
		}
		else {
			window.self.resizeTo(468,750);
		}
	}
	else {
		if(navigator.appName.substring(0,8)=="Netscape"){
			if(window.self.innerHeight>590){
				window.self.innerHeight=590;
				window.self.focus();
			}
		}
		else {
			window.self.resizeTo(468,660);
		}
	}
}

function loadinparent(url){
    try{
        if( self.opener.closed )
           throw "hasNotOpener";
        else
           throw "hasOpener";
    } catch(hasOpener) {
        if( hasOpener == "hasNotOpener" ) {
            newwindow = window.open(url,"newInternet");
            newwindow.focus();
        } else {
               self.opener.location = url;
               self.opener.focus();
          }
    }
}
/* - - - - - - - - Minimieren / Maximieren - - - - - - - - - - - - - */

function outline(id)
{
 if(document.getElementById(id).style.display == 'none')
 {
  document.getElementById(id).style.display = '';
 }
 else
 {
  document.getElementById(id).style.display = 'none';
 }
}

/* - - - - - - - - Einstieg-Layer - - - - - - - - - - - - - - */
var id_merken="";
function show(id) {
	document.getElementById("ID0").style.display = "none";
	document.getElementById(id).style.display = "";
	if(id_merken!="" && id_merken!=id){
		document.getElementById(id_merken).style.display = "none";
	}
	id_merken = id;
}

/* - - - - - - - - Klappnavigation - - - - - - - - - */

function doSomethingWithClasses(theClass) {
   //Populate the array with all the page tags
   var allPageTags=document.getElementsByTagName("ul");
   //Cycle through the tags using a for loop
   for (i=0; i<allPageTags.length; i++) {
       //Pick out the tags with our class name
       if (allPageTags[i].className==filter) {
           //Manipulate this in whatever way you want
           allPageTags[i].style.display='none';
       }
   }
}


if(window.navigator.systemLanguage && !window.navigator.language) {
	//Create an array
	var allPageTags = new Array();
	function hoverIE() {
	//Populate the array with all the page tags
	var allPageTags=document.getElementsByTagName("ul");
	//Cycle through the tags using a for loop
   for (i=0; i<allPageTags.length; i++) {
       //Pick out the tags with our class name
       if (allPageTags[i].className=="filter") {
           //Manipulate this in whatever way you want
           //allPageTags[i].style.display='none';
		   var LI = allPageTags[i].firstChild;
			do {
				if (sucheUL(LI.firstChild)) {
					LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
				}
				LI = LI.nextSibling;
			}
			while(LI);
       }
   }

}

function sucheUL(UL) {
do {
if(UL) UL = UL.nextSibling;
if(UL && UL.nodeName == "UL") return UL;
}
while(UL);
return false;
}

function einblenden() {
var UL = sucheUL(this.firstChild);
UL.style.display = "block"; UL.style.backgroundColor = "#fff"; UL.style.position = "absolute";
}
function ausblenden() {
sucheUL(this.firstChild).style.display = "none";
}

window.onload=hoverIE;
}
