		$(document).ready(function(){		
		
		$(".blogs>li > h6").click(function(){			
			$(this).siblings("ul").slideToggle("slow").parent().siblings().find("ul:visible").slideUp("slow");		
			$(this).parent().toggleClass("expand");
			$(this).parent().siblings("li").removeClass("expand");

			});
		
		$(".blogsList>li h6").click(function(){									
			_this = $(this);
			if(!(_this.parent().find("ul.monthDataList").length)){
			$.get(url1,
                	{'clickedMonth' : $(this).attr('id')},function(data){                                
                    	_this.closest('li').append(data);
			});
			}
			
			$(this).parent().find(".monthDataList").slideToggle("slow");			
			$(this).parent().siblings().find("ul:visible").slideUp("slow");
			
			$(this).parent().toggleClass("expand");
			$(this).parent().siblings("li").removeClass("expand");		
		
			}); 

			$("ul.monthDataList li").live('click', function(){
				
				if ($(this).html() != "No Data Found"){
					ServusTV.showOverlay();
					$(".navWrapper").css('z-index',40);
					$(".lightbox_background").addClass("loading");
					var parents = $("#parents").attr('value');
					var queryString = "c=ST_Article&pagename=servustv%2FST_Article%2FBlogDetails&blogId="+$(this).attr('id')+"&parents="+parents;
					var URL = "/cs/Satellite";
					$.ajax({
						type: "POST",
						url: URL,
						data: queryString,
						dataType: "html",
						success: function(col){
							$(".lightbox_background").removeClass("loading");
							ServusTV.hideOverlay();		
							$(".navWrapper").css('z-index',200);		
							$(".mod2Col").html(col);
							
    							
							var carousels=new Array();
							$(".mod2Col .carousel").each(function(){
									carousels[carousels.length]=new Carousel(this)
							});
							
							if ($('.mod2Col .slideshow_images a').length > 0)
							{
								$(".mod2Col .slideshow_images a").lightBox();
							
								$('.cropEditorialGalleryMain').click(function(){
									$('.slideshow_images .current').trigger("click")});
							}
							ServusTV.flushDefault();
							

						},
						error: function(data) {
							alert("Some error occured !");
						}
					});
				}
				
			});
		
		});
