
/*function $get(id)
{
   return document.getElementById(id);
}
var anndelay = 3000;
var anncount = 0;
var annheight = 132;
var annst = 0;
function announcementScroll()
{
   if( ! annst)
   {
      $get('announcementbody').innerHTML += '<br style="clear: both" />' + $get('announcementbody').innerHTML;
      $get('announcementbody').scrollTop = 0;
      if($get('announcementbody').scrollHeight > annheight * 3)
      {
         annst = setTimeout('announcementScroll()', anndelay);
      }
      else
      {
         $get('announcement').onmouseover = $get('announcement').onmouseout = null;
      }
      return;
   }
   if(anncount == annheight)
   {
      if($get('announcementbody').scrollHeight - annheight <= $get('announcementbody').scrollTop)
      {
         $get('announcementbody').scrollTop = $get('announcementbody').scrollHeight / 2 - annheight;
      }
      anncount = 0;
      annst = setTimeout('announcementScroll()', anndelay);
   }
   else
   {
      $get('announcementbody').scrollTop ++ ;
      anncount ++ ;
      annst = setTimeout('announcementScroll()', 10);
   }
}
announcementScroll();


var anndelay1 = 3000;
var anncount1 = 0;
var annheight1 = 131;
var annst1 = 0;
function announcementScroll1()
{
   if( ! annst1)
   {
      $get('announcementbody1').innerHTML += '<br style="clear: both" />' + $get('announcementbody1').innerHTML;
      $get('announcementbody1').scrollTop = 0;
      if($get('announcementbody1').scrollHeight > annheight1 * 3)
      {
         annst1 = setTimeout('announcementScroll1()', anndelay1);
      }
      else
      {
         $get('announcement1').onmouseover = $get('announcement1').onmouseout = null;
      }
      return;
   }
   if(anncount1 == annheight1)
   {
      if($get('announcementbody1').scrollHeight - annheight1 <= $get('announcementbody1').scrollTop)
      {
         $get('announcementbody1').scrollTop = $get('announcementbody1').scrollHeight / 2 - annheight1;
      }
      anncount1 = 0;
      annst1 = setTimeout('announcementScroll1()', anndelay1);
   }
   else
   {
      $get('announcementbody1').scrollTop ++ ;
      anncount1 ++ ;
      annst1 = setTimeout('announcementScroll1()', 10);
   }
}
announcementScroll1();
*/

//newÏòÉÏ¹ö¶¯

function runHistory1(){
var firstheight=$("#announcementbody1 li:first").height();
firstheight="-"+firstheight;
	$("#announcementbody1 li:first").animate({marginTop:firstheight},1800,function(){
				 $(this).appendTo("#announcementbody1 ul").css("margin-top","0");
																			  });	
	};	
$(function(){
		   t4=setInterval("runHistory1()",4000);
		   $("#announcementbody1").hover(function(){clearInterval(t4)},function(){t4=setInterval("runHistory1()",4000);});
		   });
function runHistory(){
var firstheight=$("#announcementbody li:first").height();
firstheight="-"+firstheight;
	$("#announcementbody li:first").animate({marginTop:firstheight},1800,function(){
				 $(this).appendTo("#announcementbody ul").css("margin-top","0");
																			  });	
	};	
$(function(){
		   t3=setInterval("runHistory()",4000);
		   $("#announcementbody").hover(function(){clearInterval(t3)},function(){t3=setInterval("runHistory()",4000);});
		   });
