jQuery(function(B) { var A = B(".navmenu"); A.find("div.sub").bgiframe(); B("td", A).hover(function() { var E = B(this); var C = B(">div.sub", this); var D = parseInt(B(this).attr("level")); if (D && D > 0) { C.css({ left: E.width() + "px" }) } C.show(); E.addClass("hover").children(".item").addClass("item-hover") }, function() { B(">div.sub", this).hide(); B(this).removeClass("hover").children(".item").removeClass("item-hover") }) });
