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.writeln("<style type=\"text/css\"><!-- .body { font-family:  Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; text-decoration: none }--></style>")
win.document.write("<body bgcolor=\"#FFFFFF\"   text=\"#000000\" leftmargin=\"0\" topmargin=\"0\">");
win.document.writeln("<img src=\"images/" +vrijednost+ "\">");
win.document.write("<span class=body>Please wait...</span>");
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)
win.moveTo((screen.width-w)/2,(screen.height-h)/2);
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()');
    }
	
	
	
  }


function clearfield(){
if (document.findform.sear.value == "Unesite pojam")
	document.findform.sear.value = "";
}

function promijeniboju(id)
{
var x=document.getElementById('myTable').rows
x[id].bgColor="#FFFFCC"

}

function vratiboju(id)
{
var x=document.getElementById('myTable').rows
x[id].bgColor="#F4F4F4"
}
