var windowX = 0 var windowY = 0 var autoclose = true var beIE = document.all?true:false function kepnezo(urlkep,title,width,height){ s = "width="+width+",height="+height+",resizable=yes"; NFW = window.open("","popFrameless",""+s) NFW.blur() window.focus() NFW.resizeTo(width,height) NFW.moveTo(windowX,windowY) var frameString=""+ ""+ ""+ ""+title+""+ ""+ ""+ ""+ ""+ ""+ "" NFW.document.open(); NFW.document.write(frameString) NFW.document.close() NFW.focus() if (autoclose){ window.onunload = function(){NFW.close()} } } function katnezo(urlkep,title,width,height){ s = "width="+width+",height="+height; NFW = window.open("","popFrameless",""+s) NFW.blur() window.focus() NFW.resizeTo(width,height) NFW.moveTo(windowX,windowY) var frameString=""+ ""+ ""+ ""+title+""+ ""+ ""+ ""+ ""+ ""+ "" NFW.document.open(); NFW.document.write(frameString) NFW.document.close() NFW.focus() if (autoclose){ window.onunload = function(){NFW.close()} } } function masnezo(urlkep,title,width,height){ s = "width="+width+",height="+height; NFW = window.open("","popFrameless",""+s) NFW.blur() window.focus() NFW.resizeTo(width,height) NFW.moveTo(windowX,windowY) var frameString=""+ ""+ ""+ ""+title+""+ ""+ ""+ ""+ ""+ ""+ "" NFW.document.open(); NFW.document.write(frameString) NFW.document.close() NFW.focus() if (autoclose){ window.onunload = function(){NFW.close()} } } function clearField(what) { if (what.value == what.defaultValue) what.value=""; } function szinBe2(what) { what.style.backgroundColor='' } function szinKi2(what) { what.style.backgroundColor='#ffffff' } function popablak(loc,width,height) { openWin = window.open(loc,"myWindow","top=0,left=0,width=" + width + ",height=" + height + ",buttons=no,scrollbars=yes,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no"); openWin.focus(); } function showGoal(){ openWin = window.open("","goal","top=1,left=1,width=490,height=200,scrollbars=yes,status=no"); } function showStanding(){ window.open("","tabella","top=1,left=1,width=490,height=500,scrollbars=yes,status=no"); } function showH2H(){ window.open("","ossz","top=1,left=1,width=560,height=550,scrollbars=yes,status=no"); } function oddsMutato(id){ with (document.getElementById(id).style) { display = display!='none' ? 'none' : 'block' } }