//////////////////////////////////////////////////////////////////////////////////////////////
// Format °ü·Ã javascript fucntion
//////////////////////////////////////////////////////////////////////////////////////////////

// ±â´É :    ¼ýÀÚ¸¦ ³ÖÀ¸¸é 3ÀÚ¸® ´ÜÀ§·Î ,·Î ±¸ºÐÇØ¼­ º¸¿©ÁØ´Ù. 
//           ¿¹) fn_FormatNumber('3000') 
// Param     srcNumber      ¿øº»¼ýÀÚ
function fn_FormatNumber(srcNumber)
{
    var txtNumber = '' + srcNumber;
    
    if (isNaN(txtNumber)) {     //  || txtNumber == ""
        alert("¼ýÀÚ¸¦ ³Ö¾îÁÖ¼¼¿ä");
        fieldName.select();
        fieldName.focus();
    } else {
        var rxSplit = new RegExp('([0-9])([0-9][0-9][0-9][,.])');
        var arrNumber = txtNumber.split('.');
        arrNumber[0] += '.';

        do {
            arrNumber[0] = arrNumber[0].replace(rxSplit, '$1,$2');
        } while (rxSplit.test(arrNumber[0]));

        if (arrNumber.length > 1) {
            return arrNumber.join('');
        } else {
            return arrNumber[0].split('.')[0];
        }
    }
}

//////////////////////////////////////////////////////////////////////////////////////////////
// Check °ü·Ã javascript fucntion
//////////////////////////////////////////////////////////////////////////////////////////////

// ±â´É :    ¼ºÀÎÃ¼Å© (¸¸19¼¼ ¹Ì¸¸)
//           ¿¹) fn_AdultCheck(ÁÖ¹Î¹øÈ£¾Õ6ÀÚ¸®, ÁÖ¹Î¹øÈ£µÞ7ÀÚ¸®)
// Param     arg_regNo1      ÁÖ¹Îµî·Ï¹øÈ£ ¾Õ6ÀÚ¸®
// Param     arg_regNo2      ÁÖ¹Îµî·Ï¹øÈ£ µÞ7ÀÚ¸®
// Return    true : ¼ºÀÎ,  false : ¹Ì¼º³â
function fn_AdultCheck(arg_regNo1, arg_regNo2)
{
    var birthday = "";                                                      
    var today    = "";
                           
																		
    if ( arg_regNo2.substring(0,1) == 1 || arg_regNo2.substring(0,1) == 2 )  {        
        birthday = parseInt(arg_regNo1) + 19000000;                                  
    } else if ( arg_regNo2.substring(0,1) == 3 || arg_regNo2.substring(0,1) == 4 )  { 
    	birthday = parseInt(arg_regNo1) + 20000000;                               
    }                                                                 

																	  
    var mydate=new Date();
	var y = mydate.getYear() +'';
	var m = mydate.getMonth() + 1;
	var d = mydate.getDate();
	if(m < 10) m = '0' + m;
	else m = m + '';
	if(d < 10) d = '0' + d;
	else d = d + '';
	var ls_today = y+m+d;

    today = parseInt(ls_today);                                    
                                                                      
    if ( today - birthday < 190000 ) 
        return false;
    else
        return true;
}

/// ±â´É :    ¼ýÀÚ¸¸ ÀÔ·ÂÇÏ°ÔÇÏ±â ([0_9]) 
//           ¿¹) OnBlur="fn_AlpaNumCheckField(this);"
// Param     arg_field   Ã¼Å©ÇÒ ¹®ÀÚ¿­
function fn_NumCheckField(arg_field) 
{ 
    var valid = "0123456789"  // À¯È¿ÇÑ °ª 
    var ok = "yes"; 
    var temp; 
    
    for (var i=0; i<arg_field.value.length; i++) { 
        temp = "" + arg_field.value.substring(i, i+1); 
        if (valid.indexOf(temp) == "-1") ok = "no"; 
    } 
    
    if (ok == "no") { 
        alert("¼ýÀÚ¸¸ ÀÔ·Â °¡´ÉÇÕ´Ï´Ù"); 
        arg_field.focus(); 
        arg_field.select(); 
    } 
}


