			jQuery.noConflict();
			
			// Document Ready Event
			jQuery(document).ready(function(){
				
				// Hide the subcategories
				jQuery('.left .categories > li > ul ').css('display','none');
				
				// Add dropdown class to links that have dropdowns
				jQuery('.categories > li > ul').each(function(i,li) {
					jQuery(li).parent('li').addClass('dropdown').prepend('<a class="toggle-expand toggle-show" href="#"><img src="'+stylesheet_directory+'/img/spacer.gif" /></a>');
				});
			
				// Expandable link click options
				jQuery("a.toggle-expand").each(function(i) {
					var div = jQuery(this).parent('li').children('ul');
					
					// Click event
					jQuery(this).click(function(e){
						e.preventDefault();
						
						jQuery(this).toggleClass('toggle-hide');
						
						// Slide toggle
						div.slideToggle("slow");
					});
				});
				
				// Drop down menus
				jQuery(".menu > li").hover(
				function(){
					var menu = jQuery(this).children(':parent > ul');
					var offset = jQuery(this).offset();
					var bodywidth = jQuery('body').width();
					
					// Check to make sure the dropdown won't go off screen
					if(offset.left + 200 > bodywidth) {
						menu.css({
							left: 'auto',
							right: '0px'
						});
					}
					
					menu.css({visibility: "visible",display: "none"}).slideDown(250);
				},
				function() {
					var menu = jQuery(this).children(':parent > ul');
					menu.css({visibility: "hidden"});
				});
			});
