/*
*	Image Gallery
*	Loads and interfaces with an image gallery
*	
*	Requires Shadowbox library
*/

if (typeof trapeze == 'undefined') trapeze = new Object();

trapeze.PhotoGallery = {	
	init : function() {
        // #Shadowbox
		// $('[rel="shadowbox"]').click(function(){
		//            Shadowbox.open({
		//                content: '<iframe width="100%" height="100%" src="' + $(this).attr('href') + '" frameborder="0" scrolling="no" style="display: block;"></iframe>',
		//                height: 480,
		//                width: 840,
		//                player: 'html'
		//            });
		//            
		//            return false;
		//        });
		
		tb_init('#GalleriesBox li.photo-gallery-item a');
		tb_init('a.thickbox');
	}
}

$(function() {
	trapeze.PhotoGallery.init();
});