// ±â´É :    ¿µ¹®ÀÚ & ¼ýÀÚ¸¸ ÀÔ·ÂÇÏ°ÔÇÏ±â ([A_Z], [a_z], [0_9])
//           ¿¹) fn_AlpaNumCheck(¹®ÀÚ¿­)
// Param     arg_str   Ã¼Å©ÇÒ ¹®ÀÚ¿­
// Return    true : Ã¼Å©¼º°ø ,   false : Ã¼Å©½ÇÆÐ
function fn_AlpaNumCheck(arg_str) 
{ 
    var valid = "abcdefghijklmnopqrstuvwxyz0123456789-_." 
    var temp; 
    
    for (var i = 0; i < arg_str.length; i++) { 
        temp = "" + arg_str.substring(i, i+1); 
        if (valid.indexOf(temp) == "-1") return false; 
    } 
    
    return true;
} 

// ±â´É :    ¿µ¹®ÀÚ & ¼ýÀÚ $ ÇÑ±Û¸¸ ÀÔ·ÂÇÏ°ÔÇÏ±â ([A_Z], [a_z], [0_9])
//           ¿¹) fn_AlpaNumCheck(¹®ÀÚ¿­)
// Param     arg_str   Ã¼Å©ÇÒ ¹®ÀÚ¿­
// Return    true : Ã¼Å©¼º°ø ,   false : Ã¼Å©½ÇÆÐ
function fn_AlpaNumAllCheck(arg_str) 
{ 
    var valid = "'~`!@#$%^&*()-_=+\|<>?,./;:{}"; 
    var temp; 
    
    for (var i = 0; i < arg_str.length; i++) { 
        temp = "" + arg_str.substring(i, i+1); 
        if (valid.indexOf(temp) != "-1") return false; 
    } 
    
    return true;
} 


// ±â´É :    Æû ÇÊµå¿¡¼­ ¿µ¹®ÀÚ & ¼ýÀÚ¸¸ ÀÔ·ÂÇÏ°ÔÇÏ±â ([A_Z], [a_z], [0_9]) 
//           ¿¹) OnBlur="fn_AlpaNumCheckField(this);"
// Param     arg_field   Ã¼Å©ÇÒ ¹®ÀÚ¿­
function fn_AlpaNumCheckField(arg_field) 
{ 
    var valid = "abcdefghijklmnopqrstuvwxyz0123456789"  // À¯È¿ÇÑ °ª 
    var ok = "yes"; 
    var temp; 
    
    for (var i=0; i<arg_field.value.length; i++) { 
        temp = "" + arg_field.value.substring(i, i+1); 
        if (valid.indexOf(temp) == "-1") ok = "no"; 
    } 
    
    if (ok == "no") { 
        alert("¿µ¹®ÀÚ¿Í ¼ýÀÚ¸¸ ÀÔ·Â °¡´ÉÇÕ´Ï´Ù"); 
        arg_field.focus(); 
        arg_field.select(); 
    } 
}

//////////////////////////////////////////////////////////////////////////////////////////////
// iFrame °ü·Ã javascript fucntion
//////////////////////////////////////////////////////////////////////////////////////////////

// ±â´É :    iFrame¿¡ Get¹æ½ÄÀ¸·Î º¸³»±â (LT00_001_09.jsp)
//           ¿¹) callProc("test.jsp?a=1")
// Param     arg_param   URL
function callGet(arg_param)
{
    ifrQueryTask.location.href = arg_param;
}

// ±â´É :    iFrame¿¡ Post ¹æ½ÄÀ¸·Î º¸³»±â (LT00_001_09.jsp)
//           ¿¹) callPost(document.frmTemp)
// Param     arg_form   ÆûÀÌ¸§
function callPost(arg_form)
{
    nw = window.open("","ifrQueryTask","scrollbars=no");
    if ( nw != null ) {
        arg_form.target = "ifrQueryTask";
        arg_form.submit();
    } 
}

//////////////////////////////////////////////////////////////////////////////////////////////
// Window °ü·Ã javascript fucntion
//////////////////////////////////////////////////////////////////////////////////////////////

