function HelpWindow(mypage, myname, w, h, scroll) {
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(); }
}

function HelpWindow1(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 enlrge(imgnme,levo,gore,sirina,visina)
{
imagename='';
OpenWin = this.open
("","CtrlWindow","toolbar=No,menubar=No,location=No,scrollbars=No,resizable=No,status=No,width=" + sirina + ",height=" + visina + ",left=" + levo + ",top=" + gore + ",");
imagename = imgnme;
setTimeout('update()',500)
}

function update()
{
doc = OpenWin.document;
doc.write('<HTML><HEAD><meta http-equiv="Content-Language" content="sr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><TITLE>IN Club, Vrnjačka Banja<\/TITLE><\/HEAD><BODY onBlur="self.focus()">');
doc.write('<center><IMG SRC="' + imagename + '">');
doc.write('<form><input type="button" value=" Zatvori prozor " onClick="window.close()"><\/form><\/center><\/BODY><\/HTML>');
doc.close();
}
