
$(document).ready(function(){
      
         $("table.produktshop tr").mouseover(function(event){
           this.style.backgroundColor = "#f6efdc";           
         });
         $("table.produktshop tr").mouseout(function(event){
           this.style.backgroundColor = "transparent";           
         });
         
         $("img.objkos").mouseover(function(event){
           this.src = "img/objednatkos2.gif";           
         });
         $("img.objkos").mouseout(function(event){
           this.src = "img/objednatkos.gif";           
         });
         
        /* $("img#inobj").mouseover(function(event){
           this.src = "img/onlineobj_on.gif";           
         });
         $("img#inobj").mouseout(function(event){
           this.src = "img/onlineobj.gif";           
         }); */
         
         
         $("img.mr_pizza").mouseover(function(event){
           this.src = "img/mr_pizza_on.gif";           
         });
         $("img.mr_pizza").mouseout(function(event){
           this.src = "img/mr_pizza.gif";           
         });
         
         $("img.mr_testoviny").mouseover(function(event){
           this.src = "img/mr_testoviny_on.gif";           
         });
         $("img.mr_testoviny").mouseout(function(event){
           this.src = "img/mr_testoviny.gif";           
         });
         
         $("img.mr_jidla").mouseover(function(event){
           this.src = "img/mr_jidla_on.gif";           
         });
         $("img.mr_jidla").mouseout(function(event){
           this.src = "img/mr_jidla.gif";           
         });
         
         $("img.mr_prilohy").mouseover(function(event){
           this.src = "img/mr_prilohy_on.gif";           
         });
         $("img.mr_prilohy").mouseout(function(event){
           this.src = "img/mr_prilohy.gif";           
         });
         
         $("img.mr_salaty").mouseover(function(event){
           this.src = "img/mr_salaty_on.gif";           
         });
         $("img.mr_salaty").mouseout(function(event){
           this.src = "img/mr_salaty.gif";           
         });
         
         $("img.mr_dezerty").mouseover(function(event){
           this.src = "img/mr_dezerty_on.gif";           
         });
         $("img.mr_dezerty").mouseout(function(event){
           this.src = "img/mr_dezerty.gif";           
         });
         
         $("img.mr_napoje").mouseover(function(event){
           this.src = "img/mr_napoje_on.gif";           
         });
         $("img.mr_napoje").mouseout(function(event){
           this.src = "img/mr_napoje.gif";           
         });
         
         
         $("#imgwifi").toggle(
           function(){
             $("#parwifi").css({"color":"red", "font-weight":"bold"});         
           },
           function(){
             $("#parwifi").css({"color":"black", "font-weight":"normal"});         
           }
         );
      

       
       
     });

//---------------------------------------------------------------------     
     
var module_over_picture = true;

var op_temp_variable = null;
var op_capability = false;
var op_after_init = false;

function op_init()
{
  var browser_name = navigator.appName;
  var browser_version = parseInt(navigator.appVersion);

  op_capability =
    (browser_name.indexOf("Netscape")>=0 && browser_version>=3) ||
    (browser_name.indexOf("Internet Explorer")>=0 && browser_version>=4);
    op_after_init = true;
}

function op_is_capability()
{
  if (!op_after_init)
    op_init();
  return op_capability;
}

function op_register (id_name, normal_src, over_src, down_src)
{
  if (!op_after_init)
    op_init();

  if (op_capability)
  {
    if (over_src == null)   over_src = normal_src;
    if (down_src == null)   down_src = over_src;

    op_temp_variable = new Array
      (id_name, true, new Image(), new Image(), new Image());
    op_temp_variable[2].src = normal_src;
    op_temp_variable[3].src = over_src;
    op_temp_variable[4].src = down_src;
    eval ("op_item_" + id_name + " = op_temp_variable");
  }
}

function op_set_normal (id_name)
{
  if (op_capability)
  {
    var reg_item = eval ("op_item_" + id_name);
    if (reg_item[1])
      document.getElementById(id_name).src = reg_item[2].src;
  }
}

function op_set_over (id_name)
{
  if (op_capability)
  {
    var reg_item = eval ("op_item_"+id_name);
    if (reg_item[1])
      document.getElementById(id_name).src = reg_item[3].src;
  }
}

function op_set_down (id_name)
{
  if (op_capability)
  {
    var reg_item = eval ("op_item_" + id_name);
    if (reg_item[1])
      document.getElementById(id_name).src = reg_item[4].src;
  }
}

function op_lock (id_name)
{
  if (op_capability)
    eval("op_item_"+id_name)[1] = false;
}

function op_unlock (id_name)
{
  if (op_capability)
    eval("op_item_"+id_name)[1] = true;
}


function gotoFunction(sel) {
	if (sel.options[sel.selectedIndex].value!='') {
		sel.form.submit();
	}
}

function rozsvitform()
{
 document.getElementById('stanovenicasu').style.display = 'block';
}
function zhasniform()
{
 document.getElementById('stanovenicasu').style.display = 'none';
}




     

