
pub="";
home=pub+"/index_main.jsp";
eng=pub+"/eng/index.jsp";
login=pub+"/member/mortgage_index.jsp";
member=pub+"/member/member_agree.jsp";
membermod=pub+"/mypage/mypage_passchk.jsp";
mypage=pub+"/mypage/mypage_passchk.jsp";
textmode=pub+"/textmodeN/index.jsp"
young=pub+"/youngN/index.jsp"
sitemap=pub+"/Map/sitemap.jsp";
campain=pub+"http://www.kwf.or.kr";

//1.º¸±ÝÀÚ¸®·Ð
mortgage=pub+"/mortgage/mortgage_index.jsp";	//»óÇ°¾È³»
	mortgage01=pub+"/mortgage/mortgage_index.jsp";	//»óÇ°¾È³»
	mortgage02=pub+"/mortgage/kind_mortgage.jsp";	//»óÇ°Á¾·ù
	mortgage03=pub+"/mortgage/pop_loan_cal.jsp";		//´ëÃâ°¡´É±Ý¾×Á¶È¸
	mortgage04=pub+"/mortgage/exclusive.jsp";		//±ÝÀ¶±â°ü´ã´çÀÚÀü¿ëÄÚ³Ê

//2.ÁÖÅÃ°³ÀÎº¸Áõ
pgrt=pub+"/pgrt/pgrt_index.jsp";	//½Å¿ëº¸Áõ¾÷¹«
	pgrt01=pub+"/pgrt/pgrt_index.jsp";			//»óÇ°¾È³»
	pgrt02=pub+"/pgrt/pgrt_guaranty1.jsp";		//»óÇ°Á¾·ù
	pgrt03=pub+"/pgrt/egrt_index.jsp";	//E-º¸Áõ½ºÅ×ÀÌ¼Ç	
	pgrt0303=pub+"/pgrt/app/egrt_inqry_fm_01.jsp";	//E-º¸Áõ½ºÅ×ÀÌ¼Ç	
	
//3.ÁÖÅÃ»ç¾÷ÀÚº¸Áõ
bgrt=pub+"/bgrt/bgrt_index.jsp";	//»óÇ°¾È³»
	bgrt01=pub+"/bgrt/bgrt_index.jsp";		//»óÇ°¾È³»
	bgrt02=pub+"/bgrt/business_guaranty01.jsp";	//»óÇ°Á¾·ù
	bgrt03=pub+"/bgrt/business_counsel.jsp";	//»ó´ãÃ³¾È³»
	bgrt04=pub+"/bgrt/business_situation.jsp";		//½É»çÁøÇà»óÈ²Á¶È¸
	bgrt05=pub+"/bgrt/list.jsp?bid=bgrtseosik"   //¼­½Ä´Ù¿î·Îµå
		
//4.ÁÖÅÃ¿¬±Ý
mortgageloan=pub+"/mortgageloan/mortgageloan_index.jsp";	//»óÇ°¾È³»		
	mortgageloan01=pub+"/mortgageloan/mortgageloan_index.jsp";	//»óÇ°¾È³»
	mortgageloan02=pub+"/mortgageloan/mortgageloan_announce.jsp";	//°ø°í»çÇ×
	mortgageloan03=pub+"/mortgageloan/mortgageloan_cal.jsp";	//¿¹»ó¿¬±ÝÁ¶È¸

//5.ÇÐÀÚ±Ý´ëÃâº¸Áõ
sgrt=pub+"/sgrt/sgrt_index.jsp";	//»óÇ°¾È³»
	sgrt01=pub+"/sgrt/sgrt_index.jsp";				//»óÇ°¾È³»
	sgrt02=pub+"/sgrt/sloan_capacity.jsp";			//»óÇ°Á¾·ù(ÇÐÀÚ±Ý´ëÃâº¸Áõ/ÀåÇÐ±Ý)
	sgrt03=pub+"/sgrt/dept/dCom/credit_index.jsp";	//ÀüÀÚÃ¤¹«½ÂÀÎ
	
