<!--»èÁ¦½Ã ½ÃÀÛ-->
function del($href) {
if(confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")) {
document.location.href = $href;
}
}
<!--»èÁ¦½Ã ³¡-->
function my_wish($href) {
if(confirm("°ü½É¹°Ç° ¸ñ·Ï¿¡ µî·ÏÇÕ´Ï´Ù.")) {
document.location.href = $href;
}
}
<!-- Ä¿¼­¸¦ ·Î±×ÀÎÄ­À¸·Î ½ÃÀÛ-->
function fff() {
if (document.zb_login)
document.zb_login.user_id.focus()
}
<!-- Ä¿¼­¸¦ ·Î±×ÀÎÄ­À¸·Î ³¡

var Toggle =1;

function DWtop(chk) {
Toggle = 0;
switch(chk) {
case 1: pf.stop(); break;
case 2: pf.stop(); break;
}
}

function DWstart(chk) {
Toggle = 1;
switch(chk) {
case 1: pf.start(); break;
case 2: pf.start(); break;
}
}

function frm1_check(f) {
	if((f.baguni_qty.value.search(/[^0-9]+/) != -1) || (f.baguni_qty.value<'1')) {
		alert('¼ö·®À» ¹Ù¸£°Ô ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.'); f.baguni_qty.focus(); return false; }
return true;
}

function up() {
	document.form.baguni_qty.value = parseInt (document.form.baguni_qty.value) + 1;
}
function down() {
	if (parseInt(document.form.baguni_qty.value)<=1) {
		document.form.baguni_qty.value=1;
		return;
	}
	document.form.baguni_qty.value = parseInt (document.form.baguni_qty.value) - 1;
}

function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}

function enforcechar(what,limit){
if (what.value.length>=limit)
return false
}

function OpenWindow(url)
{
if(!url)url='';
var winopts="width=550,height=500,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes";
var popWindow = window.open(url,'POPWIN', winopts);
}

function OpenWindow2()
{
	window.name = "BTPG_CLIENT";
	BTPG_WALLET = window.open("", "BTPG_WALLET", "width=380,height=420");
	BTPG_WALLET.focus();
}

function check_sms(f) {
if(f.hp1.value.length<1||f.hp2.value.length<1||f.hp3.value.length<1) {
alert("¿¬¶ôÃ³¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À."); f.hp1.focus(); return false;
} else if( f.s_memo.value.length<1 ) {
alert("Àü´ÞÇÒ ¸Þ¼¼Áö¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À."); f.s_memo.focus(); return false;
}
return true;
}

function zipcode(form,address) {
window.open('../zipcode/zipcode.php?form='+form+'&address='+address,'searchaddress','left=100,top=100,width=445,height=400,scrollbars=yes');
}
function OpenImage(s){
//
// º¯¼ö Á¤ÀÇ
//
srcImg = new Image();
clientWidth = screen.width;
clientHeight = screen.height;
srcImg.src = s;
//
// ¿­·Á´Â ÆÄÀÏÀ» ÀÌ¸§
//
var srcFileName = srcImg.src.substr(srcImg.src.lastIndexOf("/")+1, srcImg.src.length);
//
// »õÃ¢ ¶ç¿ì°í ÀÌ¹ÌÁö »ðÀÔ
//
win = window.open("","","width=15,height=15,scrollbars=no,resizable=no,left="+(clientWidth/2-15)+",top="+(clientHeight/2-15)+"");
win.document.writeln("<html>");
win.document.writeln("<head>");
win.document.writeln("<title>"+document.title+" ["+srcFileName+"]</title>");
win.document.writeln("</head>");
win.document.writeln("<body style='margin:0px;' bgcolor='#333333'>");
win.document.writeln("<table border='0' cellpadding='0' cellspacing='0' style='cursor:hand' onclick='self.close()'>");
win.document.writeln(" <tr>");
win.document.writeln("<td align='center'><img src="+s+" name='winImg' style='cursor:hand' onclick='self.close()' alt='Å¬¸¯ÇÏ¸é »ç¶óÁý´Ï´Ù'></td>");
win.document.writeln(" </tr>");
win.document.writeln("</table>");
win.document.writeln("</body>");
win.document.writeln("</html>");

srcImg = win.document.winImg;
//
// ÀÌ¹ÌÁö°¡ ¸ðµÎ ·ÎµùµÉ¶§±îÁö ±â´Ù¸²
//
while(true)
if(srcImg.readyState == "complete")
break;

//
// »õÃ¢ÀÇ Å©±â ¼³Á¤
//
var winWidth = srcImg.width+10;
var winHeight = srcImg.height+29;
//
// »õÃ¢ÀÌ ¶ç¿öÁú À§Ä¡ ¼³Á¤
//
var left = (clientWidth/2)-(srcImg.width/2);
var top = (clientHeight/2)-(srcImg.height/2);
//
// ÀÌ¹ÌÁöÀÇ Å©±â overflow È®ÀÎÈÄ »õÃ¢ÀÇ Å©±â¿Í À§Ä¡ Àç¼³Á¤
//
if(clientWidth <= srcImg.width){
winWidth = clientWidth;
left = 0;
win.document.body.scroll = "auto";
}
if(clientHeight <= srcImg.height){
winHeight = clientHeight-30;
top = 0;
win.document.body.scroll = "auto";
}
//
// ÀÌ¹ÌÁö·ÎµùÀÌ ³¡³µÀ½À¸·Î ÀÌ¹ÌÁöÀÇ Å©±â¸¦ »ç¿ëÇÒ¼ö ÀÖ´Ù.
// ÇØ´ç ÀÌ¹ÌÁöÀÇ »çÀÌÁî¿¡ ¸Â°Ô À©µµ¿ì¸¦ Àç¼³Á¤ÇÑ´Ù.
win.moveTo(left, top);
win.resizeTo(winWidth, winHeight);
}
function img_up(img,no,alt)
{
	t = eval("this.img"+no);
//	ts = eval("this.imgs"+no);
t.innerHTML = "<img src=\""+img+"\" onclick=\"OpenImage(this.src)\" width=30 height=30 alt=\""+alt+"\" style=cursor:hand>";
//if(alt=='')ts.innerHTML = "<img src=\""+img+"\" onclick=\"OpenImage(this.src)\" width=30 height=30 alt=\""+alt+"\" style=cursor:hand>";
}
