Shadowbox.init({
    language:   "cs",
    players: ['flv', 'img']    
});


sfHover = function() {
	var sfEls = document.getElementById("mainmenu").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function stretch(){
	var main = screen.availHeight; 
  if(document.getElementById('wrapper').offsetHeight > main) {
  }
  else {
  	document.getElementById('wrapper').style.height = (main-30) + 'px';
  	document.getElementById('main').style.height = (main-41) + 'px';
  }
	}
