onload = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav"); for (i=0; i').appendTo(".divInside a div"); $(".divInside a").hover ( function() { $("div", this).css("display", "block"); $("iframe", this).css("height", parseInt($("div", this).height()) + 2 + "px" ); } ); $(".divInside a").mouseout ( function() { $("div", this).css("display", "none"); } ); } }