function opravduobj ()
{
	document.textobj.submit() 
}
function opravdu ()
{
if (document.finder.hledany.value == "") {
	alert("Nebyl zadán text, který se má vyhledat.")
	document.finder.hledany.focus()
} else {
	document.finder.submit() 
}
}
function akth(cislo, predel) {
for (var x = 1; x <= 10; x++) {
	if (x <= cislo) {  
		document["hod"+x].src = "../images/1.gif" ;
		if (x == 10) {
			document["hod"+x].src = "../images/1p.gif" ;
		}
	} else {
		document["hod"+x].src = "../images/0.gif" ;
		if (x == 10) {
			document["hod"+x].src = "../images/0p.gif" ;
		}
	}
}
}
function deakth(cislo, predel) {
for (var x = 1; x <= 10; x++) {
	if (x <= predel) {  
	document["hod"+x].src = "../images/1.gif" ;
	} else {
	document["hod"+x].src = "../images/0.gif" ;
	}
	if (x == 10) {
		if (x <= predel) {  
		document["hod"+x].src = "../images/1p.gif" ;
		} else {
		document["hod"+x].src = "../images/0p.gif" ;
		}
	}
}
}
function over(ktery) {
if (isNaN(document.forms[ktery].poceto.value) || (document.forms[ktery].poceto.value == "")) {
	alert("Vyplňte prosím počet kusů, které chcete objednat!")
	document.forms[ktery].poceto.focus()
} else {
	document.forms[ktery].submit() 
}

}
function obrwiev(ktery, v, s)
{
v = v + 50
s = s + 50
var obrokno = window.open(ktery, 'obrazek', 'screenY=20, screenX=20, top=50, left=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width='+ s + ', height='+ v)
if (typeof(obrokno.document)=="object")
	{
	obrokno.focus()
	}
if (obrokno) return false;
else return true

}

function obrwievclose()
{
if (typeof(obrokno.document)=="object")
	{
	obrokno.close()
	}
}
obrokno = ""
