// JavaScript Document
<!--
gb = (((navigator.appName == "Netscape") && 
   (parseInt(navigator.appVersion) >= 3 )) || 
   ((navigator.appName == "Microsoft Internet Explorer") && 
   (parseInt(navigator.appVersion) >= 4 ))); 

var layers=new Array('mCountries', 'mTours', 'mInfo', 'mNews'); // ?????? ?????????? ???? (?????)
var sh=0; // ??????????, ???????? ?? ?????-?????? ?????????? ???? (????)
var Timer; // ???????? ??? ???????? ? ?????? ??????????? ????

function HideLayers() {
  for (i=0; i<4; i++) 
     if (document.all[layers[i]]) document.all[layers[i]].style.visibility='hidden';
  if(gb) { document['cou'].src=cou_out.src;
    document['tou'].src=tou_out.src;
    document['inf'].src=inf_out.src;
  }
  sh=0;
}

function ShowLayer(LayerName) {
        HideLayers();
        document.all[LayerName].style.visibility='visible';
        sh=1;
}

function preload(img) { // ???????? ????? "img"
  var a = new Image();
  a.src = img;
  return (a);
}

if (gb) { // ??????????????? ???????? ???????????

// ??? ????? ?????? ???????? ????

  cou_h = preload("/img/mcou2.gif");
  cou_out = preload("/img/mcou1a.gif");
  tou_h = preload("/img/mtou2.gif");
  tou_out = preload("/img/mtou1.gif");
  inf_h = preload("/img/minf2.gif");
  inf_out = preload("/img/minf1.gif");
  new_h = preload("/img/mnew2.gif");
  new_out = preload("/img/mnew1.gif");
  for_h = preload("/img/mfor2.gif");
  for_out = preload("/img/mfor1.gif");
  fin_h = preload("/img/mfin2.gif");
  fin_out = preload("/img/mfin1.gif");
}

//-->