// when the DOM is ready...
$(document).ready(function () {

	$('#wrapper').scrollTo("#item4", {duration: 0});

	var movie1 = $('.movie1').html();
	var movie2 = $('.movie2').html();

	$('.nav-on').hide();
	$('#nav1-on').show();

	$('#nav-home')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 -59px)"}, 
				{duration:200})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:200})
			})
			
	$('#nav-philosophy')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 -59px)"}, 
				{duration:200})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:200})
			})
			
	$('#nav-work')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 -59px)"}, 
				{duration:200})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:200})
			})
			
	$('#nav-services')
				.css( {backgroundPosition: "0 0"} )
				.mouseover(function(){
					$(this).stop().animate(
						{backgroundPosition:"(0 -59px)"}, 
						{duration:200})
					})
				.mouseout(function(){
					$(this).stop().animate(
						{backgroundPosition:"(0 0)"}, 
						{duration:200})
		})			
		
	$('#nav-contact')
			.css( {backgroundPosition: "0 0"} )
			.mouseover(function(){
				$(this).stop().animate(
					{backgroundPosition:"(0 -59px)"}, 
					{duration:200})
				})
			.mouseout(function(){
				$(this).stop().animate(
					{backgroundPosition:"(0 0)"}, 
					{duration:200})
		})		
	
	$('a#nav-home').click(function () {
		$('a.panel').removeClass('active');
		$(this).addClass('active');
		$('.nav-on').hide();
		$('#nav1-on').show();
		$('#wrapper').scrollTo($('#item4'), 2000, {queue:true});	
		$('#contactForm').show();
		$('#thanks').hide();	
		$('#name').val('');
		$('#email').val('');
		$('#comments').val('');
	});
	$('a#nav-philosophy').click(function () {
		$('a.panel').removeClass('active');
		$(this).removeClass('navOff');
		$(this).addClass('active');
		$('.nav-on').hide();
		$('#nav2-on').show();
		$('#wrapper').scrollTo($('#philo'), 2000, {queue:true});	
		$('#contactForm').show();
		$('#thanks').hide();	
		$('#name').val('');
		$('#email').val('');
		$('#comments').val('');
	});
	$('#nav-work').click(function () {
		$('a.panel').removeClass('active');
		$(this).addClass('active');
		$('.nav-on').hide();
		$('#nav3-on').show();
		$('#wrapper').scrollTo($('#work'), 2000, {queue:true});	
		$('#contactForm').show();
		$('#thanks').hide();	
		$('#name').val('');
		$('#email').val('');
		$('#comments').val('');
	});
	$('#nav-services').click(function () {
		$('a.panel').removeClass('active');
		$(this).addClass('active');
		$('.nav-on').hide();
		$('#nav4-on').show();
		$('#wrapper').scrollTo($('#services'), 2000, {queue:true});
		$('#contactForm').show();
		$('#thanks').hide();		
		$('#name').val('');
		$('#email').val('');
		$('#comments').val('');
	});
	$('#nav-contact').click(function () {
		$('a.panel').removeClass('active');
		$(this).addClass('active');
		$('.nav-on').hide();
		$('#nav5-on').show();
		$('#wrapper').scrollTo($('#item2'), 2000, {queue:true});	
		$('#contactForm').show();
		$('#thanks').hide();	
		$('#name').val('');
		$('#email').val('');
		$('#comments').val('');
	});
	
	$('.philo').click(function () {
		$('a.panel').removeClass('active');
		$('#nav-philosophy').addClass('active');
		$('#wrapper').scrollTo($('#philo'), 2000);		
	});
	
	$('.work').click(function () {
		$('a.panel').removeClass('active');
		$('#nav-work').addClass('active');
		$('#wrapper').scrollTo($('#work'), 2000);		
	});
	
	$('.services').click(function () {
		$('a.panel').removeClass('active');
		$('#nav-services').addClass('active');
		$('#wrapper').scrollTo($('#services'), 2000);		
	});
	
	$('.contact').click(function () {
		$('a.panel').removeClass('active');
		$('#nav-contact').addClass('active');
		$('#wrapper').scrollTo($('#item2'), 2000);		
	});

	
	$('#home-hola')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 -88px)"}, 
				{duration:500})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:500})
			})
		
		
	$('.error span').hide();	
	$('#philo-arrow2').hide();
	$('#serv-arrow2').hide();
	
	$('.philo-arrow')
		.css( {backgroundPosition: "-10px 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:200})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(-10px 0)"}, 
				{duration:200})
			})
			
	$('.serv-arrow')
		.css( {backgroundPosition: "-10px 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:200})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(-10px 0)"}, 
				{duration:200})
			})
	
	$('.work-arrow')
		.css( {backgroundPosition: "-10px 0"} )
		.mouseover(function(){
			$(this).stop().animate(
				{backgroundPosition:"(0 0)"}, 
				{duration:200})
			})
		.mouseout(function(){
			$(this).stop().animate(
				{backgroundPosition:"(-10px 0)"}, 
				{duration:200})
			})

			
			$('#philo-arrow1').click(function () {
				$('#philo-arrow1').hide();
				$('#philo-arrow2').show();
				$('#philo-nav1 a').removeClass('active');
				$('#philo-nav2 a').addClass('active');
				$('#philo-content').scrollTo('667px', 1000);		
				return false;
			});

			$('#philo-arrow2').click(function () {
				$('#philo-arrow2').hide();
				$('#philo-arrow1').show();
				$('#philo-nav2 a').removeClass('active');
				$('#philo-nav1 a').addClass('active');
				$('#philo-content').scrollTo('0px', 1000);		
				return false;
			});
			
			$('#philo-nav2 a').click(function () {
				$('#philo-arrow1').hide();
				$('#philo-arrow2').show();
				$('#philo-nav1 a').removeClass('active');
				$('#philo-nav2 a').addClass('active');
				$('#philo-content').scrollTo('667px', 1000);		
				return false;
			});
			
			$('#philo-nav1 a').click(function () {
				$('#philo-arrow2').hide();
				$('#philo-arrow1').show();
				$('#philo-nav2 a').removeClass('active');
				$('#philo-nav1 a').addClass('active');
				$('#philo-content').scrollTo('0px', 1000);		
				return false;
			});
			
			
			$('#serv-arrow1').click(function () {
				$('#serv-arrow1').hide();
				$('#serv-arrow2').show();
				$('#serv-nav1 a').removeClass('active');
				$('#serv-nav2 a').addClass('active');
				$('#serv-content').scrollTo('667px', 1000);		
				return false;
			});

			$('#serv-arrow2').click(function () {
				$('#serv-arrow2').hide();
				$('#serv-arrow1').show();
				$('#serv-nav2 a').removeClass('active');
				$('#serv-nav1 a').addClass('active');
				$('#serv-content').scrollTo('0px', 1000);		
				return false;
			});
			
			$('#serv-nav2 a').click(function () {
				$('#serv-arrow1').hide();
				$('#serv-arrow2').show();
				$('#serv-nav1 a').removeClass('active');
				$('#serv-nav2 a').addClass('active');
				$('#serv-content').scrollTo('667px', 1000);		
				return false;
			});
			
			$('#serv-nav1 a').click(function () {
				$('#serv-arrow2').hide();
				$('#serv-arrow1').show();
				$('#serv-nav2 a').removeClass('active');
				$('#serv-nav1 a').addClass('active');
				$('#serv-content').scrollTo('0px', 1000);		
				return false;
			});
			
			$('.fire').click(function () {
				$('#serv-arrow1').hide();
				$('#serv-arrow2').show();
				$('#serv-nav1 a').removeClass('active');
				$('#serv-nav2 a').addClass('active');
				$('#serv-content').scrollTo('667px', 1000);		
				return false;
			});
			
			$('#content-all .view-work1').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow1').show();
				$(".movie1").html(movie1);
				$('.work-wrapper').scrollTo('.work1-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work2').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work-wrapper').scrollTo('.work2-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work3').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow3').show();
				$('.work-wrapper').scrollTo('.work3-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work4').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow4').show();
				$('.work-wrapper').scrollTo('.work4-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work5').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow5').show();
				$('.work-wrapper').scrollTo('.work5-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work6').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work-wrapper').scrollTo('.work6-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work7').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work-wrapper').scrollTo('.work7-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work8').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work-wrapper').scrollTo('.work8-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work9').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow9').show();
				$('.work-wrapper').scrollTo('.work9-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work10').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work-wrapper').scrollTo('.work10-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work11').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work-wrapper').scrollTo('.work11-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work12').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work-wrapper').scrollTo('.work12-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work13').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work-wrapper').scrollTo('.work13-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work14').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work-wrapper').scrollTo('.work14-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work15').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work-wrapper').scrollTo('.work15-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work16').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work-wrapper').scrollTo('.work16-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work17').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow17').show();
				$('.work-wrapper').scrollTo('.work17-content', 0);
			    return false; 
			});
			
			$('#content-all .view-work18').click(function(){ 
			    $('#work-all').show();
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work-wrapper').scrollTo('.work18-content', 0);
			    return false; 
			});
			
			
			$('#content-id .view-work1').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow1').show();
				$('.work-wrapper').scrollTo('.work1-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work2').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work-wrapper').scrollTo('.work2-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work3').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow3').show();
				$('.work-wrapper').scrollTo('.work3-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work4').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow4').show();
				$('.work-wrapper').scrollTo('.work4-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work5').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow5').show();
				$('.work-wrapper').scrollTo('.work5-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work6').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work-wrapper').scrollTo('.work6-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work7').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work-wrapper').scrollTo('.work7-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work8').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work-wrapper').scrollTo('.work8-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work9').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow9').show();
				$('.work-wrapper').scrollTo('.work9-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work10').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work-wrapper').scrollTo('.work10-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work11').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work-wrapper').scrollTo('.work11-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work12').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work-wrapper').scrollTo('.work12-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work13').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work-wrapper').scrollTo('.work13-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work14').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work-wrapper').scrollTo('.work14-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work15').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work-wrapper').scrollTo('.work15-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work16').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work-wrapper').scrollTo('.work16-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work17').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow17').show();
				$('.work-wrapper').scrollTo('.work17-content', 0);
			    return false; 
			});
			
			$('#content-id .view-work18').click(function(){ 
			    $('#work-id').show();
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work-wrapper').scrollTo('.work18-content', 0);
			    return false; 
			});
			
			
			$('#content-print .view-work1').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow1').show();
				$('.work-wrapper').scrollTo('.work1-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work2').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work-wrapper').scrollTo('.work2-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work3').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow3').show();
				$('.work-wrapper').scrollTo('.work3-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work4').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow4').show();
				$('.work-wrapper').scrollTo('.work4-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work5').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow5').show();
				$('.work-wrapper').scrollTo('.work5-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work6').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work-wrapper').scrollTo('.work6-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work7').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work-wrapper').scrollTo('.work7-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work8').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work-wrapper').scrollTo('.work8-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work9').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow9').show();
				$('.work-wrapper').scrollTo('.work9-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work10').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work-wrapper').scrollTo('.work10-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work11').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work-wrapper').scrollTo('.work11-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work12').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work-wrapper').scrollTo('.work12-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work13').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work-wrapper').scrollTo('.work13-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work14').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work-wrapper').scrollTo('.work14-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work15').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work-wrapper').scrollTo('.work15-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work16').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work-wrapper').scrollTo('.work16-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work17').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow17').show();
				$('.work-wrapper').scrollTo('.work17-content', 0);
			    return false; 
			});
			
			$('#content-print .view-work18').click(function(){ 
			    $('#work-print').show();
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work-wrapper').scrollTo('.work18-content', 0);
			    return false; 
			});
			
			
			$('#content-int .view-work1').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow1').show();
				$(".movie2").html(movie2);
				$('.work-wrapper').scrollTo('.work1-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work2').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work-wrapper').scrollTo('.work2-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work3').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow3').show();
				$('.work-wrapper').scrollTo('.work3-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work4').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow4').show();
				$('.work-wrapper').scrollTo('.work4-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work5').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow5').show();
				$('.work-wrapper').scrollTo('.work5-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work6').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work-wrapper').scrollTo('.work6-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work7').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work-wrapper').scrollTo('.work7-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work8').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work-wrapper').scrollTo('.work8-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work9').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow9').show();
				$('.work-wrapper').scrollTo('.work9-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work10').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work-wrapper').scrollTo('.work10-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work11').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work-wrapper').scrollTo('.work11-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work12').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work-wrapper').scrollTo('.work12-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work13').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work-wrapper').scrollTo('.work13-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work14').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work-wrapper').scrollTo('.work14-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work15').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work-wrapper').scrollTo('.work15-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work16').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work-wrapper').scrollTo('.work16-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work17').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow17').show();
				$('.work-wrapper').scrollTo('.work17-content', 0);
			    return false; 
			});
			
			$('#content-int .view-work18').click(function(){ 
			    $('#work-int').show();
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work-wrapper').scrollTo('.work18-content', 0);
			    return false; 
			});
			
			$('.work-arrow').hide();
			$('.work-arrow1').show();
			
			$('#work-all .work-arrow1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$(".vid1").remove();
				$('.work-wrapper').scrollTo('.work2-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-2').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').addClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image2', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow2-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-3').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').addClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image3', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow2-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-4').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').addClass('active');
				$('.work2-wrapper').scrollTo('.work2-image4', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow2-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow3').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work-wrapper').scrollTo('.work3-content', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow4').show();
				$('.work-wrapper').scrollTo('.work4-content', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5').show();	
				$('.work5-img1').addClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');		
				$('.work-wrapper').scrollTo('.work5-content', 1000);
				return false;
			});
			
			$('#work-all .work-arrow5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-2').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').addClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');	
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image2', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow5-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-3').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').addClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');	
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image3', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow5-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-4').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').addClass('active');
				$('.work5-img5').removeClass('active');	
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image4', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow5-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-5').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').addClass('active');	
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image5', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow5-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-6').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').addClass('active');
				$('.work5-wrapper').scrollTo('.work5-image6', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow5-6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work5-img1').addClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').removeClass('active');
				$('.work-wrapper').scrollTo('.work6-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow6-2').show();
				$('.work6-img1').removeClass('active');
				$('.work6-img2').addClass('active');
				$('.work6-wrapper').scrollTo('.work6-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow6-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work6-img1').removeClass('active');
				$('.work6-img2').addClass('active');
				$('.work-wrapper').scrollTo('.work7-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow7').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-2').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').addClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image2', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow7-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-3').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').addClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image3', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow7-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-4').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').addClass('active');
				$('.work7-wrapper').scrollTo('.work7-image4', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow7-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work7-img1').addClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');	
				$('.work-wrapper').scrollTo('.work8-content', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow8').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8-2').show();
				$('.work8-img1').removeClass('active');
				$('.work8-img2').addClass('active');
				$('.work8-wrapper').scrollTo('.work8-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow8-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow9').show();
				$('.work8-img1').addClass('active');
				$('.work8-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work9-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow9').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow9-2').show();
				$('.work9-img1').removeClass('active');
				$('.work9-img2').addClass('active');
				$('.work9-wrapper').scrollTo('.work9-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow9-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work9-img1').removeClass('active');
				$('.work9-img2').addClass('active');
				$('.work-wrapper').scrollTo('.work10-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow10').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-2').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').addClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow10-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-3').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').addClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image3', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow10-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-4').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').addClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image4', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow10-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-5').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').addClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image5', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow10-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-6').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work10-wrapper').scrollTo('.work10-image6', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow10-6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work-wrapper').scrollTo('.work11-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow11').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow11-2').show();
				$('.work11-img1').removeClass('active');
				$('.work11-img2').addClass('active');
				$('.work11-wrapper').scrollTo('.work11-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow11-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work11-img1').addClass('active');
				$('.work11-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work12-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow12').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work-wrapper').scrollTo('.work13-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow13').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-2').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').addClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');	
				$('.work13-wrapper').scrollTo('.work13-image2', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow13-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-3').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').addClass('active');
				$('.work13-img4').removeClass('active');
				$('.work13-wrapper').scrollTo('.work13-image3', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow13-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-4').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').addClass('active');
				$('.work13-wrapper').scrollTo('.work13-image4', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow13-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work13-img1').addClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');
				$('.work-wrapper').scrollTo('.work14-content', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow14').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14-2').show();
				$('.work14-img1').removeClass('active');
				$('.work14-img2').addClass('active');
				$('.work14-img3').removeClass('active');
				$('.work14-wrapper').scrollTo('.work14-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow14-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14-3').show();
				$('.work14-img1').removeClass('active');
				$('.work14-img2').removeClass('active');
				$('.work14-img3').addClass('active');
				$('.work14-wrapper').scrollTo('.work14-image3', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow14-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work14-img1').addClass('active');
				$('.work14-img2').removeClass('active');
				$('.work14-img3').removeClass('active');
				$('.work-wrapper').scrollTo('.work15-content', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow15').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-2').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').addClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow15-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-3').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').addClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image3', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow15-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-4').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').addClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image4', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow15-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-5').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').addClass('active');
				$('.work15-wrapper').scrollTo('.work15-image5', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow15-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work15-img1').addClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work-wrapper').scrollTo('.work16-content', 1000);	
				return false;
			});
			
			$('#work-all .work-arrow16').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16-2').show();
				$('.work16-img1').removeClass('active');
				$('.work16-img2').addClass('active');
				$('.work16-wrapper').scrollTo('.work16-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow16-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow17').show();
				$('.work16-img1').removeClass('active');
				$('.work16-img2').addClass('active');
				$('.work-wrapper').scrollTo('.work17-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow17').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work-wrapper').scrollTo('.work18-content', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow18').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-2').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').addClass('active');
				$('.work18-img3').removeClass('active');
				$('.work18-wrapper').scrollTo('.work18-image2', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow18-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-3').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').addClass('active');
				$('.work18-wrapper').scrollTo('.work18-image3', 1000);		
				return false;
			});
			
			$('#work-all .work-arrow18-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow1').show();
				$('.work18-img1').addClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').removeClass('active');
				$('.work-wrapper').scrollTo('.work1-content', 1000);	
				return false;
			});
			
			
			$('#work-id .work-arrow2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-2').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').addClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image2', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow2-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-3').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').addClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image3', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow2-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-4').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').addClass('active');
				$('.work2-wrapper').scrollTo('.work2-image4', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow2-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow3').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work-wrapper').scrollTo('.work3-content', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow4').show();
				$('.work-wrapper').scrollTo('.work4-content', 1000);
				return false;
			});
			
			$('#work-id .work-arrow4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7').show();		
				$('.work-wrapper').scrollTo('.work7-content', 1000);
				return false;
			});
			
			$('#work-id .work-arrow7').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-2').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').addClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image2', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow7-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-3').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').addClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image3', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow7-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-4').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').addClass('active');
				$('.work7-wrapper').scrollTo('.work7-image4', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow7-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work7-img1').addClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');	
				$('.work-wrapper').scrollTo('.work10-content', 1000);	
				return false;
			});
			
			$('#work-id .work-arrow10').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-2').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').addClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image2', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow10-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-3').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').addClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image3', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow10-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-4').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').addClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image4', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow10-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-5').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').addClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image5', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow10-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-6').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work10-wrapper').scrollTo('.work10-image6', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow10-6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work-wrapper').scrollTo('.work12-content', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow12').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work-wrapper').scrollTo('.work13-content', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow13').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work16-img1').addClass('active');
				$('.work16-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work16-content', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow16').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16-2').show();
				$('.work16-img1').removeClass('active');
				$('.work16-img2').addClass('active');
				$('.work16-wrapper').scrollTo('.work16-image2', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow16-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work16-img1').addClass('active');
				$('.work16-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work18-content', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow18').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-2').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').addClass('active');
				$('.work18-img3').removeClass('active');
				$('.work18-wrapper').scrollTo('.work18-image2', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow18-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-3').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').addClass('active');
				$('.work18-wrapper').scrollTo('.work18-image3', 1000);		
				return false;
			});
			
			$('#work-id .work-arrow18-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work2-img1').addClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').removeClass('active');
				$('.work-wrapper').scrollTo('.work2-content', 1000);	
				$('.work2-wrapper').scrollTo('.work2-image1', 1000);
				return false;
			});
			
			
			$('#work-print .work-arrow5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-2').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').addClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');	
				$('.work5-wrapper').scrollTo('.work5-image2', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow5-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-3').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').addClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');	
				$('.work5-wrapper').scrollTo('.work5-image3', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow5-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-4').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').addClass('active');
				$('.work5-img5').removeClass('active');	
				$('.work5-wrapper').scrollTo('.work5-image4', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow5-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-5').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').addClass('active');	
				$('.work5-wrapper').scrollTo('.work5-image5', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow5-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work5-img1').addClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work-wrapper').scrollTo('.work7-content', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow7').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-2').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').addClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image2', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow7-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-3').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').addClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image3', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow7-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-4').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').addClass('active');
				$('.work7-wrapper').scrollTo('.work7-image4', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow7-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work7-img1').addClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');	
				$('.work-wrapper').scrollTo('.work10-content', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow10').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-2').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').addClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image2', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow10-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-3').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').addClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image3', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow10-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-4').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').addClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image4', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow10-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-5').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').addClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image5', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow10-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-6').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work10-wrapper').scrollTo('.work10-image6', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow10-6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work10-img1').addClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work-wrapper').scrollTo('.work15-content', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow15').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-2').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').addClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image2', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow15-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-3').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').addClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image3', 1000);		
				return false;
			});
			
			$('#work-print .work-arrow15-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-4').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').addClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image4', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow15-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-5').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').addClass('active');
				$('.work15-wrapper').scrollTo('.work15-image5', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow15-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow17').show();
				$('.work15-img1').addClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work-wrapper').scrollTo('.work17-content', 1000);	
				return false;
			});
			
			$('#work-print .work-arrow17').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5').show();
				$('.work-wrapper').scrollTo('.work5-content', 1000);		
				return false;
			});
			
			
			$('#work-int .work-arrow1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work-wrapper').scrollTo('.work2-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-2').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').addClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image2', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow2-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-3').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').addClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image3', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow2-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-4').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').addClass('active');
				$('.work2-wrapper').scrollTo('.work2-image4', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow2-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work-wrapper').scrollTo('.work6-content', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow6-2').show();
				$('.work6-img1').removeClass('active');
				$('.work6-img2').addClass('active');
				$('.work6-wrapper').scrollTo('.work6-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow6-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work6-img1').addClass('active');
				$('.work6-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work7-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow7').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-2').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').addClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image2', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow7-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-3').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').addClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image3', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow7-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-4').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').addClass('active');
				$('.work7-wrapper').scrollTo('.work7-image4', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow7-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work7-img1').addClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');	
				$('.work-wrapper').scrollTo('.work8-content', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow8').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8-2').show();
				$('.work8-img1').removeClass('active');
				$('.work8-img2').addClass('active');
				$('.work8-wrapper').scrollTo('.work8-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow8-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow9').show();
				$('.work8-img1').addClass('active');
				$('.work8-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work9-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow9').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow9-2').show();
				$('.work9-img1').removeClass('active');
				$('.work9-img2').addClass('active');
				$('.work9-wrapper').scrollTo('.work9-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow9-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work9-img1').removeClass('active');
				$('.work9-img2').addClass('active');
				$('.work-wrapper').scrollTo('.work10-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow10').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-2').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').addClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow10-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-3').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').addClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image3', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow10-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-4').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').addClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image4', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow10-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-5').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').addClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image5', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow10-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-6').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work10-wrapper').scrollTo('.work10-image6', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow10-6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work-wrapper').scrollTo('.work11-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow11').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow11-2').show();
				$('.work11-img1').removeClass('active');
				$('.work11-img2').addClass('active');
				$('.work11-wrapper').scrollTo('.work11-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow11-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work11-img1').addClass('active');
				$('.work11-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work13-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow13').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-2').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').addClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');	
				$('.work13-wrapper').scrollTo('.work13-image2', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow13-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-3').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').addClass('active');
				$('.work13-img4').removeClass('active');
				$('.work13-wrapper').scrollTo('.work13-image3', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow13-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-4').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').addClass('active');
				$('.work13-wrapper').scrollTo('.work13-image4', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow13-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work13-img1').addClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');
				$('.work-wrapper').scrollTo('.work14-content', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow14').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14-2').show();
				$('.work14-img1').removeClass('active');
				$('.work14-img2').addClass('active');
				$('.work14-img3').removeClass('active');
				$('.work14-wrapper').scrollTo('.work14-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow14-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14-3').show();
				$('.work14-img1').removeClass('active');
				$('.work14-img2').removeClass('active');
				$('.work14-img3').addClass('active');
				$('.work14-wrapper').scrollTo('.work14-image3', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow14-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work14-img1').addClass('active');
				$('.work14-img2').removeClass('active');
				$('.work14-img3').removeClass('active');
				$('.work-wrapper').scrollTo('.work15-content', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow15').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-2').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').addClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow15-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-3').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').addClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image3', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow15-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-4').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').addClass('active');
				$('.work15-img5').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image4', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow15-4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-5').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').addClass('active');
				$('.work15-wrapper').scrollTo('.work15-image5', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow15-5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work15-img1').addClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-img4').removeClass('active');
				$('.work15-img5').removeClass('active');
				$('.work-wrapper').scrollTo('.work16-content', 1000);	
				return false;
			});
			
			$('#work-int .work-arrow16').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16-2').show();
				$('.work16-img1').removeClass('active');
				$('.work16-img2').addClass('active');
				$('.work16-wrapper').scrollTo('.work16-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow16-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work16-img1').addClass('active');
				$('.work16-img2').removeClass('active');
				$('.work-wrapper').scrollTo('.work18-content', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow18').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-2').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').addClass('active');
				$('.work18-img3').removeClass('active');
				$('.work18-wrapper').scrollTo('.work18-image2', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow18-2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-3').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').addClass('active');
				$('.work18-wrapper').scrollTo('.work18-image3', 1000);		
				return false;
			});
			
			$('#work-int .work-arrow18-3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow1').show();
				$('.work18-img1').addClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').removeClass('active');
				$('.work-wrapper').scrollTo('.work1-content', 1000);
				return false;
			});
			
			
			$('.work2-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2').show();
				$('.work2-img1').addClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image1', 1000);		
				return false;
			});
			$('.work2-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-2').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').addClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image2', 1000);		
				return false;
			});
			$('.work2-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-3').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').addClass('active');
				$('.work2-img4').removeClass('active');
				$('.work2-wrapper').scrollTo('.work2-image3', 1000);		
				return false;
			});
			$('.work2-img4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow2-4').show();
				$('.work2-img1').removeClass('active');
				$('.work2-img2').removeClass('active');
				$('.work2-img3').removeClass('active');
				$('.work2-img4').addClass('active');
				$('.work2-wrapper').scrollTo('.work2-image4', 1000);		
				return false;
			});
			
			$('.work4-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow4-1').show();
				$('.work4-img1').addClass('active');
				$('.work4-img2').removeClass('active');
				$('.work4-wrapper').scrollTo('.work4-image1', 1000);		
				return false;
			});
			$('.work4-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow4-2').show();
				$('.work4-img1').removeClass('active');
				$('.work4-img2').addClass('active');
				$('.work4-wrapper').scrollTo('.work4-image2', 1000);		
				return false;
			});
			
			$('.work5-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5').show();
				$('.work5-img1').addClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image1', 1000);		
				return false;
			});
			$('.work5-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-2').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').addClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image2', 1000);		
				return false;
			});
			$('.work5-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-3').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').addClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image3', 1000);		
				return false;
			});
			$('.work5-img4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-4').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').addClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image4', 1000);		
				return false;
			});
			$('.work5-img5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-5').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').addClass('active');
				$('.work5-img6').removeClass('active');
				$('.work5-wrapper').scrollTo('.work5-image5', 1000);		
				return false;
			});
			$('.work5-img6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow5-6').show();
				$('.work5-img1').removeClass('active');
				$('.work5-img2').removeClass('active');
				$('.work5-img3').removeClass('active');
				$('.work5-img4').removeClass('active');
				$('.work5-img5').removeClass('active');
				$('.work5-img6').addClass('active');
				$('.work5-wrapper').scrollTo('.work5-image6', 1000);		
				return false;
			});
			
			$('.work6-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow6').show();
				$('.work6-img1').addClass('active');
				$('.work6-img2').removeClass('active');
				$('.work6-wrapper').scrollTo('.work6-image1', 1000);		
				return false;
			});
			$('.work6-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow6-2').show();
				$('.work6-img1').removeClass('active');
				$('.work6-img2').addClass('active');
				$('.work6-wrapper').scrollTo('.work6-image2', 1000);		
				return false;
			});
			
			$('.work7-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7').show();
				$('.work7-img1').addClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image1', 1000);		
				return false;
			});
			$('.work7-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-2').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').addClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image2', 1000);		
				return false;
			});
			$('.work7-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-3').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').addClass('active');
				$('.work7-img4').removeClass('active');
				$('.work7-wrapper').scrollTo('.work7-image3', 1000);		
				return false;
			});
			$('.work7-img4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow7-4').show();
				$('.work7-img1').removeClass('active');
				$('.work7-img2').removeClass('active');
				$('.work7-img3').removeClass('active');
				$('.work7-img4').addClass('active');
				$('.work7-wrapper').scrollTo('.work7-image4', 1000);		
				return false;
			});
			
			$('.work8-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8').show();
				$('.work8-img1').addClass('active');
				$('.work8-img2').removeClass('active');
				$('.work8-img3').removeClass('active');
				$('.work8-wrapper').scrollTo('.work8-image1', 1000);		
				return false;
			});
			$('.work8-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8-2').show();
				$('.work8-img1').removeClass('active');
				$('.work8-img2').addClass('active');
				$('.work8-img3').removeClass('active');
				$('.work8-wrapper').scrollTo('.work8-image2', 1000);		
				return false;
			});
			$('.work8-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow8-3').show();
				$('.work8-img1').removeClass('active');
				$('.work8-img2').removeClass('active');
				$('.work8-img3').addClass('active');
				$('.work8-wrapper').scrollTo('.work8-image3', 1000);		
				return false;
			});
			
			$('.work9-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow9-1').show();
				$('.work9-img1').addClass('active');
				$('.work9-img2').removeClass('active');
				$('.work9-wrapper').scrollTo('.work9-image1', 1000);		
				return false;
			});
			$('.work9-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow9-2').show();
				$('.work9-img1').removeClass('active');
				$('.work9-img2').addClass('active');
				$('.work9-wrapper').scrollTo('.work9-image2', 1000);		
				return false;
			});
			
			$('.work10-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10').show();
				$('.work10-img1').addClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image1', 1000);		
				return false;
			});
			$('.work10-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-2').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').addClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image2', 1000);		
				return false;
			});
			
			$('.work10-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-3').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').addClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image3', 1000);		
				return false;
			});
			
			$('.work10-img4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-4').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').addClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image4', 1000);		
				return false;
			});
			
			$('.work10-img5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-5').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').addClass('active');
				$('.work10-img6').removeClass('active');
				$('.work10-wrapper').scrollTo('.work10-image5', 1000);		
				return false;
			});
			
			$('.work10-img6').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow10-6').show();
				$('.work10-img1').removeClass('active');
				$('.work10-img2').removeClass('active');
				$('.work10-img3').removeClass('active');
				$('.work10-img4').removeClass('active');
				$('.work10-img5').removeClass('active');
				$('.work10-img6').addClass('active');
				$('.work10-wrapper').scrollTo('.work10-image6', 1000);		
				return false;
			});
			
			$('.work11-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow11').show();
				$('.work11-img1').addClass('active');
				$('.work11-img2').removeClass('active');
				$('.work11-img3').removeClass('active');
				$('.work11-wrapper').scrollTo('.work11-image1', 1000);		
				return false;
			});
			$('.work11-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow11-2').show();
				$('.work11-img1').removeClass('active');
				$('.work11-img2').addClass('active');
				$('.work11-img3').removeClass('active');
				$('.work11-wrapper').scrollTo('.work11-image2', 1000);		
				return false;
			});
			
			$('.work12-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow12').show();
				$('.work12-wrapper').scrollTo('.work12-image1', 1000);		
				return false;
			});
			
			$('.work13-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13').show();
				$('.work13-img1').addClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');
				$('.work13-img5').removeClass('active');
				$('.work13-wrapper').scrollTo('.work13-image1', 1000);		
				return false;
			});
			$('.work13-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-2').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').addClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');
				$('.work13-img5').removeClass('active');
				$('.work13-wrapper').scrollTo('.work13-image2', 1000);		
				return false;
			});
			$('.work13-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-3').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').addClass('active');
				$('.work13-img4').removeClass('active');
				$('.work13-img5').removeClass('active');
				$('.work13-wrapper').scrollTo('.work13-image3', 1000);		
				return false;
			});
			$('.work13-img4').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-4').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img2').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').addClass('active');
				$('.work13-img5').removeClass('active');
				$('.work13-wrapper').scrollTo('.work13-image4', 1000);		
				return false;
			});
			$('.work13-img5').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow13-5').show();
				$('.work13-img1').removeClass('active');
				$('.work13-img3').removeClass('active');
				$('.work13-img4').removeClass('active');
				$('.work13-img5').addClass('active');
				$('.work13-wrapper').scrollTo('.work13-image5', 1000);		
				return false;
			});
			
			$('.work14-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14').show();
				$('.work14-img1').addClass('active');
				$('.work14-img2').removeClass('active');
				$('.work14-img3').removeClass('active');
				$('.work14-wrapper').scrollTo('.work14-image1', 1000);		
				return false;
			});
			$('.work14-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14-2').show();
				$('.work14-img1').removeClass('active');
				$('.work14-img2').addClass('active');
				$('.work14-img3').removeClass('active');
				$('.work14-wrapper').scrollTo('.work14-image2', 1000);		
				return false;
			});
			$('.work14-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow14-3').show();
				$('.work14-img1').removeClass('active');
				$('.work14-img2').removeClass('active');
				$('.work14-img3').addClass('active');
				$('.work14-wrapper').scrollTo('.work14-image3', 1000);		
				return false;
			});
			
			$('.work15-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15').show();
				$('.work15-img1').addClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image1', 1000);		
				return false;
			});
			$('.work15-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-2').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').addClass('active');
				$('.work15-img3').removeClass('active');
				$('.work15-wrapper').scrollTo('.work15-image2', 1000);		
				return false;
			});
			$('.work15-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow15-3').show();
				$('.work15-img1').removeClass('active');
				$('.work15-img2').removeClass('active');
				$('.work15-img3').addClass('active');
				$('.work15-wrapper').scrollTo('.work15-image3', 1000);		
				return false;
			});
			
			$('.work16-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16').show();
				$('.work16-img1').addClass('active');
				$('.work16-img2').removeClass('active');
				$('.work16-img3').removeClass('active');
				$('.work16-wrapper').scrollTo('.work16-image1', 1000);		
				return false;
			});
			$('.work16-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow16-2').show();
				$('.work16-img1').removeClass('active');
				$('.work16-img2').addClass('active');
				$('.work16-img3').removeClass('active');
				$('.work16-wrapper').scrollTo('.work16-image2', 1000);		
				return false;
			});
			
			$('.work18-img1').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18').show();
				$('.work18-img1').addClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').removeClass('active');
				$('.work18-wrapper').scrollTo('.work18-image1', 1000);		
				return false;
			});
			$('.work18-img2').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-2').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').addClass('active');
				$('.work18-img3').removeClass('active');
				$('.work18-wrapper').scrollTo('.work18-image2', 1000);		
				return false;
			});
			$('.work18-img3').click(function () {
				$('.work-arrow').hide();
				$('.work-arrow18-3').show();
				$('.work18-img1').removeClass('active');
				$('.work18-img2').removeClass('active');
				$('.work18-img3').addClass('active');
				$('.work18-wrapper').scrollTo('.work18-image3', 1000);		
				return false;
			});
			
			
			$("#filter").hover(function(){
		      		$(this).css('height', '127px');
					$('#filterBy').css('background-image', 'url(images/filterBy-on.png)');
			    }, function() {
			    	$(this).css('height', '38px');
					$('#filterBy').css('background-image', 'url(images/filterBy.png)');
			});
			
			$('#showAll').click(function () {
				$('.thumbs').hide();
				$('#content-all').show();
				$('.filterLink').removeClass('active');
				$(this).addClass('active');
				return false;
			});
			$('#showIdentity').click(function () {
				$('.thumbs').hide();
				$('#content-id').show();
				$('.filterLink').removeClass('active');
				$(this).addClass('active');
				return false;
			});
			$('#showPrint').click(function () {
				$('.thumbs').hide();
				$('#content-print').show();
				$('.filterLink').removeClass('active');
				$(this).addClass('active');
				return false;
			});
			$('#showInteractive').click(function () {
				$('.thumbs').hide();
				$('#content-int').show();
				$('.filterLink').removeClass('active');
				$(this).addClass('active');
				return false;
			});
			
			
			$('.back').click(function () {
				$('.view').removeClass('active');
				$('.view1').addClass('active');	
				$(".vid1").remove();
				$(".vid2").remove();
				$('.work2-wrapper').scrollTo('.work2-image1', 0);
				$('.work5-wrapper').scrollTo('.work5-image1', 0);
				$('.work6-wrapper').scrollTo('.work6-image1', 0);
				$('.work7-wrapper').scrollTo('.work7-image1', 0);
				$('.work8-wrapper').scrollTo('.work8-image1', 0);
				$('.work9-wrapper').scrollTo('.work9-image1', 0);
				$('.work10-wrapper').scrollTo('.work10-image1', 0);
				$('.work11-wrapper').scrollTo('.work11-image1', 0);
				$('.work12-wrapper').scrollTo('.work12-image1', 0);
				$('.work13-wrapper').scrollTo('.work13-image1', 0);
				$('.work14-wrapper').scrollTo('.work14-image1', 0);
				$('.work15-wrapper').scrollTo('.work15-image1', 0);
				$('.work16-wrapper').scrollTo('.work16-image1', 0);
				$('.work18-wrapper').scrollTo('.work18-image1', 0);
				$('.work-overlay').hide();
				return false;
			});
			
			$.getJSON("http://twitter.com/statuses/user_timeline/calientekick.json?callback=?", function(data) {
			     $("#home-tweet").html(data[0].text);
				 (function($){

				  var url1 = /(^|&lt;|\s)(www\..+?\..+?)(\s|&gt;|$)/g,
				      url2 = /(^|&lt;|\s)(((https?|ftp):\/\/|mailto:).+?)(\s|&gt;|$)/g,

				      linkifyThis = function () {
				        var childNodes = this.childNodes,
				            i = childNodes.length;
				        while(i--)
				        {
				          var n = childNodes[i];
				          if (n.nodeType == 3) {
				            var html = $.trim(n.nodeValue);
				            if (html)
				            {
				              html = html.replace(/&/g, '&amp;')
				                         .replace(/</g, '&lt;')
				                         .replace(/>/g, '&gt;')
				                         .replace(url1, '$1<a href="http://$2">$2</a>$3')
				                         .replace(url2, '$1<a href="$2">$2</a>$5');
				              $(n).after(html).remove();
				            }
				          }
				          else if (n.nodeType == 1  &&  !/^(a|button|textarea)$/i.test(n.tagName)) {
				            linkifyThis.call(n);
				          }
				        }
				      };

				  $.fn.linkify = function () {
				    return this.each(linkifyThis);
				  };

				})(jQuery);

				jQuery('#home-tweet').linkify();
				
			});
			
			
			$('#name').focus(function() {  
					$('#name').removeClass("inputOff").addClass("inputOn");  
					$('#name').removeClass("inputError"); 
			});
			$('#name').blur(function() {  
					$('#name').removeClass("inputOn").addClass("inputOff");   
					$('#name').removeClass("inputError"); 
			});
			
			$('#email').focus(function() {  
					$('#email').removeClass("inputOff").addClass("inputOn");  
					$('#email').removeClass("inputError"); 
			});
			$('#email').blur(function() {  
					$('#email').removeClass("inputOn").addClass("inputOff");   
					$('#email').removeClass("inputError"); 
			});
			
			$('textarea').focus(function() {  
					$(this).removeClass("inputOff").addClass("inputOn");   
					$(this).removeClass("inputError");
			});
			$('textarea').blur(function() {  
					$(this).removeClass("inputOn").addClass("inputOff");   
					$(this).removeClass("inputError");
			});
			
			$('#math').focus(function() {  
					$('#math').removeClass("inputOff").addClass("inputOn");  
					$('#math').removeClass("inputError"); 
			});
			$('#math').blur(function() {  
					$('#math').removeClass("inputOn").addClass("inputOff");   
					$('#math').removeClass("inputError"); 
			});
			
			$('#thanks').hide();
			
			$('a.whatsUp').simpletip({
				content: 'Answering this question proves that you are a real person and not a spam bot. Math not your thing? we’ll give you the answer - it’s 4.',
				fixed: false
			});
			
			
			
			$(".work-content:eq(0)").addClass('work1-content');
			$('.work-content:eq(1)').addClass('work2-content');
			$(".work-content:eq(2)").addClass('work3-content');
			$(".work-content:eq(3)").addClass('work4-content');
			$(".work-content:eq(4)").addClass('work5-content');
			$(".work-content:eq(5)").addClass('work6-content');
			$(".work-content:eq(6)").addClass('work7-content');
			$(".work-content:eq(7)").addClass('work8-content');
			$(".work-content:eq(8)").addClass('work9-content');
			$(".work-content:eq(9)").addClass('work10-content');
			$(".work-content:eq(10)").addClass('work11-content');
			$(".work-content:eq(11)").addClass('work12-content');
			$(".work-content:eq(12)").addClass('work13-content');
			$(".work-content:eq(13)").addClass('work14-content');
			$(".work-content:eq(14)").addClass('work15-content');
			$(".work-content:eq(15)").addClass('work16-content');
			$(".work-content:eq(16)").addClass('work17-content');
			$(".work-content:eq(17)").addClass('work18-content');
			
			
			
});


