/*---[ Details ]---------------------------------------
Global Javascript Scripts
Author: Lee Powell
Contact: lee.powell@soup.co.uk
-------------------------------------------------------*/

(function($){

/* jQuery Pre-Document Load
-------------------------------------------------------*/
/*
 * Add class to html element for styling hook
 * i.e. 'h1 { color: red; }, .js-active h1 { color: blue; }' will display accordingly if javascript is active
 */
$('html').addClass('js-active');

if( typeof Shadowbox != 'undefined' ) Shadowbox.init();
 
/* jQuery Document Load
-------------------------------------------------------*/
jQuery(function(){
		
	$('#gallery .gallery li').each(
		function(i, item){
		
			var link = $('a', $(this));
			
			link.append('<span class="frame"></span>');
		}
	);
	
});

})(jQuery);