$(document).ready(
				function(){
					$('#user_say').innerfade({
						animationtype: 'slide',
						speed: 'slow',
						timeout: 5000,
						type: 'random',
						containerheight: '70px'
					});	
					$("#live_fun_container").slideUp();
					$("#live_fun_btn").click(function(){
						$("#live_fun_container").slideToggle();
					});					
					$('ul#main_banner').innerfade({
						speed: 'slow',
						timeout: 5000,
						type: 'sequence',
						containerheight: '260px'
					});
					
					/*start news sticker*/
					var first = 0;
					var speed = 700;
					var pause = 3500;
					
						function removeFirst(){
							first = $('ul#listticker li:first').html();
							$('ul#listticker li:first')
							.animate({opacity: 0}, speed)
							.fadeOut('slow', function() {$(this).remove();});
							addLast(first);
						}
						
						function addLast(first){
							last = '<li style="display:none">'+first+'</li>';
							$('ul#listticker').append(last)
							$('ul#listticker li:last')
							.animate({opacity: 1}, speed)
							.fadeIn('slow')
						}
	
						interval = setInterval(removeFirst, pause);
						
						
						/*end news sticker*/
						
					/*$('.fade').innerfade({
						speed: 1000,
						timeout: 6000,
						type: 'random_start',
						containerheight: '1.5em'
					});
					
					$('.adi').innerfade({
						speed: 'slow',
						timeout: 5000,
						type: 'random',
						containerheight: '150px'
					});
					*/
					$('#news_content').hide();
					$('#submit_news_button01').click(function(){
								$('#news_content').slideToggle('slow');							  
					});
					$('#close_btn').click(function(){
								$('#news_content').slideUp('slow');							  
					});
					
					$("ul#ticker").liScroll(); 

			});
