	$(function() {
		$("#datepicker").datepicker();
		$("#ui-datepicker-div").addClass("round_all");
		$(".ui-datepicker-header").addClass("round_top");
	});


$(document).ready(function(){
	
	//sets max number of images for right column
				var maxDisplayItems = 3;
				var paraColItems = $(".img_col p").length;
				var imgColItems = $(".img_col img").length;
			
				
				for(i=0;i<maxDisplayItems;i++){
						$(".img_col img").eq(i).addClass("showItems");	
					}
				for(i=0;i<maxDisplayItems;i++){
						$(".img_col p").eq(i).addClass("showItems");	
					}
				
	$("#septa_main_content .img_col").css("display","block");


	//$(".img_col img").click(function(){
			//	var pText = $(this).parent().next("p").html();
			//	var tdc = $("#text-description-container p").text("pText");
			//	console.log(pText);
	//		});

	
	$(".img_col img").each(
			function(){
			 if($(this).hasClass("mybox")){
			img_att = $(this).attr("src");
			$(this).wrap("<a></a>");
			$(this).css("border","1px solid #ccc");
			$(this).parent().attr("href",(img_att));
			}
			$(this).attr("width","230");
			$(this).attr("height","170");
			$(this).parent().prepend("<span class='lightbox_button'></span>");
			});
					
	$("#septa_main_content .img_col").css("display","block");
	
	});


    $(function() {
        //$('.img_col a').lightBox2();
		//	$('.lightbox_tnail_container a').lightBox();
		$('.photo_gallery a').lightBox();
    });


