	var sSaboURL = "/file/catalog/2010/autumn/index.html";

	function fnViewSabo() {
		window.open(sSaboURL, "", "fullscreen");
	}


	function goSearch(){
		if(document.searchForm.searchword.value =='')
		{
			alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
			document.searchForm.searchword.focus();
			return;
		}
		else
		{
			document.searchForm.action="http://www.happyland.co.kr/shop/goods/searchResult.asp"
			document.searchForm.submit();
		}
	}

	// Ä«µ¥°í¸® Ã³¸®
	function fnShowCategory(obj, sCategoryId)
	{
		var sImg = "http://www.happyland.co.kr/images/top/new_left_menu"+ sCategoryId +"_on.gif";
		obj.src = sImg;

//		var oSub = document.getElementById("sub_"+ sCategoryId)
//		oSub.style.left = obj.style.left + 150;
//		oSub.style.top = obj.style.top + 50;
//		oSub.style.display = "";
		showHideLayers("sub_"+ sCategoryId, "", "show");
	}

	function fnCloseCategory(obj, sCategoryId)
	{
		var sImg = "http://www.happyland.co.kr/images/top/new_left_menu"+ sCategoryId +"_off.gif";
		obj.src = sImg;

		//document.getElementById("sub_"+ sCategoryId).style.display = "none";
		showHideLayers("sub_"+ sCategoryId, "", "hidden");
	}

	function fnGetCheckCount(sName) {
		var obj = document.getElementsByName(sName);
		var iCnt = 0;

		for(var i = 0; i < obj.length; i ++) {
			if(obj[i].checked) iCnt ++;
		}

		return iCnt;
	}


function checked_value(){
	var val='';
	if (document.getElementById('check1'))
	{
		if (typeof document.all.check1.length == 'undefined')
		{
			if (document.all.check1.checked == true)
			{
				return document.all.check1.value;
			}
			else
			{
				return 0;
			}

		}
		else
		{
			for (i = 0; i < document.all.check1.length ; i ++ )
			{
				if (document.all.check1[i].checked == true)
				{
					val = val + document.all.check1[i].value + "^";
				}
			}
			return val;
		}

	}
	else
	{
		return 0
	}
}

function checkall(obj){
	if (document.getElementById('check1'))
	{
		if (obj.checked == true)
		{
			if (typeof document.all.check1.length == 'undefined')
			{
				document.all.check1.checked = true;
			}
			else
			{
				for (i = 0; i < document.all.check1.length ; i ++ )
				{
					document.all.check1[i].checked = true;
				}
			}
		}
		else
		{
			if (typeof document.all.check1.length == 'undefined')
			{
				document.all.check1.checked = false;
			}
			else
			{
				for (i = 0; i < document.all.check1.length ; i ++ )
				{
					document.all.check1[i].checked = false;
				}
			}
		}
	}
}


function Currency(str) {
str = str.toString();
 var sp="";
 var mc="";

 for(var i=str.length-1; i>=0; i--) {
  sp=str.charAt(i);
  mc=sp+mc;
  if(i%3==str.length%3 && i!=0){
   mc=','+mc;
  }
 }
 return mc;

}



// ÆÄÀÏ ¾÷·Îµå °ü·Ã
function show_progress(){
	strAppVersion = navigator.appVersion;

	if (strAppVersion.indexOf('MSIE')!=-1 &&
		strAppVersion.substr(strAppVersion.indexOf('MSIE')+5,1) > 4) {

		winstyle = "dialogWidth=385px; dialogHeight:150px; center:yes";
		window.showModelessDialog("/include/lib/progress/show_progress.asp?nav=ie", null, winstyle);
	}else{
		winpos = "left=" + ((window.screen.width-380)/2)+",top=" +
			((window.screen.height-110)/2); winstyle="width=380,height=110,status=no,toolbar=no,menubar=no," +
			"location=no, resizable=no,scrollbars=no,copyhistory=no," + winpos;
			window.open("/include/lib/progress/show_progress.asp",null,winstyle);
	}
	return true;
}
/*===================================================================================================
	º¯¼ö (VARIABLES)
===================================================================================================*/

