//¸ÞÀÎ 
function main() {location.href="index.htm";}

//±âÅ¸¸Þ´º
function mainMenu0() {location.href="mainMenu0_list.htm";} //¾Ë¸®´Â ¸»¾¸
function mainMenu1() {location.href="mainMenu1_list.htm";} //Æ÷Åä°¶·¯¸®

//ÁÖ¸Þ´º
function leftMenu0() {location.href="leftMenu0.htm";} //À¯ÇÐ»ýºÀ»çºÎ ¼Ò°³
function leftMenu1() {location.href="leftMenu1_list.htm";} //À¯ÇÐ»ý ±âµµÈ¸
function leftMenu2() {location.href="leftMenu2_list.htm";} //´Ù´Ï¿¤ÀÇ ¹ã
function leftMenu3() {location.href="leftMenu3_list.htm";} //À¯ÇÐ»ý ´ëÈ­¹æ
function leftMenu4() {location.href="leftMenu4_list.htm";} //À¯ÇÐ ¼Ò½Ä
function leftMenu5() {window.open("http://www.msch.or.kr/06_board/news.html","togoChurch")} //±³È¸ ¼Ò½Ä

//È¸¿ø°ü·Ã ¸Þ´º
function member0() {location.href="membership.htm";} //ID½ÅÃ»
function member1() {location.href="membership1.htm";} //È¸¿øÁ¤º¸º¯°æ


//È­¸éÁß¾Ó¿¡ ÆË¾÷Ã¢ ¶ç¿ì±â
function vrWin(theURL,winName,myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;

    style= "'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, width=" + myWidth + ",height=" + myHeight + ",top=" + myTop +",left=" + myLeft + "'";

  }
  window.open(theURL,winName,style);
}

//¼¿·ºÆ®¸Þ´º¸µÅ©
function MM_jumpMenu(url, targ, restore, selObj) 
{ //v3.0 
window.open(url, targ) 
if (restore) selObj.selectedIndex=0;
}




function CheckAll(chkok, subName) {
    var bCheck = document.all[chkok].checked;

    obj = document.all.tags("input");

    for (i = 0; i < obj.length; i++) {
        if (obj[i].type == 'checkbox') {
            obj[i].checked = bCheck;
        }
    }
}


function ImgPopUp(ImgUrl) {
    window.open('/mscha/common/Gallery_Img.aspx?ImgUrl='+ImgUrl, 'img_popup', 'width=100,height=100,left=0,top=0,scrollbars=no,resizable=no');

}
