var company = "";
company = company + "	<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">";
company = company + "	<tr> ";
//company = company + "	  <td width=\"210\" bgcolor=\"#FFFFFF\">&nbsp;</td>";
company = company + "	  <td bgcolor=\"DADADA\" align=\"center\" height=\"30\" width=\"100%\"><a href=\"http://www.entermate.com\" target ='_blank' class=\"font\">È¸»ç¼Ò°³</a> ";
company = company + "	    ¤Ó <a href=\"/onfile/agree.htm\" class=\"font\">¼­ºñ½º ÀÌ¿ë¾à°ü</a> ¤Ó <a href=\"/onfile/privacy.htm\" class=\"font\">°³ÀÎÁ¤º¸º¸È£Á¤Ã¥</a>";
company = company + "	    ¤Ó <a href=\"javascript:Police();\" class=\"font\">¿ÂÆÄÀÏ ÁöÅ´ÀÌ</a> ¤Ó <a href=\"/onfile/help/auf_mail.en\" class=\"font\">¿î¿µÀÚ¿¡°Ô Áú¹®</a>";
company = company + "	    ¤Ó <a href=\"/onfile/help/\" class=\"font\">µµ¿ò¸»</a></td>";
company = company + "	</tr>";
company = company + "      </table>";
function SendSms()
{
	NewWindow('/sms/MobileSend.en','sms','600','300','no');
}
function Download()
{
	document.location.href = '/OnFileSetup.exe';
}
function Control_Download(url)
{
	document.location.href='/download_control.en?url='+url;
	//document.location.href = '/file_down.en?url='+url+'&path=ftp://update.onfile.co.kr/OnFile_Control_Setup.exe';
	//alert('»õ·Î¿î ¹öÀüÀÇ ÀÚµ¿ÆÐÄ¡ ÇÁ·Î±×·¥À» ÁØºñÁßÀÔ´Ï´Ù.\n\n±ÝÀÏ ¿ÀÈÄ¿¡ ¾÷µ¥ÀÌÆ®µÉ ¿¹Á¤ÀÔ´Ï´Ù.');
}
function CyberMoneyGift()
{
	alert(' ÇöÀç »çÀÌ¹ö¸Ó´Ï ¼±¹°ÇÏ±â´Â ÁØºñÁßÀÔ´Ï´Ù.');
//	NewWindow('/cymoney/GiftMoney.en','repay','370','300','no');
}
function Memo(userid)
{
	if(!userid) userid = "";
	//window.open('http://www.onfile.co.kr/memo/memosend.en?userid=' + userid,'','width=518,height=330,scrollbars=0, resizable=0')
	window.open('/memo/memosend.en?userid=' + userid,'','width=480,height=430,scrollbars=0, resizable=0')
}
function Manual(str)
{
	if(!str) str = "menual.htm";
	//window.open('http://www.onfile.co.kr/menual/' + str,'','width=715,height=600,scrollbars=1, resizable=1')
	window.open('/onfile/menual/' + str,'','width=715,height=600,scrollbars=1, resizable=1')
}
function Police()	//¿ÂÆÄÀÏ ÁöÅ´ÀÌ Ã¢
{
	//NewWindow('http://www.onfile.co.kr/police','win','400','620','yes');
	NewWindow('/onfile/police','win','400','620','yes');
}

function Police_Copyright()	//ÀúÀÛ±Ç¸ñ·Ï Ã¢
{
	NewWindow('/onfile/police/police_copyright.en','copyright','500','600','no');
}
function Police_Copyright2()	//ÀúÀÛ±Ç¸ñ·Ï Ã¢
{
	NewWindow('/onfile/police/police_copyright_pop.en','copyright','500','600','no');
}

function Buy_Candy()	//Äµµð±¸ÀÔ Ã¢
{
	NewWindow('/onfile/itemshop/itembuy.en?item_code=ITM00001','buy_item','500','380','no');
}
function Buy_Candy2()	//Äµµð±¸ÀÔ Ã¢
{
	NewWindow('/onfile/itemshop/itembuy_new.en?item_code=ITM00001','copyright','500','380','no');
}