/* popup... ÇÔ¼ö¿¡¼­ »ç¿ëÇÏ´Â ½ºÅ©·Ñ ¿©ºÎ º¯¼ö */
var SCROLL = "yes"; // ½ºÅ©·Ñ °¡´ÉÇÏ°Ô ÇÔ
var NOSCROLL = "no"; // ½ºÅ©·Ñ ¾ÈµÇ°Ô ÇÔ


/* ÇÊÅÍ¸µ¿ë ¹®ÀÚ¿­ (±âº») */
var ALLOWED_CHARS_UALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; // ´ë¹®ÀÚ
var ALLOWED_CHARS_LALPHA = "abcdefghijklmnopqrstuvwxyz"; // ¼Ò¹®ÀÚ
var ALLOWED_CHARS_NO = "0123456789"; // ¼ýÀÚ
var ALLOWED_CHARS_NO2 = "0123456789."; // ¼ýÀÚ + .
var SPACE = " ";	// ºó ¹®ÀÚ¿­

/* ÇÊÅÍ¸µ¿ë ¹®ÀÚ¿­ (Á¶ÇÕ) */
var ALLOWED_CHARS_ID = ALLOWED_CHARS_UALPHA + ALLOWED_CHARS_LALPHA + ALLOWED_CHARS_NO; // ´ë¹®ÀÚ + ¼Ò¹®ÀÚ + ¼ýÀÚ
var ALLOWED_CHARS_EMAIL = ALLOWED_CHARS_ID + "-_"; // [IDÇü] + "-_";
var ALLOWED_CHARS_EMAIL_DOMAIN = ALLOWED_CHARS_ID + ".-"; // email domain ´ë¼Ò¹®ÀÚ+¼ýÀÚ+.-
var ALLOWED_NAME = ALLOWED_CHARS_ID + SPACE;	// ÀÌ¸§¿¡ µé¾î°¡¼­ ¾ÈµÇ´Â ³»¿ëµé
var ALLOWED_TEL = ALLOWED_CHARS_NO + "-";	// ÀüÈ­¹øÈ£(¼ýÀÚ¿Í - ¸¸ ÀÔ·Â°¡´ÉÇÔ)
/*===================================================================================================
	ÇÔ¼ö (FUNCTIONS)
===================================================================================================*/


//*---------------------------------------------------------------------------------------------------
//	À©µµ¿ì °ü·Ã ÇÔ¼ö
//---------------------------------------------------------------------------------------------------*/

/* »õ Ã¢À» ¶ç¿ì´Â ÇÔ¼ö */
function popup(url, target, width, height, scroll_flag)
{
	window.open(url, target, "width=" + width + ", height=" + height + ", menubar=no, directories=no, resizable=no, status=no, scrollbars=" + scroll_flag);
}

/* »óÅÂÇ¥½ÃÁÙÀÌ º¸ÀÌ´Â »õ Ã¢À» ¶ç¿ì´Â ÇÔ¼ö */
function popup_status(url, target, width, height, scroll_flag)
{
	window.open(url, target, "width=" + width + ", height=" + height + ", menubar=no, directories=no, resizable=no, status=yes, scrollbars=" + scroll_flag);
}

/* ÁöÁ¤ÇÑ Å©±â·Î Ã¢À» Á¶ÀýÇÑ ÈÄ È­¸é Áß¾Ó¿¡ Á¤·Ä½ÃÅ°´Â ÇÔ¼ö */
function align_center(width, height)
{
	var scr_width;
	var scr_height;

	scr_width = window.screen.width;
	scr_height = window.screen.height;

	scr_width = (scr_width - width) / 2;
	scr_height = (scr_height - height) / 2;

	window.moveTo (scr_width, scr_height);
	window.resizeTo (width, height);
}

//*---------------------------------------------------------------------------------------------------
//	¹®ÀÚ¿­ °ü·Ã ÇÔ¼ö
//---------------------------------------------------------------------------------------------------*/

/* ¹®ÀÚ¿­ ÇÊÅÍ¸µ ÇÔ¼ö */
/* allowed_chars¿¡ ÀÖ´Â ¹®ÀÚ¸¸ Çã¿ëÇÏ°Ú´Ù´Â ¶æ */
function string_filter(str, allowed_chars)
{
	var i;
	var str_len = str.length;

	if (str_len > 0){
		for (i = 0; i < str_len; i++) {
			if (allowed_chars.indexOf(str.substring(i, i+1)) < 0) {
				return false;
			}
		}
	}
	return true;
}