var errors = "no";

function formVal() {
	$('.error span').hide();
	var errors = "no";
	var nameVal = $('#name').val();
	var emailVal = $('#email').val();
	var commentsVal = $('#comments').val();
	var mathVal = $('#math').val();
	if(nameVal == '') {
		errors = "yes";
		$('.errorName span').show();
		$('#name').removeClass("inputOff"); 
		$('#name').removeClass("inputOn");
		$('#name').addClass("inputError");
	}
	if(emailVal == '') {
		errors = "yes";
		$('.errorEmail span').show();
		$('#email').removeClass("inputOff"); 
		$('#email').removeClass("inputOn");
		$('#email').addClass("inputError"); 
	}
	if(commentsVal == '') {
		errors = "yes";
		$('.errorComments span').show();
		$('#comments').removeClass("inputOff"); 
		$('#comments').removeClass("inputOn");
		$('#comments').addClass("inputError"); 
	}
	if(mathVal == '') {
		errors = "yes";
		$('.errorMath span').show();
		$('#math').removeClass("inputOff"); 
		$('#math').removeClass("inputOn");
		$('#math').addClass("inputError"); 
	}
	if(mathVal != 4) {
		errors = "yes";
		$('.errorMath span').show();
		$('#math').removeClass("inputOff"); 
		$('#math').removeClass("inputOn");
		$('#math').addClass("inputError"); 
	}
	
	var dataString = 'name='+ nameVal + '&email=' + emailVal + '&comments=' + commentsVal;
	
	if (errors == "yes") {
		return false;	
	} else {
		$.ajax({  
	   		type: "POST",  
	   		url: "send.php",  
	   		data: dataString,
			success: function(){
				$('#contactForm').hide();
				$('#thanks').fadeIn();
			}
	  	});  
	  return false;
	};
};




