
function change_url(url) {
/*
	document.sub.c_url.value = url;
	document.sub.action = "default.php";
	document.sub.method = "post";
	document.sub.submit();
//	this.location.href="./default.php?aaa=" + url;
*/
	this.location.href=url;
}

function _frm_search_check() {
	if(_frm_search.s.value=='') {
		alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.'); 
		_frm_search.s.focus(); return false;
	}
	document._frm_search.method= 'post';
	document._frm_search.action = '/shop/shop_list.php';
	document._frm_search.submit();
}

function bigimg(ai_id) { //Å«ÀÌ¹ÌÁö
	window.open("/shop/bigimg.php?ai_id="+ai_id, "LargeImage", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=430,height=470");
}
function basong()
{
	window.open('/shop/basongpop.htm','','width=380, height=480, scrollbars=no,menubars=no');
}
function basong_cake()
{
	window.open('/shop/basongbi_1.htm','','width=470, height=600, scrollbars=no,menubars=no');
}

function delete_confirm(href) {
  if(confirm("ÁÖ¹®À» Ãë¼ÒÇÏ½Ã°Ú½À´Ï±î?")) {
    document.location.href = href;
  }
}

function buy_confirm(mid, ao_id) {
  if(confirm("ÇØ´ç ÁÖ¹®¿¡ ´ëÇÑ ±¸¸ÅÈ®ÀÎ/Ãë¼Ò¸¦ °áÁ¤ ÇÏ½Ã°Ú½À´Ï±î?")) {
  	//location.reload();
  	checkDacomESC(mid, ao_id, '');
    //document.sub.location.href = href;
  }
}
/*
function del($href) {
  if(confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")) {
    document.location.href = $href;
  }
}

function ex(){
	document.frm.method = "get";
 	var search_word = document.frm.naver_search.value ;
	 if(document.frm.naver_search.value <1){
			alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À."); document.frm.naver_search.focus(); return false;
		}
	 else{
	 url='http://search.naver.com/search.naver?where=nexearch&query='+search_word;
		window.open(url,'','menubar=yes,status=yes,location=yes,toolbar=yes,scrollbars=yes,resizable=yes'+parent.zz);
		//document.frm.naver_search.value = "";
	 }
}

function MM_jumpMenu(targ,selObj,restore){ 
	window.open(selObj.options[selObj.selectedIndex].value);

	if (restore) selObj.selectedIndex=0; 
}

function clickshow(num) {
		for (i=1;i<=<? echo "$menu_cnt"; ?>;i++) {
				menu=eval("document.all.block"+i+".style"); 
				imgch=eval("document.bar"+i);
						if (num==i)     {
								if (menu.display=="block") {
										menu.display="none"; 
//                        imgch.src="images/img_arr.gif";
								} else {
										menu.display="block"; 
//                        imgch.src="images/img_arr.gif";
								}
						} else {
								menu.display="none"; 
//                    imgch.src="images/img_arr.gif";
						}
				}
}

*/

