$(document).ready(function() {

        // Accordion
        $(".accordion").accordion({active:false,collapsible:true,autoHeight:false});

        // Add span tag to list items so that we can style arrow
				
				$(".quote").append('<span class="last"></span>');
				$(".quote").prepend('<span class="first"></span>');
				
        $("#primary ul li").append('<span></span>');
       
        // On state for primary nav
        $("#primary ul li").hover(
                function () {
                        $(this).addClass('on');
                },
                function () {
                        $(this).removeClass('on');
                }
        );
                             
    $(".subnav h2.on").next('ul').show();
        $(".subnav h2.DROP a").removeAttr('href');
        $(".subnav h2 a").css('cursor','pointer');
        $(".subnav h2.DROP").click(function() {
                $(this).toggleClass('on');
                $(this).next('ul').slideToggle('slow');
        });

           
});
