function Msgalert() {
 	alert("±Û¾²±â ±ÇÇÑÀÌ ¾ø½À´Ï´Ù.");
 	return;
}
var CheckNumber = '07'
function changeimage(Number, flag) {
	document.all['menu'+CheckNumber].style.display='none';
	document.all['menu'+Number].style.display='block';
	CheckNumber = Number
}
//==================================
// ¸ÞÀÏÀÌ Á¦´ë·Î µÈ °ÍÀÎÁö È®ÀÎÇÏ´Â ÇÔ¼ö
// °´Ã¼¸¦ ³Ñ°Ü ¹Þ´Â´Ù. 
//==================================
function mail_chk(fl)
{
	t = fl.value;
	if (t == "") return false;
	else if (t.length < 8) 	{
		alert("E-MailÀ» Á¤È®È÷ Àû¾îÁÖ½Ê½Ã¿À.");
		fl.value="";
		fl.focus() ;
		return false ;
	}
	else if (t.substring(t.indexOf("@", 0), t.length) == "@hanmail.net" || t.substring(t.indexOf("@", 0), t.length) == "@HANMAIL.NET") 
	{
		alert("ÇÑ¸ÞÀÏ ÀÌ¿ÜÀÇ ¸ÞÀÏÀ» »ç¿ëÇØ ÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.") ;
		fl.value="" ;
		fl.focus() ;
		return false ;
	}
}

//====================================
//emailÁÖ¼Ò¸¦ ¹Þ¾Æ¿À±â À§ÇØ Ã¢À» ¿±´Ï´Ù.
//====================================
function getemail(form,input){
	var oInput = eval('document.'+form+'.'+input);
	window.open('http://www.bebehouse.com/Calendar/apply/email_input_form.asp?tform='+form+'&tinput='+input+'&tvalue='+oInput.value,'','width=500,height=219');
}
	
// ¿ÀÇÂÁßÀÔ´Ï´Ù.
function openready() {
	alert("¿ÀÇÂ ÁØºñÁßÀÔ´Ï´Ù");
return false
}


// ÆË¾÷ ÇÔ¼ö
function openWin(link, title, size)
{
	window.open(link, '','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,'+size+' ');
}

 function goReceipt(c_trade_no)
  {
   url = "http://admin.kcp.co.kr/Modules/Sale/Card/ADSA_CARD_BILL_Receipt.jsp";
   param = "?c_trade_no="+c_trade_no;
   window.open(url+param, "receipt", "width=420,height=670,top=50,left=500,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes'");
  }


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function PrintImage(ImageName)
{
	  window.open('http://www.bebehouse.com/Calendar/Jamhangul/PrintImage.asp?ImageName='+ImageName, "jamImage", "width=1,height=1'");

}

//-->



