function go_pupwin(jurl,gsize,hsize){
	pupwin=window.open(jurl,'','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width='+gsize+',height='+hsize+',top=0,left=0'); 
	pupwin.self.focus();	
}
function zip_s(fzip1,fzip2,faddr,ffname,hhost){
	if(hhost ==""){
		alert('Àü´Þ ÀÎÀÚ°¡ ºÎÁ·ÇÕ´Ï´Ù. °ü¸®ÀÚ¿¡°Ô ¹®ÀÇ ÇÏ¼¼¿ä');	
		return;
	}
	tzip_var = fzip1 + "," + fzip2 + "," + faddr + ","+ hhost + "," + ffname;
	window.open("http://cgi.jungbo.net/zip/jungbo.net.zip.phtml?zip_var="+tzip_var, "zipcode2002", "width=500,height=180,resizable=no,scrollbars=no");
}		
function post_s(fzip1,fzip2,faddr){
	
}	
function show_img(URLc,w,h){
	pupwin=window.open('show_bimg.phtml?img_u='+URLc+'&wi='+w+'&hi='+h,'','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=100,height=100,top=0,left=0'); 
	pupwin.self.focus();		
}

var all = 'none';
function all_chk()
{
	var F = document.list_form;

	if(all == 'none') {
		all = 'all';
		control = true;
	} else {
		all = 'none';
		control = false;
	}

	for(i = 0 ; i < F.elements.length ; i++) {
		if(F.elements[i].type == 'checkbox') {
			F.elements[i].checked = control;
		}
	}
}
function admin_go(){
	var fs = '/jungbo.net/pgmall_client/admin/index.phtml';	
	var sw = screen.availWidth;
	var sh = screen.availHeight;	
	sw = sw-3;
	sh = sh-18;
	WBwin = window.open(fs,"WBwin","width="+sw+",height="+sh+",scrollbars=auto,resizable=1,status=0,left=-2,top=-2");
	WBwin.focus();	
	
}

function order_by_js(order_code){
	with(prdsearch){
		if(orderby_asc.value =="asc" || orderby_asc.value=='') orderby_asc.value = "desc";
		else orderby_asc.value = "asc";
		orderby_code.value = order_code;
		submit();
	}
}

function go_list(){
	location.href = "list_html.php";
}
