﻿$(document).ready(function() { topNavWireUp(); }); var imagepathprefix = "http://s7d5.scene7.com/is/image/NB/"; var reqimageset_js = "_is?req=imageset,javascript"; var imgMacroThumbnail = "$thumbnail$"; var imgMacroDetail = "$detail$"; var altdelim = "_"; function topNavWireUp() { if (jQuery.support.tbody == false) { $('<iframe src="javascript:\'\';" marginwidth="0" marginheight="0" align="bottom" scrolling="no" frameborder="0" style="position:absolute; left:0; top:0px; display:block; filter:alpha(opacity=0);z-index:-1" ></iframe>').appendTo("#NBmenu div.box4"); $("#NBmenu div.box4 iframe").each(function() { $(this).height($(this).parent().height() + 30).width($(this).parent().width() + 10); }); } $("#NBmenu li.mega").userIntent(toggleMenu, toggleMenu); $("#NBmenu div.box4").bind("mouseenter mouseleave", function() { $(this).prev("h2").children("a").toggleClass("jquerySelectedStay"); }); $("#NBmenu div.box4 td:last-child").css("border-right", "none"); } function toggleMenu() { $(this).toggleClass("hovering"); } function displayHideFlags(hide) { countryList = document.getElementById("headerCOUNTRYlist"); countrySelector = document.getElementById("headerCOUNTRYflag"); if (hide) { countryList.style.display = "none"; countrySelector.style.backgroundColor = ""; countrySelector.style.borderBottom = ""; } else { countryList.style.display = "inline"; countrySelector.style.backgroundColor = "#FFF"; countrySelector.style.borderBottom = "solid 1px white"; } }