document.onkeydown = processKey;
function processKey() {
	if(event.keyCode == 27){
		event.keyCode = 0; 
		event.cancelBubble = true; 
		event.returnValue = false; 
	}
}
<!--
	// ±ÛÀÚ°¡ ³ªÅ¸³ª´Â ¸ð¾ç Ãâ·Â
	// 0 -> ¾Æ·¡¿¡¼­ À§·Î ¿Ã¶ó¿È
	// 1->  ¿À¸¥ÂÊ¿¡¼­ ¿ÞÂÊÀ¸·Î ÁøÇà
	// 2->  ¿ÞÂÊ¿¡¼­ ¿À¸¥ÂÊÀ¸·Î ÁøÇà
	// 3->  Å¸ÀÚ±â È¿°ú (Type Text)
	var Utype=1;
	var Ucursor="|";
	// ±ÛÀÚ°¡ ³ªÅ¸³ª´Â »óÀÚ Å©±â
	var Uwidth=510; //Æø
	var Uheight=20; // ³ôÀÌ
	var Ubgcolor=""; // ¹è°æ»ö
	var Ubackground=''; //¹è°æÀÌ¹ÌÁö ¾øÀ¸¸é °ø¹éÀ¸·Î Ã³¸®
	var Uspeed=10; //¹®ÀÚ¿­ÀÇ ÀÌµ¿¼Óµµ
	var Udelay=1500; // ´ÙÀ½¹®ÀÚ¿­ÀÌ ³ª¿Ã¶§ °¡ÁöÀÇ ½Ã°£ 0 ÀÌ¸é ´ÙÀ½¹®ÀÚ¿­ÀÌ ¹Ù·Î ³ª¿È
	var Ufirst=0; //Á¦ÀÏ Ã³À½ ½ÃÀÛÇÒ ¹®ÀÚ¿­ 
	var working=0; //¿òÁ÷ÀÌ¸é 1 ¸ØÃß¸é 0

	// ½ÇÁ¦ Ãâ·ÂÀÌ µÉ ¹®ÀÚ¿­ÀÌ ´ã±ä ¹è¿­
	var Umsgs=new Array();
	var cTime = new Date();
	//text-overflow:ellipsis;overflow;visible
	//text-overflow:ellipsis;overflow;hidden
	function goList()
	{
		w02 = window.open("main_focus_list.asp", "newsTicker", "top=1, left=1, width=616, height=500, scrollbars=yes");
		w02.focus();
	}
	
	// Main function
	function newsTicker(Utype,Umsgs,Ucursor,Uwidth,Uheight,Ubgcolor,Ubackground,Uspeed,Udelay,Ufirst)
	{
		document.writeln('<span id="Ubox" style="position:relative; width:'+Uwidth+'px; height:'+Uheight+'px; text-overflow:ellipsis; background-color:'+Ubgcolor+'; background-image:url('+Ubackground+')">');
		document.writeln('<div onmouseover="offWorking();" onmouseout="onWorking();" style="position:absolute; width:'+Uwidth+'px; height:'+Uheight+'px; clip:rect(0px 490px '+Uheight+'px 0px); left:0px; top:2px; text-overflow:ellipsis;">');
		
		if (Utype==0)
		{
			document.writeln('<div id="Utxt"  style="position:absolute;width:'+Uwidth+'px;left:'+Uwidth+'px;top:3px;text-overflow:ellipsis;">');
			document.write(Umsgs[Ufirst]);
			
			Uside(Utxt, Umsgs, Uwidth, Uspeed, Udelay, Ufirst);
		}
		
		if (Utype==1)
		{
			document.writeln('<div id="Utxt"style="font-weight:bold; position:absolute; width:'+Uwidth+'px; left:10px; top:'+Uheight+'px; text-overflow:ellipsis;">');
			document.write(Umsgs[Ufirst]);
			Uscroll(Utxt,Umsgs,Uheight,Uspeed,Udelay,Ufirst);
		}

		document.writeln('</div>');
		document.writeln('</div>');
		document.writeln('</span>');
		onWorking();
	}

	// Moves
	function onWorking()
	{
		working = 1;
	}
	
	function offWorking()
	{
		working = 0;
	}
	
	function chkWorking()
	{
		if (working == 1)
		{
			return true;
		}
		return false;
	}
	
	function Uscroll(IDdiv,Umsgs,Uheight,Uspeed,Udelay,Ufirst)
	{
		ttxt=eval(IDdiv);
		Ustep=eval(Ufirst);
	
		if (Umsgs[Ustep] == undefined)
		{
			Umsgs[Ustep] = "";
		}
		
		if (ttxt.style.pixelTop>3&&ttxt.style.pixelTop<=4)
		{
			if (chkWorking()==true)
			{
				ttxt.style.pixelTop=3;
			}
			setTimeout("Uscroll(ttxt,Umsgs,Uheight,Uspeed,Udelay,Ustep)",Udelay);
			return;
		}
		else
		{
			if (ttxt.style.pixelTop>=ttxt.offsetHeight*-1)
			{
				if (chkWorking()==true)
				{
					ttxt.style.pixelTop-=1;
				}
				setTimeout("Uscroll(ttxt,Umsgs,Uheight,Uspeed,Udelay,Ustep)",Uspeed);
				return;
			}
			else
			{
				ttxt.style.pixelTop=Uheight;
				if (Ustep>=Umsgs.length-1)
				{
					Ustep=0;
					
				}
				else
				{
					Ustep++;
				}
				ttxt.innerHTML=Umsgs[Ustep];
				Uscroll(ttxt,Umsgs,Uheight,Uspeed,Udelay,Ustep);
			}
		}
	}

	function Uside(IDdiv, Umsgs, Uwidth, Uspeed, Udelay, Ufirst)
	{
		ttxt=eval(IDdiv);
		Ustep=eval(Ufirst);
		
		if (Umsgs[Ustep] == undefined)
		{
			Umsgs[Ustep] = "";
		}
		
		if (ttxt.style.pixelLeft>0&&ttxt.style.pixelLeft<=5)
		{
			if (chkWorking()==true)
			{
				ttxt.style.pixelLeft=0;
			}
			setTimeout("Uside(ttxt,Umsgs,Uwidth,Uspeed,Udelay,Ustep)",Udelay);
			return;
		}
		else
		{
			if (ttxt.style.pixelLeft>=ttxt.offsetWidth*-1)
			{
				if (chkWorking()==true)
				{
					ttxt.style.pixelLeft-=5;
				}
				setTimeout("Uside(ttxt,Umsgs,Uwidth,Uspeed,Udelay,Ustep)", Uspeed);
				return;
			}
			else
			{
				ttxt.style.pixelLeft=Uwidth;
				if (Ustep>=Umsgs.length-1)
				{
					Ustep=0;
					var setTime = new Date();
					if ((Date.parse(setTime) - Date.parse(cTime)) > (1000 * 60 * 5))
					{
						cTime = setTime;
						working=0;
						
						//newsTickerManager.location.href="main_focus_manager.asp?time=" + cTime;
					}
				}
				else
				{
					Ustep++;
				}
				ttxt.innerHTML=Umsgs[Ustep];
				Uside(ttxt,Umsgs,Uwidth,Uspeed,Udelay,Ustep);
			}
		}
	}
	

