function CheckSearchForm(form) {
	if (!form.keyword.value) {
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		form.keyword.focus();
		return;
	}
	form.submit();
}

function CheckSearchForm2(form) {
	if (!form.keyword.value) {
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		form.keyword.focus();
		return;
	}
	form.submit();
}

function MoveFocus(form) {
	form.keyword.focus();
}

function ShowDetailImage(fullpath) {
	filename = fullpath
	oimg= new Image()
  	oimg.src=(filename)
	imgwidth = oimg.width
	imgheight = oimg.height
	winwidth = imgwidth
	winheight = screen.height-80
	if (imgheight>winheight) {
		winspec = "width="+(winwidth+16)+",height="+winheight+",scrollbars=yes"
	}
	else {
		winspec = "width="+winwidth+",height="+imgheight
	}
	win=open("","",winspec+",left=0,top=0")
	with(win.document) {
		write("<html><head><title></title></head>")
		write("<body topmargin=0 leftmargin=0 onload='window.resizeTo(oimg.width, oimg.height+25);'>")
		write("<img src='"+filename+"' onclick=self.close() style=cursor:hand; title='Å¬¸¯ÇÏ¸é ´Ý½À´Ï´Ù' id=oimg>");
		close()
	}
}