//6.MBS
mbsinfo=pub+"/mbsinfo/mbsinfo_index.jsp";	//mbsÅõÀÚÁ¤º¸
	mbsinfo01=pub+"/mbsinfo/mbsinfo_index.jsp";
	mbsinfo02=pub+"/mbsinfo/mbsinfo_issue.jsp";
	mbsinfo03=pub+"/mbsinfo/product.jsp";
	mbsinfo04=pub+"/mbsinfo/circulation_01.jsp";	//À¯Åë°Å·¡Á¤º¸(Á¾¸ñº°°Å·¡³»¿ª)
	mbsinfo05=pub+"/mbsinfo/refurn_01_view.jsp"; //ÁÖÅÃÀú´çÃ¤±ÇÇöÈ²°ø½Ã
	mbsinfo06=pub+"/mbsinfo/refurn_03.jsp"; //Pool º°»óÈ¯³»¿ª
	mbsinfo07=pub+"/mbsinfo/data.jsp";
	
//7.SLBS
slbsinfo=pub+"/slbsinfo/slbsinfo_index.jsp";	//slbsÅõÀÚÁ¤º¸
	slbsinfo01=pub+"/slbsinfo/slbsinfo_index.jsp";	//slbs»óÇ°¾È³»
	slbsinfo02=pub+"/slbsinfo/slbsinfo_issue.jsp";	
	slbsinfo03=pub+"/slbsinfo/product.jsp";	
	slbsinfo04=pub+"/slbsinfo/circulation_01.jsp";	//À¯Åë°Å·¡Á¤º¸(Á¾¸ñº°°Å·¡³»¿ª)	
	slbsinfo05=pub+"/slbsinfo/refurn_01_view.jsp";	
	slbsinfo06=pub+"/slbsinfo/refurn_03.jsp";	
	slbsinfo07=pub+"/slbsinfo/data.jsp";	


//8.°ø»ç¼Ò°³
intro=pub+"/intro/khfc_is.jsp";		//ÇÑ±¹ÁÖÅÃ±ÝÀ¶°ø»ç¶õ
	intro01=pub+"/intro/khfc_is.jsp";		//ÇÑ±¹ÁÖÅÃ±ÝÀ¶°ø»ç¶õ
	intro02=pub+"/intro/ceo.jsp";			//CEOÀÎ»ç¸»
	intro03=pub+"/intro/director.jsp";		//ÀÓ¿øÁø¼Ò°³
	intro04=pub+"/intro/organization.jsp";	//Á¶Á÷¹×Á÷¿ø¾È³»
	intro05=pub+"/intro/map.jsp";			//Ã£¾Æ¿À½Ã´Â±æ

//¿­¸°°æ¿µ
manage=pub+"/manage/manage_index.jsp";	//°æ¿µ°ø½Ã
	manage01=pub+"/manage/public/state_g01.jsp";	//°æ¿µ°ø½Ã(ÀÏ¹ÝÇöÈ²)
	manage02=pub+"/manage/info/risk01.jsp";			//°æ¿µÁ¤º¸(°æ¿µºÎ´ãºñ¿ëÃß°è°ø½Ã)
	manage03=pub+"/manage/ethics/ethics_g01.jsp";	//À±¸®°æ¿µ(À±¸®°æ¿µÀÌ¶õ)
	manage04=pub+"/inform/list.jsp?bid=reform";		//°æ¿µÇõ½Å
	manage05=pub+"/manage/tender.jsp";				//ÀÔÂû°ø°í
	manage06=pub+"/manage/einfo/einfo_is01.jsp";	//Á¤º¸°ø°³(Á¤º¸°ø°³Á¦µµ¾È³»)
	manage07=pub+"/manage/recruit/talent.jsp";		//ÀÎÀçÃ¤¿ë(ÀÎÀçÃ¤¿ë¾È³»)

