$(function() {
    $('#nav').hover(function() {
        $('#subnav').show();
    },
    function() {
        $('#subnav').hide();
    });
});

function is_current() {
  var i
  for ( i = 0; i < document.links.length; i += 1) {
    var a = document.links[i];
    if (a.href == window.location) {
      a.className = 'current';
    }
  }
}
window.onload=function()
{
  is_current();
}

