function poperec(a) {
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a, 'eRecruting', 'toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1,height=800,width=960,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a, 'eRecruting', 'toolbar=0,location=0,status=0,resizable=yes,menubar=0,scrollbars=1, height=800, width=960, top=0, left=0');
		mini.focus();
	}
}

function popehs (a){
	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=583,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1, height=590, width=583, top=0, left=0');
		mini.focus();
	}
}

function popform (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=800,width=605,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=820,width=612,top=0,left=0');
		mini.focus();
	}
}

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=590,width=436,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=573,width=453,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=522,width=600,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=562,width=600,top=0,left=0');
		mini.focus();
	}
}

function zoom2 (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=522,width=585,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=562,width=603,top=0,left=0');
		mini.focus();
	}
}

function printpop (a){
	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=566,top=0,left=0');
		mini.focus();
		//mini.print();
        setTimeout('mini.print()' , 1000);
	}
	else{
		mini=window.open(a, 'Printpop', 'toolbar=0,location=0,status=0,resizable=yes,menubar=1,scrollbars=1, height=590, width=564, 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, w) {
	var width = +w;
	var height;
	if (width) {
		width += 110;
	} else {
		width = 478;
	}
	if(h>285){
		if(navigator.appName.substring(0,8)=="Netscape"){
			height = 670;
		} else {
			height = 750;
		}
	} else {
		if(navigator.appName.substring(0,8)=="Netscape"){
			height = Math.min(window.innerHeight, 590);
		} else {
			height = 660;
		}
	}
	window.resizeTo(width, height);
}

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;
}

/* Filmbestellung */
	   function zoomFilm (){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open('','ZoomFilmWindow','toolbar=0,location=0,status=0,resizable=0,menubar=0,scrollbars=YES,scrollbars=1,height=565,width=768,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open('','ZoomFilmWindow','toolbar=0,location=0,status=0,resizable=0,menubar=NO, scrollbars=YES,scrollbars=1,height=578,width=768,top=0,left=0');
		mini.focus();
	}
}

function zoomFilmLink (a){
	if(navigator.appName.substring(0,8)=="Netscape"){
		mini=window.open(a,'ZoomFilmWindow','toolbar=0,location=0,status=0,resizable=0,menubar=0,scrollbars=YES,scrollbars=1,height=565,width=768,top=0,left=0');
		mini.focus();
	}
	else{
		mini=window.open(a,'ZoomFilmWindow','toolbar=0,location=0,status=0,resizable=0,menubar=NO, scrollbars=YES,scrollbars=1,height=578,width=768,top=0,left=0');
		mini.focus();
	}
}


function loadingParentWithName(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.name = "openerWindow";
				self.opener.location = url;
				self.opener.focus();
          }
    }
}

