/* General scripts that can be used on every page 
This script is included on top channel level */

function RemoteStart(wohin,w,h) {
  ZurichRemote = window.open(wohin,'ZurichFenster','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width='+w+',height='+h);
  ZurichRemote.moveTo(10,10);
  ZurichRemote.focus();
}

/* swap between 2 id */
function Zeige(aus,an) {
  eval("document.getElementById('"+aus+"').style.display='none'");
  eval("document.getElementById('"+an+"').style.display='block'");
}

/* focus Datum-Formfelder */
function textSelect(element) {
 element.focus();
 element.select();
}

/*Print page*/
function printpage() { 
  window.print();
}

