var ww='index.php';

function VymenIm(obr,nov)
{
   if (jav==0 ) {
    document.images[obr].src=nov;
   }
}

function FlipImage(obr,nov)
{
   document.images[obr].src=nov;
}


function jinyjazyk2()
{

 a='a';
}



function jinyjazyk()
{
   var a = document.location.toString();
   jiny = '../index.php?' + a.substring(a.indexOf('?',0)+1,a.length);
   //jiny = jiny.toLowerCase();

 if (a.indexOf('?',0)<1) {  jiny = '../index.php'; }

venn='../index.php?m=000&l=0';

if (jazyk=='0') { venn=jiny; }
if (jazyk=='1') { venn='../index.php?k1='+kp1+'&k2='+kp2+'&m='+m+'&l='+n+'&ch='+chr; }
self.window.location=venn;
}

function jinyjazykaj()
{
venn='english/index.php?m=000&l=0';
self.window.location=venn;
}


function otevri_stranu(naz) {
  var width = 990;
  var height = 480;
  x = parseInt(screen.width / 2.0) - (width / 2.0);
  y = parseInt(screen.height / 2.0) - (height / 2.0);
  imPopup = window.open(naz, '', 'top=' + y + ',left=' + x + ',width='+ width +', height='+ height +', resizable=1,status=1');
  imPopup.focus();
return false;
}

function otevri_stranu2(naz) {
  var width = 1245;
  var height = 820;
  x = parseInt((screen.width - width) / 2.0)-5;
  y = parseInt(screen.height / 2.0) - (height / 2.0);
  imPopup = window.open(naz, '', 'top=' + y + ',left=' + x + ',width='+ width +', height='+ height +', resizable=1,status=1');
  imPopup.focus();
return false;
}

function otevri_stranu3(naz) {
  var width = 1245;
  var height = 770;
  x = parseInt((screen.width - width) / 2.0)-5;
  y = parseInt(screen.height / 2.0 - height / 2.0)-5;
  imPopup = window.open(naz, '', 'top=' + y + ',left=' + x + ',width='+ width +', height='+ height +', resizable=1,status=1,scrollbars=yes');
  imPopup.focus();
return false;
}

