	//<![CDATA[
			$(document).ready(function(){
				
				//call to featured work slider
				$("#slider").easySlider();
				
				
				//Full Caption Sliding (Hidden to Visible)
				$('.boxgrid.captionfull').hover(function(){
					$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:500});
				}, function() {
					$(".cover", this).stop().animate({top:'260px'},{queue:false,duration:500});
				});
				
				$('.project_item.captionfull').hover(function(){
					$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:500});
				}, function() {
					$(".cover", this).stop().animate({top:'72px'},{queue:false,duration:500});
				});
							
				
				//case studies animation effect
				var easing = "easeOutQuart";
				var easing2 = "easeOutQuart";
				$('.case_study').hover(function() {
					var feedItem = this;
					$('.case_study').stop();
					$('.itemImage').stop();
					$('.itemArrow').stop();
					$(feedItem).addClass('itemSelected');
					$(feedItem).animate({height:"160px"}, 400, easing);
			
					window.setTimeout(function() { $('#'+feedItem.id + ' .itemDate').fadeIn(200); }, 100);
			
					$('#'+feedItem.id + ' .itemImage').animate({height:"100px"}, 400, easing);
			
					$('#'+feedItem.id + ' .itemArrow').animate({top:"95px"}, 400, easing);
					$('.case_study').each(function(index) {
						if(this.id != feedItem.id) {
							$('#'+this.id+' .itemArrow').animate({top:"40px"}, 400, easing2);
							$('#'+this.id+' .itemImage').animate({height:"45px"}, 400, easing2);
							$('#'+this.id).animate({height:"67px"}, 400, easing2);
						}
					});
				}, function() {
					$('.case_study').stop();
					$('.itemImage').stop();
					$('.itemArrow').stop();
			
					$(this).removeClass('itemSelected');
					$('.case_study').animate({height:"98px"}, 400, easing2);
					$('.itemImage').animate({height:"76px"}, 400, easing2);
					$('.itemArrow').animate({top:"71px"}, 400, easing2);
					$('.itemDate').hide();
				});
			
				
				//change cursor using jquery to keep vaild css
				$('.case_study').hover(function() {
					$(this).css('cursor','pointer');
					}, function() {
					$(this).css('cursor','auto');
				});
				
				$('.cover').hover(function() {
					$(this).css('cursor','pointer');
					}, function() {
					$(this).css('cursor','auto');
				});
				
				$('#blog li').hover(function() {
					$(this).css('cursor','pointer');
					}, function() {
					$(this).css('cursor','auto');
				});
				
				$('#work_list li').hover(function() {
					$(this).css('cursor','pointer');
					}, function() {
					$(this).css('cursor','auto');
				});
				
				$('input.submit').hover(function() {
					$(this).css('cursor','pointer');
					}, function() {
					$(this).css('cursor','auto');
				});
				
				$('.twitter').hover(function() {
					$(this).css('cursor','pointer');
					}, function() {
					$(this).css('cursor','auto');
				});
				
				// block clickable
				$(".case_study").click(function(){
	    			window.location=$(this).find("a").attr("href");return false;
				});
				
				$(".cover").click(function(){
	    			window.location=$(this).find("a").attr("href");return false;
				});
				
				$("#blog li").click(function(){
	    			window.location=$(this).find("a").attr("href");return false;
				});
				
				$(".twitter").click(function(){
	    			window.location=$(this).find("a").attr("href");return false;
				});
				
				//call popup script
				$(".popup").fancybox();
				
				//call expandind text box
			//	$('textarea').elastic();
				
				
				//form validation
			   $("#survey_form, #message_form").validationEngine(function() {
			   	success : false; })

							
			});
			//end onload
			
			//menu effect
			$(function() {
				$('#menu').lavaLamp({fx: 'swing', speed: 333});
				//loadLamps(easing);
				//$('select#easing option[value='+easing+']').attr('selected','selected');
				//$('.easingLabel').text(easing);
			});
			
			

	//]]>
