<!--
var stop_copyspeed=stop_slidespeed;
var stop_tmpHeight = 0;

var iedom=document.all||document.getElementById;
if (iedom) {
	document.write('<span id="stop_temp" style="visibility:hidden;position:absolute;top:-2000;left:0;overflow:hidden;">'+stop_downupslide+'</span>');
}
var stop_actualheight='';
var stop_cross_slide, stop_ns_slide;
var stop_is_stop = false;
var stop_on_over = false;

function stop_play() {
	stop_copyspeed = stop_slidespeed;
	stop_is_stop = true;
}

function stop_slide(){
	if (stop_actualheight < stop_sliderheight)
	{
		stop_actualheight=document.all? stop_cross_slide.offsetHeight : document.getElementById("stop_temp").offsetHeight;
	}
	if (stop_copyspeed == 0 || stop_on_over == true) {
		return;
	}
	if (iedom){
//		alert(parseInt(stop_cross_slide2.style.top, 10));
		if ((parseInt(stop_cross_slide2.style.top, 10) % (385) == 0) && stop_is_stop == false) {
			stop_copyspeed = 0;
			setTimeout("stop_play()",stop_interval);
			return;
		}
		stop_auto_stop = false;
		stop_is_stop = false;

		if (parseInt(stop_cross_slide.style.top, 10)>(stop_actualheight*(-1)+8)) {
			// À§·Î ´õ scroll µÇ¾î¾ßÇÏ´Â »óÈ²ÀÌ¸é
			stop_cross_slide.style.top = parseInt(stop_cross_slide.style.top, 10) - stop_copyspeed;
		} else {
			stop_cross_slide.style.top = parseInt(stop_cross_slide2.style.top, 10)+stop_actualheight + stop_tmpHeight; //+10
		}

		if (parseInt(stop_cross_slide2.style.top, 10)>(stop_actualheight*(-1)+8)) {
			stop_cross_slide2.style.top = parseInt(stop_cross_slide2.style.top, 10) - stop_copyspeed;
		} else {
			stop_cross_slide2.style.top=parseInt(stop_cross_slide.style.top, 10)+stop_actualheight + stop_tmpHeight; //+10
		}
	}
	else if (document.layers){
		if (stop_ns_slide.top>(stop_actualheight*(-1)+8))
			stop_ns_slide.top-=stop_copyspeed;
		else
			stop_ns_slide.top=stop_ns_slide2.left+stop_actualwidth+10;

		if (stop_ns_slide2.top>(stop_actualheight*(-1)+8))
			stop_ns_slide2.top-=stop_copyspeed;
		else
			stop_ns_slide2.top=stop_ns_slide.left+stop_actualheight+10;
	}
}

function fillup(){
        if (iedom){
                stop_cross_slide=document.getElementById? document.getElementById("stop_test2") : document.all.stop_test2;
                stop_cross_slide2=document.getElementById? document.getElementById("stop_test3") : document.all.stop_test3;
                stop_cross_slide.innerHTML=stop_downupslide;
                stop_cross_slide2.innerHTML=stop_downupslide;
                stop_actualheight=document.all? stop_cross_slide.offsetHeight : document.getElementById("stop_temp").offsetHeight;
                stop_cross_slide2.style.top=stop_actualheight + stop_tmpHeight; //+ 10
        }
        else if (document.layers){
                stop_ns_slide=document.stop_ns_slidemenu.document.stop_ns_slidemenu2;
                stop_ns_slide2=document.stop_ns_slidemenu.document.stop_ns_slidemenu3;
                stop_ns_slide.document.write(stop_downupslide);
                stop_ns_slide.document.close();
                stop_actualheight=stop_ns_slide.document.height;
                stop_ns_slide2.top=stop_actualheight+10;
                stop_ns_slide2.document.write(stop_downupslide);
                stop_ns_slide2.document.close();
        }
        stop_lefttime=setInterval("stop_slide()",37); //slide speed
}

if (iedom||document.layers){
	with (document){
		document.write('<table border="0" cellspacing="0" cellpadding="0"><td>');
		if (iedom){
			write('<div style="position:relative;width:'+stop_sliderwidth+';height:'+stop_sliderheight+';overflow:hidden">');
			write('<div style="position:absolute;width:'+stop_sliderwidth+';height:'+stop_sliderheight+';background-color:'+stop_slidebgcolor+'" onMouseover="stop_on_over=true" onMouseout="stop_on_over=false">')
			write('<div id="stop_test2" style="position:absolute;left:0;top:0"></div>')
			write('<div id="stop_test3" style="position:absolute;left:0;top:-10"></div>')
			write('</div></div>');
		}
		else if (document.layers){
			write('<ilayer width='+stop_sliderwidth+' height='+stop_sliderheight+' name="stop_ns_slidemenu" bgColor='+stop_slidebgcolor+'>');
			write('<layer name="stop_ns_slidemenu2" left=0 top=0 onMouseover="stop_copyspeed=0" onMouseout="stop_copyspeed=stop_slidespeed"></layer>');
			write('<layer name="stop_ns_slidemenu3" left=0 top=0 onMouseover="stop_copyspeed=0" onMouseout="stop_copyspeed=stop_slidespeed"></layer>');
			write('</ilayer>');
		}
		document.write('</td></table>');
	}
}
window.onload=fillup;
//-->
