function show_picture(img,width,height) {
 var w_height = 45 + parseInt(height);
if (w_height > window.screen.availHeight)
 w_height = window.screen.availHeight;
pic = window.open('' + img + '', 'img', 'width=' + width + ',  height=' + w_height + ', resizable=0');
pic.document.write('<html><head><title>Увеличенное изображение</title> <style type="text/css">input {FONT-SIZE:11px; BACKGROUND: #ffa052; COLOR: #ffffff; FONT-WEIGHT: bold; BORDER: #419015 1px solid; cursor: pointer;margin-top:15px;}</style></head><body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0><center><img src="/' + img + '"><br><input type="button"  value="  Закрыть  " OnClick="javascript:window.close();"></center></body></html>');
}

navHover = function() {
 if (document.getElementById) {
   nav = document.getElementById('menu');
   for (i=0; i<nav.childNodes.length; i++) {
     node = nav.childNodes[i];
     if (node.nodeName == 'LI') {
       node.onmouseover = function() {
         this.className = 'over';
       }
       node.onmouseout = function() {
         this.className = '';
       }
     }
   }
 }
}
if (window.attachEvent) window.attachEvent("onload", navHover);