//»çÀÌ¹öÈ«º¸°ü
pr=pub+"/inform/list.jsp?bid=notice";	//°øÁö»çÇ×
	pr01=pub+"/inform/list.jsp?bid=notice";		//°øÁö»çÇ×
	pr02=pub+"/inform/list.jsp?bid=dataBodo";	//º¸µµÀÚ·á
	pr03=pub+"/pr/newsletter.jsp";				//´º½º·¹ÅÍ	///pr/view2.jsp
	pr04=pub+"/inform/list.jsp?bid=dataPhoto";	//´º½º¼ÓÀÇº¸±ÝÀÚ¸®·Ð
	pr05=pub+"/pr/cs_system.jsp";				//»çÈ¸°øÇå(»çÈ¸°øÇåÃßÁøÃ¼°è)
	pr06=pub+"/pr/pr_flash.jsp";				//È«º¸ÀÚ·á½Ç(È«º¸¿µ»ó)
	pr07=pub+"/pr/inquiry/inquiry_ing.jsp";		//¿©·Ð±¤Àå(ÁøÇàÁßÀÎ ¼³¹®Á¶»ç,Áö³­¼³¹®º¸±â)


//ÀÚ·á¸¶´ç
data=pub+"/inform/list.jsp?bid=bubryoung";	//ÀÚ·á¸¶´ç
	data01=pub+"/inform/list.jsp?bid=bubryoung";	//°ü°è¹ý·É
	data02=pub+"/inform/list.jsp?bid=mbs";	//MBSÀÚ·á
	data03=pub+"/inform/list.jsp?bid=monthly";	//°£Çà¹°
	data04=pub+"/inform/list.jsp?bid=research";	//¼ö¿äÁ¶»ç
	data05=pub+"/inform/list.jsp?bid=tonggye";	//ÁÖ¿äÅë°è
	data06=pub+"/inform/list.jsp?bid=seosik";	//°¢Á¾¼­½Ä
	data07=pub+"javascript:dictionary();";	//¿ë¾î»çÀü
	data08=pub+"/help/news_bunews.jsp";	//ºÎµ¿»ê´º½º
	data09=pub+"/help/semoo_example1.jsp";	//¼¼¹«µµ¿ì¹Ì
	
//¼¼¹«µµ¿ì¹Ì	
	help01=pub+"/help/semoo1.jsp";	//¼¼¹«µµ¿ì¹Ì
	help02=pub+"/help/semoo_cal1.jsp";	//¼¼¹«µµ¿ì¹Ì
	help03=pub+"/help/semoo_tech.jsp";	//¼¼¹«µµ¿ì¹Ì
	help04=pub+"/help/semoo_bs.jsp";	//¼¼¹«µµ¿ì¹Ì
	help05=pub+"/help/semoo_swrite.jsp";	//¼¼¹«µµ¿ì¹Ì

//12.°í°´¼¾ÅÍ
customer =pub+"/customer/useinfo.jsp";	//ÀÌ¿ë¾È³»
	customer01=pub+"/customer/useinfo.jsp";			//ÀÌ¿ë¾È³»
	customer02=pub+"/customer/list.jsp?bid=custfaq";//FAQ
	customer03=pub+"/customer/list.jsp?bid=cust";	//°í°´Âü¿©¸¶´ç(°í°´»ó´ã¹×¹®ÀÇ)
	customer04=pub+"/customer/service_01.jsp";		//°í°´¼­ºñ½ºÇåÀå
	customer05=pub+"/customer/private.jsp";			//°³ÀÎÁ¤º¸º¸È£Á¤Ã¥
	customer0502=pub+"/customer/private_membinfo.jsp";	//°í°´±Ç¸®¾È³»¹®
	
//¸¶ÀÌÆäÀÌÁö
mypage = pub+"/mypage/mypage_passchk.jsp";//³ªÀÇÁ¤º¸º¯°æ
	mypage01 = pub+"/mypage/mypage_passchk.jsp"; //³ªÀÇÁ¤º¸º¯°æ
	mypage02 = pub+"/mypage/mypartic.jsp";
	mypage03 = pub+"/pgrt/app/egrt_inqry_fm_01.jsp";
	mypage04 = pub+"/mypage/enjoyFind_m.jsp"; //³ªÀÇÁñ°ÜÃ£±â
	mypage05 = pub+"/mypage/mypage_leave.jsp"; //³ªÀÇÁñ°ÜÃ£±â

