//<![CDATA[
			$(document).ready(function(){
			//tabs
			$('#tabs > ul').tabs();
			//$('#tabs2 > ul').tabs();
			//slider
			$('#sliderP').slider({
				'min': 1,
				'max': 10,
				'slide':function(){
					var num = $(this).slider('value')-1;
					var num2 = num+1;
					$("#paragraphs p:gt(" + num + ")").hide();
					$("#paragraphs p:lt(" + num2 + ")").show();
					var code = $("#paragraphs");
					$("#pCode, #temp").text("");
					$("#paragraphs p:lt(" + num2 + ")").each(function(){
						var newP = "<p>" + $(this).text() + "</p>\n\n";
						$("#temp").append(newP);
						var thecode = $("#temp").html();
						$("#pCode").val(thecode);
					});
					$("#lists ul:gt(" + num + ")").hide();
					$("#lists ul:lt(" + num2 + ")").show();
					var code = $("#lists");
					$("#lCode, #temp").text("");
					$("#lists ul:lt(" + num2 + ")").each(function(){
						var newL = "<ul>" + $(this).html() + "</ul>\n\n";
						$("#temp").append(newL);
						var thecode = $("#temp").html();
						$("#lCode").val(thecode);
					});
				}
			});
			var num = 0;
			var num2 = num+1;
			$("#paragraphs p:gt(" + num + ")").hide();
			$("#paragraphs p:lt(" + num2 + ")").show();
			var code = $("#paragraphs");
			$("#pCode, #temp").text("");
			$("#paragraphs p:lt(" + num2 + ")").each(function(){
				var newP = "<p>" + $(this).text() + "</p>\n\n";
				$("#temp").append(newP);
				var thecode = $("#temp").html();
				$("#pCode").val(thecode);
			});
			
			$("#lists ul:gt(" + num + ")").hide();
			$("#lists ul:lt(" + num2 + ")").show();
			var code = $("#lists");
			$("#lCode, #temp").text("");
			$("#lists ul:lt(" + num2 + ")").each(function(){
				var newL = "<ul>" + $(this).html() + "</ul>\n\n";
				$("#temp").append(newL);
				var thecode = $("#temp").html();
				$("#lCode").val(thecode);
			});
			
			
						
			//$('#sliderP .ui-slider-handle').css('left','45%');
			});
		//]]>