/* copyright 2006 by Florian Streibelt */
/* Domgemeinde St.Hedwig, Berlin Mitte */

/* Highlight/Hover funktionen fuer Navigation:*/
/*function hl(me) {
 me.id="navigation_hl";
}
function nm(me) {
 me.id="navigation_nor";
}
*/

function mover(link){
  var id = link.id;
  if (id == "") {
  id = "navigation_nor";
  }
  var Ergebnis = id.search(/_hl$/i);
  if (Ergebnis != -1)  {
    id = id.replace(/_hl$/i,"_nor");
  }else{
    id = id.replace(/_nor$/i,"_hl");
  }
 link.id=id;
}

/* Hover-funktion fuer die Buttons oben rechts*/
function pnghover(png){
  var source = png.src;
  var Ergebnis = source.search(/_dn.png$/i);
   if (Ergebnis != -1)
   {
     source= source.replace(/_dn.png$/i,".png");
   }else{
     source= source.replace(/\.png/i,"_dn.png");
   }
  png.src=source;
}

