/*
 * Accordian Effects
 * Copyright © 2009 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.map").fancybox({
         'frameWidth': 830,
         'frameHeight': 500,
         'hideOnContentClick': false,
         'callbackOnClose': function() {
            $("#fancy_content").empty();
          }
        });	 
	});
	
