var kontrola = 0;

function prenos(mypage, myname, w, h, scroll, vrijednost) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
win.document.writeln("<title>" +myname+ "</title>");
win.document.write("<body bgcolor=\"#FFFFFF\"   text=\"#000000\" leftmargin=\"0\" topmargin=\"0\">");
win.document.writeln("<img src=\"../images/" +vrijednost+ "\">");
win.document.writeln("</body>");
}

function HelpWindow(mypage, myname, w, h, scroll) {
var win2 = (screen.width - w) / 2;
var win3 = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+win2+',left='+win3+',scrollbars='+scroll+',noresize'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function init(){
    linkovi = document.getElementsByTagName ("a");
    for (x=0; x < linkovi.length; x++){
      linkovi[x].onfocus = new Function ('if (this.blur) this.blur()');
    }
  }