/* popup */
function openWin(URL,w,h,scroll,stat){
 props = 'scrollbars=' + scroll + ',toolbar=0,location=0,directories=0,status=' + stat + ',width=' + w + ',height=' + h + ',menubar=0,resizable=0';
 
 newWin = window.open(URL,'hilfe',props);
 newWin.focus();
}

/* navi*/
function show(which){
  if ( document.layers )
   {
    document.layers[which].visibility = "show";
   }
   else if ( document.getElementById )
   {
    document.getElementById(which).style.visibility = "visible";
   }
   else if ( document.all )
   {
    document.all[which].style.visibility = "visible";
   }
 }
 
 function hide(which){
  if ( document.layers )
   {
    document.layers[which].visibility = "hide";
   }
   else if ( document.getElementById )
   {
    document.getElementById(which).style.visibility = "hidden";
   }
   else if ( document.all )
   {
    document.all[which].style.visibility = "hidden";
   }
 }
 
 var welch;
 
 function sColor(which){
  which.style.backgroundColor='#b2e8dd';
  welch=which;
 }
 
 function hColor(welch){
  welch.style.backgroundColor='#daf4ef';
 }


//Funktionen für Weiterleiten
function contactPopup(url) {
 winContact=window.open(url,'contactpopup','width=440,height=600,scrollbars=auto,status=1,toolbar=0,location=0,directories=0,menubar=0,resizable=0,dependent=yes');
 winContact.focus();
}
function pageforwardPopup(actionURL,name) {
 var URLparameters = "?url=" + escape(this.location.href);
 URLparameters += "&title=" + escape(name);
 contactPopup(actionURL + URLparameters);
}
