<!--
function newWin(file,width,height,scroll,resize){

	var leftPoint = (screen.width/2)-(width/2);
	var topPoint = (screen.height/2)-(height/2);

	scroll = (scroll =='' )? 'no' : scroll;
	resize = (resize =='' )? 'no' : resize;
	
	window.open (file,"","scrollbars="+scroll+",resizable="+resize+",width="+width+",height="+height+",top="+topPoint+",left="+leftPoint);
}

function comma(str){
	result = "";	check=0;	j=1;
	check=(str.length % 3==0)? 3:str.length % 3;

	for (i=0; i < str.length ; i++)
	{
		if (check == i) {result +="," + str.charAt(i); j=1;}
		else if (check < i && j==3) {result +="," + str.charAt(i); j=1;}
		else {result += str.charAt(i); j++;}
	}

	return result;
}

//ÀÚ¸®¼ö ÀÚµ¿ÀÌµ¿(ÀÌ¸§, ÀÚ¸´¼ö, ´ÙÀ½Æ÷Ä¿½ºÀÌ¸§)
//»ç¿ë¿¹ : onkeyup="javascript:handle_keyup(fmJob.owner_phone1,'3',fmJob.owner_phone2);"
function handle_keyup(name1, len1, next1){
	k_name=name1.value;

	if(k_name.length==len1){
		next1.focus();
	}
}

//°ü¸®ÀÚ ¸Þ´ºÀÇ ¸Þ´ºÀÇ ¸¶¿ì½º ÀÌº¥Æ® ¹ÝÀÀ ÇÔ¼ö
function menuC(fm,assort){
	if(assort==1){
		bgColor = "#EEEEFF";
		fontColor = "#9900FF";
	}else{
		bgColor = "#FFFFFF";
		fontColor = "#000000";
	}

	fm.style.backgroundColor=bgColor;
	fm.style.color=fontColor;
}

//¸¶¿ì½º ¿À¹ö ¶§¿¡ ÀÌ¹ÌÁö ¹Ì¸®º¸±â
function msgposit(){
message.style.posLeft = event.x + 50 + document.body.scrollLeft
message.style.posTop = event.y - 120 + document.body.scrollTop
}

function msgposit2(){
message.style.posLeft = event.x + 50 + document.body.scrollLeft
message.style.posTop = event.y - 40 + document.body.scrollTop
}

function msgset(str,str2){
var text
text ='<table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="" style="border-width:1; border-color:gray; border-style:solid;">'
text += '<tr><td align=center>'+str+'<br>'+str2+'</td></tr></table>'
message.innerHTML=text
}

function msghide(){
message.innerHTML=''
}
//-->