function highlight(el) {
 var a=el.src; var p=a.lastIndexOf('.');
 el.src=a.substring(0,p-2)+'02'+a.substr(p);
}
function lowlight(el) {
 var a=el.src; var p=a.lastIndexOf('.');
 el.src=a.substring(0,p-2)+'01'+a.substr(p);
}

function highlightB(el) {
 var a=el.style.backgroundImage; var p=a.lastIndexOf('.');
 el.style.backgroundImage=a.substring(0,p-2)+'02'+a.substr(p);
}
function lowlightB(el) {
 var a=el.style.backgroundImage; var p=a.lastIndexOf('.');
 el.style.backgroundImage=a.substring(0,p-2)+'01'+a.substr(p);
}

function highlightF(el) {
 var a=el.style.filter; var p=a.lastIndexOf('.');
 el.style.filter=a.substring(0,p-2)+'02'+a.substr(p);
}
function lowlightF(el) {
 var a=el.style.filter; var p=a.lastIndexOf('.');
 el.style.filter=a.substring(0,p-2)+'01'+a.substr(p);
}


function highlink(das) {
  highlight(document.getElementById(das+'a'));
  document.getElementById(das+'b').style.color='#2F7DF1';
}

function lowlink(das) {
  lowlight(document.getElementById(das+'a'));
  document.getElementById(das+'b').style.color='#D8A52A';
}

function highhover_me(Elmt) {
  Elmt.style.border="2px solid #2F7DF1";
}

function lowhover_me(Elmt) {
  Elmt.style.border="2px solid #D8A52A";
}

function highlink0(das) { document.getElementById(das).style.color='#2F7DF1'; }
function lowlink0(das)  { document.getElementById(das).style.color='#D8A52A'; }

function hashlink() {
  var hash=document.URL;
  var hashpos=hash.indexOf('#');
  if (hashpos!=-1) {
    var hashurl=hash.substring(hashpos+1,hash.length)+'.htm';
    if (hashurl!=document.getElementById('inhaltsiframe').src)
      document.getElementById('inhaltsiframe').src=hashurl;
  }
}

function setbase(image,alt,title) {
  parent.document.getElementById('basistitel').src=image;
  parent.document.getElementById('basistitel').alt=alt;
  parent.document.title=title;
}


function popup(url,title,w,h) {
  window.open(url,title,'width='+w+',height='+h+',left=50,top=50');
}
