
window.onload=function(){var usrAgt=navigator.userAgent.toLowerCase();var ie6=usrAgt.indexOf("msie 6.")!=-1;var ie7=usrAgt.indexOf("msie 7.")!=-1;var ie8=usrAgt.indexOf("msie 8.")!=-1;var opera9=usrAgt.indexOf("opera 9.")!=-1||usrAgt.indexOf("opera/9.")!=-1;var firefox2=usrAgt.indexOf("firefox/2")!=-1;var firefox3=usrAgt.indexOf("firefox/3")!=-1;var safari3=usrAgt.indexOf("safari/5")!=-1;if(ie6||ie7||ie8||opera9||firefox2||firefox3||safari3){var menuThemeImages={theme1:"#b5e558 url('./images/design/themes/theme1/menu.png') top no-repeat",theme2:"#ffc2c2 url('./images/design/themes/theme2/menu.png') top no-repeat",theme3:"#bed8fe url('./images/design/themes/theme3/menu.png') top no-repeat",theme4:"#ffd87c url('./images/design/themes/theme4/menu.png') top no-repeat",theme5:"#dbc1ff url('./images/design/themes/theme5/menu.png') top no-repeat"};var menuThemeBorders={"theme1":"2px solid #b5e558","theme2":"2px solid #ffc2c2","theme3":"2px solid #bed8fe","theme4":"2px solid #ffd87c","theme5":"2px solid #dbc1ff"};$("#globalNavigations a").each(function(){$(this).focus(function(){var menuID=$(this).attr("id").substr(5,6);if(menuID!="curren"){$(this).css({"background":menuThemeImages[menuID],"border-bottom":"2px solid #ffffff"});}}).blur(function(){var menuID=$(this).attr("id").substr(5,6);if(menuID!="curren"){$(this).css({'background':'#ffffff','background-image':'none','border-bottom':menuThemeBorders[menuID]});}});});$("#localNavigations1 a, #localNavigations2 a, #localNavigations3 a, #localNavigations4 a").each(function(){$(this).focus(function(){$(this).addClass("current");}).blur(function(){$(this).removeClass("current");});});}};
