           function initNotices()
            {
              for(var numb=0;numb<notices.length;numb++)
              {
                notices[numb] = "<a href='"+notices[numb].url+"'>"+notices[numb].title+"</a>";
              }
            }
            function noticeScroll(fromY,toY,step)
            {
              if (Math.abs(toY - fromY) > Math.abs(step) )
              {
               fromY += step;
               $('upper_notice').style.top = -fromY + 'px';
               setTimeout("noticeScroll("+fromY+","+toY+","+step+")",50);
              }
               else
              {
               var first=$('first_notice');
               var next=$('next_notice');
               $('first_notice').innerHTML = $('next_notice').innerHTML;
               $('upper_notice').appendChild(first);
               $('upper_notice').removeChild(next);
  			   $('upper_notice').style.top = 0+"px";
               $('upper_notice').appendChild(next);
              }

             return;
            }

            function moveNotice(numb)
            {
              var cnt = notices.length;
              if (numb >=cnt)  {numb = 0;}
              $('upper_notice').style.top = 0;
              $('next_notice').innerHTML =   notices[numb];

              var _old_top = $('upper_notice').offsetTop;
              var _new_top = $('next_notice').offsetTop - $('first_notice').offsetTop;

              var _step = ((_new_top > _old_top) ? 1 : -1);

              noticeScroll(_old_top, _new_top, _step);
              setTimeout("moveNotice("+(numb+1)+")",5000);
            }


