$(document).ready(function(){	
				
				setTimeout 
                ( 
                        function(){ 
                        	$('#logo').fadeIn(350); 
                        }, 
                        100 
                );				
				setTimeout 
                ( 
                        function(){ 
                        	$('#cell').fadeIn(350); 
                        }, 
                        450 
                );
				
//				    $('#cell').css({opacity: 0.0})
//					.animate({opacity: 1.0}, 1000, function() {
//						/**/
//					});
//					
					$('.icons div').click(function() {
					        $('.icons div').removeClass('active');
					        $(this).addClass('active');
						   	var ktory = $(this).attr('name');
							$('.choose').fadeOut(800);
							//$('.content').fadeOut(750);
							$('.content').slideToggle(800);
							
							setTimeout 
							( 
							function(){$('.container').hide();}, 
									800
							);
							//$(this).next('.mover').slideToggle(500);
							setTimeout 
							( 
								//$("div").text(title);
									function(){ 
										//alert(ktory);
										$('.content').parents('td').css("vertical-align", "top");
										$('#' + ktory).show();
										$('.content').slideToggle(800);
										//$('#www').slideToggle(1700); 
									}, 
									800
							);
					});	
//					
					$('.oferta div a').click(function() {
					        $('.oferta div a').removeClass('active');
					        $(this).addClass('active');
					});	
					
					/////////////
					
//					$.ajax({						
//							beforeSend: 	showPreloader,
//							success: 		hidePreloader,
//							  url: "test.html",
//							  cache: false,
//							  success: function(html){
//								$("#results").append(html);
//							  }
//					});	
//					
//					$("#preloader").hide();


			
			
//				$('a[href*=#]').click(function() {  
//				if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname)
//					{  
//						var $target = $(this.hash);  
//						$target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']');  
//						if ($target.length) 
//						{  
//							var targetOffset = $target.offset().top;  
//							$('html,body').animate({scrollTop: targetOffset}, 1000);  
//							return false;  
//						}  
//					}  
//				});  
				
				
			});
							
			function showPreloader()
			{
				$("#preloader").show();
			}
			
			function hidePreloader()
			{
				$("#preloader").hide();
			}