// ÀÌ¹ÌÁö ¿À¹ö ¾Æ¿ô ÀÌ¸§
function Rollover(url, name){
	name.src= url;
}

//ÆË¾÷
function pop_window01(url, name, width, height,scrollbar,menubar,resize){
   window.open(url, name, 'left=70,top=50,width='+width+',height='+height+',scrollbars='+scrollbar+',menubar='+menubar+',resizable='+resize );
}

//·Îµù
function CheckUIElements()
{
        var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;
                yButtonFrom = parseInt (gotop.style.top, 10);
                //yButtonTo   = document.body.scrollTop + document.body.clientHeight - 479;
				yButtonTo   = document.body.scrollTop + 225;
        timeoutNextCheck = 500;
        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
                setTimeout ("CheckUIElements()", timeoutNextCheck);
                return;
        }
        if ( yButtonFrom != yButtonTo ) {
                yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
                if ( yButtonTo < yButtonFrom )
                        yOffset = -yOffset;
                        gotop.style.top = parseInt (gotop.style.top, 10) + yOffset;
             			timeoutNextCheck = 10;
        }
        if ( yMenuFrom != yMenuTo ) {
                yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
                if ( yMenuTo < yMenuFrom )
                        yOffset = -yOffset;
                        gotop.style.top = parseInt (gotop.style.top, 10) + yOffset;
                		timeoutNextCheck = 10;
        }
        setTimeout ("CheckUIElements()", timeoutNextCheck);
}
function OnLoad()
{
        var y;
        //        gotop.style.top = 225;
        //        gotop.style.visibility = "visible";
        //CheckUIElements();
        return true;
}



// Å×ÀÌºí º¸¿´µû-_-
function showDiv(answer){
	answer.style.display = "";
}
// Å×ÀÌºí ¼û°åµû-_-
function HideDiv(answer){
	answer.style.display = "none";
}


function flash01 (url,id,name,bgcol,wmode,w,h) {
document.write( "	<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+w+"' HEIGHT='"+h+"' id='stage' ALIGN=''>");
document.write( "	<PARAM NAME=menu VALUE=false>");
document.write( "	<PARAM NAME=movie VALUE='"+url+"'>");
document.write( "	<PARAM NAME=quality VALUE=high>");
document.write( "	<PARAM NAME=bgcolor VALUE="+bgcol+">");
document.write( "	<param name=wmode value="+wmode+">");
document.write( "	<EMBED src='"+url+"' quality=high bgcolor="+bgcol+"  WIDTH='"+w+"' HEIGHT='"+h+"' NAME='"+name+"' ALIGN='' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
document.write( "	</EMBED>");
document.write( "	</OBJECT>");
}
