function NScroll() {

	this.version = "0.1";
	this.name = "NScroll";
	this.item = new Array();
	this.itemcount = 0;
	this.left = 0;
	this.nNScrollHeight=90;		// ½ºÅ©·Ñ ¿µ¿ª ¼¼·Î Å©±â
	this.bNScrollWait=1, this.bNScrollPause=1;
	this.nNScrollSpeed = 1;		// Scrolling ¼Óµµ
	this.nNScrollDelay = 3000;	// ±â»ç°£ ¸ØÃß´Â ½Ã°£
	this.nNScrollPos = 0 // ÇöÀç±â»çÀ§Ä¡
	this.s_pos = 0, this.s_amount = 14; // ÇöÀçÀ§Ä¡,1È¸½ºÅ©·Ñ»çÀÌÁî

this.add = function () {
	var text = arguments[0];
	this.item[this.itemcount] = text;
	this.itemcount = this.itemcount + 1;
};

this.startNScroll = function() {
	document.write('<div style="width:100%;height:13px;position:absolute;overflow:hidden;" onMouseover="'+this.name+'.bNScrollPause=0" onMouseout="'+this.name+'.bNScrollPause=1" id="'+this.name+'area">');
	document.write('<div style="left:'+this.left+'px;width:100%;position:absolute;top:0px" id="'+this.name+'txt">\n');
	for(var i = 0; i < this.itemcount; i++) document.write(this.item[i]);
	document.write('</div>\n');
	document.write('</div>\n');
	window.setTimeout(this.name+".start()",this.nNScrollDelay);
}

this.start = function() {
	if (this.bNScrollPause && this.bNScrollWait) {
		this.tmp = document.getElementById(this.name+'txt').style;
		this.tmp.top = parseInt(this.tmp.top)-this.nNScrollSpeed;
		if (this.s_pos++ > this.s_amount) {
			this.bNScrollWait=0;
			this.s_pos=0; this.nNScrollPos++
			if (this.nNScrollPos>=this.itemcount) {
				this.tmp.top = 0;
				this.nNScrollPos = 0;
			}
			window.setTimeout(this.name+".bNScrollWait=1",this.nNScrollDelay);
		}
	}
	window.setTimeout(this.name+".start()",60);
}

}