jQuery(function() {
		//Check screen width and display proper Nav
		/*if (screen.availWidth <= 1024) {				
				jQuery("#main-nav").css("display","none");
				jQuery("#second-nav").css("display","block");
			};*/ //we'll be using the second nav moving forward
		//Sidbebar Title Frillies		
		jQuery("h3.widgettitle")
			.prepend("<img src='/wp-content/themes/ShipkiFarmTheme/images/left-frill-red.png' /> &nbsp;")
			.append("&nbsp; <img src='/wp-content/themes/ShipkiFarmTheme/images/right-frill-red.png' />");
		//Separate nav in Footer with pipes
		jQuery("#bottom-foot li.page-item-5")
			.prepend("| &nbsp;&nbsp;&nbsp;&nbsp;");
		jQuery("#bottom-foot li.page-item-6")
			.prepend("| &nbsp;&nbsp;&nbsp;&nbsp;");
		jQuery("#bottom-foot li.page-item-7")
			.prepend("| &nbsp;&nbsp;&nbsp;&nbsp;");
		
		//Produce Tabs in Sidebar
		jQuery("#bounty-nav li a").click(function() {
			// Figure out current list via CSS class
			var curList = jQuery("#bounty-nav li a.current").attr("rel");
			// List moving to
			var jQuerynewList = jQuery(this);
			// Set outer wrapper height to height of current inner list
			var curListHeight = jQuery("#all-list-wrap").height();
			jQuery("#all-list-wrap").height(curListHeight);
			// Remove highlighting - Add to just-clicked tab
			jQuery("#bounty-nav li a").removeClass("current");
			jQuerynewList.addClass("current");
			// Figure out ID of new list
			var listID = jQuerynewList.attr("rel");
			if (listID != curList) {
				// Fade out current list
				jQuery("#"+curList).fadeOut(300, function() {
					// Fade in new list on callback
					jQuery("#"+listID).fadeIn();
					// Adjust outer wrapper to fit new list snuggly
					var newHeight = jQuery("#"+listID).height();
					jQuery("#all-list-wrap").animate({
						height: newHeight
					});
				});
			}        
			// Don't behave like a regular link
			return false;
		});
		//Remove links from Tags in Recipes
		jQuery('.recipeTags a').removeAttr('href');
});