// ±â´É :    »õ·Î¿î Ã¢À» Open ÇÑ´Ù. 
//           Ã¢ÀÇ »çÀÌÁî³ª À§Ä¡´Â ÃßÈÄ Á¶Á¤ÇÒ °ÍÀÓ
//           ¿¹) openWindow('xxxx.jsp', 'Window1', '1', '600', '500') 
// Param     windowUrl      JspÈ­ÀÏ Url
// Param     windowName     Ã¢ÀÌ¸§
// Param     windowType     Ã¢¼Ó¼º±¸ºÐ(À©µµ¿ì½ºÅ¸ÀÏ, »çÀÌÁîµîÀÇ ºÐ·ù)
// Param     w              Ã¢ÀÇ ³Êºñ     
// Param     h              Ã¢ÀÇ ³ôÀÌ

function openWindow(windowUrl, windowName, windowType, w, h) 
{
    var winVar;
    var wType;
    
    var winL = (screen.width - w) / 2; 
    var winT = (screen.height - h) / 2;
    
    switch(windowType)
    {
        case '1' : // ·ÎÅäÅä ÆË¾÷Ã¢ ½ºÅ©·Ñ¹Ù ¾ø½¿
            wType  = 'toolbar=no,location=no,alwaysRaised=yes,dependent=yes,directories=no,status=0,menubar=no,scrollbars=no,resizable=yes';
            wType  = wType + ',width=' + w+ ',height=' + h + ',top=' + winT + ',left=' + winL;
            break;
    
        case '2' : // ·ÎÅäÅä ÆË¾÷Ã¢ ½ºÅ©·Ñ¹Ù ÀÖ½¿
            wType  = 'toolbar=no,location=no,alwaysRaised=yes,dependent=yes,directories=no,status=0,menubar=no,scrollbars=yes,resizable=yes';
            wType  = wType + ',width=' + w+ ',height=' + h + ',top=' + winT + ',left=' + winL;
            break;

        case '3' : // ¿©ºÐ
            break;
    }
	 
    winVar = window.open(windowUrl, windowName, wType);    
    if(winVar==null || winVar == 'null') {
    	alert("¿äÃ»ÇÏ½Å ÀÛ¾÷ÀÌ Á¤»óÀûÀ¸·Î Ã³¸®µÇ¾ú´ÂÁö \n È®ÀÎÇÏ½Ã±â ¹Ù¶ø´Ï´Ù. \n\n Â÷´ÜµÈ ÆË¾÷Ã¢À» Çã¿ëÇØ ÁÖ½Ê½Ã¿À."); 
    	parent.location.reload();
    }else{
  	  winVar.focus();
    }
}



function openWindow2(windowUrl, windowName, windowType, w, h) 
{
    var winVar;
    var wType;
    
    var winL = (screen.width - w) / 2; 
    var winT = (screen.height - h) / 2;
    
    
	var form = document.cash;
	var comment=form.comment.value;

	if(windowUrl == "../BL11/BL11_101_05.php?mode=&comment=")
	{	
		var mode = "sec";
		winUrl = "../BL11/BL11_101_05.php?mode="+mode+"&comment="+comment;
	}
	else
	{
		winUrl=windowUrl+comment;
	}

    switch(windowType)
    {
        case '1' : // ÆË¾÷Ã¢ ½ºÅ©·Ñ¹Ù ¾ø½¿
            wType  = 'toolbar=no,location=no,alwaysRaised=yes,dependent=yes,directories=no,status=0,menubar=no,scrollbars=no,resizable=yes';
            wType  = wType + ',width=' + w+ ',height=' + h + ',top=' + winT + ',left=' + winL;
            break;
    
        case '2' : // ÆË¾÷Ã¢ ½ºÅ©·Ñ¹Ù ÀÖ½¿
            wType  = 'toolbar=no,location=no,alwaysRaised=yes,dependent=yes,directories=no,status=0,menubar=no,scrollbars=yes,resizable=yes';
            wType  = wType + ',width=' + w+ ',height=' + h + ',top=' + winT + ',left=' + winL;
            break;

        case '3' : // ¿©ºÐ
            break;
    }
    winVar = window.open(winUrl, windowName, wType);    
    if(winVar==null || winVar == 'null') {
    	alert("¿äÃ»ÇÏ½Å ÀÛ¾÷ÀÌ Á¤»óÀûÀ¸·Î Ã³¸®µÇ¾ú´ÂÁö \n È®ÀÎÇÏ½Ã±â ¹Ù¶ø´Ï´Ù. \n\n Â÷´ÜµÈ ÆË¾÷Ã¢À» Çã¿ëÇØ ÁÖ½Ê½Ã¿À."); 
    	parent.location.reload();
    }else{
  	  winVar.focus();
    }
}

