﻿$(document).ready(function () {

    $("ul.ulDropDownMenu").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)

    $("li.subMenus").mouseover(function () {
        var ul = $(this).find("ul.ulDropDownMenu");
        ul.stop().show(); //Drop down the subnav on click
    });

    $("li.subMenus").mouseout(function () {
        var ul = $(this).find("ul.ulDropDownMenu");
        ul.stop().hide(); //When the mouse hovers out of the subnav, move it back up

    });
});

