var sNScroll;					// ³»¿ë
sNScroll=""
sNScroll+="<a href=javascript:Wwin('http://english.chosun.com/weather/eng_popup.html');><img src=http://image.chosun.com/weather/eng_today_11B10101.gif border=0></a><br>";
sNScroll+="<a href=javascript:Wwin('http://english.chosun.com/weather/eng_popup.html');><img src=http://image.chosun.com/weather/eng_today_11B20201.gif border=0></a><br>";
sNScroll+="<a href=javascript:Wwin('http://english.chosun.com/weather/eng_popup.html');><img src=http://image.chosun.com/weather/eng_today_11H20201.gif border=0></a><br>";
sNScroll+="<a href=javascript:Wwin('http://english.chosun.com/weather/eng_popup.html');><img src=http://image.chosun.com/weather/eng_today_11G00201.gif border=0></a><br>";


var nNScrollHeight=24;		// ½ºÅ©·Ñ ¿µ¿ª ¼¼·Î Å©±â
var bNScrollWait=1,bNScrollPause=1;
var nNScrollSpeed = 1;		// Scrolling ¼Óµµ
var nNScrollDelay = 1500;	// ±â»ç°£ ¸ØÃß´Â ½Ã°£
var nNScrollPos = 0, nNScrollLen = 4; // ÇöÀç±â»çÀ§Ä¡,ÃÑ°¹¼ö
var s_pos = 0, s_amount = 22; // ÇöÀçÀ§Ä¡,1È¸½ºÅ©·Ñ»çÀÌÁî

function Wwin(URL){
  Wremote = window.open(URL,"weather","toolbar=0,scrollbars=0,width=520,height=290,resize=0") ;
}

function startNScroll() {
	sDiv = '<div style="left:0px;width:100%;position:absolute;top:0px;" id=nscrolltxt>\n';
	sDiv += sNScroll + sNScroll
	sDiv += '</div>\n'
	document.write(sDiv);
	window.setTimeout("NScroll()",nNScrollDelay);
}

function NScroll() {
	if (bNScrollPause && bNScrollWait) {
		tmp = document.getElementById('nscrolltxt').style;
		tmp.top = parseInt(tmp.top)-nNScrollSpeed;
		if (s_pos++ > s_amount) {
			bNScrollWait=0;
			s_pos=0; nNScrollPos++
			if (nNScrollPos>=nNScrollLen) {
				tmp.top = 0;
				nNScrollPos = 0;
			}
			window.setTimeout("bNScrollWait=1",nNScrollDelay);
		}
	}
	window.setTimeout("NScroll()",40);
}

document.write("<div style=\"width:100%;height:24px;position:absolute;overflow:hidden;\" onMouseover=\"bNScrollPause=0\" onMouseout=\"bNScrollPause=1\" id=\"nscrollarea\">"
	+"<script>startNScroll();</script>"
	+"</div>");

