function frame(){
  if(parent == null || parent == self) {
    if(document.images != null) {  // Version 1.1 ?
      window.location.replace("frame0.html?"+window.location.pathname);
    } else {
      window.location="frame0.html?"+window.location.pathname;
    }
  }
}
frame();


var Message = "Alle Links auf dieser Seite öffnen in einem eigenen Fenster";


bV  = parseInt(navigator.appVersion);
bNS = navigator.appName=="Netscape";
bIE = navigator.appName=="Microsoft Internet Explorer";

function closeMe(){
if (bIE){
if(top.opener.closed){
top.window.close();  
}else{
if(top.opener.done=="okay"){  
top.window.close();
}}}}

function nrc(e) {
if (bNS && e.which > 1){
alert(Message);
return false;
}else if (bIE && (event.button >1)){
alert(Message);
return false;
}}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
