function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> // Nav menu $(document).ready(function(){ $("#navMenu ul ul").hide() .parent().find("a:first").click(function(event){ var x = $("#navMenu ul ul:visible"); var myul = $(this).parent().find("ul"); x.not( myul ).slideUp("slow").parent().find("img:first").attr("src","/images/collapsed.gif"); myul.slideToggle("slow"); //$("#navMenu ul ul:visible").parent().find("img:first").attr("src","/images/expanded.gif"); //$("#navMenu ul ul:hidden").parent().find("img:first").attr("src","/images/collapsed.gif"); // update_images(); return false; }) .end().find("img:first").attr("src","/images/collapsed.gif"); // Email ----- $("span.contact").each(function(){ var to_replace = " [no time] "; $(this).html($(this).html().replace(to_replace, "@")); }); $(function(){ $("a.contact").each(function(){ var to_replace = " [no time] "; $(this).html($(this).html().replace(to_replace, "@")); $(this).attr("href",$(this).attr("href").replace(to_replace, "@")); }); }); // ------- // Nav Menu set location var path = location.pathname.substring(1); if ( path != "" ) { path = "/" + path; $('#navMenu a[@href$="' + path + '"]').attr("class","selected").parent().parent().slideDown("slow"); } }); document.write(''); document.write(''); $(document).ready(function(){ $('img[@src$=.png]').ifixpng(); });