function OnLineInstall()
{
	//NewWindow('http://www.onfile.co.kr/activex/OnLineInstall.en','repay','370','300','no');
	NewWindow('/onfile/activex/OnLineInstall.en','repay','407','160','no');
}
function JoinEvent()
{
	//NewWindow('http://www.onfile.co.kr/event/joinevent.htm','event','370','300','no');
	NewWindow('/onfile/event/point_event/','event','370','300','no');
}
function CandyEvent()
{
	//NewWindow('http://www.onfile.co.kr/event/joinevent.htm','event','370','300','no');
	NewWindow('/onfile/event/lotto_event/candy_open.htm','candyevent','290','188','no');
}
function MyItem()
{
	//NewWindow('http://www.onfile.co.kr/myitem.en','myitem','400','400','no');
	NewWindow('/onfile/myitem.en','myitem','500','500','yes');
}
function Chg_Favorite()
{
	for(i=0;i<document.all.favorite.length;i++) {
		if(document.all.favorite[i].selected) {
			if(document.all.favorite[i].value)
				ResizeNewWindow('/FileList.en?n=' + document.all.favorite[i].value,'','700','550','no');
		}
	}
}
function Chg_History()
{
	for(i=0;i<document.all.history.length;i++) {
		if(document.all.history[i].selected) {
			if(document.all.history[i].value)	
				ResizeNewWindow('/FileList.en?n=' + document.all.history[i].value,'','700','550','no');
		}
	}
}
function Account()
{
	//NewWindow('http://www.onfile.co.kr/finance/','finance','410','350','no');
	NewWindow('/onfile/finance/','finance','650','670','no');
}
function OnFile(v)
{
	//ResizeNewWindow('http://www.onfile.co.kr/FileList.en?n=' + v,'','700','550','no');
	ResizeNewWindow('/onfile/FileList.en?n=' + v + '&relo=Y','','700','550','no');
}
function OnFile2(v)
{
	//ResizeNewWindow('http://www.onfile.co.kr/FileList.en?n=' + v,'','700','550','no');
	ResizeNewWindow('/onfile/FileList.en?n=' + v,'','700','550','no');
}
function OnFile3(v)
{
	//ResizeNewWindow('http://www.onfile.co.kr/FileList.en?n=' + v,'','700','550','no');
	ResizeNewWindow('/onfile/FileList.en?n=' + v + '&from=myserver','','700','550','no');
}
function LoginCheck()
{
	if(!fm.userid.value) {
		alert('È¸¿ø ¾ÆÀÌµð ¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.          ');
		fm.userid.focus();
		return false;
	} else if(!fm.passwd.value) {
		alert('ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.          ');
		fm.passwd.focus();
		return false;
	}
}
function ResizeNewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function FaqMap()
{
	for(i=0;i<document.fm.quickmenu.length;i++) {
		if(document.fm.quickmenu[i].selected == true) {
			document.location.href = 'index.en?code=' + document.fm.quickmenu[i].value;
		}
	}
}
function Search()
{
	var site,str;
	if(!document.fm.q.value) {
		alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		document.fm.q.focus();
		return;
	}
	if(document.fm.speed) str = str +"&speed=" + document.fm.speed.value;
	site = "/onfile/category.en?q=" + document.fm.q.value + "&c=" + document.fm.select3.value;
	document.location.href = site;
}
function SpeedSort() {
	for(i=0;i<document.fm.speed.length;i++) {
		if(document.fm.speed[i].selected == true) {

			url = '/onfile/new_category.en?' + 'speed=' + document.fm.speed[i].value;
			if(document.fm.section.value)
				url = url + "&section=" + document.fm.section.value;
			document.location.href = url;
		}
	}
}
function Speed(version) {
	for(i=0;i<document.fm.speed.length;i++) {
		if(document.fm.speed[i].selected == true) {
			if(version == "old") {
				url = '/onfile/category.en?' + 'speed=' + document.fm.speed[i].value;
			} else {
				url = '/onfile/new_category.en?' + 'speed=' + document.fm.speed[i].value;
			}
			if(document.fm.section.value)
				url = url + "&section=" + document.fm.section.value;
			document.location.href = url;
		}
	}
}
function hanCheck(str) {
	for(i=0;i<str.value.length;i++) {
		var a=str.value.charCodeAt(i);
		if (a > 128) {
			return false;
		}
	}
	return true;
}

