// JavaScript Document
			var htmlstr = "", flag=true, imgflag=true, mouse=1, speed=1, wait=6000, temp=0;
			var ct=new Array(),ct_i=new Array(), startPanel=0, n_panel=0, i=0, j=0, count=1;
			
			var j=0;
			for (i=0; i<news.length; i++) {
				ct[j] = news[i] + '<br>';
				j++;
			}
			
			function inText(width) {
			  for (i=0; i<ct.length; i++) insert(i, width);
			  window.setTimeout("scroll()",wait);
			}
			function scroll() {
			  if (mouse && flag) {
				for (i=0;i<ct.length;i++) {
				  if (temp == 0 && imgflag) {
				for (j=0;j<ct_i.length;j++) {
				  tmp = document.getElementById('img_area'+j).style;
				  if (count % ct_i.length == j) {
					tmp.display = '';
				  } else {
					tmp.display = 'none';
				  }
				}
				imgflag=false;
				count++;
				  }
				  temp++;
				  tmp = document.getElementById('scroll_area'+i).style;
				  tmp.top = parseInt(tmp.top)-speed;
				  if (parseInt(tmp.top) <= height*(-1)) {
					tmp.top = height*(ct.length-1);
				  }
				  if (temp>(amount-1)*ct.length) {
					flag=false;
					temp=0;
					window.setTimeout("flag=true;temp=0;imgflag=true;",wait);
				  }
				}
			  }
			  window.setTimeout("scroll()",1);
			}
			function insert(i, width) {
			  htmlstr='<div style="left: 0px; width:'+width+'px; position: absolute; top: '+(height*i+1)+'px" id="scroll_area'+i+'">\n';
			  htmlstr+=ct[i]+'\n'+'</div>\n';
			  document.write(htmlstr);
			}
			

