// JavaScript Document
$(document).ready(function(){

	$("#newsArea li").css("display","block");
	var plv = 0 ;
	$("#newsArea li a").each(function(){
		var txVal = $("#newsArea li a").eq(plv).text().length;
		if(txVal >= 9) {
			var txStr = $("#newsArea li a").eq(plv).text().substring(0,10);
			$("#newsArea li a").eq(plv).text(txStr + "[...]");
		}
		plv = plv + 1 ;
	});
	
	$("#topPage #container #flashArea .mv .onscript .mailnews").show().animate({opacity:0},0);
	timerID = setInterval(function(){
		$("#topPage #container #flashArea .mv .onscript .mailnews").animate({
			bottom: "25px",
			easing: "swing",
			opacity: 1
		},"normal");
	},500);
	
	$("#topPage #container #flashArea .mv .onscript .mailnews a").hover(
		function(){
			$("#topPage #container #flashArea .mv .onscript .mailnews a em").hide();
		},
		function(){
			$("#topPage #container #flashArea .mv .onscript .mailnews a em").show();
			
		}
	);
	
	
})
