		
			$(document).ready(function(){
				$('#tabs div').hide();
				if (window.location.hash) {
					$('#tabs ul li#1').removeClass('active');
					var i = 0;
					var tab = window.location.hash.substr(1);
					
					if (tab == "print") i=1;
					if (tab == "video") i=2;
					if (tab == "design") i=3;
					if (tab == "web") i=4;
					
					$("#tabs #"+tab).show();
					
					$('#tabs ul li#'+i).addClass('active');
		 			
		 		} else {
		  			$('#tabs div:first').show();
		  			$('#tabs ul li:first').addClass('active');
			
				}
				$('#tabs ul li a').click(function(){ 
					window.location.hash = $(this).attr('href'); 
					$('#tabs ul li').removeClass('active');
					$(this).parent().addClass('active'); 
					var currentTab = $(this).attr('href'); 
					$('#tabs div').hide();
					$(currentTab).show();
					return false;
				});
				

				
				$("#creative-right-2 span").hide();
				$("#creative-right-2 span:first").show();
				
				$('#creative-left-2 p a').click(function() {
					var currentTab = $(this).attr('href'); 
					$("#creative-right-2 span").hide();
					$(currentTab).show();
					return false;	
				});
					
				$("#creative-right-4 span").hide();
				$("#creative-right-4 span:first").show();
				
				$('#creative-left-4 p a').click(function() {
					var currentTab = $(this).attr('href'); 
					$("#creative-right-4 span").hide();
					$(currentTab).show();
					return false;	
				});
						
			});

