// okna

function window1(a) {
  window.open (a, 'char', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=yes, status=yes, width=650, height=500, top=80, left=70');
}

function window2(a) {
  window.open (a, 'char', 'toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, resizable=yes, status=yes, width=350, height=475, top=80, left=70');
}

function window3(a) {
  window.open (a, 'char', 'toolbar=yes, menubar=yes, location=yes, directories=yes, scrollbars=yes, resizable=yes, status=yes, width=810, height=600, top=80, left=70');
}

function zmen_okno() {
w =document.images['img'].width+9;
h =document.images['img'].height+81;
window.resizeTo (w, h);
window.focus ();
}

function zmen_okno2() {
w =document.images['img'].width+69;
h =document.images['img'].height+106;

if (w > screen.availWidth - 20) w = screen.availWidth - 20;
if (h > screen.availHeight - 100) h = screen.availHeight - 100;

window.resizeTo (w, h);
window.focus();
}

// menu

function menu2hover() {
  document.getElementById('menu2a').style.backgroundImage='url("../img/menu-hover-bg.gif")';
}

function menu2out() {
  document.getElementById('menu2a').style.backgroundImage='url("../img/menu-bg.gif")';
}

function menu3hover() {
  document.getElementById('menu3a').style.backgroundImage='url("../img/menu-hover-bg.gif")';
}

function menu3out() {
  document.getElementById('menu3a').style.backgroundImage='url("../img/menu-bg.gif")';
}

function menu4hover() {
  document.getElementById('menu4a').style.backgroundImage='url("../img/menu-hover-bg.gif")';
}

function menu4out() {
  document.getElementById('menu4a').style.backgroundImage='url("../img/menu-bg.gif")';
}

function menu5hover() {
  document.getElementById('menu5a').style.backgroundImage='url("../img/menu-hover-bg.gif")';
}

function menu5out() {
  document.getElementById('menu5a').style.backgroundImage='url("../img/menu-bg.gif")';
}