/*-----------------------------------------------------------------------
	¹®ÀÚ¿­ ºí·¯Å·(Blocking) ÇÔ¼ö
	blocked_chars¿¡ ÀÖ´Â ¹®ÀÚ¸¸ ¸·°Ú´Ù´Â ¶æ
	»ç¿ë¹ý : block_chars(value, check)
	. value	- ÇÊÅÍ¸µÇÒ form value °ªÀ» ÁöÁ¤
	. check	- À§¿¡¼­ Á¤ÀÇÇÑ ÇÊÅÍ¸µ¿ë ¹®ÀÚ¿­ º¯¼ö¸¦ ÁöÁ¤
------------------------------------------------------------------------*/
function block_chars(str, blocked_chars)
{
	var lp1, lp2;
	var bchars_len = blocked_chars.length;
	var str_len = str.length;

	for (lp1 = 0; lp1 < bchars_len; lp1++) {
		for (lp2 = 0; lp2 < str_len; lp2++) {
			if (str.substring(lp2, lp2 + 1) == blocked_chars.substring(lp1, lp1 + 1)) return false;
		}
	}
	return true;
}

/*-----------------------------------------------------------------------
	¹®ÀÚ ¹× ÀÚ¸®¼ö Ã¼Å©
	»ç¿ë¹ý	: check_number(chk_length, chk_date, form, comment, check)
	. chk_length	- °Ë»çÇÒ ¹®ÀÚ¿­ ±æÀÌ
	. check_date	- °Ë»çÇÒ form °ª
	. form		- Ã³¸®ÇÒ form name °ª
	. comment		- alert ³»¿ë
	. check		- À§¿¡¼­ ÁöÁ¤ÇÑ ÇÊÅÍ¸µ¿ë ¹®ÀÚ¿­ º¯¼ö ÁöÁ¤
-----------------------------------------------------------------------*/
function check_number(chk_length, chk_data, form, comment, check) {

	if(chk_data.length != chk_length){
		alert(comment + chk_length + "ÀÚ¸®¿©¾ß ÇÕ´Ï´Ù.");
		form.focus();
		return false;
	}else{
		for (k=0;k<chk_data.length;k++) {
			if (-1 == check.indexOf(chk_data.charAt(k))){
				alert(comment + "¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.");
				form.focus();
				return false;
			}
		}
	}
	return true;
}

/*--------------------------------------------------------------
	form ¹®ÀÚ¿­ ÀÔ·Â È®ÀÎ
	»ç¿ë¹ý : chkform(fieldlist)
		. fieldlist : ¹è¿­["form elements", "ÀÌ¸§"]
--------------------------------------------------------------*/
function chkform(fieldlist){

	var frm = eval(FORM);

	for (i = 0; i < fieldlist.length; i++){
		if(eval("frm." + fieldlist[i][0] + ".value") == ""){
			alert(fieldlist[i][1] + "À»(¸¦) ÀÔ·ÂÇÏ¼¼¿ä.");
			eval("frm." + fieldlist[i][0]).focus();
			return false;
		}
	}
	return true;
}

/*--------------------------------------------------------------
	form ¹®ÀÚ¿­ ÀÔ·Â È®ÀÎ
	»ç¿ë¹ý : checkform(fieldlist)
		. fieldlist : ¹è¿­["form elements", "ÀÌ¸§"]
--------------------------------------------------------------*/
function checkform(fieldlist){
	for (i = 0; i < fieldlist.length; i++){
		var frm = document.getElementById(fieldlist[i][0]);
		if(frm.value == ""){
			alert(fieldlist[i][1] + "À»(¸¦) È®ÀÎÇÏ¼¼¿ä.");
			if(frm.type != "hidden"){
				frm.focus();
			}
			return false;
		}
	}
	return true;
}

