
//-------- POPUP  -----------------------------------
// this variable names the current window (for using the popUp as a remote)
  window.name = "currentWindow";
// this function opens the pop-up window
  var newWin;

  function popUp(page,name,w,h) {
  	pref='width=600,height=490,left=20,top=20,scrollbars=no,location=no,menubar=no,resizable=no,toolbar=no,status=no'
  	window.open(page,name,pref);
  }

  function popUpSituationsplan(page,name,w,h) {
  	pref='width=900,height=450,left=20,top=20,scrollbars=no,location=no,menubar=no,resizable=no,toolbar=no,status=no'
  	window.open(page,name,pref);
  }

  function popUpFlashVideo(page,name,w,h) {
  	pref='width=600,height=450,left=20,top=20,scrollbars=no,location=no,menubar=no,resizable=no,toolbar=no,status=no'
  	window.open(page,name,pref);
  }

  function MM_openBrWindow(theURL,winName,features) { //v2.0  // Eventuell die pref= wieder löschen, 
  	// pref='width=600,height=490,left=20,top=20,scrollbars=no,location=no,menubar=no,resizable=no,toolbar=no,status=no'
    window.open(theURL,winName,features);
  }
 
  function popUpTest(page,name) {
  	pref='left=20,top=20,scrollbars=no,location=no,menubar=no,resizable=no,toolbar=no,status=no'
  	window.open(page,name,pref);
  }


//  function popUp(page,name,w,h) {
//  	pref='width='+w+',height='+h+',left=20,top=20,scrollbars=no,location=no,menubar=no,resizable=no,toolbar=no,status=no'
//  	window.open(page,name,pref);
//  }

// function popUp(page, name, details) {
// newWin=window.open(page, name, details);
// newWin.focus();
// return false;
// }

// function Trailer(url) {
// newWin=window.open(url, 'trailer', 'width=440,height=380,scrollbars=no,location=no,left=50,top=50,menubar=no,resizable=no,toolbar=no,status=no');
// newWin.focus();
// return false;
// }

// function Photogallery(url) {
// newWin=window.open(url, 'photogallery', 'width=440,height=500,scrollbars=no,location=no,left=50,top=50,menubar=no,resizable=no,toolbar=no,status=no');
// newWin.focus();
// return false;
// }


//-------- EINGABEFELDER  -----------------------------------
// Wechselt die Farben der Eingabefelder

/*
function cOnF(feld) {
feld.style.backgroundColor='FF5A00';
feld.style.color='white';
}

function cOnB(feld) {
feld.style.backgroundColor='white';
feld.style.color='#666666'
}
*/