// Load Project Image

	
	
$(document).ready(function(){
		
		
	$('#thumbContainer .toggle').click(function(){
		
		$('#thumbContainer .container').slideToggle();

		
	})
	
	
	$(".imageThumb").fancybox({
		'overlayShow'	:	true
	});
	
	
	/* Thumb images */
	$('#loading').hide();	
	
	
	/* news menu */
	
	
	

	/*
	$('.imageThumb').click(function(){
	 	$('#loading').show();	
	 	var imageLink = $(this).attr('image');
		
		$.ajax({
			url: basePath+'/ajax.php?action=template/pages/loadImage.php',
			data: 'img=' + imageLink, // the image url links up in our fake database
			dataType: 'html'
			
			,success: function (html) {
				// because we're inside of the success function, we must refer
				// to the image as 'img' (defined originally), rather than 'this'
				
				$('#projectImage').html(html);
				$('#loading').hide();	
				
				$("#single_image").fancybox({
					'overlayShow'	:	true
				});


				// now show the image
				//$(img).fadeIn();
			  }
			});
			
	})
	*/

})

