// 기본 function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&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&&i0) ? 'none' : ''; if(item.children) { var tmpImgSrc = '/img/ic_1depth_01.gif\' class=\'hand'; var tmpclick = " onclick='mnToggle(this);'" } else { var tmpImgSrc = '/img/ic_2depth.gif'; var tmpclick = ""; } tmpGoUrl = (item.gourl) ? 'javascript: js_GoMenu("' + item.gourl + '", "' + item.mid + '");' : '#'; if (item.level==0 && tmpImgSrc=='img/ic_2depth.gif') tmpImgSrc = '/img/ic_1depth_03.gif'; if (parseInt(permission) >= parseInt(item.permission)) { $("
  • " + item.title + "
  • ").appendTo($("#leftMenuArea01>ul")); } // 하위 메뉴 추가 getJSONMnList(item.children, permission); }); } } function menuNavi(){ var tmpmn = "#" + $.cookie("showLM"); //"$("#menuFrm input[name=mid]").val(); var arr_tmpmn = tmpmn.split("_"); for(i=0; i img").attr("src","/img/ic_1depth_02.gif"); $(str + " > ul > li ").show(); } $( tmpmn ).show(); $( tmpmn + " > a " ).css("font-weight", "bold"); if( $( tmpmn + " > img " ).attr( "src" ) == "/img/ic_1depth_01.gif" ) $( tmpmn + " > img " ).attr( "src" , "/img/ic_1depth_02.gif" ); } // 왼쪽 메뉴 관련 끝 ----------------------------------------------------------------- var menuDVN = 0; // 왼쪽 메뉴 구분자 var posX = 0; var posY = 0; //@ 리스트 뷰 노출 관련 function setShowList() { $("#ListArea").show(); $("#ViewArea").empty(); } function setShowView() { $("#ListArea").hide(); $("#ViewArea").show(); } } //@ 로딩 이미지 관련----------------------------------------------------- function readyLoading(PX, PY, img) { var imgpath = ''; if (PX) posX = PX; if (PY) posY = PY; if (img=='NoImg') imgpath = ''; if ($("#loadingImgArea").length==0) $("body").append("
    " + imgpath + "
    ").css({"top":posY, "left":posX}).show(); $("#loadingImgArea").html(imgpath).appendTo("body").css({"top":posY, "left":posX}); } function showLoading(PX, PY, img) { var imgpath = ''; if (PX) posX = PX; if (PY) posY = PY; if (img=='NoImg') imgpath = ''; if ($("#loadingImgArea").length==0) $("body").append("
    " + imgpath + "
    ").css({"top":posY, "left":posX}).show(); $("#loadingImgArea").html(imgpath).appendTo("body").css({"top":posY, "left":posX}).show(); } function viewLoading() { $("#loadingImgArea").show(); } function hideLoading() { $("#loadingImgArea").hide(700); } // ----------------------------------------------------------------------------------------------/ /* RegDate: 130722 upgDate: - Author : JS SC Name: func_categoryKorName Params : -[cate] : category code Annotation : translate category code to korean */ function func_categoryKorName(cate){ var cateKor; if(cate == "sub1"){ cateKor = "메뉴명1"; }else if(cate == "sub2"){ cateKor = "메뉴명2"; }else if(cate == "sub3"){ cateKor = "메뉴명3"; }else if(cate == "sub4"){ cateKor = "메뉴명4"; }else if(cate == "sub5"){ cateKor = "메뉴명5"; }else if(cate == "sub6"){ cateKor = "메뉴명6"; }else if(cate == "sub7"){ cateKor = "메뉴명7"; }else{ cateKor = "기타"; } return cateKor; } // ----------------------------------------------------------------------------------------------/