// JavaScript Document

<!--
 function odeslat() {
  document.seradit.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(iden) {

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

gettrailobj().display="block"

}
//-->


<!-- 
function skryt(iden) {

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

gettrailobj().display="none"

}
//-->

$(document).ready(function() {

	setTimeout(function(){ $('#topupozorneni').fadeTo('slow', 0.40); }, 10000);

	$("#topupozorneni").mouseover(function(){
	      $("#topupozorneni").fadeTo('slow', 100);
		setTimeout(function(){ $('#topupozorneni').fadeTo('slow', 0.40); }, 10000);
	})


        $('#fotky_zbozi a').lightBox();

	$('#zobrazit_komentare').click(function(e) { e.preventDefault(); $("#pridat_album").toggle("slow"); });
	


	

 	
  
   
 });

