$(function() {

	$('a.lightbox').colorbox({photo: true}); // Select all links with lightbox class
	
	$('ul#ticker').liScroll();
	
	// Use AJAX to load a new image into the main viewport, if supported.
	/*$('a.image_thumbnail').click(function() {

		var img_link = $(this).attr("href");
		var img_id = '#hero_image_' + $(this).attr('id');
		var img_loader = '#ajax_loader_' + $(this).attr('id');
		
		// Hide the current image to show the "loading" background
		$(img_id).hide();
		$(img_loader).show();
		
		// Load new image in the background
		var img = new Image();
		
		img.onload = function() { 	
			$(img_loader).hide();
			$(img_id).attr("src", img.src);
			$(img_id).parent().attr("href", img_link);
			$(img_id).fadeIn(1000);
		}
		
		// Load image
		img.src = img_link + "resize/729/300/";
		
		return false;
	});*/

});
