/* 
	8hrs.net Special Sauce 
	Last Updated: February 16th, 2010
*/

$(document).ready(function() {
	
	/* Pre-define Fancybox operations for projects without available sites. */
	
	$("a.alts").fancybox({
		'hideOnContentClick': true
	});
	
	/* Let people know when images are clickable. Good UX to live by. */
	
	$(".screen").hover(function() {
		$(this).fadeTo(750, 0.65);
	}, function() {	
		$(this).fadeTo(750, 1);
	});
	
	/* Now let's do some binding so we don't double-up div IDs and break spec. */
	
	$('a#l_rh').bind('click', function() {
		$('#rh').trigger('click');
	});
	
	$('a#l_lol').bind('click', function() {
		$('#lol').trigger('click');
	});
	
	$('a#l_fire').bind('click', function() {
		$('#fire').trigger('click');
	});
	
});
