 <!-- start jquery show and hide -->		
$(document).ready(function(){
		$(".istate").each(function(){
			$( this ).bind("click",function(){

				if($("div#a"+$(this).attr('id')).is(":visible")){
		        	$(".hidecont").hide();
				}
				else{
				$(".hidecont").hide();
				$("div#a"+$(this).attr('id')).show();
				}
				
				$(".hidecont .delete").click(function(){
					$(this).parents(".hidecont").animate({ opacity: 'hide' }, "slow");
				});
			});
       		});
	});


 <!-- start jquery show and hide -->		
	$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('#slickbox').hide();
 // shows the slickbox on clicking the noted link  
  $('a#slick-show').click(function() {
    $('#slickbox').show('slow');
    return false;
  });
 // hides the slickbox on clicking the noted link  
  $('a#slick-hide').click(function() {
    $('#slickbox').hide('fast');
    return false;
  });
 
 // toggles the slickbox on clicking the noted link  
  $('a#slick-toggle').click(function() {
    $('#slickbox').toggle(400);
    return false;
  });
});


<!-- default hide the arrow when scroll show the arrow -->
$(document).ready(function(){

	// hide #back-top first
	$("#back-top").hide();
	
	// fade in #back-top
	$(function () {
		$(window).scroll(function () {
			if ($(this).scrollTop() > 100) {
				$('#back-top').fadeIn();
			} else {
				$('#back-top').fadeOut();
			}
		});

		// scroll body to 0px on click
		$('#back-top a').click(function () {
			$('body,html').animate({
				scrollTop: 0
			}, 800);
			return false;
		});
	});

});

