$.fn.extend({
	
	zIndex: function(e){
		
		return this.each(function(){
			$(this).css('zIndex',e);
		});

	}
	
});



$(document).ready(function(){

	// webkit browsers load CSS and JS at the same time so make them wait a bit more
	// if (jQuery.browser.safari && document.readyState != "complete") { setTimeout( arguments.callee, 100 ); return; }
	
	
	if ($.isFunction($.fn.colorbox)===true) {
		$('a.galImgThumb').colorbox({
			transition:'fade',
			speed:500
		});
	}
	
	
	
});