/*-----------------------------------------------------------------------
	¹®ÀÚ ¹× ÀÚ¸®¼ö Ã¼Å©
	»ç¿ë¹ý	: checknumber(fieldlist)
	. fieldlist : ¹è¿­["form id name", "ÀÚ¸®¼ö(min)", "ÀÚ¸®¼ö(max)"]
-----------------------------------------------------------------------*/
function checknumber(fieldlist){
	for (i = 0; i < fieldlist.length; i++){
		var frm = document.getElementById(fieldlist[i][0]);
		// ¼ýÀÚ È®ÀÎ
		for(k=0;k<frm.value.length;k++){
			if (-1 == ALLOWED_CHARS_NO.indexOf(frm.value.charAt(k))){
				alert("¼ýÀÚ¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.");
				if(frm.type != "hidden"){
					frm.focus();
				}
				return false;
			}
		}

		// ÀÚ¸®¼ö È®ÀÎ
		if(frm.value.length < parseInt(fieldlist[i][1]) || frm.value.length > parseInt(fieldlist[i][2])){
			if(fieldlist[i][1] == fieldlist[i][2]){
				alert(fieldlist[i][1] +" ÀÚ¸® ¼ýÀÚ¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.");
			}else{
				alert(fieldlist[i][1] +" ~ "+ fieldlist[i][2] +" ÀÚ¸® ¼ýÀÚ¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.");
			}
			if(frm.type != "hidden"){
				frm.focus();
			}
			return false;
		}
	}
	return true;
}

function checkLen(frm_id, frm_len, maxlen){
	var temp; //µé¾î¿À´Â ¹®ÀÚ°ª...
	var msglen;
	msglen = maxlen*2;
	var frm1 = document.getElementById(frm_id);
	var frm2 = document.getElementById(frm_len);

	l = frm1.value.length;

	tmpstr = "" ;

	if (l == 0){
		frm2.value = maxlen*2;
	}else{
		for(k=0;k<l;k++){
			temp = frm1.value.charAt(k);

			if (escape(temp).length > 4)
				msglen -= 2;
			else
				msglen--;

			if(msglen < 0)
			{
				//alert("ÃÑ ¿µ¹® "+(maxlen*2)+"ÀÚ ÇÑ±Û " + maxlen + "ÀÚ ±îÁö º¸³»½Ç¼ö ÀÖ½À´Ï´Ù.");
				alert("ÀÔ·ÂÀÌ Çã¿ëµÈ ±ÛÀÚ ¼ö¸¦ ³Ñ¾ú½À´Ï´Ù. \nÇÑ±Û " + maxlen + "ÀÚ ±îÁö¸¸ ¾²½Ç ¼ö ÀÖ½À´Ï´Ù.");
				frm1.value = tmpstr;
				break;
			}
			else
			{
				frm2.value = msglen;
				tmpstr += temp;
			}
		}
	}
}


/************************************
	ÁÖ¹Î¹øÈ£ Ã¼Å©
************************************/
function chkresno(f1, f2){
	var resno = f1 +'-'+ f2;

	// ÁÖ¹Î¹øÈ£ÀÇ ÇüÅÂ¿Í 7¹øÂ° ÀÚ¸®(¼ºº°) À¯È¿¼º °Ë»ç
	fmt = /^\d{6}-[1234]\d{6}$/;
	if (!fmt.test(resno)) {
		alert("Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.");
		return false;
	}

	// ³¯Â¥ À¯È¿¼º °Ë»ç
	birthYear = (resno.charAt(7) <= "2") ? "19" : "20";
	birthYear += resno.substr(0, 2);
	birthMonth = resno.substr(2, 2) - 1;
	birthDate = resno.substr(4, 2);
	birth = new Date(birthYear, birthMonth, birthDate);

	if ( birth.getYear() % 100 != resno.substr(0, 2) ||
		birth.getMonth() != birthMonth ||
		birth.getDate() != birthDate) {
			alert("Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.");
			return false;
	}

	// Check Sum ÄÚµåÀÇ À¯È¿¼º °Ë»ç
	buf = new Array(13);
	for (i = 0; i < 6; i++) buf[i] = parseInt(resno.charAt(i));
	for (i = 6; i < 13; i++) buf[i] = parseInt(resno.charAt(i + 1));

	multipliers = [2,3,4,5,6,7,8,9,2,3,4,5];
	for (i = 0, sum = 0; i < 12; i++) sum += (buf[i] *= multipliers[i]);

	if ((11 - (sum % 11)) % 10 != buf[12]) {
		alert("Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.");
		return false;
	}

	return true;
}

/*********************************
	¿ìÆí¹øÈ£ °Ë»ö
*********************************/
function zipcode(f1, f2, f3, f4){
	window.open('/member/zipcode.asp?f1='+f1+'&f2='+f2+'&f3='+f3+'&f4='+f4,'','width=400, height=300, scrollbars=yes');
}