// ±â´É :    »õ·Î¿î Ã¢À» Open ÇÑ´Ù. 
//           Ã¢ÀÇ »çÀÌÁî³ª À§Ä¡´Â ÃßÈÄ Á¶Á¤ÇÒ °ÍÀÓ
//           ¿¹) showModalDialog('xxxx.jsp', '600', '500') 
// Param     windowUrl      JspÈ­ÀÏ Url
// Param     w              Ã¢ÀÇ ³Êºñ     
// Param     h              Ã¢ÀÇ ³ôÀÌ
function showModalDialog(windowUrl, w, h) 
{
    return window.showModalDialog(windowUrl, self, "dialogWidth:" + w + "px;dialogHeight:" + h + "px;help:no;center:yes;resizable:no;status:no;");
}



// ÆäÀÌÁö ·Îµù½Ã¿¡ userid·Î focus¸¦ ¸ÂÃá´Ù.
function init()
{
	 document.entry.userid.focus();
}

function dblid_chkbutton()
{
	var form = document.entry;
	var str=form.m_id.value;

	if( form.m_id.value == "") {
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		form.m_id.focus();
		return;
	}

	if (id_chk2(str, 'U') == true) {
		form.submit();
	}
}

function dblid_chkbutton2()
{
	var form = document.entry;
	var str=form.m_nick.value;

	if( form.m_nick.value == "") {
		alert("´Ð³×ÀÓÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		form.m_nick.focus();
		return;
	}

	if (id_chk2(str, 'N') == true) {
		form.submit();
	}
}

function enterToRegNo1(e)
{
	var form = document.entry;

	if(navigator.appName == 'Netscape')
		var whichCode = e.which;
	else if(e.type == "keypress") var whichCode = e.keyCode;

	if(whichCode == 13)
		form.regNo2.focus();
}

function enterToRegNo2(e){
	var form = document.entry;

	if(navigator.appName == 'Netscape')
		var whichCode = e.which;
	else
		if(e.type == "keypress") var whichCode = e.keyCode;

	if(whichCode == 13)
		checkTrueName();
}

function enterToKorNm(e){
	var form = document.entry;

	if(navigator.appName == 'Netscape')
		var whichCode = e.which;
	else
		if(e.type == "keypress") var whichCode = e.keyCode;

	if(whichCode == 13)
		form.regNo1.focus();
}


// ¾ÆÀÌµð Áßº¹ Ã¼Å©
function id_chk2(string, flag) {
	var form=document.entry;
	var comp="0123456789";
	var len=string.length;
	var strmsg="";
	
	if (flag == "U")	{
		var target = form.m_id;
		
		
		if (string == "" ) {
			alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
			target.focus();
			return false;		
		}
		
	   if (fn_AlpaNumCheck(string) == false) {
			strmsg=strmsg+"5~15ÀÚÀÇ ¿µ¹®,¼ýÀÚ¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.";
			target.focus();
			target.select();
			return false;
	   }
	   
	   if (len < 5) {
			strmsg=strmsg+"5ÀÚ ÀÌ»óÀ¸·Î ÀÔ·ÂÇØ ÁÖ¼¼¿ä.";
			target.focus();
			target.select();
			return false;
		}
	
	   if (len > 15) {
			strmsg=strmsg+"15ÀÚ ÀÌÇÏ·Î ÀÔ·ÂÇØ ÁÖ¼¼¿ä.";
			target.focus();
			target.select();
			return false;
		}
		
		
	} else {
		var target = form.m_nick;
		
		if (string == "" ) {
			alert("´Ð³×ÀÓÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
			target.focus();
			return false;		
		}
		
	   if (fn_AlpaNumAllCheck(string) == false) {
			strmsg=strmsg+"Æ¯¼ö¹®ÀÚ¸¦ Á¦¿ÜÇÑ 2~16ÀÚ·Î ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.";
			target.focus();
			target.select();
			return false;
	   }
	   
	   if (len < 1) {
			strmsg=strmsg+"1ÀÚ ÀÌ»óÀ¸·Î ÀÔ·ÂÇØ ÁÖ¼¼¿ä.";
			target.focus();
			target.select();
			return false;
		}
	
	   if (len > 16) {
			strmsg=strmsg+"16ÀÚ ÀÌÇÏ·Î ÀÔ·ÂÇØ ÁÖ¼¼¿ä.";
			target.focus();
			target.select();
			return false;
		}
	}

	

	
	return true;
}

function clk_chkbutton()
{

	var form = document.entry;

	if(form.m_id.value == "")
	{
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		form.m_id.focus();
		return;
	}

	if (id_chk2(form.m_id.value, 'U') == true) {
		 strPath = "../BL10/id.php?m_id=";
		 strPath += form.m_id.value;
		 openWindow(strPath, "idcheck", "1", "470", "230");
	} else {
		alert("¾ÆÀÌµð´Â 5ÀÚ¸® ÀÌ»ó ¿µ¹®ÀÌ³ª ¼ýÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		form.m_id.focus();
		form.m_id.select();
		return;
	}
}

function clk_chkbutton2()
{

	var form = document.entry;

	if(form.m_nick.value == "")
	{
		alert("´Ð³×ÀÓÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		form.m_nick.focus();
		return;
	}

	if (id_chk2(form.m_nick.value, 'N') == true) {
		 strPath = "../BL10/nick.php?m_nick=";
		 strPath += form.m_nick.value;
		 openWindow(strPath, "idcheck", "1", "470", "230");
	} else {
		alert("´Ð³×ÀÓÀº 2ÀÚ¸® ÀÌ»óÀÇ Æ¯¼ö¹®ÀÚ¸¦ Á¦¿ÜÇÑ ¹®ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		form.m_nick.focus();
		form.m_nick.select();
		return;
	}
}



function insertBirth()
{
	str = document.entry.regNo1.value;
	if(str == "" || str.length != 6) return;
	str = "19" + str;
	document.entry.birthYY.value = str.substring(0, 4);
	document.entry.birthMM.selectedIndex = str.substring(4, 6)-1;
	document.entry.birthDD.selectedIndex = str.substring(6)-1;
	document.entry.birthHH.selectedIndex = 1;
	document.entry.birthHH.selectedIndex = 0;
}

function clk_findZipCode()
{
	strPath = "../BL10/zipsearch.php.php";
	openWindow(strPath, "findaddr", "2", "510", "290");
}

function kor_nm_chk(obj) {	
	var comp="!@#$%^&*()0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";
	var string = obj.value;
	var len = string.length;

	for(i=0;i<len;i++){
		if(comp.indexOf(string.substring(i,i+1))>0) {			
			return false;
		}
	}

	return true;
}

function regno_check() 
{
	var sum1=0;
	var sum2=0;
	s1=document.entry.regNo1.value;
	s2=document.entry.regNo2.value;
	
	// ¾ÕÀÚ¸® Ã¼Å©
	temp1 = s1.substr(2,2);
	temp2 = s1.substr(4,2);
	if ((temp1 < 1) || (temp1 >12)) {
		alert("¿ùÀ» Àß¸øÀÔ·ÂÇß½À´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØÁÖ¼¼¿ä");
		document.entry.regNo1.value="";
		document.entry.regNo2.focus();
		return false;
	}
	if ((temp2 < 1) || (temp2 > 31)) {
		alert("ÀÏÀ» Àß¸øÀÔ·ÂÇß½À´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØÁÖ¼¼¿ä");
		document.entry.regNo1.value="";
		document.entry.regNo2.focus();
		return false;
	}


	temp1 = s2.charAt(0);
	if (temp1 < 1 || temp1 > 4 )  {
		alert("¼ºº°À» Àß¸øÀÔ·ÂÇß½À´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		document.entry.regNo2.value="";
		document.entry.regNo2.focus();	
		return false;
	}
	
	return true;
}

// ¸ÞÀÏ Ã¼Å©
function chkEmail(){
	form = document.entry;

    /* ¸ÞÀÏ Ã¼Å© */
	strTmp = form.email.value;

	if ( strTmp.indexOf("@") < 0 ) {
		form.email.focus();
		form.email.select();
		return false;
	} 

	if ( strTmp.indexOf(".") < 0 ) {
		form.email.focus();
		form.email.select();
		return false;
	} 
	
	return true;
}

// ¸ÞÀÏ Ã¼Å©2
function chkEmail2(){
	form = document.entry;

    /* ¸ÞÀÏ Ã¼Å© */
	strTmp = form.email2.value;

	if ( strTmp.indexOf(".") < 0 ) {
		form.email2.focus();
		form.email2.select();
		return false;
	} 
	
	return true;
}


//2009-03-19 ±è¹ÎÁö
//png ÀÌ¹ÌÁö¸¦ ºê¶ó¿ìÀú ¾î´À ¹öÁ¯¿¡¼­³ª Åõ¸íÇÏµµ·Ï
function setPng24(obj)
{
	obj.width=obj.height=1;
	obj.className=obj.className.replace(/\bpng24\b/i,'');
	obj.style.filter =
	"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
	obj.src='';
	return '';
}

//¼ýÀÚ¸¸ ÀÔ·Â °¡´É  2009-03-31 Ãß°¡ ±è¹ÎÁö
function onlyNumber()
{
   if((event.keyCode<48)||(event.keyCode>57))
      event.returnValue=false;
}

//½ºÆäÀÌ½º¹Ù ÀÔ·Â ºÒ°¡´É  2009-03-31 Ãß°¡ ±è¹ÎÁö
function spCheck() {

	if (window.event.keyCode == '32')
	{
		event.returnValue=false;
	}

}

// Best FAQ ¿­°í´Ý±â
function FAQopen(tarID){
	i = 1 ;
	while (document.all['A'+i]){
	tarDiv = 'A'+i ;
//	qmenu = document.all("Q" + i);

		if ( tarID == tarDiv ) {
		document.all['A'+i].style.display = 'block'
		document.all['Q'+i].style.display = 'none'
//		document.all['A'+i].style.className = 'faq_on'
//		qmenu.style.fontWeight = "bold";
		}
		else{
		document.all['A'+i].style.display = 'none'
		document.all['Q'+i].style.display = 'block'
//		document.all['Q'+i].style.className = 'faq'
//		qmenu.style.fontWeight = "";
		}
	i++
	}
}
function FAQclose(){
	i = 1 ;
	while (document.all['A'+i]){
		document.all['A'+i].style.display = 'none'
		document.all['Q'+i].style.display = 'block'
	i++
	}
}

function go_add(id)
{
	hiddenFrame.location.href="BL71_101_01_proc.php?mode=add&g_id="+id;
}

//ÆË¾÷Ã¢ ÇØ»óµµÀÇ Áß°£¿¡ ¶ß°Ô ÇÏ±â  2009-05-11 Ãß°¡ ±è¹ÎÁö
function pop_center() {
	x = ( window.screen.availWidth - document.body.offsetWidth ) / 2;
	y = ( window.screen.availHeight - document.body.offsetHeight ) / 2;
	window.moveTo( x, y );
}

function go_settle()
{
	location.href="/totoinfo/BL12/BL12_105_04.php";
}

function popMember()
{
	window.open("/totoinfo/BL12/BL12_member_lavel.php", "popMember", "scrollbars=no,toolbar=no,location=no,status=no,width=360,height=370,resizable=no,menubar=no,directories=no,top=0,left=0");
}