// JavaScript Document

<!--
 function odeslat() {
  document.vybrat_sekci.submit();
 }
//-->

<!--
 function prepocitat() {
  document.zmenit_zpusob_dopravy.submit();
 }
//-->

<!--
 function zavrit()
 {
  window.close(); 
 }
//-->

<!--
 function okno(url,w,h) {
		var sirka_obrazovky = screen.width;
		var vyska_obrazovky = screen.height;
		var pozice1 = (sirka_obrazovky - w) / 2;
		var pozice2 = (vyska_obrazovky - h) / 2;
        window.open(url,'', 'width=' + w +',height=' + h +',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no,top=' + pozice2 +',left=' + pozice1 +'');
		}
//-->

<!-- 
 function nahled_vzoru(iden,sirka,vyska) {
var trailimage=["", sirka, vyska] //image path, plus width and height
var offsetfrommouse=[10,10] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0 //duration in seconds image should remain visible. 0 for always.


function gettrailobj(){
return document.getElementById("" +iden+ "").style
}

gettrailobj().visibility="visible"

function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail(){
gettrailobj().visibility="hidden"
document.onmousemove=""

}

function followmouse(e){
var xcoord=offsetfrommouse[0]
var ycoord=offsetfrommouse[1]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else 
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

if (displayduration>0)
setTimeout("hidetrail()", displayduration*1000)
 }
 //-->
 
 
<!-- 
 function nahled_ukonceni(iden) {
 	function gettrailobj(){
		return document.getElementById("" +iden+ "").style
		}

	gettrailobj().visibility="hidden"
 }
 //-->
 
 
 
 
 
 <!-- 
 function zobrazit_objekt(iden) {
	document.getElementById("" +iden+ "").style.display="block"
 }
 //-->
 
 
 
  <!-- 
 function zobrazit_radek_tabulky(test) {

	var iden;
	iden = document.getElementById("zobrazeno").innerHTML;
	
	var visible;
      if(navigator.appName == 'Microsoft Internet Explorer') { /* jen pro IE */
        visible = 'block';
      }
      else { /* ostatni prohlizece */
        visible = 'table-row';
      }     

	document.getElementById("radek_tabulky_" +iden+ "").style.display=visible;

	iden++;
	document.getElementById("zobrazeno").innerHTML="" +iden+ "";
 }
 //-->
 
 
 
 <!-- 
 function nova_cena(input_s_cenou,input_kusu,koncovy_element) {
	var cena;
	cena = document.getElementById("" +input_s_cenou+ "").value;
	var kusu;
	kusu = document.getElementById("" +input_kusu+ "").value;
	var nova_cena;
	nova_cena = cena*kusu;
	document.getElementById("" +koncovy_element+ "").innerHTML="" +nova_cena+ " Kč";
 }
 //-->
 