function ZipCode(Choice_Addr){
	window.open("/popp/memb_post.asp?Choice_Addr="+Choice_Addr, "zipcode", "toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no, width=385, height=466");
}

/****************************
	·Î±×ÀÎ Ã¢ ¶ç¿ì´Â ÇÔ¼ö
****************************/
function popup_login(){
	window.open('/member/login.asp','','width=500,height=320,left='+(window.screen.width - 500)/2+',top='+(window.screen.height - 320)/2);
}


/********************************
	ÆË¾÷Ã¢À¸·Î ÀÌ¹ÌÁö ¶ç¿ì±â
********************************/
function on_popup_image(image_path){
	window.open('/style/pop_image.asp?image_path='+image_path, '', 'width=400,height=400');
}


function chkyear(frm1, frm2, frm3){
	if(frm1.value != ""){
		frm2.disabled = false;
	}else{
		frm2.value = "";
		frm3.value = "";
		frm2.disabled = true;
		frm3.disabled = true;
	}
}

function chkmonth(frm1, frm2, frm3){

	if(frm2.value != ""){
		frm3.disabled = false;
		var len = frm3.options.length;
		for(var i=0; i<len; i++) {
			frm3.options[i] = null;
		}

		var MonthArray = new Array(0,31,28,31,30,31,30,31,31,30,31,30,31);
		var inYear =  frm1.value;
		if ((inYear%4) == 0 && (inYear%100) != 0 || (inYear%400) == 0){//À±³â
			MonthArray[2] = 29;
		}

		var monthval = frm2.value;
		for (var i=0; i<=MonthArray[monthval] ; i++){
			var myitem = new Option(i);
			if(i==0){
				frm3.options[i] = new Option("¼±ÅÃ");
				frm3.options[i].value = "";
			}else{
				frm3.options[i] = myitem;
				frm3.options[i].value = i;
			}
		}
	}else{
		frm3.value = "";
		frm3.disabled = true;
	}
}

/****************************************
	ÀÌ¸ÞÀÏ È®ÀÎ
****************************************/
function checkemail(email){
	// ÀÌ¸ÞÀÏ È®ÀÎ
	var pattern = /^[_a-zA-Z0-9-\.]+@[\.a-zA-Z0-9-]+\.[a-zA-Z]+$/;
	if(!pattern.test(email)) return false;
	return true;
}

// ³¯Â¥È®ÀÎ
function checkDate(iYear, iMonth, iDay){
	var newDate = new Date(iYear, (iMonth - 1), iDay);
	if ((newDate.getMonth() + 1) != iMonth || newDate.getDate() != iDay) return false;
	return true;
}


function showHideLayers() { //v6.0
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
	if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
	obj.visibility=v; }
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

//ÀÌº¥Æ®±â°£ Ã¼Å©
//³¯Â¥Çü½Ä : 2006/05/31
function date_period(sDate, eDate, message, url){
	var now = new Date();
	var sDate = new Date(sDate);
	var eDate = new Date(eDate);

	if (now < sDate || now > eDate)
	{
		alert(message);
		return false;
	}
	else
	{
		document.location.href = url;
	}
}

