//home page slider
	$(document).ready(function(){
		$('#slider_area').cycle({ 
			fx:     'fade', 
			easing: 'backout', 
			timeout: 6110, 
			pager:  '#numbers', 
			cleartype:  1,
			pagerAnchorBuilder: function(idx) { 
				return '<li><a href="#" title="">&nbsp;</a></li>'; 
			} 
		});

		$('#photos_2').cycle({ 
		  cleartypeNoBg: true,
			fx:     'fade', 
			easing: 'backin', 
			timeout: 2110 
		});

		$('#slider2').cycle({ 
				  cleartypeNoBg: true,
				  fx:     'scrollUp', 
				  easing: 'backinout', 
					  timeout:11000,        
					  prev:    '.test_arrows_left',
					  next:    '.test_arrows_right'
		});
	});

//portfolio box
	$(document).ready(function(){
		$('.portfolio_con').hover(function(){
			$(".portfolio_text", this).stop().animate({left:'0px',opacity:0.8},{queue:false,duration:160});
		}, function() {
			$(".portfolio_text", this).stop().animate({left:'-360px'},{queue:false,duration:160});
		});
	});
//photo gallery
	$(document).ready(function(){
		$('.photo_gallery_con').hover(function(){
			$(".photo_gallery_text", this).stop().animate({left:'0px',opacity:0.8},{queue:false,duration:160});
		}, function() {
			$(".photo_gallery_text", this).stop().animate({left:'-360px'},{queue:false,duration:160});
		});
	});
//pretty photo
	$(document).ready(function(){
		$("a[rel^='prettyPhoto']").prettyPhoto();
	});