		$(document).ready(function(){	
			$("#slider").newsslider({
				auto: true, 
				continuous: true
			});
		
var open = true;
		$('#footerSlideButton').click(function () {
			if(open === false) {
				$('#footerSlideContent').animate({ height: '65px' });
			    $(this).css('backgroundPosition', 'top center');
				
				open =true;
			} else {
				$('#footerSlideContent').animate({ height: '0px' });
				
				$(this).css('backgroundPosition', 'bottom center');
				open =false;
			}
		});		
		
		
		// Top band
		
		$("div#panel").slideDown("slow");
		$("#toggle a").toggle();

	$("#close").click(function(){
		$("div#panel").slideUp("slow");	
		$("#toggle a").toggle();

	$("#toggle a").click(function () {
	$("#toggle a").toggle();
	});
	});

	$("#open").click(function(){
		$("div#panel").slideDown("slow");

	$("#toggle a").click(function () {
	$("#toggle a").toggle();
	});	

	$("#close").click(function(){
		$("div#panel").slideUp("slow");	
	});		

	});	
	
	// top band end
		
	});		
		
		
		
		
		
		

