// JavaScript Document
$(document).ready(function() {

						   $("#accordion3").msAccordion({defaultid:1, vertical:true});
						   $("#accordion4").msAccordion({defaultid:1, vertical:true, event:'mouseover'});
						   }
						   )

$(document).ready(function()
						   {
							  $("#chirstmas").click(function () {
      $("#img1").show("slow");
    });


						   }				   
						   
						   );



 $(document).ready(function(){
$('.title').click(function() {
     // $('.content1').hide(400); 
  });
  });  






$(document).ready(function(){

	$(".thumbs a").click(function(){
	
		var largePath = $(this).attr("href");
		var largeAlt = $(this).attr("title");
		$("#largeImg").attr({ src: largePath, alt: largeAlt });
		$("#largeImg").css({display:'block'});
		setTimeout ('startSlide()',6000);

		
		return false;
	});
	
});

function startSlide()
{
	
	//("#largeImg").fadeOut("slow");
	//$("#largeImg").css({display:'none'});
	$("#largeImg").hide('slow');
	
	
}
			
			$(function()
			{
				// this initialises the demo scollpanes on the page.
				$('#pane1').jScrollPane({showArrows:true, scrollbarWidth: 17});
				$('#pane2').jScrollPane({showArrows:true, scrollbarWidth: 15, arrowSize: 16});
				$('#pane3').jScrollPane();
+				$('#pane4').jScrollPane({scrollbarOnLeft:true});
			});
			

$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade',
		timeout:1000// choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});



