	$(document).ready(function() { 
		$(".hide").slideDown("slow");

		$(".sample").hover(
		  function () {
			$(this).children("span").fadeIn("slow");
		  }, 
		  function () {
			$(this).children("span").hide();
		  }
		);
		
		$(".porfolio-item").hover(
		  function () {
			$(this).children(".touched").animate({width: 'toggle'});
		  },
		  function () {
			$(this).children(".touched").animate({width: 'toggle'});
		  }
		);
		
		$(".left a,.right a,.leftdbl a, .rightdbl a").hover(
		  function () {
			$(this).children("img").fadeIn("slow");
		  },
		  function () {
			$(this).children("img").hide();
		  }
		);
		
		$(".toggle-untouched").click(function() {
			$(this).children('img.img-touched').hide();
			$(this).siblings("a").children('img.img-untouched').show();
		});	
		
		$(".toggle-touched").click(function() {
			$(this).children('img.img-untouched').hide();
			$(this).siblings("a").children('img.img-touched').show();
		});			
		
		$("#portfolio-large-inner").cycle({ 
			timeout: 0, 
			speed:   500, 
			next:   '.next', 
			prev:   '.prev'			
		});	
		
        $("input.name, input.email").click(function() {
			$(this).attr("value","");
        });		
	
	});
	
	function gotoslide(id) {
		$('#portfolio-large-inner').cycle(id - 1); 
	}
