$(document).ready(function () {
    //    //Nav Controls
    $('.menu-horizontal ul').superfish({
        delay: 1000,                                        // one second delay on mouseout 
        animation: { opacity: 'show', height: 'show' },     // fade-in and slide-down animation 
        speed: 'fast',                                      // faster animation speed 
        autoArrows: false,                                  // disable generation of arrow mark-up 
        dropShadows: false                                  // disable drop shadows 
    });
    //    //Nav Controls

    //Add Classes
    //$("#LeftNavigationTop ul li:last-child").addClass("last");
    $("#PrimaryNavB ul li:last-child").addClass("last");

    //Logo clickable to homepage
    $("#SiteID > img").click(function () {

        window.location.href = "/Pages/default.aspx";
    });
    $("#SiteID > img").hover(
      function () {
          //In

          document.body.style.cursor = "pointer";
      },
      function () {
          //out

          document.body.style.cursor = "default";
      }
    );

      $('.topNavContainer li.dynamic-children a[href$="' + L_Menu_BaseUrl + '"]').parent('li').parent('ul').parent('li').addClass('childselected');
});

Cufon.replace('#NewsColumn h3');
Cufon.replace('.replaceFont');
Cufon.replace('#LeftNavigation .pad .ms-navheader');
Cufon.replace('.ms-PostWrapper .ms-PostTitle');
Cufon.replace('#InsideBody h3.ms-standardheader.ms-WPTitle span');
Cufon.replace('#ProductTitle h1');
Cufon.replace('#LeftNavigation #branchlocate .ms-WPTitle span');
Cufon.replace('#LeftNavigationTop > ul:first > li:first > a');
Cufon.replace('#InsideBody h1');
Cufon.replace('#LeftNavigationTop tr.ms-WPHeader h3.ms-standardheader.ms-WPTitle span');


