$(document).ready(function(){
						   
						   $('#but_02_container').hover(function(){
												$('#but_02_line').stop(1).animate({'top':'2px'},100);
												$('#but_022_line').stop(1).animate({'top':'-2px'},100);
												},function(){
												$('#but_02_line').stop(1).animate({'top':'0px'},100);
												$('#but_022_line').stop(1).animate({'top':'0px'},100);
													})
				$('#but_03_container').hover(function(){
												$('#but_03_line').stop(1).animate({'top':'2px'},100);
												$('#but_033_line').stop(1).animate({'top':'-2px'},100);
												},function(){
												$('#but_03_line').stop(1).animate({'top':'0px'},100);
												$('#but_033_line').stop(1).animate({'top':'0px'},100);
													})
			
				
				$('#but_04_container').hover(function(){
												$('#but_04_line').stop(1).animate({'top':'2px'},100);
												$('#but_044_line').stop(1).animate({'top':'-2px'},100);
												},function(){
												$('#but_04_line').stop(1).animate({'top':'0px'},100);
												$('#but_044_line').stop(1).animate({'top':'0px'},100);
													})
		
						   
$('#akcio_bit_lil_02_hov, #akcio_bit_lil_03_hov, #akcio_bit_lil_04_hov, #akcio_bit_lil_05_hov, #akcio_pro_lil_02_hov, #akcio_pro_lil_03_hov').stop(1).animate({'opacity':'0.1'},10);						   
						   
$('#liner_pro, #liner_bit, #liner_pro2, #liner_bit2').stop(1).animate({'opacity':'0'},1)
                                   .css('display','block')
                                   .animate({'opacity':'0'},8800)
								   .animate({'opacity':'1'},100)
								   .animate({'opacity':'0'},300)
								   .animate({'opacity':'1'},100)
								   .animate({'opacity':'0'},300)
								   .animate({'opacity':'1'},100);

$('#left_ticket_01').stop(1).animate({'left':'0px'},7200)
				                            .animate({'left':'10px'},200)
											.animate({'left':'0px'},200)
											.animate({'left':'10px'},200)
											.animate({'left':'0px'},200)
											.animate({'left':'10px'},200)
											.animate({'left':'0px'},200);
											
				$('#right_ticket_01').stop(1).animate({'right':'0px'},7200)
				                            .animate({'right':'10px'},200)
											.animate({'right':'0px'},200)
											.animate({'right':'10px'},200)
											.animate({'right':'0px'},200)
											.animate({'right':'10px'},200)
											.animate({'right':'0px'},200);							
				
				$('#price_01, #price_02').stop(1).animate({'opacity':'1'},5500)
	                            		   .animate({'opacity':'0.1'},200)
				                           .animate({'opacity':'1'},200)
										   .animate({'opacity':'0.1'},200)
										   .animate({'opacity':'1'},200)
										   .animate({'opacity':'0.1'},200)
										   .animate({'opacity':'1'},200);
										   
								$('#tip_button_02,#akcio_low').stop(1).animate({'opacity':'1'},5500)
	                            		   .animate({'opacity':'0.1'},200)
				                           .animate({'opacity':'1'},200)
										   .animate({'opacity':'0.1'},200)
										   .animate({'opacity':'1'},200)
										   .animate({'opacity':'0.1'},200)
										   .animate({'opacity':'1'},200)
										   .animate({'opacity':'0.1'},2000);		   
										   
		    $('#label_bit, #left_ticket_link').click(function(){
										
										   $.scrollTo('145px',1600);
										   $('#tip_button_02, #price_01, #price_02, #liner_pro, #liner_bit,#akcioz_low_container,#akcio_low').stop(1);
										   $('#tip_button_02,#akcio_low').animate({'opacity':'0.1'});
										   $('#liner_pro').stop(1).animate({'opacity':'1'},500);
										   $('#liner_pro2').stop(1).animate({'top':'45px','opacity':'1'},500);
										   $('#liner_bit').stop(1).animate({'opacity':'1'},500);
										   $('#liner_bit2').stop(1).animate({'top':'49px','opacity':'1'},500);
										   $('#tip_01').stop(1).animate({'left':'-2000px'},500);
										   $('#akcio_bit_lil_05').stop(1).animate({'left':'853px'},1400);
										   $('#akcio_bit_lil_04').stop(1).animate({'left':'653px'},1500);
										   $('#akcio_bit_lil_03').stop(1).animate({'left':'453px'},1600);
										   $('#akcio_bit_lil_02').stop(1).animate({'left':'253px'},1700);
										   $('#akcio_bit_lil_01').stop(1).animate({'left':'53px'},1800);	
										   $('#akcio_bit_big_cont').stop(1).animate({'left':'53px'},1900); 
										   
										   $('#akcio_pro_lil_03').stop(1).animate({'left':'-5000px'},1400);
										   $('#akcio_pro_lil_02').stop(1).animate({'left':'-5000px'},1500);
										   $('#akcio_pro_lil_01').stop(1).animate({'left':'-5000px'},1600);	
										   $('#akcio_pro_big_cont').stop(1).animate({'left':'-3000px'},1700);
										   $('#akcioz_low_container').stop(1).animate({'top':'500px'},1500);
										   $('#container').stop(1).animate({'height':'4750px'},1500);
										   });			
			
			
										   
$('#akcio_bit_lil_01').click(function(){
			$('#akcio_bit_lil_01_hov, #akcio_bit_lil_02_hov, #akcio_bit_lil_03_hov, #akcio_bit_lil_04_hov, #akcio_bit_lil_05_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_bit_lil_01_hov').stop(1).animate({'opacity':'1'},300);
			$('#akcio_bit_big_01, #akcio_bit_big_02, #akcio_bit_big_03, #akcio_bit_big_04, #akcio_bit_big_05').css('display','none');
		    $('#akcio_bit_big_01').css('display','block');
													  });
				
$('#akcio_bit_lil_02').click(function(){
			$('#akcio_bit_lil_01_hov, #akcio_bit_lil_02_hov, #akcio_bit_lil_03_hov, #akcio_bit_lil_04_hov, #akcio_bit_lil_05_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_bit_lil_02_hov').stop(1).animate({'opacity':'1'},300);						  
			$('#akcio_bit_big_01, #akcio_bit_big_02, #akcio_bit_big_03, #akcio_bit_big_04, #akcio_bit_big_05').css('display','none');
		    $('#akcio_bit_big_02').css('display','block');
													  });
				
$('#akcio_bit_lil_03').click(function(){
			$('#akcio_bit_lil_01_hov, #akcio_bit_lil_02_hov, #akcio_bit_lil_03_hov, #akcio_bit_lil_04_hov, #akcio_bit_lil_05_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_bit_lil_03_hov').stop(1).animate({'opacity':'1'},300);						  
			$('#akcio_bit_big_01, #akcio_bit_big_02, #akcio_bit_big_03, #akcio_bit_big_04, #akcio_bit_big_05').css('display','none');
			$('#akcio_bit_big_03').css('display','block');
													  });
				
$('#akcio_bit_lil_04').click(function(){
			$('#akcio_bit_lil_01_hov, #akcio_bit_lil_02_hov, #akcio_bit_lil_03_hov, #akcio_bit_lil_04_hov, #akcio_bit_lil_05_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_bit_lil_04_hov').stop(1).animate({'opacity':'1'},300);						  
			$('#akcio_bit_big_01, #akcio_bit_big_02, #akcio_bit_big_03, #akcio_bit_big_04, #akcio_bit_big_05').css('display','none');
		    $('#akcio_bit_big_04').css('display','block');
													  });
				
$('#akcio_bit_lil_05').click(function(){
			$('#akcio_bit_lil_01_hov, #akcio_bit_lil_02_hov, #akcio_bit_lil_03_hov, #akcio_bit_lil_04_hov, #akcio_bit_lil_05_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_bit_lil_05_hov').stop(1).animate({'opacity':'1'},300);						  
		    $('#akcio_bit_big_01, #akcio_bit_big_02, #akcio_bit_big_03, #akcio_bit_big_04, #akcio_bit_big_05').css('display','none');
			$('#akcio_bit_big_05').css('display','block');
													  });






$('#label_pro, #right_ticket_link').click(function(){
										 
										   $.scrollTo('145px',1600);
										   $('#tip_button_02, #price_01, #price_02, #liner_pro, #liner_bit,#akcioz_low_container').stop(1);
										   $('#tip_button_02').animate({'opacity':'0.1'});
										   $('#liner_bit').stop(1).animate({'opacity':'1'},500);
										   $('#liner_bit2').stop(1).animate({'opacity':'1','top':'45px'},500);
										   $('#liner_pro').stop(1).animate({'opacity':'1'},500);
										   $('#liner_pro2').stop(1).animate({'opacity':'1','top':'49px'},500);
										   $('#tip_01').stop(1).animate({'left':'-2000px'},500);
										   $('#akcio_pro_lil_03').stop(1).animate({'left':'653px'},1400);
										   $('#akcio_pro_lil_02').stop(1).animate({'left':'453px'},1500);
										   $('#akcio_pro_lil_01').stop(1).animate({'left':'253px'},1600);	
										   $('#akcio_pro_big_cont').stop(1).animate({'left':'53px'},1700);
										   
										   $('#akcio_bit_lil_05').stop(1).animate({'left':'-5000px'},1400);
										   $('#akcio_bit_lil_04').stop(1).animate({'left':'-5000px'},1500);
										   $('#akcio_bit_lil_03').stop(1).animate({'left':'-5000px'},1600);
										   $('#akcio_bit_lil_02').stop(1).animate({'left':'-5000px'},1700);
										   $('#akcio_bit_lil_01').stop(1).animate({'left':'-5000px'},1800);	
										   $('#akcio_bit_big_cont').stop(1).animate({'left':'-3000px'},1900); 
										   $('#akcioz_low_container').stop(1).animate({'top':'500px'},1500);										
										   $('#container').stop(1).animate({'height':'4750px'},1500);
										   });			
										   
										   
$('#akcio_pro_lil_01').click(function(){
			$('#akcio_pro_lil_01_hov, #akcio_pro_lil_02_hov, #akcio_pro_lil_03_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_pro_lil_01_hov').stop(1).animate({'opacity':'1'},300);
			$('#akcio_pro_big_01, #akcio_pro_big_02, #akcio_pro_big_03').css('display','none');
		    $('#akcio_pro_big_01').css('display','block');
													  });
				
$('#akcio_pro_lil_02').click(function(){
			$('#akcio_pro_lil_01_hov, #akcio_pro_lil_02_hov, #akcio_pro_lil_03_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_pro_lil_02_hov').stop(1).animate({'opacity':'1'},300);						  
			$('#akcio_pro_big_01, #akcio_pro_big_02, #akcio_pro_big_03').css('display','none');
		    $('#akcio_pro_big_02').css('display','block');
													  });
				
$('#akcio_pro_lil_03').click(function(){
			$('#akcio_pro_lil_01_hov, #akcio_pro_lil_02_hov, #akcio_pro_lil_03_hov').stop(1).animate({'opacity':'0.1'},300);
			$('#akcio_pro_lil_03_hov').stop(1).animate({'opacity':'1'},300);						  
			$('#akcio_pro_big_01, #akcio_pro_big_02, #akcio_pro_big_03').css('display','none');
			$('#akcio_pro_big_03').css('display','block');
													  });


$('#podpiska-trig').click(function(){
								   $('#podpiska-cont').stop(1,1).animate({'top':'-2px'},300);
								   });

$('#podpiska-trig-top').click(function(){
								   $('#podpiska-cont').stop(1,1).animate({'top':'-221px'},300);
								   });

$('#vist-trig').click(function(){
							   $('#vist-body').animate({'top':'0px'},300);
							   });

$('#vist-body').click(function(){
							   $('#vist-body').animate({'top':'-500px'},300);
							   });
										   

		});


