window.onerror=null;
function jumpurl (form) {
    location = form.URL.options[form.URL.selectedIndex].value;
    return true;
}
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,scr){
 LPos = (screen.width) ? (screen.width-w)/2 : 0;
 TPos = (screen.height) ? (screen.height-h)/2 : 0;
 settings = 'height='+h+',width='+w+',top='+TPos+',left='+LPos+',scrollbars='+scr+',status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar = no';
 Fenster = window.open(Seite,"",settings);
}

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("",""+(img_title)+"","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);
  var baseadr = location.href
  var lastsl  = location.href.lastIndexOf("\\")
  if(lastsl >= 0)
    baseadr = baseadr.substring(0, lastsl + 1)
  else {
    lastsl = location.href.lastIndexOf("/")
    if(lastsl >= 0)
      baseadr = baseadr.substring(0, lastsl + 1)
  }
  with(wnd.document) {
    open("text/html")
    writeln("<html>")
    writeln("<head><title>"+img_title+"</title>")
    writeln("<meta http-equiv=\"imagetoolbar\" content=\"no\">")
    writeln("</head>")
    writeln("<body scroll=\"no\" style=\"margin:0;padding:0;\" oncontextmenu=\"return false\" onselectstart=\"return false\" ondragstart=\"return false\" onmouseover=\"window.status='Karo Murat'; return true\">")
    writeln("<a onfocus=\"this.blur()\" href=\"javascript:window.close();\"><img src=\"" + img_url + "\" width=" + img_width + " height=" + img_height + " border=0 alt=\"" + img_title + "\"></a>")
    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;
