<!--
    var memberWin = null;

    // mode : '1' : ÆË¾÷¿¡¼­   È¸¿ø °¡ÀÔ ÆäÀÌÁö ¿­±â
    //        '2' : ÇöÀçÃ¢¿¡¼­ È¸¿ø °¡ÀÔ ÆäÀÌÁö ¿­±â
    // successURL : °¡ÀÔ ¼º°ø½Ã ÀÌµ¿ ÆäÀÌÁö
    // width      : ÆË¾÷ À©µµ¿ì °¡·Î Å©±â
    // height     : ÆË¾÷ À©µµ¿ì ¼¼·Î Å©±â
    // scroll     : ÆË¾÷ À©µµ¿ì ½ºÅ©·Ñ¹Ù »ý¼º ¿©ºÎ ( 'Y', 'N' )
    function openMemberRegister (mode, successURL, width, height, scroll ) {

        if ( typeof(mode      ) == 'undefined' || mode == '' ) { mode         = '1'; }
        if ( typeof(successURL) == 'undefined' ) { successURL   = '' ; }

        if ( mode == '1' ) {
            if ( typeof(width )     == 'undefined' || width  == '' ) { width        = member_register_popup_width ; }
            if ( typeof(height)     == 'undefined' || height == '' ) { height       = member_register_popup_height; }
            if ( typeof(scroll)     == 'undefined' || scroll == '' ) { scroll       = 'Y'                         ; }
        }

        if ( memberWin != null ) { memberWin.close(); }
        var url = '';
        if ( typeof(baseDir) != 'undefined' ) {
            url = baseDir;
        }

        if ( typeof(id) == 'undefined' ) {
            url += 'member_register.php';
            if ( successURL != '' ) {
                url += '?succ_url='  + escape (successURL) ;
            }
        } else {
            url += 'member_register.php';
            if ( successURL != '' ) {
                url += '?id=' + id + '&succ_url='  + escape (successURL) ;
            } else {
                url += '?id=' + id;
            }
        }
//        alert ( baseDir );
//        alert ( url );
        if ( mode == '1' ) {
            if ( scroll == 'Y' ) {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=yes');
            } else {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=no');
            }
            memberWin.focus();
        } else if ( mode == '2' ) {
            document.location.href = url;
        }
    }

    function openMemberUpdate (mode, successURL, width, height, scroll ) {

//  function openMemberUpdate (width, height) {
        if ( typeof(mode      ) == 'undefined' || mode == '' ) { mode         = '1'; }
        if ( typeof(successURL) == 'undefined' ) { successURL   = '' ; }

        if ( mode == '1' ) {
            if ( typeof(width )     == 'undefined' || width  == '' ) { width        = member_update_popup_width ; }
            if ( typeof(height)     == 'undefined' || height == '' ) { height       = member_update_popup_height; }
            if ( typeof(scroll)     == 'undefined' || scroll == '' ) { scroll       = 'Y'                       ; }
        }

        if ( memberWin != null ) { memberWin.close(); }
        var url = '';
        if ( typeof(baseDir) != 'undefined' ) {
            url = baseDir;
        }

        if ( typeof(id) == 'undefined' ) {
            url += 'member_register.php';
            if ( successURL != '' ) {
                url += '?succ_url='  + escape (successURL) ;
            } else {
                url += '?mexec=update';
            }
        } else {
            url += 'member_register.php';
            if ( successURL != '' ) {
                url += '?id=' + id + '&succ_url='  + escape (successURL) + '&mexec=update';
            } else {
                url += '?id=' + id + '&mexec=update';
            }
        }

//        alert ( baseDir );
//        alert ( url );
        if ( mode == '1' ) {
            if ( scroll == 'Y' ) {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=yes');
            } else {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=no');
            }
            memberWin.focus();
        } else if ( mode == '2' ) {
            document.location.href = url;
        }
    }

    function openMemberSecession(mode, successURL, width, height, scroll) {
        if ( typeof(mode      ) == 'undefined' || mode == '' ) { mode         = '1'; }
        if ( typeof(successURL) == 'undefined' ) { successURL   = '' ; }

        if ( mode == '1' ) {
            if ( typeof(width )     == 'undefined' || width  == '' ) { width        = member_secession_popup_width ; }
            if ( typeof(height)     == 'undefined' || height == '' ) { height       = member_secession_popup_height; }
            if ( typeof(scroll)     == 'undefined' || scroll == '' ) { scroll       = 'Y'                         ; }
        }


        if ( memberWin != null ) { memberWin.close(); }
        var url = '';
        if ( typeof(baseDir) != 'undefined' ) {
            url = baseDir;
        }

        if ( typeof(id) == 'undefined' ) {
            url += 'member_secession.php';
            if ( successURL != '' ) {
                url += '?succ_url='  + escape (successURL) + '&mode=' + mode;
            } else {
                url += '?mode=' + mode;
            }
        } else {
            url += 'member_secession.php';
            if ( successURL != '' ) {
                url += '?id=' + id + '&succ_url='  + escape (successURL) + '&mode=' + mode;
            } else {
                url += '?id=' + id + '&mode=' + mode;
            }
        }

        if ( mode == '1' ) {
            if ( scroll == 'Y' ) {
                memberWin = popWindow(url,width, height,0, 0, 'secessionWin','scrollbars=yes');
            } else {
                memberWin = popWindow(url,width, height,0, 0, 'SecessionWin','scrollbars=no');
            }
            memberWin.focus  ();
        } else if ( mode == '2' ) {
            document.location.href = url;
        }
    }

    function openMemberInforSearch(mode, successURL, width, height, scroll) {
        if ( typeof(mode      ) == 'undefined' ) { mode         = '1'; }
        if ( typeof(successURL) == 'undefined' ) { successURL   = '' ; }

        if ( mode == '1' ) {
            if ( typeof(width ) == 'undefined' ) width  = member_infor_search_popup_width ;
            if ( typeof(height) == 'undefined' ) height = member_infor_search_popup_height;
        }

        if ( memberWin != null ) { memberWin.close(); }
        var url = '';
        if ( typeof(baseDir) != 'undefined' ) {
            url = baseDir;
        }

        if ( typeof(id) == 'undefined' ) {
            url += 'member_infor_search.php';
            if ( successURL != '' ) {
                url += '?succ_url='  + escape (successURL) + '&mode=' + mode;
            } else {
                url += '?mode=' + mode;
            }
        } else {
            url += 'member_infor_search.php';
            if ( successURL != '' ) {
                url += '?id=' + id + '&succ_url='  + escape (successURL) + '&mode=' + mode;
            } else {
                url += '?id=' + id + '&mode=' + mode;
            }
        }

        if ( mode == '1' ) {
            if ( scroll == 'Y' ) {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=yes');
            } else {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=no');
            }
            memberWin.focus();
        } else if ( mode == '2' ) {
            document.location.href = url;
        }
    }

    // mode : '1' : ÆË¾÷¿¡¼­   È¸¿ø °¡ÀÔ ÆäÀÌÁö ¿­±â
    //        '2' : ÇöÀçÃ¢¿¡¼­ È¸¿ø °¡ÀÔ ÆäÀÌÁö ¿­±â
    // successURL : °¡ÀÔ ¼º°ø½Ã ÀÌµ¿ ÆäÀÌÁö
    // width      : ÆË¾÷ À©µµ¿ì °¡·Î Å©±â
    // height     : ÆË¾÷ À©µµ¿ì ¼¼·Î Å©±â
    // scroll     : ÆË¾÷ À©µµ¿ì ½ºÅ©·Ñ¹Ù »ý¼º ¿©ºÎ ( 'Y', 'N' )
    function openMemberView (user_id, mode, successURL, width, height, scroll ) {
        if ( typeof(mode      ) == 'undefined' || mode == '' ) { mode         = '1'; }
        if ( typeof(successURL) == 'undefined' ) { successURL   = '' ; }

        if ( mode == '1' ) {
            if ( typeof(width )     == 'undefined' || width  == '' ) { width        = member_view_popup_width ; }
            if ( typeof(height)     == 'undefined' || height == '' ) { height       = member_view_popup_height; }
            if ( typeof(scroll)     == 'undefined' || scroll == '' ) { scroll       = 'Y'                     ; }
        }

        if ( memberWin != null ) { memberWin.close(); }
        var url = '';
        if ( typeof(baseDir) != 'undefined' ) {
            url = baseDir;
        }

        if ( typeof(id) == 'undefined' ) {
            url += 'member_view.php?user_id=' + user_id;
            if ( successURL != '' ) {
                url += '&succ_url='  + escape (successURL) ;
            }
        } else {
            url += 'member_view.php?user_id=' + user_id;
            if ( successURL != '' ) {
                url += '&id=' + id + '&succ_url='  + escape (successURL) ;
            } else {
                url += '&id=' + id;
            }
        }
//      alert ( baseDir );
//      alert ( url );
        if ( mode == '1' ) {
            if ( scroll == 'Y' ) {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=yes');
            } else {
                memberWin = popWindow(url,width, height,0, 0, 'memberWin','scrollbars=no');
            }
            memberWin.focus();
        } else if ( mode == '2' ) {
            document.location.href = url;
        }
    }
//-->