// JavaScript Document

				
function getObjectPointer(oId){
	if (document.getElementById){
		pointer = document.getElementById(oId);
	}else if (document.all) {
		pointer = document.all[oId];
	}else if (document.layers){
		pointer = document.layers[oId];
	}
	return pointer;				
}
				
function realy(otazka,linkOk,linkNo){
	// zobrazi dialogove okno s volbou odpovedi a/n
	// otazka = text otazky
	// linkOK = adresa kam ma skocit pokud odpovi Ano
	// linkNo = adresa kam ma skocit, pokud odpovi ne
	if (confirm(otazka)){
		window.location.href = linkOk;
	}else{
		if (linkNo.length>0){
			window.location.href = linkNo;
		}
	}
}

					
