<!--
function vymaz(obj,vle)
{
	strName = obj.id;
	shortn = obj.id.substring(0, strName.length-1);
	ten = obj.id.substring(strName.length-1, strName.length);

	for(var i=1;i<6;i++)
	{

		if (i != ten){
		if(document.forms.ff.elements[shortn + i])
		{
			document.forms.ff.elements[shortn + i].checked = false;
		}
		}
	}

/*
	if (1 != ten){
	document.forms.ff.elements[shortn + 1].checked = false;
	}

	if (3 != ten){
	document.forms.ff.elements[shortn + 3].checked = false;
	}

	if (5 != ten){
	document.forms.ff.elements[shortn + 5].checked = false;
	}
*/

	return
}

function vymazt(obj,vle)
{
	strName = obj.id;
	shortn = obj.id.substring(0, strName.length-1);
	ten = obj.id.substring(strName.length-1, strName.length);

	if (1 != ten){
	document.forms.ff.elements[shortn + 1].checked = false;
	}

	if (5 != ten){
	document.forms.ff.elements[shortn + 5].checked = false;
	}

	return
}

function changeVisibility( param )
{
	var skaj = document.all( param );
	if( skaj.style.display == '' )
	{
		skaj.style.display = 'NONE';
	}
	else
	{
		skaj.style.display = '';
	}
}

function open_livescore(strPage)
{
	window.open(strPage, 'livescore', 'hotkeys=no, resizable=yes, toolbar=yes, status=yes, dependent=yes, scrollbars=1, width=720, height=550');
}

// Dynamic Iframe loader
function loadIframe(theURL) {
	document.getElementById("livescoreContent").src=theURL;
}

// resizes Iframe according to content
function livescoreResizeMe(obj){ 
docHeight = livescoreContent.document.body.scrollHeight
 obj.style.height = docHeight + 'px'
 }

// resizes Iframe according to content
function livescoreResizeOpener(){ 
	docHeight = document.body.scrollHeight
 	opener.document.getElementById("livescoreContent").style.height = docHeight + 'px'
 }

function et_rand (min, max) {
    var argc = arguments.length;
    if (argc === 0) {
        min = 0;
        max = 2147483647;    } else if (argc === 1) {
        throw new Error('Warning: rand() expects exactly 2 parameters, 1 given');
    }
    return Math.floor(Math.random() * (max - min + 1)) + min;
}

-->