
// ++++++++++++++++++++
// +++ hilite in subnav

function Hilite(myFileName,myGUID){
 var i,j=0;
 var o;
 var checkString = "";
 // check via GUID or FileName
 if (myFileName == ""){ checkString = "o[i].href.substr(o[i].href.lastIndexOf('&pageguid=')+10,32) == '" + myGUID + "'"; }
 else{ checkString = "o[i].href.substr(o[i].href.lastIndexOf('/')+1) == '" + myFileName + "'"; }

 if (document.getElementById('currSubNav')){
  o = document.getElementById('currSubNav').getElementsByTagName("A");
  for (i=0;i<o.length;i++){
   if (eval(checkString)){
    o[i].className="current";
    if (o[i].parentNode.parentNode.className == "noDisplay") {
     o[i].parentNode.parentNode.parentNode.getElementsByTagName("A")[0].className="current";
    }
    break;
   }
  }
 }
}

// end Hilite

// ++++++++++++++++++++

function CheckField(o,str1,str2){
// Feld leeren - erwartet Objekt, String der geprüft werden soll, Ersatzstring (opt)
if (!str2) str2 = "";
if (o.value == str1) o.value = str2;
}

// ++++++++++++++++++++