norm = new Image();
norm.src = "img/button.gif";
hl = new Image();
hl.src = "img/button_hl.gif";

function bildw(id,Bildobjekt) {
        document.images[id].src = Bildobjekt.src;
}
/* ------------------------------------------------------------------------------------ */
function mail (pre, dom, end) {
document.write("test<a href='mailto:"+pre+"@"+dom+"."+end+"' style='color:#000000'>"+pre+"@"+dom+"."+end+"</a>");
}


function menuJump(targ,selObj,restore){
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  //eval führt Operationen aus
    if (restore) {selObj.selectedIndex=0;}         //bei Aktualisieren Index=0, d.h. Element 0 wird ausgewählt
}
/* ------------------------------------------------------------------------------------ */

function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function neuAufbau () {
  if (Weite != Fensterweite() || Hoehe != Fensterhoehe())
    location.href = location.href;
}