		jQuery.noConflict();
		
		// Document Ready Event
		jQuery(document).ready(function(){
			
			// Expandable link click options
			jQuery("a.wpn_toggle-expand").each(function(i) {
				var div = jQuery(this).parent('span').next('div.wpn_expandable');
				
				// Click event
				jQuery(this).click(function(e){
					e.preventDefault();
					
					// If the display is none, change the toggle link class to hide
					if(jQuery(div).css('display')=='none') {
						jQuery(this).removeClass('wpn_toggle-show');
						jQuery(this).addClass('wpn_wpn_toggle-hide');
					}
					// If the display is not none, change the toggle link class to show
					else {
						jQuery(this).removeClass('wpn_wpn_toggle-hide');
						jQuery(this).addClass('wpn_toggle-show');
					}
					
					// Slide toggle
					div.slideToggle("slow");
				});
			});
			
			// Around the site tab links
			jQuery(".wpn_around-tabs a").each(function(i) {
				jQuery(this).click(function(e){
					e.preventDefault();
									
					jQuery(".wpn_around-tabs a").removeClass('wpn_active');
					jQuery(this).addClass('wpn_active');
					
					jQuery('div.wpn_box-around div').removeClass('wpn_active');
					jQuery(jQuery(this).attr('href')).addClass('wpn_active');
				});
			});
			
			// Back to top smooth scroll
			jQuery('.wpn_back-to-top').click(function(e) {
				e.preventDefault();
				
				jQuery('html,body').animate({
					scrollTop: jQuery("#top").offset().top
				},2000);
			});
			
			// Automatically add the wpn_list3 class to all unordered lists that don't already have styles
			jQuery(".wpn_right .wpn_box > ul").each(function() {
				if(jQuery(this).attr('class')!='wpn_list' && jQuery(this).attr('class')!='wpn_list2' && jQuery(this).attr('class')!='wpn_around-tabs') {
					jQuery(this).addClass('wpn_list3');
				}
			});
			
			// Drop down menus - level 2
			jQuery(".wpn_menu > li,.wpn_submenu > 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"}).show(268);
				// menu.slideDown(268);
			},
			function() {
				var menu = jQuery(this).children(':parent > ul');
				menu.css({visibility: "hidden"});
			});
		});
