//home page slider
	$(document).ready(function(){
		$('#slider_area').cycle({ 
			fx:     'fade', 
			easing: 'backout', 
			timeout: 5110, 
			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'
		});
	});

//twitter widget
  jQuery(document).ready(function($) {
	$(".twitter_entry").tweet({
	//write here your username
	  username: "themeforest",			
	  count: 1,
	  auto_join_text_url: "we were checking out",
	  loading_text: "loading tweets..."
	});
});
//twitter baloon
	$(document).ready(function(){
				var tbaloon= $(".twitter_baloon");
				var tbaloon_offset= $(".ticon").offset();
					$(".ticon").mouseover(function(){
							tbaloon.css({display:"none"}).fadeIn(400);
					}).mousemove(function(kmouse){
							tbaloon.css({left:tbaloon_offset.left+94, top:tbaloon_offset.top-28});
					}).mouseout(function(){
							tbaloon.fadeOut(400);
					});
	});
//social media icons
	$(document).ready(function(){
			var s_icon= $(".s_icon");
			$(".s_icon").mouseover(function(){
				 $(this).animate({ 
					opacity:1
					}, 200);
			}).mouseout(function(){
				s_icon.animate({ 
					opacity:0.4
					}, 100 );
			});
	});
//porffolio box texts
	$(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 - photo desc.
	$(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();
	});
