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 = 'english/index.php?' + a.substring(a.indexOf('?',0)+1,a.length);

if (a.indexOf('?',0)<1) {  jiny = 'english/index.php'; }
   //jiny = jiny.toLowerCase();

venn='english/index.php?m=000&l=0';

if ((m=='001')||(m=='001r')||(m=='009b')||(m=='009r')) {   jiny = 'english/index.php?m=009c&l=4-3';m='009c';n='4-3'; } // media

if ((m=='005p')||(m=='005z')||(m=='005r')||(m=='005k')||(m=='005k1')) {   jiny = 'english/index.php?m=005&l=5-1';m='005';n='5-1'; } // kariera

if (jazyk=='0') { venn=jiny; }
if (jazyk=='1') { venn='english/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;
}
