// JavaScript Document
/*Выпадающее меню*/
  jsHover = function() {
    var hEls = document.getElementById("nav").getElementsByTagName("li");
    for (var i=0, len=hEls.length; i<len; i++) {
      hEls[i].onmouseover=function() { this.className+=" jshover"; }
      hEls[i].onmouseout=function() { this.className=this.className.replace(" jshover", ""); }
    }
  }
  if (window.attachEvent && navigator.userAgent.indexOf("Opera")==-1) window.attachEvent("onload", jsHover);
function DisplayImage(picURL,picWidth,picHeight){
var lw = screen.availWidth/2 - picWidth/2;
var lh = screen.availHeight/2 - picHeight/2;
newWindow=window.open(picURL,'newWin','left='+lw+',top='+lh+',toolbar=no,width='+picWidth+',height='+picHeight)
newWindow.document.write('<html><head><\/head><body background="'+picURL+'" style="background-repeat: no-repeat;"><\/body><\/html>')
newWindow.resizeBy(picWidth-newWindow.document.body.clientWidth,picHeight-newWindow.document.body.clientHeight)
newWindow.focus()
}