$tdjQuery = jQuery.noConflict();
$tdjQuery(document).ready(function(){	
	var slider = true;
	
	$tdjQuery("#sliderBlogPosts").easySlider({
		auto: false,
		prevId:	'prevBtn',
		nextId: 'nextBtn',
		prevText: 		'',
		nextText: 		'',
		pause: 10000,
		speed: 500,
		continuous: true
	});
	
	$tdjQuery("#sliderHeader").easySlider({
		auto: true,
		pause: 10000,
		speed: 500,
		continuous: true,
		numeric:true,
		numericId: 'controls'
	});
	
	$tdjQuery("#sliderPortfolio").easySlider({
		auto: true,
		prevId:	'prevPortfolioBtn',
		nextId: 'nextPortfolioBtn',
		prevText: 		'',
		nextText: 		'',
		pause: 4000,
		speed: 500,
		continuous: true
	});
	
	$tdjQuery("#prevPortfolioBtn").fadeTo("fast", 0.8);
	$tdjQuery("#nextPortfolioBtn").fadeTo("fast", 0.8);
	
	$tdjQuery("#prevPortfolioBtn").hover(function(){$tdjQuery(this).stop().fadeTo("fast", 1);},function(){$tdjQuery(this).stop().fadeTo("fast", 0.8);});
	$tdjQuery("#nextPortfolioBtn").hover(function(){$tdjQuery(this).stop().fadeTo("fast", 1);},function(){$tdjQuery(this).stop().fadeTo("fast", 0.8);});
	
	/*
	$tdjQuery("#portfolioSubMenu ul li a span").hide();
	$tdjQuery("#portfolioSubMenu ul li a").hoverIntent(
		function(){
			$tdjQuery(this).find("span").stop(true, true).animate({ height: 'toggle' }, 'fast');
		},
		function(){
			$tdjQuery(this).find("span").stop(true, true).animate({ height: 'toggle' }, 'fast');
		}
	);*/
	

	$tdjQuery(".portfolioThumb").hover(
		function(){
			$tdjQuery(this).find("div").stop().animate({ top: 0 }, 'fast');
		},
		function(){
			$tdjQuery(this).find("div").stop().animate({ top: -28 }, 'fast');
		}
	);
});	
