window.onerror=null;
function jumpurl (form) {
    location = form.URL.options[form.URL.selectedIndex].value;
    return true;
}
//if (window.location.host != "www.markus-beyer.com") { 
//    window.location.href = "http://www.markus-beyer.com"; 
//}
function reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
reloadPage(true);
var Fenster = null;
function pop(Seite,w,h,scroll){
 LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
 TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
 settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar = no';
 Fenster = window.open(Seite,"Markus Beyer",settings);
}
var wnd = null;
function pic(img_url, img_title, img_width, img_height) {
  links = (screen.width) ? (screen.width-img_width)/2 : 0;
  oben = (screen.height) ? (screen.height-img_height)/2 : 0;
  wnd = open("","Bildanzeige","width="+(img_width)+",height="+(img_height)+",innerWidth="+(img_width)+",innerHeight="+(img_height)+",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,dependent=0,top="+oben+",left ="+links);
  with(wnd.document) {
    open("text/html")
    writeln("<HTML>")
    writeln("<HEAD><TITLE>&bull;&bull; Markus Beyer &bull;&bull;</TITLE>")
    writeln("<meta http-equiv=\"imagetoolbar\" content=\"no\">")
    writeln("</HEAD>")
    writeln("<body scroll=\"no\" style=\"margin: 0px; padding: 0px;\" oncontextmenu=\"return false\" onselectstart=\"return false\" ondragstart=\"return false\" onmouseover=\"window.status='Markus Beyer'; return true\">")
    writeln("<a onfocus=\"this.blur()\" href=\"javascript:window.close();\"><span style=\"position: absolute; z-index: 2; left: 10px; top: 10px; color: #c40000; text-decoration: none; font:700 11px Arial, sans-serif; cursor:pointer;\">(&copy;) Markus Beyer GmbH</span>")
    writeln("<IMG SRC=\"" + img_url + "\" WIDTH=" + img_width + " HEIGHT=" + img_height + " HSPACE=0 Border=0 VSPACE=0 ALT=\"" + img_title + "\">")
    writeln("</BODY></HTML>")
    close()
  }
  wnd.focus()
}
function BlurLinks(){
 lnks=document.getElementsByTagName('a');
 for(i=0;i<lnks.length;i++){
  lnks[i].onfocus=new Function("this.blur()");
 }
 lnks=document.getElementsByTagName('area');
 for(i=0;i<lnks.length;i++){
  lnks[i].onfocus=new Function("this.blur()");
 }
 lnks=document.getElementsByName('Verweis');
 for(i=0;i<lnks.length;i++){
  lnks[i].onfocus=new Function("this.blur()");
 }
}
onload=BlurLinks;

