        var isMSIE = /*@cc_on!@*/false;
        if (isMSIE)
            document.write('<link rel="stylesheet" href="/stylesheets/ie.css" type="text/css" media="screen,projection" />');



var Page = function()
{
	this.initialize();
};

Page.prototype = {
	initialize: function()
	{
		
	}
}


    var myTWin = window.myTWin;
    
    function OpenMyWin(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href, winName, 'scrollbars=1,resizable=1,width=570,height=570,top=100,left=100,menu=0,navigate=0,statusbar=0');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }

    var myTWin = window.myTWin;
    
    function OpenMyWin1(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href, winName, 'scrollbars=1,resizable=1,width=1000,height=700,top=5,left=5,menu=0,navigate=0,statusbar=0');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }

    var myTWin = window.myTWin;
    
    function OpenMyWin2(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href, winName, 'scrollbars=1,resizable=1,width=1000,height=700,top=5,left=5,menu=1,navigate=0,statusbar=1');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }


function showHlaska(hlaska) {
  document.getElementById(hlaska).style.display = "block";
}

function CheckRegkon(formular)
{
  document.getElementById("hlaska1").style.display = "none";
  document.getElementById("hlaska2").style.display = "none";
  document.getElementById("hlaska3").style.display = "none";

    if (formular.jmeno.value=="") 
{
showHlaska("hlaska1"); 
formular.jmeno.focus();
return false;
}
else if (formular.email.value=="")
{
showHlaska("hlaska2");
formular.email.focus();
return false;
}
else if (window.RegExp)
{
re = new RegExp("^[^.]+(\.[^.]+)*@([^.]+[.])+[a-z]{2,3}$");
if (!re.test(formular.email.value))
{
showHlaska("hlaska3");
formular.email.focus();
return false;
}
}
else 
return true;
}




function showHlaska(hlaska) {
  document.getElementById(hlaska).style.display = "block";
}

function CheckRegkon1(formular)
{
  document.getElementById("hlaska1con").style.display = "none";
  document.getElementById("hlaska2con").style.display = "none";
  document.getElementById("hlaska3con").style.display = "none";

    if (formular.jmenocon.value=="") 
{
showHlaska("hlaska1con"); 
formular.jmenocon.focus();
return false;
}
else if (formular.emailcon.value=="")
{
showHlaska("hlaska2con");
formular.emailcon.focus();
return false;
}
else if (window.RegExp)
{
re = new RegExp("^[^.]+(\.[^.]+)*@([^.]+[.])+[a-z]{2,3}$");
if (!re.test(formular.emailcon.value))
{
showHlaska("hlaska3con");
formular.emailcon.focus();
return false;
}
}
else 
return true;
}


function zobrazSkryj(idecko){
		el=document.getElementById(idecko).style; 
		el.display=(el.display == 'block')?'none':'block';
	}