// ·Î±×ÀÎÀÌ ÇÊ¿ä·Î ÇÕ´Ï±î?
function postDelete(objMess){
	if(confirm(objMess)==true){ return true; }
	return false;		
}
function TRcolor (obj,color) {
       var color_default = "";//transparent
       TRs = obj;
       TRs.style.backgroundColor=color; // Ã³À½ ·ÎµùµÉ ¶§ ¹Ý¿µµÇÁö ¾Ê´Â °ÍÀ» ÇÇÇÏ±â À§ÇØ.
       TRs.onmouseover = new Function('this.style.backgroundColor="'+color+'";');
       TRs.onmouseout  = new Function('this.style.backgroundColor="'+color_default+'";');
}


browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if(browserName == "Netscape" && browserVer >= 3){ init = "net"; } else { init = "ie"; }

function bt(id,after) { 
	eval(id+'.filters.blendTrans.stop();'); 
	eval(id+'.filters.blendTrans.Apply();'); 
	eval(id+'.src="'+after+'";'); 
	eval(id+'.filters.blendTrans.Play();'); 
}

function setSelect(obj,value){
    if(value){
      var str = "document.all['"+obj+"'].value = '"+value+"';";
      eval(str);
    }
}

function textareaSize(fld, size) {
	var rows = parseInt(fld.rows);
	rows += parseInt(size);
	if (rows > 0) {	fld.rows = rows; }
}

function fieldClear(frm_filde) { 
	var objF = eval('document.'+frm_filde);
	objF.value='';
	objF.focus();
}



/************************½ºÅ©·ÑÇÏ¸ç ¸ÇÀ§·Î ¿Ã¶ó°¡±â************************/
function back_top()
{
	x = document.body.scrollLeft;
	y = document.body.scrollTop;
	step = 2;

	while ((x != 0) || (y != 0)) {
		scroll (x, y);
		step += (step * step / 100);
		x -= step;
		y -= step;
		if (x < 0) x = 0;
		if (y < 0) y = 0;
	} 
	scroll (0, 0);
}


