/* FUNKION: alle links mit der class "new2Window"  zu target="_blank" umwandeln   WEGEN XHTML-strict compatibilty */
function changeAllLinksWithClassToTargetBlanks() {
  for (i = 0; i < document.links.length; i++) {
    if (document.links[i].getAttribute('class') == 'newWindow' || document.links[i].className == 'newWindow') {
      document.links[i].setAttribute('target', '_blank');
    }
  }
}
window.onload = changeAllLinksWithClassToTargetBlanks;

/* FUNKTION: alle Elemente checken und die ID finden im DOM */
function MM_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}


/* FUNKTION: Neues Fenster öffnen */
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