//CS¸®´õ
research=pub+"/mypage/mypage_cs.jsp";	//CS¸®´õ
	research01=pub+"/mypage/mypage_cs.jsp";	//CS¸®´õ
	t_news01=pub+"/help/semoo_bunews.jsp";	//ºÎµ¿»ê´º½º
	
//±âÅ¸
popup01 =pub+"/inform/read.jsp?bid=dataBodo&nid=551"; //±âÅ¸
	

function GoUrl(name, win) {	
  if (eval(name) == "") {
		alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		return;	
	} else {
      if (win == null) {
			    document.location.href = eval(name);
	    } else {
			    window.open(eval(name), win);
		  }
	}
}

function golinkindex(){
location.href= popup01 ;
}


/******************************************/
//±âÅ¸¸µÅ©
function Pop_Login(rurl) {  //login
X=400; Y=280;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(''+pub+'/commonN/pop_mainlogin.jsp?rUrl='+rurl,'regist','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function Pop_RealLogin(rurl, starget) {  //½Ç¸íÀÎÁõ-login
X=379; Y=260;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(''+pub+'/commonN/pop_realChk.jsp?starget='+starget+'&REFURL='+rurl,'regist','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=no,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function Pop_CustLogin(durl,rurl) {  //°í°´»ó´ã½Ç-login
X=400; Y=280;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(''+pub+durl+'?rUrl='+rurl,'regist','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function myscrap() {  //myscrap
X=690; Y=450;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(''+pub+'/mypageN/pop_myscrap_read.jsp','scrap','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function dictionary() {  //dictionary
X=700; Y=470;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(''+pub+'/commonN/dictionary.jsp','dictionary','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function dictionaryQuick(word) {  //dictionary
X=700; Y=470;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
if(checkHE(word)=="H") {
	chkHE = "KR";
} else if(checkHE(word)=="E") {
	chkHE = "EN";
}
	NewWindow=window.open(''+pub+'/commonN/dictionary.jsp?gubun=0&cmd=search&word='+word+'&codeMode='+chkHE,'dictionary','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function graphView() {  //login
X=550; Y=380;
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(''+pub+'/mbsinfo/pop_graph.jsp','graphwiew','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function Pdf_download() {  //
	NewWindow=window.open('http://www.adobe.com');
}

//Print ÆË¾÷ 
function Print_Solution(pn) { 
javascript:popup('pop_print.php?pn='+pn+'','print01',590,600,'yes');
}
function Print_Solution02(pn) { 
javascript:popup('pop_print2.php?pn='+pn+'','print02',556,600,'yes');
}
function Print_Solution03(pn) { 
javascript:popup('pop_print3.php?pn='+pn+'','print03',556,600,'yes');
}
/******************************************/



//Popup 		
function popup(Fn,Name, X, Y, Scroll) {
 l = (screen.width) ?	(screen.width-X)	/ 2	: 0;
 t = (screen.height) ?	(screen.height-Y)  / 2	: 0;

 NewWindow=window.open(Fn,Name,'width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars='+Scroll+',toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

function popup2(Fn,Name) {

 NewWindow=window.open(Fn,Name,'width=800,height=600,top=10,left=10,scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes,resizable=yes,menubar=yes');
}
  	
//Combo Box Menu 
function go_link(frmJump) {
  var myindex=frmJump.cmbSel.selectedIndex
  if (frmJump.cmbSel.options[myindex].value != null) {
	document.location.href = frmJump.cmbSel.options[myindex].value;
  }
}

function go_link2() {
  var myindex2=frmJump2.cmbSel2.selectedIndex
	if (frmJump2.cmbSel2.options[myindex2].value != '') {
		if(confirm("ÇØ´ç »çÀÌÆ®·Î ÀÌµ¿ÇÏ½Ã°Ú½À´Ï±î?")){
			window.open(frmJump2.cmbSel2.options[myindex2].value);
		}	  	
	}
  else {
	//	document.location.href = frmJump2.cmbSel2.options[myindex2].value;
		}
}

function get_link2() {

	var selectEl = document.getElementById("cmbSel2");

	if(confirm("ÇØ´ç »çÀÌÆ®·Î ÀÌµ¿ÇÏ½Ã°Ú½À´Ï±î?")){
		window.open(selectEl.value);
	}	  	
}
 

//Menu RollOver 
	function PreImgLoad(Title, imgNum) {
		imgNum++;
		rollOn = new Array(imgNum);
		rollOff = new Array(imgNum);
    rollOn2 = new Array(imgNum);
		for (i = 1; i <= imgNum; i++) {
			if (i < 10) {
				tmp = "0";
			} else {
				tmp ="";
			}
			rollOn[i] = new Image();
			rollOn[i].src = Title + tmp + i + "_on.gif";
			rollOff[i] = new Image();
			rollOff[i].src = Title + tmp + i + "_off.gif";
      rollOn2[i] = new Image();
			rollOn2[i].src = Title + tmp + i + ".gif";
		}
	}
	function imgOn(Num) {  
		if (rollOn[Num] != null) {
       if (Num != _MCurrentOn) {
			 document["R"+Num].src = rollOn[Num].src;
      }
		}
	}
	function imgOff(Num) {
		if (rollOn[Num] != null) {
			if (Num != _MCurrentOn) {
				document["R"+Num].src = rollOff[Num].src;
      }
      else {  
        document["R"+Num].src = rollOn2[Num].src;
      }
		}
	}
	

// ¶ó½ºÆ® TR  rollover
function chk_selected(f){
	if (f.checked){
		f.parentElement.parentElement.className='';
	}else {
		f.parentElement.parentElement.className='';
	}
}
function mouseOut(f){
	if (!f.childNodes[0].childNodes[0].checked) f.className='';
	else f.className='';
}
function mouseOver(f){
	if (f.childNodes[0].childNodes[0].checked){
		f.className='list-over';
	}else {
		f.className='list-over';
	}
}

// ShowHide Layer
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'inline':(v='hide')?'none':v; }
    obj.display=v; }
}

function popAction(url) {
	X=370; Y=280;
	l = (screen.width) ?	(screen.width- X) / 2	: 0;
	t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	window.open(url,"popLogin","left=" + l + ", top=" + t + ", width=" + X + ", height=" + Y + ",toolbar=no, location=no, directories=no, status=no, menubar=no,scrollbars=auto,resizable=no");
}

function commonPrint() {
	X=750; Y=800;
	l = (screen.width) ?	(screen.width- X) / 2	: 0;
	t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	var printURL = "/commonN/forAllPrint.jsp";		
	window.open(printURL,"khfc_print","width=" + X + ", height=" + Y + ", menubar=no, scrollbars=yes,status=no,resizable=no,top=" + t + ",left=" + l);
}

function commonViewer() {
	X=379; Y=395;
	l = (screen.width) ?	(screen.width- X) / 2	: 0;
	t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	window.open("/commonN/pop_viewer.jsp","popViewer","left=" + l + ", top=" + t + ", width=" + X + ", height=" + Y + ",toolbar=no, location=no, directories=no, status=no, menubar=no,scrollbars=auto,resizable=no");
}

function commonScrap(url) {
	X=430; Y=210;
	l = (screen.width) ?	(screen.width- X) / 2	: 0;
	t = (screen.height) ?	(screen.height- Y) / 2 : 0;		
    
	popScrapDoc = window.open("","popScrap","left=" + l + ", top=" + t + ", width=" + X + ", height=" + Y + ",toolbar=no, location=no, directories=no, status=no, menubar=no,scrollbars=auto,resizable=no");
	document.myScrapForm.target = 'popScrap';
	document.myScrapForm.submit();
}


function popMailSend(mailvalue) {
	X=550; Y=400;
	l = (screen.width) ?	(screen.width- X) / 2	: 0;
	t = (screen.height) ?	(screen.height- Y) / 2 : 0;		NewWindow=window.open('/commonN/pop_contact.jsp?mailvalue='+mailvalue,'custMailPOP','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=no,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
	
  }


  function popMailSend_manage(mailvalue) {
	X=379; Y=436;
	l = (screen.width) ?	(screen.width- X) / 2	: 0;
	t = (screen.height) ?	(screen.height- Y) / 2 : 0;		NewWindow=window.open('/commonN/pop_contact_manage.jsp?mailvalue='+mailvalue,'custMailPOP','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars=no,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
	
  }


function Space_All(str)
{
	var index, len           
	while(true)
	{
		index = str.indexOf(" ")
		if (index == -1) break
		len = str.length
		str = str.substring(0, index) + str.substring((index+1),len)
	}
	return str;
}

var isDOM = (document.getElementById ? true : false);
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);

function getRef(id)
{
	if (isDOM) return document.getElementById(id);
	if (isIE4) return document.all[id];
	if (isNS4) return document.layers[id];
}
// ¿ìÃø  ´•¸µÅ© ½ºÅ©·ÑµÇ´Â ÇÔ¼ö
var isNS = navigator.appName == "Netscape";

function moveRightEdge()
{
	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
	if (isNS4)
	{
		yMenuFrom   = Top_Layer.top;
		yMenuTo     = windows.pageYOffset + 530;   // À§ÂÊ À§Ä¡
	}
	else if (isDOM)
	{
		yMenuFrom   = parseInt (Top_Layer.style.top, 10);
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 530; // À§ÂÊ À§Ä¡
	}

	timeoutNextCheck = 500;

	if (yMenuFrom != yMenuTo)
	{
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
		if (yMenuTo < yMenuFrom)
			yOffset = -yOffset;
		if (isNS4)
			Top_Layer.top += yOffset;
		else if (isDOM)
			Top_Layer.style.top = parseInt (Top_Layer.style.top, 10) + yOffset;
			timeoutNextCheck = 10;
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck);
}

function moveRightEdgePro(){

var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
	if (isNS4)
	{
		yMenuFrom   = Probal_Layer.top;
		yMenuTo     = windows.pageYOffset + 550;   // À§ÂÊ À§Ä¡
	}
	else if (isDOM)
	{
		yMenuFrom   = parseInt (Probal_Layer.style.top, 10);
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 550; // À§ÂÊ À§Ä¡
	}

	timeoutNextCheck = 500;

	if (yMenuFrom != yMenuTo)
	{
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
		if (yMenuTo < yMenuFrom)
			yOffset = -yOffset;
		if (isNS4)
			form.top += yOffset;
		else if (isDOM)
			Probal_Layer.style.top = parseInt (Probal_Layer.style.top, 10) + yOffset;
			timeoutNextCheck = 10;
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck);

}

String.prototype.setComma = function() { 


    var temp_str = String(this); 


    for(var i = 0 , retValue = String() , stop = temp_str.length; i < stop ; i++) retValue = ((i%3) == 0) && i != 0 ? temp_str.charAt((stop - i) -1) + "," + retValue : temp_str.charAt((stop - i) -1) + retValue; 


return retValue; 

} 



//Ãß°¡ È®ÀÎÀº ¾Æ·¡¿Í °°ÀÌ 

//var s = '12345'; 

//document.write(s.setComma()); 

function vComma(form_name){ 


    var nocomma = form_name.value.replace(/,/gi,''); // ºÒ·¯¿Â °ªÁß¿¡¼­ ÄÄ¸¶¸¦ Á¦°Å 

    var s = nocomma; 

     

    if (s == 0) {  // Ã¹ÀÚ¸®ÀÇ ¼ýÀÚ°¡ 0ÀÎ°æ¿ì ÀÔ·Â°ªÀ» Ãë¼Ò ½ÃÅ´  

        form_name.value = ''; 

        return; 

        } 

        else { 

            form_name.value = s.setComma(); 

            } 

} 


//Ãß°¡ 090429
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


