<!--
/*BrowserName = navigator.appName;
BrowserVer  = parseInt(navigator.appVersion);*/
version = "good"/*"bad"*/; // все современные браузеры нормально обрабатывают эти скрипты
/*if((BrowserName == "Netscape" && BrowserVer >= 3) || (BrowserName == "Microsoft Internet Explorer" && BrowserVer >= 3))
  version = "good";*/
if(version == "good")
{
  menu1_1on = new Image(103,36); menu1_1on.src = "/images/buttons/btn1_on.gif";
  menu1_1_2on = new Image(105,36); menu1_1_2on.src = "/images/buttons/btn1_1_on.gif";
  menu1_2on = new Image(105,36); menu1_2on.src = "/images/buttons/btn2_on.gif";
  menu1_3on = new Image(96,36); menu1_3on.src = "/images/buttons/btn3_on.gif";
  menu1_4on = new Image(105,36); menu1_4on.src = "/images/buttons/btn4_on.gif";
  menu1_5on = new Image(102,36); menu1_5on.src = "/images/buttons/btn5_on.gif";
  menu1_6on = new Image(101,36); menu1_6on.src = "/images/buttons/btn6_on.gif";
  menu1_7on = new Image(101,36); menu1_7on.src = "/images/buttons/btn7_on.gif";
  menu1_1off = new Image(103,36); menu1_1off.src = "/images/buttons/btn1.gif";
  menu1_1_2off = new Image(105,36); menu1_1_2off.src = "/images/buttons/btn1_1.gif";
  menu1_2off = new Image(105,36); menu1_2off.src = "/images/buttons/btn2.gif";
  menu1_3off = new Image(96,36); menu1_3off.src = "/images/buttons/btn3.gif";
  menu1_4off = new Image(105,36); menu1_4off.src = "/images/buttons/btn4.gif";
  menu1_5off = new Image(102,36); menu1_5off.src = "/images/buttons/btn5.gif";
  menu1_6off = new Image(101,36); menu1_6off.src = "/images/buttons/btn6.gif";
  menu1_7off = new Image(101,36); menu1_7off.src = "/images/buttons/btn7.gif";
}
function img_act(imgName)
{
  if(version=="good")
  {
    imgOn = eval(imgName + "on.src");
    document [imgName].src = imgOn;
  }
}
function img_inact(imgName)
{
  if(version=="good")
  {
    imgOff = eval(imgName + "off.src");
    document [imgName].src = imgOff;
  }
}
function img_status(imgName1, imgName2)
{
  if(version=="good")
  {
    imgStatus = eval(imgName2 + ".src");
    document [imgName1].src = imgStatus;
  }
}
function test_email()
{
  if (document.subscr.email.value.indexOf ('@',0) == -1 ||
      document.subscr.email.value.indexOf ('.',0) == -1)
  {
    alert ("\n Please enter correct e-mail !")
    document.subscr.email.select();
    document.subscr.email.focus();
    return false;
  }
  if(document.subscr.email.value == 'your@e.mail')
  {
    alert ("\n Please enter YOUR e-mail !")
    document.subscr.email.select();
    document.subscr.email.focus();
    return false;
  }
  return false;
}
function surfto(form)
{
var myindex=form.sel.selectedIndex
if (form.sel.options[myindex].value != "0") {
window.open(form.sel.options[myindex].value, target="main");}
}
function wr(a1, a2)
{
document.write("<a href=\""+a1+"."+a2+"\">");
}
function wr2()
{
document.write("</a>");
}
function open_win(url, height, width)
{
param = 'height=' + height + ',width=' + width + ',toolbar=no,scrollbars=no,directories=no,status=no,menubar=no,resizable=no';
new_win = window.open(url, 'new_win', param); new_win.focus();
}
//-->

