function Otev()
{
msg = window.open('sudokuplay/prihlasahrajpokus.html', 'nove6', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=no, status=yes, width=800, height=600, top=100, left=100')
}
function Otevri()
{
msg = window.open('', 'nove', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=no, status=yes, width=640, height=480, top=100, left=100')
}
function otvortlac()
{
msg = window.open('', 'tlac', 'toolbar=yes, menubar=yes, location=yes, directories=no, scrollbars=yes, resizable=yes, status=yes, width=720, height=800, top=0, left=100')
}
function Otevrit()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove1', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=no, status=yes, width=640, height=480, top=50, left=50')
}
function Otevriti()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove2', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=no, status=yes, width=640, height=480, top=50, left=50')
}
function Otevritit()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove4', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=no, status=yes, width=640, height=480, top=50, left=50')
}
function Otevritit5()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove5', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=yes, status=yes, width=640, height=480, top=50, left=50')
}
function Otevritit8()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove8', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=yes, status=yes, width=800, height=600, top=20, left=20')
}
function Otevritit9()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove9', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=yes, status=yes, width=1024, height=768, top=0, left=0')
}
function Otevrit9()
{
msg = window.open('sudokuplay/hrajall56.html', 'nove3', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=yes, status=yes, width=1000, height=700, top=0, left=0')
}
function Reg()
{
msg = window.open('sudokuplay/registrace.html', 'reg', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=no, status=yes, width=640, height=480, top=50, left=50')
}
function setvistext(i) {
  for (var j = 1; j<i; j++) {
   objSetStyle('text'+j,'display','none')
  };
//eval (".text.style.display=none");
}  

function setvistexta(i) {
  for (var j = 1; j<i; j++) {
   objSetStyle('text'+j,'display','block')
  };
//eval (".text.style.display=block");
}

function objGet(x) {
	if (typeof x != 'string') return x;
	else if (Boolean(document.getElementById)) return document.getElementById(x);
	else if (Boolean(document.all)) return eval('document.all.'+x);
	else return null;
}

function objSetStyle (obj,prop,val) {
	var o = objGet(obj);
	if (o && o.style) {
		eval ('o.style.'+prop+'="'+val+'"');
		return true;
		}
	else return false;
	}

function objDisplay (obj,on,type) {
	if (on && !type) type = 'block';
	return objSetStyle(obj,'display',(on) ? type:'none');
	}

function openText(name) {
	var on = objGet(name).style.display=='block';
	objDisplay(name,!on);
	self.location.href="#a"+name;	}
