function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Delete_Item(bcode, no, page_location, gubun) {
        url = '/bbs/chkpwd.php?a_no=' + no;
	    url = url + '&bcode=' + bcode;
		url = url + '&page_location=' + page_location;
		url = url + '&gubun=' + gubun;

        iMyWidth = (window.screen.width/2) - (250/2);
        iMyHeight = (window.screen.height/2) - (110/2);
    	MM_openBrWindow(url,'','width=250,height=110,left='+iMyWidth+',top='+iMyHeight);
}


function Delete_Item2(bcode, no, page_location, gubun) {
		ans=confirm("Á¤¸»·Î »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if (ans==true) {
			url = "/bbs/delete.php?a_no=" + no;
			url = url + '&bcode=' + bcode;
			url = url + '&page_location=' + page_location;
			url = url + '&gubun=' + gubun;

			location.href=url;
		}
		else {
			return;
		}	
}