if (jQuery) {
    $(document).ready(function(){
    	// takes care of creating SUPERFISH menu functionality
        $(".nav ul#main-links").supersubs({
            minWidth:    10,   // minimum width of sub-menus in em units 
            maxWidth:    50   // maximum width of sub-menus in em units 
        }).superfish({
            autoArrows:     false,
            dropShadows:    false
        });
        
        // takes care of giving all tables an "odd"/"even" class on each row
        $("table").each(function() {
        	$(this).find("tr:even").addClass('evenRow');
        	$(this).find("tr:odd").addClass('oddRow');
        });
        
        // takes care of RegTemp_Tabbed_WYSIWYG setup
        $("div.Tabbed_WYSIWYG div.tab-content:not(:eq(0))").hide();
        $("div.Tabbed_WYSIWYG ul li a").click(function(){
        	var intIndex = $(this).parent().index();
        	$("div.Tabbed_WYSIWYG ul li.active").removeClass("active");
        	$(this).parent().addClass("active");
        	$("div.Tabbed_WYSIWYG div.tab-content").hide();
        	$("div.Tabbed_WYSIWYG div.tab-content:eq(" + intIndex + ")").show();
        });
    });
}