
var kaurl = "/ka"; // Äô¾ß °¡»óµð·ºÅä¸® °æ·Î

function CheckLogin(uid){

	if(uid == ''){
		if(confirm("·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù. ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){
			document.location.href=NM_DOMAIN_LOGIN + "/Login/Login.asp?l_url=" + escape(document.URL);

		}
	}
}




//±¸¸ÅÃ¢¿¡¼­ ±¸¸Å¹öÆ° ´©¸¦¶§..
function btnbuy(uid,mycash,cnt) {

	if(uid == ""){
		CheckLogin('');
		return;
	}

	var all_price = 0;
	if (mycash == ''){  mycash = 0;}
	for (i=0;i < cnt+1 ;i++ ){
      all_price = all_price + eval(eval("document.frm.Amtsel"+i).value.split("|")[1]);
	}

	if (eval(mycash) < eval(all_price)){
		if(confirm("³Ý¸¶ºí Ä³½¬°¡ ºÎÁ·ÇÕ´Ï´Ù. \nÄ³½¬¸¦ ÃæÀü ÇÏ½Ã°Ú½À´Ï±î?"))
		{
		  pop_cashcharging(true);
		}
	}
   	else
	{

		if(document.frm.topCate.value ==""){
			alert("  ¼­¹ö¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
			return;
		}
		if(document.frm.viewName.value ==""){
			alert("Ä³¸¯ÅÍ¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
			return;
		}


		if(confirm("¾ÆÀÌÅÛÀ» ±¸¸ÅÇÏ½Ã°Ú½À´Ï±î?")){
			document.all.item('cashing').style.display = '';
			document.all.item('cashbut').style.display = 'none';
			document.frm.action = "buyItemExec.asp?gubu=By";
			document.frm.target="ExeitemFrame";
			document.frm.submit();
		}
	}
}

//¼±¹°Ã¢¿¡¼­ ¼±¹°¹öÆ° ´©¸¦¶§..
function btngift(uid,mycash,cnt) {



	if(uid == ""){
		CheckLogin('');
		return;
	}

	var all_price;
	all_price = 0;

	if (mycash == ''){
	   mycash = 0
	}

	for (i=0;i < cnt+1 ;i++ )
	{
	  all_price = all_price + eval(eval("document.frm.Amtsel"+i).value.split("|")[1]);
	}

	if (eval(mycash) < eval(all_price))	{
		 if(confirm("³Ý¸¶ºí Ä³½¬°¡ ºÎÁ·ÇÕ´Ï´Ù. \nÄ³½¬¸¦ ÃæÀü ÇÏ½Ã°Ú½À´Ï±î?")){
			pop_cashcharging(true);
		}
	}
	else
	{

		if(!check_space(document.frm.txtGiftCharacName.value)){
			alert("¼±¹° ¹ÞÀ» Ä³¸¯ÅÍ¸íÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
			document.frm.txtGiftCharacName.focus();
			return;
		}

		if (document.frm.teamcf.value=="0")
		{
			alert("¼±¹° ¹ÞÀ» Ä³¸¯ÅÍ¸íÀÌ È®ÀÎÀÌ ¾ÈµÇ¾ú°Å³ª Ä³¸¯ÅÍ°¡ ¾ø½À´Ï´Ù.");
	      	document.frm.txtGiftCharacName.focus();
		 	return;
		}
		if (document.frm.cfmserver.value != document.frm.topCateF.value)
		{
		  	alert("È®ÀÎµÈ ¼­¹ö¸í°ú ÇöÀç ¼±ÅÃÇÑ ¼­¹ö¸íÀÌ ´Ù¸¨´Ï´Ù.");
		  	return;
		}
		if (document.frm.cfmteam.value != document.frm.txtGiftCharacName.value)
		{

		  alert("È®ÀÎµÈ Ä³¸¯ÅÍ¸í°ú ÇöÀç ÀÔ·ÂÇÑ Ä³¸¯ÅÍ¸íÀÌ ´Ù¸¨´Ï´Ù.");
	      document.frm.txtGiftCharacName.focus();
		  return;
		}

		if(document.frm.message.value ==""){
				alert("¸Þ½ÃÁö¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
				document.frm.message.focus();
				return;
			}
		if(document.frm.topCate.value ==""){
				alert("¼­¹ö¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
				return;
			}
		if(document.frm.viewName.value ==""){
				alert("Ä³¸¯ÅÍ¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
				return;
		   }
	    if(!check_space(document.frm.password.value)){
			alert("ÁÖ¹Î¹øÈ£ µÞÀÚ¸®¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
			document.frm.password.focus();
			return ;
		}

		if(confirm("¾ÆÀÌÅÛÀ» ¼±¹°ÇÏ½Ã°Ú½À´Ï±î?"))
		{
		  document.all.item('cashing').style.display = '';
	      document.all.item('cashbut').style.display = 'none';
		  document.frm.action = "buyItemExec.asp?gubu=Gf";
		  document.frm.target="ExeitemFrame";
		  document.frm.submit();

		}
	}



}
//¼±¹°Ã¢¿¡¼­ ¼±¹° ¹ÞÀ» Ä³¸¯ÅÍ È®ÀÎÇÏ±â
function Charconf() {


	if(!check_space(document.frm.txtGiftCharacName.value) || document.frm.txtGiftCharacName.value =="°ÔÀÓ Ä³¸¯ÅÍ¸íÀ» ÀÔ·ÂÇÏ¼¼¿ä" ){
		alert("¼±¹° ¹ÞÀ» Ä³¸¯ÅÍ¸íÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		document.frm.txtGiftCharacName.focus();
		return;
	}
	else
	{

			  document.frm.action = "charconfexec.asp";
			  document.frm.target="TeamCon";
			  document.frm.submit();

    }
}
//±¸¸ÅÃ¢¿¡¼­ ¼±¹°¹öÆ° ´©¸¦¶§..(¼±¹°ÆäÀÌÁö·Î ÀÌµ¿)
function giftCfm(uid,mycash,p_itemcode) {

	if(uid == ""){
		CheckLogin('');
		return;
	}

	else
	{
	   location.href = kaurl + "/itemShop/giftCfm.asp?itemcode="+p_itemcode;
	   windowResizeBy(500, 560, true);
	}
}


function ka_info(p_itemcode,pgubu) {
	 document.frm.action = "kaCharinfoExec.asp?itemcode="+p_itemcode+"&gubu="+pgubu;
	 document.frm.target="ExeitemFrame";
	 document.frm.submit();

}
function ka_info_main(p_itemcode,pgubu) {
	 document.frm.action = "itemshop/kaCharinfoExec.asp?itemcode="+p_itemcode+"&gubu="+pgubu;
	 document.frm.target="ExesubFrame";
	 document.frm.submit();

}



//±¸¸ÅÃ¢ ÆË¾÷
function buyinfo(p_itemcode) {
	openWinW(kaurl + "/itemShop/buycfm.asp?itemcode="+p_itemcode, "buyitem", "500", "483", "", "", "0", "0");
}

//¼±¹°Ã¢ ÆË¾÷
function giftinfo(p_itemcode) {

	openWinW(kaurl + "/itemShop/giftCfm.asp?itemcode="+p_itemcode, "buyinfo", "500", "560", "", "", "0", "0");

}
//°ÔÀÓ¹Ì½ÇÇà ¿À·ù ±¸¸Å¿À·ù
function buyfail() {

	openWinW(kaurl + "/itemShop/buyCfmFail.asp", "buycfmfail", "300", "260", "", "", "0", "0");


}

//°ÔÀÓ¹Ì½ÇÇà ¿À·ù ¼±¹°¿À·ù
function giftfail() {

	openWinW(kaurl + "/itemShop/giftCfmFail.asp", "giftcfmfail", "300", "260", "", "", "0", "0");

}

//°ÔÀÓ¹Ì½ÇÇà ¿À·ù ¼±¹°È®ÀÎ ¿À·ù
function giftReceivefail(charName) {

	openWinW(kaurl + "/itemShop/giftReceiveFail.asp?charname="+charName, "giftReceivefail", "300", "244", "", "", "0", "0");

}
//Âò È®ÀÎ
function Zzimok() {

	openWinW(kaurl + "/itemShop/ZzimOk.asp", "Zzimok", "300", "260", "", "", "0", "0");

}
//¾ÆÀÌÅÛ »èÁ¦ ¿Ï·á
function ItemDel() {

   // location.href="MypurchaseList.asp";
	openWinW(kaurl + "/itemShop/ItemDelOk.asp", "ItemDel", "300", "288", "", "", "0", "0");

}
//¾ÆÀÌÅÛ »èÁ¦È®ÀÎ
function ItemCfmDel(kurl,chk) {

	openWinW(kaurl + "/itemShop/DelCfm.asp?kUrl="+kurl+"&chk="+chk, "DelCfm", "300", "260", "", "", "0", "0");

}


//»ó¼¼º¸±â ÆË¾÷
function detailinfo(p_itemcode) {
	openWinW(kaurl + "/itemShop/itemCfm.asp?itemcode="+p_itemcode, "detail", "400", "255", "", "", "0", "0");

}


//ÂòÃ³¸® °¡´É¿©ºÎÁ¶È¸
function btnzzim_info(p_itemcode,p_itemprice) {


		  document.frm.action = "itemZziminfoExec.asp?itemcode="+p_itemcode+"&itemprice="+p_itemprice;
		  document.frm.target="ExeitemFrame";
		  document.frm.submit();

}


//ÂòÃ³¸®
function btnzzim(p_itemcode,p_itemprice) {


		  // if(confirm("ÇØ´ç ¾ÆÀÌÅÛÀ» ÂòÇÏ½Ã°Ú½À´Ï±î?"))

		//{
		  document.frm.action = "itemZzimExec.asp?itemcode="+p_itemcode+"&itemprice="+p_itemprice;
		  document.frm.target="ExeitemFrame";
		  document.frm.submit();

		//}


}
//°øÁöÃ¢ ÆË¾÷
function notice(p_reqseq) {


	openWinW(kaurl + "/itemShop/buyNotice.asp?reqseq="+p_reqseq, "noticeinfo", "400", "300", "", "", "0", "0");

}

//opener ÀÌµ¿
function openerURL(p_URL) {

	opener.location.href= kaurl + "/itemShop/"+p_URL;
	window.close();

}

//opener ÀÌµ¿
function openerPURL(p_URL) {

	opener.parent.location.href= kaurl + "/itemShop/"+p_URL;
	window.close();

}

//°Ë»öÆäÀÌÁö·Î ÀÌµ¿
function Itemsearch() {
    ka_goMenu('200801160006');
    //alert(document.frm.pcate.value);
	if(!check_space(document.frm.pname.value)){
		alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä');
		document.frm.pname.focus();
		return false;
	}
	else
	{
		  document.frm.action = "indexSearch.asp";
		  document.frm.target="_self";
		  return true;
		  //document.frm.submit();
	}

}



//¸¶ÀÌÆäÀÌÁö¿¡¼­ °Ë»öÆäÀÌÁö·Î ÀÌµ¿
function ItemsearchMy(pName) {
    //alert(document.frm.pcate.value);
	document.frmSearch.pname.value = pName;
	document.frmSearch.action = "indexSearch.asp";
	document.frmSearch.target="_self";
	document.frmSearch.submit();

}
//°Ë»ö ÀÌµ¿(±¸¸Å ³»¿ª)
function listsearch(subCate) {


		  document.frm.action = "MyPurchaseList.asp?SubCategory="+subCate;
		  document.frm.target="_self";
		  document.frm.submit();


}
//°Ë»ö ÀÌµ¿(¼±¹° ¹ÞÀº ³»¿ª)
function giftreceivesearch() {


		  document.frm.action = "MyreceiveGiftList.asp";
		  document.frm.target="_self";
		  document.frm.submit();


}
//°Ë»ö ÀÌµ¿(¼±¹° º¸³½ ³»¿ª)
function giftsendsearch() {


		  document.frm.action = "MysendGiftList.asp";
		  document.frm.target="_self";
		  document.frm.submit();


}
//°Ë»ö ÀÌµ¿(Âò ³»¿ª)
function Zzimsearch(subCate) {


		  document.frm.action = "MyzimList.asp?SubCategory="+subCate;
		  document.frm.target="_self";
		  document.frm.submit();


}
//Âò¸®½ºÆ®¿¡¼­ ´ë·® ±¸¸Å(ÃÖ´ë3°³±îÁö)
function MyzimList_Buy(cnt) {
    ka_goMenu('200801160018');
	var count;
	count = 0;
	var iLimitCount = 3;

			if (cnt == 0)
			{
			  alert("±¸¸ÅÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
			  return;
			}
			else if (cnt == 1)
			{
			  if (document.frm.chk.checked==true)
			  {
			       if(confirm("¼±ÅÃÇÑ ¾ÆÀÌÅÛÀ» ±¸¸ÅÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "MyzimListPurchase_Exec.asp";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
					  }
					  return;
			  }
			  else
			  {
			     alert("±¸¸ÅÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				 return;
			  }

			}
            else
			{


				for (i=0;i<cnt ;i++ )
				{
				         if (document.frm.chk[i].checked==true)
						   {
							 count = count+1
						   }

				}




			       if (count >=1 && count <= iLimitCount)
			       {
			          if(confirm("¼±ÅÃÇÑ ¾ÆÀÌÅÛÀ» ±¸¸ÅÇÏ½Ã°Ú½À´Ï±î?")){

								document.frm.action = "MyzimListPurchase_Exec.asp";
								document.frm.target="ExeitemFrame";
								document.frm.submit();
							  }
							  return;
				   }
				   else if (count > iLimitCount)
				   {
						 alert("¼±ÅÃ±¸¸Å´Â ÃÖ´ë "+iLimitCount+"°³±îÁö °¡´ÉÇÕ´Ï´Ù.");
						 return;
				   }

				   else
				   {
				     alert("±¸¸ÅÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
					 return;
				   }



			}

		}
function chkfrm(cnt,k) {
       var count;
	   count = 0

		if (cnt >= 4)
		{

			    for (i=0;i<cnt ;i++ )
				{

				   if (document.frm.chk[i].checked==true)
				   {
					 count = count+1

				   }
				   if (count >= 4)
				   {
				     alert("¼±ÅÃ±¸¸Å´Â ÃÖ´ë 3°³±îÁö °¡´ÉÇÕ´Ï´Ù.");
                      document.frm.chk[k].checked = false;
					 break;
				   }

				}


		}

	}

//Âò »èÁ¦
function MyzimList_Del(cnt) {


			if (cnt == 0)
			{
			  alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
			  return;
			}
			else if (cnt == 1)
			{
			  if (document.frm.chk.checked==true)
			  {


				   if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "MyzimList_Exec.asp";
						 document.frm.target="ExeitemFrame";
						document.frm.submit();
					  }
					  return;
			  }
			  else
			  {
			     alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				 return;
			  }

			}
            else
			{

			    for (i=0;i<cnt ;i++ )
				{

				   if (document.frm.chk[i].checked==true)
				   {

					  if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "MyzimList_Exec.asp";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
					  }
					  return;
				   }
				}
				alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				return;


				}

		}
//º¸³½¼±¹°¸®½ºÆ® »èÁ¦
function Mysend_Del(cnt) {


			if (cnt == 0)
			{
			  alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
			  return;
			}
			else if (cnt == 1)
			{
			  if (document.frm.chk.checked==true)
			  {
			      // if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "ItemDelCfm.asp?kUrl=MysendGiftList_Exec";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
				  //	  }
					  return;
			  }
			  else
			  {
			     alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				 return;
			  }

			}
            else
			{

			    for (i=0;i<cnt ;i++ )
				{

				   if (document.frm.chk[i].checked==true)
				   {

					 // if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "ItemDelCfm.asp?kUrl=MysendGiftList_Exec";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
					 // }
					  return;
				   }
				}
				alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				return;


				}

		}
//¹ÞÀº¼±¹°¸®½ºÆ® »èÁ¦
function Myreceive_Del(cnt) {


			if (cnt == 0)
			{
			  alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
			  return;
			}
			else if (cnt == 1)
			{
			  if (document.frm.chk.checked==true)
			  {
			      // if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "ItemDelCfm.asp?kUrl=MyreceiveGiftList_Exec";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
				  //	  }
					  return;
			  }
			  else
			  {
			     alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				 return;
			  }

			}
            else
			{

			    for (i=0;i<cnt ;i++ )
				{

				   if (document.frm.chk[i].checked==true)
				   {

					//  if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "ItemDelCfm.asp?kUrl=MyreceiveGiftList_Exec";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
					//  }
					  return;
				   }
				}
				alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				return;


				}

		}
//±¸¸Å³»¿ª¸®½ºÆ® »èÁ¦
function MyPurchase_Del(cnt) {


			if (cnt == 0)
			{
			  alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
			  return;
			}
			else if (cnt == 1)
			{
			  if (document.frm.chk.checked==true)
			  {

				//   if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){
				//
						 document.frm.action = "ItemDelCfm.asp?kUrl=MyPurchaseList_Exec";
						 document.frm.target="ExeitemFrame";
						 document.frm.submit();
				//	  }
					  return;
			  }
			  else
			  {
			     alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				 return;
			  }

			}
            else
			{

			    for (i=0;i<cnt ;i++ )
				{

				   if (document.frm.chk[i].checked==true)
				   {

					//  if(confirm("»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")){

						document.frm.action = "ItemDelCfm.asp?kUrl=MyPurchaseList_Exec";
						document.frm.target="ExeitemFrame";
						document.frm.submit();
					 // }
					  return;
				   }
				}
				alert("»èÁ¦ÇÒ ¾ÆÀÌÅÛÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
				return;


				}

		}

function allcheck(cnt) {
	if (cnt == 1)
	{
		if (document.frm.chk_all.checked==true){
			document.frm.chk.checked=true;
		}else{
			document.frm.chk.checked=false;
		}
	}else{
		if (document.frm.chk_all.checked==true){
			for (i=0;i<cnt ;i++ ){
				document.frm.chk[i].checked=true;
			}
		}else{
			for (i=0;i<cnt ;i++ ){
				document.frm.chk[i].checked=false;
			}

		}
	}
}


function cash(mycash,cnt) {

	var all_price;
	all_price = 0;

	if (mycash == '')
	{
	   mycash = 0
	}


   for (i=0;i < cnt+1 ;i++ )
   {
      all_price = all_price + eval(eval("document.frm.Amtsel"+i).value.split("|")[1]);

     // alert(i);
	  //alert(eval(eval("document.frm.Amtsel"+i).value.split("|")[1]));
   }


   if (cnt > 0)
   {
     document.frm.tot_price.value = eval(all_price);
   }


   if (eval(mycash) < eval(all_price))
	{


	 document.all.item('cash').style.display = ''
	 document.all.item('cash1').style.display = ''

    }
   else
	{

	document.all.item('cash').style.display = 'none'
	document.all.item('cash1').style.display = 'none'

	}

}


function pop_cashcharging_old()
{
	var dest;
	dest = NM_DOMAIN_CASHCHARGE + "/refill/cashFrameWin.asp";
					var iMyWidth;
					var iMyHeight;
					iMyWidth = (window.screen.width/2) - (122 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
					iMyHeight = (window.screen.height/2) - (27 + 50); //half the screen height minus half the new window height (plus title and status bars).
	location.href = dest;
}
function pop_cashcharging()
{
	WinCash(2); //fnUserMenu.js
/*var dest;
	dest = NM_DOMAIN_CASHCHARGE + "/refill/cashFrameWin.asp";
					var iMyWidth;
					var iMyHeight;
					iMyWidth = (window.screen.width/2) - (122 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
					iMyHeight = (window.screen.height/2) - (27 + 50); //half the screen height minus half the new window height (plus title and status bars).
	//location.href = dest;
	window.open(dest, "settleWindows", "width=480,height=570");
*/
}


// Á¶¸£±â Ã¢
function pop_cashAskBuying()
{
	 WinCash(2);//fnUserMenu.js
/*
	var dest;
	dest = NM_DOMAIN_CASHCHARGE + "/refill/mZzorgi/zzorgiFrameWin.asp";
	var iMyWidth;
	var iMyHeight;
	iMyWidth = (screen.width/2) - (122 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (screen.height/2) - (27 + 50); //half the screen height minus half the new window height (plus title and status bars).
	//location.href = dest;
	window.open(dest, "settleWindows", "width=480,height=570");
*/
}

//Ä³½¬ÃæÀü
function ui_doCharge()
{

		pop_cashcharging(false);	//ÇöÀçÃ¢¿¡¼­ ½ÇÇà.
}



//xml¿¡¼­ °Ë»öÆäÀÌÁö·Î ÀÌµ¿
function itemFind(pVal) {
	document.shopleft.pname.value = pVal;
	document.shopleft.action = "indexSearch.asp";
	document.shopleft.target="_self";
	document.shopleft.submit();
}
