// *** Main Functions ***

function ShowHideDiv(DivID,Property) {
 if (document.getElementById) {
  document.getElementById(DivID).style.display = Property;
 }
}

function PrintPage() {
 if (window.print) {
  window.print(); 
 }
 else {
  alert('Ihr Browser unterstützt diese Funktion nicht. Bitte benutzen sie die Druckfunktion ihres Browsers.'); 
 }
}

function ClearInp(oFormElement) {
 oFormElement.value="";
}

function FillInp(oFormElement,sText) {
 if (oFormElement.value == "") {
  oFormElement.value=sText;
 }
}

function HL(oElement,sProperty) {
 if (document.getElementById) {
  document.getElementById(oElement).style.textDecoration = sProperty;
 }
}