/*
$(document).ready(function() {
$('.glow-me').hover(function(){
	$(this).animate( { color: '#fff8cc' }, 500)
	.animate( { color: 'white' }, 500);
});
$('.glow-me').addGlow({
	radius: 20,
	textColor: '#fff8cc',
	haloColor: '#ffa',
	duration: 500
});
});
*/

$(function(){
					
	//tooltip
	//$(".tooltip").easyTooltip();
				
	//fancybox
	$("a#single_image").fancybox({
		'opacity'		: true,
		'overlayShow'	: true,
		'transitionIn'	: 'elastic',
		'transitionOut'	: 'none'
	});
	
	//fancybox gallery
	$("a[rel=creativeminds_gallery]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
		
	// Check all the checkboxes when the head one is selected:
	$('.checkall').click(
		function(){
			$(this).parent().parent().parent().parent().find("input[type='checkbox']").attr('checked', $(this).is(':checked'));   
		}
	);

	$(".close").click(
		function () {
			$(this).fadeTo(400, 0, function () { // Links with the class "close" will close parent
				$(this).slideUp(400);
			});
		return false;
		}
	);


});

