$(document).ready(function(){
	$('.mywork').cycle({
		fx:     'scrollLeft',
		timeout:  3000,
		easing:  'backinout',
		next:   '.next',
		pause:   1
	});
	
	/*$('#nav ul li').hover( function() {
		$(this).find('a').css("opacity", "0");
	});*/
	/*
	$('#nav ul li a').hover(function(){
		$(this).stop().animate({backgroundColor: '#EDBD2B'}, 300);
	});
	*/
	$('#get_in_touch #email_id').css('display', 'none');
	$('#get_in_touch a#email').click( function() {
		$('#get_in_touch #email_id').slideToggle();
		return false;
	});
		
	$('a.work_img').hover(
		function () {
			$(this).children('div.overlay').stop(true).animate({opacity: 0.8}, "normal");
		},
		function () {
			$(this).children('div.overlay').animate({opacity: 0}, "normal");
		}
	).children('div.overlay').css({display:'block', opacity: 0});
/*
	$('a.work_img').hover(function() {
		$('div.overlay').mouseout(function() {
			$(this).children('div.overlay').stop();
			$(this).slideUp('slow');
		});
		
		$(this).children('div.overlay').slideDown('slow');
		
	});
*/
});
