/**
 * @author Maxvoloshin
 */

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.")
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))
try {
    var pageTracker = _gat._getTracker("UA-9570093-1")
    pageTracker._trackPageview()
}
catch(err) {
}

function menu() {
    var obj3 = $("#nav")
    obj3.html(obj3.html() + '<img class="top-right" src="img/top-right-nav.png" width="22" height="21" alt="." title="."/><img class="bottom-right" src="img/bottom-right-nav.png" width="22" height="21" alt="." title="."/>')
    var obj1 = $("#pop"), obj2 = $("#popItem"), obj12 = $("#pop2"), obj22 = $("#pop2Item")
    obj1.css("display", "none")
    obj12.css("display", "none")
    obj2.text(obj2.text() + ' >')
    obj22.text(obj22.text() + ' >')
    $("#imgs").css("top", "349px")
    obj2.hover(function() {
        obj1.css("position", "absolute").css("top", "22px").css("left", "-240px").slideDown("slow")
        obj12.css("display", "none")
    })
    obj22.hover(function() {
        obj12.css("position", "absolute").css("top", "114px").css("left", "-240px").slideDown("slow")
        obj1.css("display", "none")
    })
    $("#nav > li > a").hover(function() {
        if (this != obj2) obj1.css("display", "none")
        if (this != obj22) obj12.css("display", "none")
    })
    $("#content").hover(function() {
        obj1.css("display", "none")
        obj12.css("display", "none")
    })
}