function PopMovie(file_url, width, height) {
	window.open('/include/lib/pop_movie.asp?movie_url='+file_url+'&width='+width+'&height='+height, 'movie', 'width='+width+', height='+height );
}


	function fnSetDisplayNone(sId) {
		if(document.getElementById(sId)) {
			document.getElementById(sId).style.display = "none";
		}
	}


	function fnSetPopup(sId, iLeft, iWidth, iHeight, sImage, iType, sURL) {
		document.write('<div id="'+ sId +'" style="position:absolute; top:0;width:'+ iWidth +'px;left:'+ iLeft +'px;height:'+ iHeight +'px;display:none;z-index:auto;">');
		document.write('	<table width="'+ iWidth +'" border="0" cellspacing="0" cellpadding="0">');
		document.write('	<tr>');
		if(sURL != 'undefined' && sURL != '') {
			document.write('		<td><a href="'+ sURL +'"><img src="'+ sImage +'" width="'+ iWidth +'" height="'+ iHeight +'" border="0"></a></td>');
		} else {
			document.write('		<td><img src="'+ sImage +'" width="'+ iWidth +'" height="'+ iHeight +'" border="0"></td>');
		}
		document.write('	</tr>');
		document.write('	</table>');
		if(iType == '1') {
			document.write('	<table width="'+ iWidth +'" border="0" cellspacing="0" cellpadding="0">');
			document.write('	<tr>');
			document.write('		<td height="24" align="right" bgcolor="998E8C" style="padding-right:10px;">');
			document.write('			<font color="#FFFFFF">');
			document.write('			ÇÏ·çµ¿¾È ÀÌ Ã¢À» ¿­Áö¾ÊÀ½ <input name="checkbox" type="checkbox" onClick="closeWin(\''+ sId +'\');document.getElementById(\''+ sId +'\').style.display = \'none\';">');
			document.write('			<a href="#" onclick="fnSetDisplayNone(\''+ sId +'\');" style="color:#ffffff;">[close]</a>');
			document.write('			</font>');
			document.write('		</td>');
			document.write('	</tr>');
			document.write('	</table>');
		} else {
			document.write('	<span style="color: #ffffff;font-size : 9pt;text-align:right;position: relative;top:-23px;left:'+ (iWidth - 230) +'px;">');
			document.write('	ÇÏ·çµ¿¾È ÀÌ Ã¢À» ¿­Áö¾ÊÀ½ <input name="checkbox" type="checkbox" onClick="closeWin(\''+ sId +'\');document.getElementById(\''+ sId +'\').style.display = \'none\';">');
			document.write('	<a href="#" onclick="fnSetDisplayNone(\''+ sId +'\');" style="color:#ffffff;">[close]</a>');
			document.write('	</span>');
		}
		document.write('</div>');
	}

	function fnMakePopup(sId, iLeft, iWidth, iHeight, sImage, sTextColor, sURL) {
		document.write('<div id="'+ sId +'" style="position:absolute; top:0;width:'+ iWidth +'px;left:'+ iLeft +'px;height:'+ iHeight +'px;display:none;z-index:auto;">');
		document.write(fnMakePopupHTML(sId, iWidth, iHeight, sImage, sTextColor, sURL));
		document.write('</div>');
	}

	function fnMakePopupHTML(sId, iWidth, iHeight, sImage, sTextColor, sURL) {
		var html = '	<table width="'+ iWidth +'" border="0" cellspacing="0" cellpadding="0">';
		html += '	<tr>';
		if(sURL != 'undefined' && sURL != '') {
			html += '		<td><a href="'+ sURL +'"><img src="'+ sImage +'" width="'+ iWidth +'" height="'+ iHeight +'" border="0"></a></td>';
		} else {
			html += '		<td><img src="'+ sImage +'" width="'+ iWidth +'" height="'+ iHeight +'" border="0" usemap="#Map'+ sId +'"></td>';
		}
		html += '	</tr>';
		html += '	</table>';

		if(sTextColor != 'undefined' && sTextColor != '') {
			html += '	<table width="'+ iWidth +'" border="0" cellspacing="0" cellpadding="0">';
			html += '	<tr>';
			html += '		<td height="24" align="right" bgcolor="'+ sTextColor +'" style="padding-right:10px;">';
			html += '			<font color="#FFFFFF">';
			html += '			ÇÏ·çµ¿¾È ÀÌ Ã¢À» ¿­Áö¾ÊÀ½ <input name="checkbox" type="checkbox" onClick="closeWin(\''+ sId +'\');document.getElementById(\''+ sId +'\').style.display = \'none\';">';
			html += '			<a href="#" onclick="fnSetDisplayNone(\''+ sId +'\');" style="color:#ffffff;">[close]</a>';
			html += '			</font>';
			html += '		</td>';
			html += '	</tr>';
			html += '	</table>';
		} else {
			html += '	<span style="color: #ffffff;font-size : 9pt;text-align:right;position: relative;top:-23px;left:'+ (iWidth - 230) +'px;">';
			html += '	ÇÏ·çµ¿¾È ÀÌ Ã¢À» ¿­Áö¾ÊÀ½ <input name="checkbox" type="checkbox" onClick="closeWin(\''+ sId +'\');document.getElementById(\''+ sId +'\').style.display = \'none\';">';
			html += '	<a href="#" onclick="fnSetDisplayNone(\''+ sId +'\');" style="color:#ffffff;">[close]</a>';
			html += '	</span>';
		}

		return html;
	}