//home page slider
	$(document).ready(function(){
		$('#slider_area').cycle({ 
			fx:     'fade', 
			easing: 'backout', 
			timeout: 8000, 
			pager:  '#stars', 
			cleartype:  1,
			pagerAnchorBuilder: function(idx) { 
				return '<li><a href="#" title="">&nbsp;</a></li>'; 
			} 
		});
	});
//twitter widget
  jQuery(document).ready(function($) {
		$(".twitter_entry").tweet({
		//write here your username
		  username: "themeforest",			
		  count: 2,
		  auto_join_text_url: "we were checking out",
		  loading_text: "loading tweets..."
		});
	});
//porffolio box texts
	$(document).ready(function(){
		$('.portfolio_con').hover(function(){
			$(".portfolio_text", this).stop().animate({left:'0px',opacity:0.9},{queue:false,duration:160});
		}, function() {
			$(".portfolio_text", this).stop().animate({left:'-360px'},{queue:false,duration:160});
		});
	});
//photo gallery - photo desc.
	$(document).ready(function(){
		$('.foto_con').hover(function(){
			$(".foto_text", this).stop().animate({left:'0px',opacity:0.9},{queue:false,duration:160});
		}, function() {
			$(".foto_text", this).stop().animate({left:'-360px'},{queue:false,duration:160});
		});
	});
//pretty photo
	$(document).ready(function(){
		$("a[rel^='prettyPhoto']").prettyPhoto();
	});
//cufon fonts
	$(document).ready(function(){
		Cufon.replace('h1,h2,h3,h4,h5,h6', {hover: true});
	});
	
	//geen iframe
	if (window!=top){top.location.href=location.href;}
