if (self.parent.frames.length != 0) self.parent.location=document.location; // Framesprenger
 
if (screen.width<1024) alert("Diese Seiten wurden für eine Bildschirmauflösung von 1024*768 Bildpunkten optimiert.\nIhre Auflösung beträgt momentan " +screen.width + "+" + screen.height + " Bildpunkte.\nThis sites are optimized for 1024*768 Pixel.\nyou are using " +screen.width + "*" + screen.height + " Pixel.");
  screen.height;

 /* function open_popup_window() {
	popup_window = window.open('http://www.toptip-net.de','popupWindow','width=707,height=487,scrollbars=no,menubar=no');
	popup_window.self.focus();
}   // popupwindow 
*/

 function winOpen(url, breite, hoehe) {
      // Errechnet Koordinaten, um das Popup zentriert zu platzieren
      links = (screen.width/2)-(breite/2);
      oben = (screen.height/2)-(hoehe/2);
      window.open(url,"popup","height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = no,fullscreen = no,top ="+oben+",left ="+links);
   }
   
   // Codeschutz

function codeschutz_kontext(){
   if (document.all) {
      document.onmouseup = kein_kontext;
      window.onmouseup = kein_kontext;
   } else if (document.getElementById) {
      window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
      window.onmousedown = kein_kontext;
      window.onmouseup = kein_kontext;
   }
}

function kein_kontext(e) {
   if (document.all) {
      if (event.button >= 2) {
         alert("Kein Rechtsklick!");
         return false;
     }
   } else if (document.getElementById) {
      if (e.which >= 2) {
         alert("Kein Rechtsklick!");
         return false;
      }
   } else {
      return true;
   }
}