﻿/*
 * Accordian Effects
 * Copyright © Leonard Chan
 * All rights reserved.
*/
		
	jQuery().ready(function(){

		// second simple accordion with special markup
		jQuery('#navigation').accordion({
			active: ".current",
			header: '.head',
            animated:false,
            autoHeight:true,
            fillSpace: false,
            navigation:true
		});
		
		// Using custom settings for breadcrumbs
		jQuery("#breadCrumb0").jBreadCrumb();
    jQuery("#breadCrumb1").jBreadCrumb();
		$("#navigation a").click(function(event){ event.stopPropagation(); });
		
		// Using custom settings for pop up window effect
		$("a.single_image").fancybox(); 
		$("a#inline").fancybox({ 'hideOnContentClick': true 
	 
	 }); 
	 
	 $("a.group").fancybox({ 
		 'zoomSpeedIn': 300, 
		 'zoomSpeedOut': 300, 
		 'overlayShow': true 
	 });
	 $("a.video").fancybox({ 
	 	'frameWidth': 500,
		'frameHeight': 318,
		'hideOnContentClick': false,
		'callbackOnClose': function() {
		$("#fancy_content").empty();
		}
	 });
	 
	});
	