function CheckKeys()
{
	if(event.keyCode  == 13) {
		Search();
		return false;
	} else {
		return true;
	}
}
function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,status=no'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function IdFinder()
{
	if(!document.fm.idkor_name.value) {
		alert('ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		return;
	} else if(regis_check(document.fm.idreg1,document.fm.idreg2) == false) {
		return;
	} else {	// ¼º°ø
		NewWindow('/onfile/register/register_yn.en?name=' + document.fm.idkor_name.value + '&reg1='+document.fm.idreg1.value + '&reg2=' + document.fm.idreg2.value,'name','400','400','no');
	}
}
function KnowPasswd()
{
	var str;
	if(document.fm.reply[0].checked) {
		str = "email";
	}
	else if(document.fm.reply[1].checked) {
		str = "qna";
	}

	if(!document.fm.memid.value) {
		alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		return;
	} else if(!document.fm.name.value) {
		alert('ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		return;
	} else if(regis_check(document.fm.reg1,document.fm.reg2) == false) {
		return;
	} else {	// ¼º°ø
		NewWindow('passwd.en?korname=' + document.fm.name.value + '&regis1='+document.fm.reg1.value + '&regis2=' + document.fm.reg2.value + "&reply=" + str + "&memid=" + document.fm.memid.value,'name','400','400','no');
	}
}

function FindPasswd()
{
	var str;
	if(document.fm.reply[1].checked) {
		str = "email";
	}
	else if(document.fm.reply[2].checked) {
		str = "qna";
	}

	if(!document.fm.memid.value) {
		alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		document.fm.memid.focus();
		return;
	} else if(!document.fm.name.value) {
		alert('ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		document.fm.name.focus();
		return;
	} else if(regis_check(document.fm.reg1,document.fm.reg2) == false) {
		return;
	} else {	// ¼º°ø
		var s = document.fm;
		if(document.fm.reply[0].checked) {
			var regnum = s.reg1.value + '-' + s.reg2.value;
			NewWindow('/onfile/agreement/index.en?id='+s.memid.value+'&name='+s.name.value+'&regnum='+regnum,'name','400','400','no');
		} else {
			NewWindow('passwd.en?korname=' + s.name.value + '&regis1='+s.reg1.value + '&regis2=' + s.reg2.value + "&reply=" + str + "&memid=" + s.memid.value,'name','400','400','no');
		}
	}
}

function regis_check(serial1,serial2){
  if (serial1.value.length != 6){
    alert("¿Ã¹Ù¸¥ ÁÖ¹Îµî·Ï¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
    serial1.focus();
	return false;
  }
  else if (serial2.value.length != 7){
    alert("¿Ã¹Ù¸¥ ÁÖ¹Îµî·Ï¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
    serial2.focus();
	return false;
  }
    else {
  var str_serial1 = serial1.value;
  var str_serial2 = serial2.value;
 
  var digit=0
  for (var i=0;i<str_serial1.length;i++){
   var str_dig=str_serial1.substring(i,i+1);
   if (str_dig<'0' || str_dig>'9'){ 
    digit=digit+1 
   }
  }

         if ((str_serial1 == '') || ( digit != 0 )){
   alert('Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\n´Ù½Ã È®ÀÎÇÏ½Ã°í ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
   serial1.focus();
   return false;   
         }

  var digit1=0
  for (var i=0;i<str_serial2.length;i++){
   var str_dig1=str_serial2.substring(i,i+1);
   if (str_dig1<'0' || str_dig1>'9'){ 
    digit1=digit1+1 
   }
  }

         if ((str_serial2 == '') || ( digit1 != 0 )){
   alert('Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\n´Ù½Ã È®ÀÎÇÏ½Ã°í ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
   serial2.focus();
   return false;   
         }

         if (str_serial1.substring(2,3) > 1){
   alert('Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\n´Ù½Ã È®ÀÎÇÏ½Ã°í ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
   serial1.focus();
   return false;   
         }

         if (str_serial1.substring(4,5) > 3){
   alert('Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\n´Ù½Ã È®ÀÎÇÏ½Ã°í ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
   serial1.focus();
   return false;   
         } 

         if (str_serial2.substring(0,1) > 4 || str_serial2.substring(0,1) == 0){
   alert('Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\n´Ù½Ã È®ÀÎÇÏ½Ã°í ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
   serial2.focus();
   return false;   
         }

         var a1=str_serial1.substring(0,1)
         var a2=str_serial1.substring(1,2)
         var a3=str_serial1.substring(2,3)
          var a4=str_serial1.substring(3,4)
         var a5=str_serial1.substring(4,5)
          var a6=str_serial1.substring(5,6)
         
          var check_digit=a1*2+a2*3+a3*4+a4*5+a5*6+a6*7

         var b1=str_serial2.substring(0,1)
         var b2=str_serial2.substring(1,2)
         var b3=str_serial2.substring(2,3)
         var b4=str_serial2.substring(3,4)
         var b5=str_serial2.substring(4,5)
         var b6=str_serial2.substring(5,6)
         var b7=str_serial2.substring(6,7)
         
         var check_digit=check_digit+b1*8+b2*9+b3*2+b4*3+b5*4+b6*5 
        
         check_digit = check_digit%11
         check_digit = 11 - check_digit
         check_digit = check_digit%10

         if (check_digit != b7){
   alert('Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\n´Ù½Ã È®ÀÎÇÏ½Ã°í ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
   serial2.focus();
   return false;   
         }
        
         else{
   return true;
  }
 }
}

function LoginCheck_adult()
{
	if(fm_adult.name.value.length < 2) {
		alert('ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		fm_adult.name.focus();
		return false;
	} else if(!fm_adult.ssn1.value || !fm_adult.ssn2.value) {
		alert('ÁÖ¹Îµî·Ï¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
		fm_adult.ssn1.focus();
		return false;
	} else if(regis_check(document.fm_adult.ssn1,document.fm_adult.ssn2) == false) {
		return false;
	}
}
function MovieHelp()
{
	NewWindow('http://mov.onfile.co.kr/PopUp/movie_info.html','moviehelp','665','600','yes');
}

function getCookie(name)
{
	var nameOfCookie=name+"=";
	var x=0;
	while(x<=document.cookie.length)
	{
		var y=(x+nameOfCookie.length)
		if(document.cookie.substring(x,y)==nameOfCookie)
		{
			if((endOfCookie=document.cookie.indexOf(";",y))==-1)
				endOfCookie=document.cookie.length;
			return unescape(document.cookie.substring(y,endOfCookie));
		}
		x=document.cookie.indexOf(" ",x) +1;
		if(x==0)
			break;
	}
	return "";
}

function Adult_Movie()
{
	window.open('http://www.onfile.co.kr/movie/index.en?body_url=http://mov.onfile.co.kr/main/','mov_adult','width=400,height=500,scrollbars=1, resizable=0');
}

function Normal_Movie()
{
	if(opener) {
		opener.location.href='/movie/';
	} else {
		window.open('/movie/','mov_normal','toolbar=yes,resizable=yes,menubar=yes,toolbar=yes,scrollbars=yes,location=yes,status=yes,top=0,left=200');
	}
}

function MyServer()
{
	window.open('/onfile/myserver/serverinfo.en','MyServer','width=400,height=500,scrollbars=0, resizable=0');
}

function PointMall()
{
	//window.open('http://www.onfile.co.kr/onfile/pointmall/pointmall_index.htm','mov_adult','width=620,height=472,scrollbars=1, resizable=0');
	document.location.href='/onfile/pointmall/';
}

function applet_build(parent, tag, paramTag){
	var ViewerObjectElement = document.createElement(tag);
	for(var i = 0 ; i < paramTag.length; i++){
	var ViewerParamElement = document.createElement(paramTag[i]);
	ViewerObjectElement.appendChild(ViewerParamElement);
	}
	parent.appendChild(ViewerObjectElement);
}


function Write_Flash(Fname, Fwidth, Fheight)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" allowNetworking="all" allowScriptAccess="always" width="' + Fwidth + '" height="' + Fheight + '"><param name="allowNetworking" value="all" /> <param name="allowScriptAccess" value="always"><param name=movie value="' + Fname + '"><param name=quality value=high><embed src="' + Fname + '" quality=high pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowNetworking="all" allowScriptAccess="always" width="' + Fwidth + '" height="' + Fheight + '"></embed></object>');

}


function Write_Flash_EventBanner(Fname, Fwidth, Fheight, SID )
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" allowScriptAccess="always" width="' + Fwidth + '" height="' + Fheight + '"><param name=movie value="' + Fname + '?service=onfile&sid=' + SID + '"><param name=quality value=high><embed src="' + Fname + '?service=onfile&sid=' + SID + '" quality=high pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + Fwidth + '" height="' + Fheight + '"></embed></object>');
}

function Write_Html(html)
{
	document.write(html);
}

function Write_Html2(html)
{
	alert(html);
	document.write(html);
}

function calculateBytes( szValue)
{
  var tcount = 0;

  var tmpStr = new String(szValue);
  var temp = tmpStr.length;

  var onechar;
  for ( k=0; k<temp; k++ )
  {
    onechar = tmpStr.charAt(k);
    if (escape(onechar).length > 4)
    {
      tcount += 2;
    }
    else
    {
      tcount += 1;
    }
  }

  return tcount;
}

function HVScanOpen()
{
	window.open('/hvscan/stop_popup.en', 'hvscan_stop','toolbar=no,resizable=no,width=350,height=310,scrollbars=no,location=no,top=0,left=200,status=1');
}

//¼ýÀÚÇü½Ä(ÄÞ¸¶)À¸·Î º¯È¯
/*function Number_Format(str)
{
	var Re = /[^0-9]/g;
	var ReN = /(-?[0-9]+)([0-9]{3})/;
	str = str.replace(Re,'');

	while (ReN.test(str)) {
		str = str.replace(ReN, "$1,$2");
	}
	return str;
}*/

function Number_Format(str)
{
	str = ""+str+"";
	var retValue = "";
	for(i=0; i<str.length; i++)
	{
			if(i > 0 && (i%3)==0) {
					retValue = str.charAt(str.length - i -1) + "," + retValue;
			 } else {
					retValue = str.charAt(str.length - i -1) + retValue;
			}
	}
	return retValue;
}

function winResize() 
{ 
	var Dwidth = parseInt(document.body.scrollWidth); 
	var Dheight = parseInt(document.body.scrollHeight); 
	var divEl = document.createElement("div"); 
	divEl.style.position = "absolute"; 
	divEl.style.left = "950px"; 
	divEl.style.top = "550px"; 
	divEl.style.width = "100%"; 
	divEl.style.height = "100%"; 

	document.body.appendChild(divEl); 

	window.resizeBy(Dwidth-divEl.offsetWidth, Dheight-divEl.offsetHeight); 
	document.body.removeChild(divEl); 
}

function popupAutoResize() {
    var thisX = parseInt(document.body.scrollWidth);
    var thisY = parseInt(document.body.scrollHeight);
    var maxThisX = screen.width - 50;
    var maxThisY = screen.height - 50;
    var marginY = 0;
    //alert(thisX + "===" + thisY);
    //alert("ÀÓ½Ã ºê¶ó¿ìÀú È®ÀÎ : " + navigator.userAgent);
    // ºê¶ó¿ìÀúº° ³ôÀÌ Á¶Àý. (Ç¥ÁØ Ã¢ ÇÏ¿¡¼­ Á¶ÀýÇØ ÁÖ½Ê½Ã¿À.)
	if(navigator.userAgent.indexOf("MSIE 8") > 0) marginY = 80;    // IE 8.x
	else if(navigator.userAgent.indexOf("MSIE 7") > 0) marginY = 80;    // IE 7.x
    else if (navigator.userAgent.indexOf("MSIE 6") > 0) marginY = 55;        // IE 6.x
    else if(navigator.userAgent.indexOf("Firefox") > 0) marginY = 50;   // FF
    else if(navigator.userAgent.indexOf("Opera") > 0) marginY = 30;     // Opera
    else if(navigator.userAgent.indexOf("Netscape") > 0) marginY = -2;  // Netscape
	else marginY = 75;

    if (thisX > maxThisX) {
        window.document.body.scroll = "yes";
        thisX = maxThisX;
    }
    if (thisY > maxThisY - marginY) {
        window.document.body.scroll = "yes";
        thisX += 19;
        thisY = maxThisY - marginY;
    }
    window.resizeTo(thisX+10, thisY+marginY);

    // ¼¾ÅÍ Á¤·Ä
    // var windowX = (screen.width - (thisX+10))/2;
    // var windowY = (screen.height - (thisY+marginY))/2 - 20;
    // window.moveTo(windowX,windowY);
}

function nCheck(objname)
{
	if(objname.value == "" || objname.value.search(/^[\d]*$/) < 0) {
		return false;
	} else {
		return true;
	}
}

function GiftPoint()
{
	window.open('/onfile/point/gift_point/index.en','gift_point','width=450,height=430,scrollbars=0, resizable=0')
}
function ChangeCandy()
{
	window.open('/onfile/itemshop/itembuy_point.en?item_code=ITM00001','buy_item','width=450,height=430,scrollbars=0, resizable=0')
}
