CINXE.COM
대한민국국기법 | 국가법령정보센터 | 법령 > 본문
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <!-- 레이아웃 관련 CSS --> <!-- 레이아웃 관련 CSS //--> <script type="text/javascript" src="/LSW/js/jquery/jquery.js"></script> <script type="text/javascript" src="/LSW/js/common/common.js"></script> <script type="text/javascript" src="/LSW/js/common/drag_search.js"></script> <script type="text/javascript" src="/LSW/js/common/CookieUtil.js"></script> <script type="text/javascript" src="/LSW/js/jquery/jquery.loadmask.js"></script> <script type="text/javascript" src="/LSW/js/common/jquery-custom.js"></script> <!-- 레이아웃 관련 JS --> <script type="text/javascript" src="/LSW/js/jquery/jquery-ui.js"></script> <script type="text/javascript" src="/LSW/js/jquery/jquery-ui_2017.js"></script> <script type="text/javascript" src="/LSW/js/jquery/jquery.layout-latest.js"></script> <script type="text/javascript" src="/LSW/js/common/layout.js"></script> <!-- 레이아웃 관련 JS //--> <script type="text/javascript"> var webRoot = '/LSW'; </script> <link rel="shortcut icon" type="text/css" href="/LSW/images/ico_favorites.ico" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/common.css" /> <link rel="stylesheet" type="text/css" href="/LSW/js/jquery/jquery.loadmask.css" /> <link rel="stylesheet" type="text/css" href="/LSW/js/jquery/layout-default-latest.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/layout.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/board.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/ui_2017.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/commonForLs.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/xtheme-ls.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/xtheme-lsHst.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/xtheme-layer.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/xtheme-lsOutput.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/common-ex.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/oldandnew.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/thdcmp.css" /> <link rel="stylesheet" type="text/css" href="/LSW/css/lsw/thdcmpNew.css" /> <link rel="stylesheet" type="text/css" href="/LSW/js/jquery/jquery.fancybox-2.1.5.css" /> <style type="text/css"> .ui-layout-pane { padding: 0; background: #EEE; } .ui-layout-west { background: #CFC; } .ui-layout-center { background: #FFC; padding: 0; /* IMPORTANT - remove padding so pane can 'collapse' to 0-width */ } .ui-layout-west > .ui-layout-center { background: #CFC; } .ui-layout-west > .ui-layout-south { background: #AFE; } .ui-layout-pane { border-width: 0; } .ui-layout-north { border-bottom-width: 1px; } .ui-layout-south { border-top-width: 1px; } .ui-layout-resizer-west { border-width: 0; border-left: 2px solid #b4b4b4; background-color:white; } .ui-layout-toggler { border: 0; background-color:#fff } .ui-layout-toggler-west-closed { background-image: url("./images/button/leslidev7_2.gif"); background-color:white; background-repeat: no-repeat; } .ui-layout-toggler-west-open { background-image: url("./images/button/leslidev7_1.gif"); background-color:white; background-repeat: no-repeat; } </style> <style type="text/css"> div#divLsPtnThdCmpInfo {height: 430px; overflow-y : auto; overflow-x:hidden; -webkit-overflow-scrolling:touch;} table.lsPtnThdCmpTable{width:100%; border-collapse:collapse; table-layout: fixed;} table.lsPtnThdCmpTable td{padding:10px; font-family:gulim, Verdana, sans-serif; font-size:12px; width:33.3%; line-height:140%; border:1px solid #ddd; color:#444; vertical-align:top;} .txt_blue{color:#151594} .txt_bold{font-weight:bold; color:#000;margin-bottom:0} table.lsPtnThdCmpTable p{ margin: 0; padding : 0; } table.lsPtnThdCmpTable span.sfon{ color:#024FCE; } div.subtit{ font-family: Gulim,doutm,tahoma,sans-serif; color: #444444; padding-bottom: 6px; font-size: 12px; } div.mainTit{ font-family:Gulim,doutm,tahoma,sans-serif; padding:7px 0 0 0; margin : 0; } div#lsPtnThdTitle{ background: #F0F0F0; line-height: 150%; } div.lsptnThdCmpGroup{ clear: both; line-height: 175%; padding-right: 10px; } div.lsptnThdCmpGroup strong{ text-indent: -13px; } html{overflow:hidden;} div.lsptnThdCmpGroup p a{ color:#005a84; text-decoration: underline; } div.lsptnThdCmpGroup p a:hover { color:#0099cc; text-decoration:underline; } div.lsptnThdCmpGroup p a.delegatedAdmRul_link{ text-decoration:underline; color:rgb(179, 0, 0) !important; } div.lsptnThdCmpGroup p a.delegatedAdmRul_link:hover { text-decoration:underline; color:rgb(244, 76, 76) !important; } div.lsptnThdCmpGroup p a.delegatedAdmRul_link:visited { text-decoration:underline; color:rgb(179, 0, 0) !important; } div.lsptnThdCmpGroup p a.delegatedOrdin_link{ text-decoration:underline; color:rgb(88, 0, 179) !important } div.lsptnThdCmpGroup p a.delegatedOrdin_link:hover { text-decoration:underline; color:rgb(88, 0, 179) !important } div.lsptnThdCmpGroup p a.delegatedOrdin_link:visited { text-decoration:underline; color:rgb(88, 0, 179) !important } div.lsptnThdCmpGroup p span.bl{ font-weight: bold; text-indent: -13px; color:#151594 } .list_bx_in02{padding:5px 10px;border-top:1px solid #d4d4d4} .list_bx_in02 .inner{padding-left:20px} .list_bx_in02 a{position:relative;display:block;padding:3px 0;line-height:14px;white-space:nowrap} .list_bx_in02 a:hover{text-decoration:underline} .list_bx_in02 .dep_in > a{font-weight:bold} .list_bx_in02 .dep_in.on{background:#e5e5e5} .list_bx_in02 .dep_in.on .ico{background:url(../images/button/btn_lmcl.gif) no-repeat} .list_bx_in02 .dep_in.type{padding-left:9px} .list_bx_in02 .dep_in > div{display:none} .list_bx_in02 .dep_in > div.on{display:block} .list_bx_in02 .dep_in > div a{position:relative} .list_bx_in02 .dep00{padding-left:5px}/* 기본 */ .list_bx_in02 .dep01{padding-left:11px}/* 편 */ .list_bx_in02 .dep02{padding-left:16px}/* 장 */ .list_bx_in02 .dep03{padding-left:21px}/* 절 */ .list_bx_in02 .dep04{padding-left:26px}/* 관 */ .list_bx_in02 .dep05{padding-left:31px}/* 조 */ /* .depth_bx.type > li > a{padding-left:19px; background:transparent;} */ div.list_bx_in02 ul li{ padding:0 0 3px 5px; text-indent:-12px; line-height:140%; white-space:nowrap; width:100%;} div#leftContent{width:99%; overflow:auto; overflow-x:hidden; border-top:0 solid #cbcbcb;} </style> <title>대한민국국기법 | 국가법령정보센터 | 법령 > 본문</title> </head> <body id="bodyId"> <!-- lsEfYdList 사용하지 않음. 2012.01.11 --> <!-- 영문법령 여부 2010 09 01 --> <input id="netPrivateYn" type="hidden" value="N" /> <!-- common.css, common-ex.css 통합 --> <script type="text/javascript" src="/LSW/js/jquery/jquery.form.js"></script> <script type="text/javascript" src="/LSW/js/ls/ls.js"></script> <script type="text/javascript" src="/LSW/js/ls/fUpdate.js?Time=1732474876"></script> <script type="text/javascript" src="/LSW/js/ls/lsJo.js"></script> <script type="text/javascript" src="/LSW/js/common/xmlHttpUtil.js"></script> <script type="text/javascript" src="/LSW/js/common/common-ex.js"></script> <script type="text/javascript" src="/LSW/js/ls/lsPopLayer.js"></script> <script type="text/javascript" src="/LSW/js/ls/lsLink.js?Time=1732474876"></script> <script type="text/javascript" src="/LSW/js/common/commPop.js"></script> <script type="text/javascript" src="/LSW/js/ls/lsOutPutJoNew.js"></script> <script type="text/javascript" src="/LSW/js/common/autocom.js"></script> <script type="text/javascript" src="/LSW/js/ls/lsMakeJo.js"></script> <!--누락된 js추가 --> <script type="text/javascript" src="/LSW/js/common/diff_match_patch.js"></script> <script defer="defer" type="text/javascript" src="/LSW/js/common/lawNavigation.js"></script> <script type="text/javascript" src="/LSW/js/oneview/kakao.js"></script> <script type="text/javascript"> //<![CDATA[ var lsOneLookUsrSeq = ""; var publicLine = !false; var isAsGubun = "IS"; var lsRvsChk = 'false'; var unOrdinEmailLink = false; var isEng = ""; // 서브와 탭 메뉴 초기값 (팝업은 없어서 0으로 설정) var subMenuIdx = '0'; var tabMenuIdx = '0'; function admRulInfo(obj, admRulNum){ var ret = new Object(); var rect = obj.getBoundingClientRect(); ret.left = rect.left + (document.documentElement.scrollLeft || document.body.scrollLeft) - 60; ret.top = rect.top + (document.documentElement.scrollTop || document.body.scrollTop); for(var i=1; i<2; i++){ var admRulInfo = "admRulInfo_"+i; document.getElementById(admRulInfo).style.display = "none"; } var tempNum = "admRulInfo_"+admRulNum; // 좌측 카테고리의 보여줄 번호를 뿌려준다. var admRulView = document.getElementById(tempNum); admRulView.style.left = ret.left+"px"; admRulView.style.top = ret.top+19+"px"; admRulView.style.display = "block"; } function admRulClose(){ for(var i=1; i<2; i++){ var admRulInfo = "admRulInfo_"+i; document.getElementById(admRulInfo).style.display = "none"; } } /////////////////////////////////// // 조례위임조문, 위임조례 말풍선 function lsScInfo(obj, lsScNum){ var ret = new Object(); var rect = obj.getBoundingClientRect(); var leftObj = leftListWidthGet(); ret.left = rect.left + (document.documentElement.scrollLeft || document.body.scrollLeft); for(var i=1; i<=2; i++){ var lsScInfo = "lsScInfo_"+i; document.getElementById(lsScInfo).style.display = "none"; } var tempNum = "lsScInfo_"+lsScNum; // 좌측 카테고리의 보여줄 번호를 뿌려준다. var admRulView = document.getElementById(tempNum); var ua = navigator.userAgent.toLowerCase(); // 첫번째 버튼의 기준으로 위치를 잡는다. (좌측 목록의 리스트를 객체로 가져와서) admRulView.style.left = ret.left-leftObj.width+"px"; admRulView.style.display = "block"; } function lsScClose(){ for(var i=1; i<=2; i++){ var lsScInfo = "lsScInfo_"+i; document.getElementById(lsScInfo).style.display = "none"; } } // 좌측 목록 넓이 구해오기 function leftListWidthGet(){ var rec = new Object(); var leftObj = document.getElementById("leftContent"); if(leftObj != null){ var rect = leftObj.getBoundingClientRect(); rec.width = rect.right - rect.left }else{ rec.width = 0; } return rec; } function fn_hideFourCmp() { $("#admrulTh").hide(); $("#tbodyTable tr").find("td:eq(3)").each(function() { $(this).hide(); }); $("#fourPlus").show(); fn_thdCmpResize(); } function fn_showFourCmp() { $("#admrulTh").show(); $("#tbodyTable tr").find("td:eq(3)").each(function() { $(this).show(); }); $("#fourPlus").hide(); fn_fourCmpResize(); } function fn_fourCmpResize() { var sideWidth = 0; var divTableHeight = 53; if (gIsWide == 'default') { sideWidth = 245; divTableHeight = 73; } // 3단비교 부분에 제목부분인 Theadtable을 감싸고 있는 DIV var divTable = document.getElementById("theadDiv"); // Thead부분의 테이블과 Tbody부분의 테이블의 영역을 맞추기 위해 해당 객체값을 가져옴 var theadTh1 = $("#theadTable thead tr th:eq(0)"); var theadTh2 = $("#theadTable thead tr th:eq(1)"); var theadTh3 = $("#theadTable thead tr th:eq(2)"); // 4단추가 var theadTh4 = $("#theadTable thead tr th:eq(3)"); var tbodyTd1 = $("#tbodyTable tbody tr td:eq(0)"); var tbodyTd2 = $("#tbodyTable tbody tr td:eq(1)"); var tbodyTd3 = $("#tbodyTable tbody tr td:eq(2)"); // 4단추가 // Thead부분과 Tbody부분에 td 영역을 할당해주기 위해 팝업의 넓이를 가져옴 var popWidth = document.documentElement.clientWidth; // 해당 팝업크기의 넓이의 33%를 할당해준다 16은 스크롤바의 Pix크기. var tdWidth = (parseInt(popWidth)-15-sideWidth)*0.25; // 4단추가 // 첫번째와 두번째의 TH 및 TD를 변경해주면 나머지의 영역은 알아서 바뀐다. theadTh1.width("24%"); theadTh2.width("24%"); theadTh3.width("24%"); theadTh4.width("25%"); tbodyTd1.width(tdWidth); tbodyTd2.width(tdWidth); tbodyTd3.width(tdWidth); // Tbody부분의 테이블을 고정하여준다 (테이블 안에 데이터가 없을 경우에도 Width를 설정해주기 위해서) if(document.getElementById("tbodyTable")){ document.getElementById("tbodyTable").style.tableLayout="fixed"; } } function fn_thdCmpResize() { var sideWidth = 0; var divTableHeight = 53; if (gIsWide == 'default') { sideWidth = 245; divTableHeight = 73; } // 3단비교 부분에 제목부분인 Theadtable을 감싸고 있는 DIV var divTable = document.getElementById("theadDiv"); // Thead부분의 테이블과 Tbody부분의 테이블의 영역을 맞추기 위해 해당 객체값을 가져옴 var theadTh1 = $("#theadTable thead tr th:eq(0)"); var theadTh2 = $("#theadTable thead tr th:eq(1)"); var theadTh3 = $("#theadTable thead tr th:eq(2)"); // 4단추가 var tbodyTd1 = $("#tbodyTable tbody tr td:eq(0)"); var tbodyTd2 = $("#tbodyTable tbody tr td:eq(1)"); var tbodyTd3 = $("#tbodyTable tbody tr td:eq(2)"); // 4단추가 // Thead부분과 Tbody부분에 td 영역을 할당해주기 위해 팝업의 넓이를 가져옴 var popWidth = document.documentElement.clientWidth; // 해당 팝업크기의 넓이의 33%를 할당해준다 16은 스크롤바의 Pix크기. var tdWidth1 = (parseInt(popWidth)-15-sideWidth)*0.33; var tdWidth2 = (parseInt(popWidth)-15-sideWidth)*0.32; // 첫번째와 두번째의 TH 및 TD를 변경해주면 나머지의 영역은 알아서 바뀐다. theadTh1.width("32%"); theadTh2.width("32%"); theadTh3.width("33%"); tbodyTd1.width(tdWidth1); tbodyTd2.width(tdWidth1); tbodyTd3.width(tdWidth2); // Tbody부분의 테이블을 고정하여준다 (테이블 안에 데이터가 없을 경우에도 Width를 설정해주기 위해서) if(document.getElementById("tbodyTable")){ document.getElementById("tbodyTable").style.tableLayout="fixed"; } } /** * <pre> * 3단비교 테이블 리사이징 * </pre> * @author brKim * @since 2017. 7. 7. * @param gubun */ function table_Resize(gubun) { if (gubun == "LIST") { $("#leftSlideImg").hide(); } else { $("#leftSlideImg").show(); } // 3단비교 초입 목록 if (gubun == "LIST") { var popWidth = (parseInt(document.documentElement.clientWidth) - 15); var tdWidth1 = popWidth*0.58; var tdWidth2 = popWidth*0.1; var tdWidth3 = popWidth*0.07; var theadTh1 = $("#dataListTopTable thead tr th:eq(0)"); var theadTh2 = $("#dataListTopTable thead tr th:eq(1)"); var theadTh3 = $("#dataListTopTable thead tr th:eq(2)"); var tbodyTd1 = $("#dataListContentTable tbody tr td:eq(0)"); var tbodyTd2 = $("#dataListContentTable tbody tr td:eq(1)"); var tbodyTd3 = $("#dataListContentTable tbody tr td:eq(2)"); theadTh1.width(tdWidth1); theadTh2.width(tdWidth2); theadTh3.width(tdWidth3); tbodyTd1.width(tdWidth1); tbodyTd2.width(tdWidth2); tbodyTd3.width(tdWidth3); } else if(gubun == "LSCOMPARE") { // 전체 영역 var bodyheight = document.documentElement.clientHeight; // 탭 영역 var thdTab = document.getElementById("divThreeCmpHead").offsetHeight; // Thead 제목 영역 var thdThead = document.getElementById("infoRThead").offsetHeight; // select 영역 var thdSel = document.getElementById("divLJo").offsetHeight; // div 영역 var divL = document.getElementById("viewwrapCenterL"); var divO = document.getElementById("viewwrapCenterO"); var divR = document.getElementById("viewwrapCenterR"); // 높이 셋팅 var thdCmpHeight = parseInt(bodyheight) - parseInt(thdTab) - parseInt(thdThead) - parseInt(thdSel)-88; // 높이 할당 divL.style.height = thdCmpHeight+"px"; divO.style.height = thdCmpHeight+"px"; divR.style.height = thdCmpHeight+"px"; // lsInfoR에서도 같은 메소드를 호출해주기 때문에 구분 값을 사용함 } else if (gubun == "LS") { // 전체 영역 var bodyheight = document.documentElement.clientHeight; // 탭 영역 var thdTab = document.getElementById("divThreeCmpHead").offsetHeight; // Thead 제목 영역 var thdThead = document.getElementById("infoRThead").offsetHeight; // select 영역 var thdSel = document.getElementById("divLJo").offsetHeight; // div 영역 var divL = document.getElementById("viewwrapCenterL"); var divO = document.getElementById("viewwrapCenterO"); var divR = document.getElementById("viewwrapCenterR"); // 높이 셋팅 var thdCmpHeight = parseInt(bodyheight) - parseInt(thdTab) - parseInt(thdThead) - parseInt(thdSel)-88; // 높이 할당 divL.style.height = thdCmpHeight+"px"; divO.style.height = thdCmpHeight+"px"; divR.style.height = thdCmpHeight+"px"; } else if (gubun == "JO") { var sideWidth = 0; var divTableHeight = 53; if (gIsWide == 'default') { sideWidth = 245; divTableHeight = 73; } // 3단비교 부분에 제목부분인 Theadtable을 감싸고 있는 DIV var divTable = document.getElementById("theadDiv"); // Thead부분의 테이블과 Tbody부분의 테이블의 영역을 맞추기 위해 해당 객체값을 가져옴 var theadTh1 = $("#theadTable thead tr th:eq(0)"); var theadTh2 = $("#theadTable thead tr th:eq(1)"); var tbodyTd1 = $("#tbodyTable tbody tr td:eq(0)"); var tbodyTd2 = $("#tbodyTable tbody tr td:eq(1)"); // Thead부분과 Tbody부분에 td 영역을 할당해주기 위해 팝업의 넓이를 가져옴 var popWidth = document.documentElement.clientWidth; // 해당 팝업크기의 넓이의 33%를 할당해준다 16은 스크롤바의 Pix크기. var tdWidth = (parseInt(popWidth)-15-sideWidth)*0.33; // 첫번째와 두번째의 TH 및 TD를 변경해주면 나머지의 영역은 알아서 바뀐다. theadTh1.width(tdWidth); theadTh2.width(tdWidth); tbodyTd1.width(tdWidth); tbodyTd2.width(tdWidth); // Tbody부분의 테이블을 고정하여준다 (테이블 안에 데이터가 없을 경우에도 Width를 설정해주기 위해서) if (document.getElementById("tbodyTable")) { document.getElementById("tbodyTable").style.tableLayout="fixed"; } } else { /** 4단비교 */ if ($("#admrulTh").css("display") == "none") { fn_thdCmpResize(); } else { fn_fourCmpResize() } } } var dtlSchEngYn; // new 상세검색시 사용 var lsVO = new LsValueObj(); var lsSearchObj = new LsSearchObj(); var netPrivateYn = $("#netPrivateYn").val(); $(document).ready(function(){ // 레이아웃 세팅 fnSetLayout(true); // 본문 버튼 이벤트 등록 eventObj.topBtn.init(); customResizePop(); // 본문 리사이즈 $("#myLawJo").show(); lsVO.lsValue.lsId = getValue("lsId"); lsVO.lsValue.lsiSeq = getValue("lsiSeq"); setDetailSelectCookie('010101', el('lsiSeq').value); lsVO.bdyUpdValue.updateContentNm = "lsBdy"; // 본문 조회 시 출력 여부 설정 lsVO.bdyUpdValue.updateContentNm = "lsBdy"; lsVO.bdyType = "lsBdy"; // 법령 본문 컨텐츠 명 인쇄시 사용 // 기본언어 한글로 세팅 if (!lsVO.LangType) { lsVO.LangType = "010202"; } lsVO.lsValue.chrClsCd = lsVO.lsValue.chrClsCd == "" ? lsVO.LangType : lsVO.lsValue.chrClsCd; // 현행일 경우 3단비교 보여주고 그 외엔 숨김 eventObj.topBtn.getViewBtn({ id: 'thdLsView' ,dpYnFunc: function() { return $("#nwYn").val() == 'Y' ? true : false; } }); if(netPrivateYn == 'N'){ if($("#viewCls").val() == "lsInfoP" || $("#viewCls").val() == "engLsInfoR" || $("#viewCls").val() == "" && $("#efDvPop").val() != "Y"){ $('#west-toggler').click(); } } //모달창 open 여부 결정 checkReferrer(); }); //모달창 open 여부 결정 function checkReferrer(){ try{ var referrer = window.parent.document.referrer; var domain = "law.go.kr".toUpperCase(); var nwYn = 'Y'; var rrClsCd = '110402'; var apiGubun = ''; var existLsIdCnt = $('input[id=existLsIdCnt]').val(); if(apiGubun == 'api'){ referrer = window.location.href; } if( !referrer ){ closeInfoPModal(); } else { var hostName = referrer.split('/')[2]; var viewCls = getViewClsFromUrl(referrer); if( hostName.toUpperCase().indexOf(domain) > -1 && apiGubun != 'api'){ closeInfoPModal(); } else { if( nwYn == "Y" ){ closeInfoPModal(); } else if ( rrClsCd == "110404" || rrClsCd == "110407" || rrClsCd == "110410" ) { //폐지여부체크 closeInfoPModal(); } else { if( !viewCls || viewCls == "lsInfoP" ){ viewCls = getViewClsFromUrl(location.href); if( !viewCls || viewCls == "lsInfoP" ){ modal('lsInfoPModal', '이 법은 현행이 아닙니다.', 'LsCurMove' , '현행법령이동', existLsIdCnt); } else { closeInfoPModal(); } } else { closeInfoPModal(); } } } } }catch(e){ console.log(e); closeInfoPModal(); } } function getViewClsFromUrl(url){ var parser = document.createElement("a"); parser.href = url; var search = parser.search.substring(1); var viewCls = ""; if(search){ viewCls = getUrlParam(search, "viewCls"); } return viewCls; } function getUrlParam(search, paramName){ var paramValue = ""; var params = search.split("&"); var searchParams = {}; for(var i=0; i < params.length; i++){ var searchParam = params[i].split("="); searchParams[searchParam[0]] = searchParam[1]; } if( searchParams[paramName] ){ paramValue = searchParams[paramName]; } return paramValue; } function imgDisplay(){ var img = document.getElementById("oldAndNewImg"); if(img != null){ img.style.display = "none"; } } /** * 본문 이외의 정보 조회 (신구법, 제개정문 등) * @author brKim * @since 2017. 10. 11. * @param url * @param tmpLsiSeq */ function sideInfo(url, tmpLsiSeq) { $("#leftSlideImg").show(); // LUM // 제정·개정문 제정·개정 이유만 보여줄경우에 파라미터 넘겨줘서 구분. if (url =='lsRvsOnlyDocInfoR') { lsVO.lsValue.lsRvsGubun = "Doc"; url = "lsRvsDocInfoR"; } else if (url =='lsRvsOnlyRsnInfoR') { lsVO.lsValue.lsRvsGubun = "Rsn"; url = "lsRvsDocInfoR"; } else { lsVO.lsValue.lsRvsGubun = ""; } var seq = ""; try { if (tmpLsiSeq) { seq = tmpLsiSeq; } else { seq = el("lsiSeq").value; } } catch(e) { seq = ""; } if (el("popCheckBox") && el("popCheckBox").checked) { lsVO.openPopValue.popMode = url; fPopContent(); return ""; } if (seq != "") { if (url == 'lsOldAndNew' || url.indexOf('lsOldAndNew') > -1) { if (url.indexOf('Prev') > -1) { lsVO.lsValue.lsId = el("prevLsId").value; lsVO.lsValue.ancYd = el("prevAncYd").value; lsVO.lsValue.ancNo = el("prevAncNo").value; } else if(url.indexOf('Next') > -1){ lsVO.lsValue.lsId = el("nextLsId").value; lsVO.lsValue.ancYd = el("nextAncYd").value; lsVO.lsValue.ancNo = el("nextAncNo").value; } else { lsVO.lsValue.lsId = el("lsId").value; lsVO.lsValue.ancYd = el("ancYd").value; lsVO.lsValue.ancNo = el("ancNo").value; } url = 'lsOldAndNew'; document.getElementById("subTitle").style.display = "none"; document.getElementById("viewMode").style.display="block"; } else { lsVO.lsValue.lsId = ""; lsVO.lsValue.ancYd = ""; lsVO.lsValue.ancNo = ""; document.getElementById("subTitle").style.display = "block"; document.getElementById("viewMode").style.display="none"; } setPopValue(url); lsVO.bdyUpdValue.updateContentNm = url; // 인쇄 저장시 출력 구분하기 위한 lsVO.lsValue.lsiSeq = seq; lsVO.conValue.bdyMode = false; lsVO.updateValue.updateDiv = "bodySideContent"; lsVO.updateValue.actionUrl = url + ".do"; lsVO.updateValue.updateMode = "sideContent"; lsVO.bdyUpdValue.updateDiv = ""; if (el("efYd")) { lsVO.lsValue.efYd = el("efYd").value; } if (url == "lsChgJoInfoR") { var lsefyd = lsVO.openPopValue.lsJoEfYdSeq; if(lsefyd == ''){ lsVO.openPopValue.lsJoEfYdSeq = 0; } fLsUpdate(lsVO.updateValue.updateDiv, lsVO.updateValue.actionUrl, makeParam(lsVO.lsValue) + "&lsJoEfYdSeq=" + lsVO.openPopValue.lsJoEfYdSeq, lsVO.updateValue.updateMode); } else { fLsUpdate(lsVO.updateValue.updateDiv, lsVO.updateValue.actionUrl, makeParam(lsVO.lsValue), lsVO.updateValue.updateMode); } } else { alert(lsVO.msg); } // 본문, 영문본문 토글 if (url == "engLsInfoR") { var $btnTitle = $('#bdyBtnKO').text(); $btnTitle = $btnTitle.substring(1,3); if ($btnTitle == '한글') { $('#bdyBtnKO').text('(한글)본문'); } else { $('#bdyBtnKO').text('(영문)본문'); } } /** setHeadTitle 2010 11 05 **/ var headTtl = el("lsNm").value; if(url == 'lsOldAndNew') { setHeadTitle("법령 > 신구조문대비표" + " - " + headTtl); } else if(url == 'lsRvsDocInfoR') { setHeadTitle("법령 > 제정·개정문" + " - " + headTtl); } else if(url == 'engLsInfoR') { setHeadTitle("영문법령 > 본문" + " - " + headTtl); } } /** * <pre> * 법령 팝업 UPDATE * </pre> * @author brKim * @since 2017. 7. 6. * @param divLayId * @param urlName * @param parameter * @param mode @author : 옥지훈 @history : 신구법 팝업 창에서 안내 풍선말 사라지지않는현상 처리 원인:setTimeout함수를 잘못사용함. (#11066 신구법비교스타일개선) */ function oldAndNewImgHide(){ document.getElementById("oldAndNewImg").style.display = 'none'; } function fLsUpdate(divLayId, urlName, parameter, mode) { if (urlName =='lsOldAndNew.do') { var oldAndNewImg = document.getElementById("oldAndNewImg"); if (oldAndNewImg != null && oldAndNewImg != "" ) { var north = document.getElementById("north-top"); if (north != null) { document.getElementById("north-top").style.zIndex=999; } oldAndNewImg.style.left = 240 + "px"; oldAndNewImg.style.top = 65 + "px"; oldAndNewImg.style.display = ""; setTimeout("oldAndNewImgHide()",4000); document.getElementById("subTitle").style.display = "none"; document.getElementById("viewMode").style.display = "block"; } } else { document.getElementById("viewMode").style.display = "none"; document.getElementById("subTitle").style.display = "block"; var img = document.getElementById("oldAndNewImg"); if (img != null) { img.style.display = "none"; } } lsDpInitialize(mode); if (divLayId != 'lsOutPutLayer') { // print일때는 mask안함 layoutLoadMask(divLayId); } if (urlName == 'lsInfoR.do' && parameter.indexOf("_") > 0) { urlName = "lsEfInfoR.do"; lsVO.openPopValue.lsJoEfYdSeq = parameter.split("_")[1]; parameter = parameter.replace("_", "&lsJoEfYdSeq="); parameter += "&nwJoYn=1"; lsVO.openPopValue.lsEfYn = true; lsVO.openPopValue.lsEfSeq = parameter; } else if (urlName == 'lsOutPutLayer.do' && parameter.indexOf("_") > 0) { lsVO.openPopValue.lsJoEfYdSeq = parameter.split("_")[1]; parameter = parameter.replace("_", "&lsJoEfYdSeq="); parameter += "&nwJoYn=1"; lsVO.openPopValue.lsEfYn = true; lsVO.openPopValue.lsEfSeq = parameter; } else { lsVO.openPopValue.lsEfYn = false; lsVO.openPopValue.lsEfSeq = ""; } $.ajax({ url: urlName ,timeout: 240000 // 240 seconds ,data: parameter ,dataType: "html" ,method: "POST" ,success: function(responseText) { /* * 본문 출력 * IE8에서만 html 사용할 시 responseText안에 독타입이 들어가 있을 경우 * div안에 responseText가 들어가지 않아 일단 분기 처리 * 추후 개선에서 웹접근성&호환성 적용 시 제거할 예정 */ if ($.browser.isIE8) { document.getElementById(divLayId).innerHTML = responseText; } else { $('#'+divLayId).html(responseText); } if (mode == "lsBdy") { lsVO.bdyType = mode; lsVO.bdyUpdValue.updateContentNm = mode; $("#bodyContentTOP").css('display', 'block'); $("#bodySideContent").css('display', 'none'); // 연혁 및 별표/서식이 없을 경우 숨기기 eventObj.topBtn.getViewBtn({ id: 'hstView' ,dpYnFunc: function() { return $('#hstLnkDpYn').val() == '0'; } },{ id: 'bylView' ,dpYnFunc: function() { return $('#bylLnkDpYn').val() == '0'; } }); } else { if (mode == 'output' || mode == 'tts') { $("#bodyContentTOP").css('display', 'block'); $("#bodySideContent").css('display', 'none'); } else { $("#bodyContentTOP").css('display', 'none'); $("#bodySideContent").css('display', 'block'); } } // 상단 버튼 view 여부 isBtnView(lsVO.bdyUpdValue.updateContentNm); // 화면 리사이징 customResizePop(); if (mode == "output") { if (lsVO.lsValue.joChgYn == 'Y') { // 변경조문 목록 요청 getLsJoOutPutList('outPutJoListDiv', '5', '1', el('lsiSeq').value); } else { getJoOutPutList('outPutJoListDiv', '99', '1', el('lsiSeq').value); } } if (mode == "tts") { makeTtsLayer(); } if (urlName.indexOf("lsOldAndNew") > -1) { //-- 사이드 메뉴가 열려있으면 content네임을 신구법으로 변경해준다. lsVO.bdyUpdValue.updateContentNm = "lsOldAndNew"; setElHeight("oldAndNewDiv", $("#bodyId").height() - 70); // 신조문의 글씨색을 파란색으로 변경해준다. var agent = navigator.userAgent.toLowerCase(); if ( (navigator.appName == 'Netscape' && navigator.userAgent.search('Trident') != -1) || (agent.indexOf("msie") != -1) ) { $('[style="padding: 0px; border-right-color: currentColor; border-right-width: 0px; border-right-style: none;"] span[style="color: rgb(255, 0, 0);').css('color','rgb(0, 0, 205)'); }else { $('[style="border-right:0;padding:0 0 0 0;"] span[style="color:#ff0000;"]').css('color','#0000cd'); } } // 부칙 / 별표서식 모두 닫기 //setLsExtraDivs(); // 24.05.23 시각장애인협회 웹접근성 검토의견 조치 - 범위설정,용지/폰트설정 상위탭 선택 정보 인식 if (divLayId == 'lsOutPutLayer') { el("maClsBtn").focus(); } if (divLayId != 'lsOutPutLayer') { layoutUnMask(divLayId); } } ,error: function(e) { layoutUnMask(divLayId); } }); } function lsViewLsHst(seq){ window.location.href = "lsInfoP.do?lsiSeq=" + seq; } function fBtnLsSystem(){ if(lsVO.lsValue.lsiSeq != ""){ f_lsSystem('ls',lsVO.lsValue.lsiSeq); } else { alert("msg"); } } function bdySavePrint11(mode,obj,xValue){ if(lsVO.lsValue.lsiSeq != ""){ //fSlimUpdate("lsOutPutLayer","lsOutPutLayer.do",makeParam(lsVO.lsValue)); fLsUpdate("lsOutPutLayer","lsOutPutLayer.do",makeParam(lsVO.lsValue)+ "&mode=" + mode,'output'); LsPopLayer.showLsOutPutLayer(obj,0); } else { alert(lsVO.msg); } } function bdySavePrint(mode,obj,xValue){ // LUM 3단비교 부가가치세법 비교 저장,인쇄 예외처리 if($("#JoCmpNew1") != null && $("#JoCmpNew1").attr("class") == "on"){ alert("조문연계3단비교는 저장, 인쇄기능을 제공하지않습니다."); return false; } if($("#JoCmpNew2") != null && $("#JoCmpNew2").attr("class") == "on"){ alert("조문연계3단비교는 저장, 인쇄기능을 제공하지않습니다."); return false; } // LUM 3단비교 부가가치세법 비교 저장,인쇄 예외처리 var bdyContentNm = lsVO.bdyUpdValue.updateContentNm; if(lsVO.lsValue.lsiSeq != ""){ if(bdyContentNm == 'lsBdy' || bdyContentNm == 'lsJoBdy' || bdyContentNm == 'lsJoAllBdy' || bdyContentNm == 'lsChgJoInfoR'){ if(bdyContentNm == 'lsChgJoInfoR'){ lsVO.lsValue.joChgYn = 'Y'; } //법령 저장시 시행예정조문 여부 체크 if($(".babl").length > 0) { lsVO.lsValue.efLsGubun = 'Y'; } else { lsVO.lsValue.efLsGubun = ''; } fLsUpdate("lsOutPutLayer","lsOutPutLayer.do",makeParam(lsVO.lsValue) + "&mode=" + mode ,'output'); LsPopLayer.showLsOutPutLayerNew(obj, mode); } else { var contentNm = ""; if(bdyContentNm == "engLsInfoR"){ contentNm = "영문법령"; } else if(bdyContentNm == "lsRvsDocInfoR"){ contentNm = "개정문"; } else if(bdyContentNm == "lsRvsDocInfoR"){ contentNm = "개정이유"; } else if(bdyContentNm == "lsOgCorInfoR"){ contentNm = "관보정정"; } else if(bdyContentNm == "lsOldAndNew"){ contentNm = "신구조문대비표"; titleNm1 = $("#tmpWidth2").html(); titleNm2 = $("#tmpWidth3").html(); } else if(bdyContentNm == "thdCmp"){ var thdCmpLsSeq = el('thdCmpLsSeq').value; var thdCmpCls = el('thdCmpCls').value; var thdUrl = ""; if(el('LsCmp').className == 'on'){ if(mode == 0){ listLsSave('LSTmp', thdCmpLsSeq, thdCmpCls, getLsId(), obj); } else { thdUrl = "thdCmpLsInfoPrint.do?thdCmpLsSeq="+thdCmpLsSeq+"&thdCmpCls="+thdCmpCls+"&lsId="+getLsId(); openScrollPop(thdUrl); } } else if(el('JoCmp').className == 'on'){ lsThdCmpNewJoAllSave('JONEW', thdCmpLsSeq, thdCmpCls, getLsId(), obj,mode); }else{ if(mode == 0){ listLsSave('JO', thdCmpLsSeq, thdCmpCls, getLsId(), obj); } else { thdUrl = "thdCmpJoAllInfoPrint.do?thdCmpLsSeq="+thdCmpLsSeq+"&thdCmpCls="+thdCmpCls+"&lsId="+getLsId(); openScrollPop(thdUrl); } } return false; } else if (bdyContentNm == "thdCmpNew") { // LUM 3단비교 대상 법령 없음 처리 Start if($("#isLumThdCmp").val() == "N") { alert("3단비교 대상 법령이 없습니다."); return false; } // LUM 3단비교 대상 법령 없음 처리 End var thdCmpLsSeq = el('thdCmpLsSeq').value; var thdCmpCls = el('thdCmpCls').value; var thdUrl = ""; if(el('LsCmp').className == 'on'){ if (mode == 0) { listLsSave('LSNEW', thdCmpLsSeq, thdCmpCls, getLsId(), obj); } else { thdUrl = "thdCmpNewLsInfoPrint.do?thdCmpLsSeq="+thdCmpLsSeq+"&thdCmpCls="+thdCmpCls+"&lsId="+getLsId(); openScrollPop(thdUrl); } } else if(el('JoCmp').className == 'on'){ lsThdCmpNewJoAllSave('JONEW', thdCmpLsSeq, thdCmpCls, getLsId(), obj,mode); }else{ if(mode == 0){ listLsSave('JO', thdCmpLsSeq, thdCmpCls, getLsId(), obj); } else { thdUrl = "thdCmpNewJoAllInfoPrintPHtml.do?thdCmpLsSeq="+thdCmpLsSeq+"&thdCmpCls="+thdCmpCls+"&lsId="+getLsId(); openScrollPop(thdUrl); } } return false; } // LUM 3단비교, 법령단위비교 저장 인쇄 처리 Start else if(bdyContentNm == "lumThdCmp"){ if(!document.getElementById("tbodyTable")){ alert("3단비교 대상 법령이 없습니다."); return false; } var lsId = $("#lsId", $("#printForm")).val(); var thdCmpCls = $("#lsThdCmpCls", $("#printForm")).val(); var t1RlatSeq = $("#t1LsThdCmpRlatLsSeq", $("#printForm")).val(); var t2RlatSeq = $("#t2LsThdCmpRlatLsSeq", $("#printForm")).val(); var t3RlatSeq = $("#t3LsThdCmpRlatLsSeq", $("#printForm")).val(); var edtGb = $("#thdCmpEdtGb", $("#printForm")).val(); var usrThdCmpSeq = $("#usrThdCmpSeq", $("#printForm")).val(); lumThdCmpSave(lsId, thdCmpCls, t1RlatSeq, t2RlatSeq, t3RlatSeq, edtGb, usrThdCmpSeq, obj,mode); return false; } else if(bdyContentNm == "lumThdCmpSc"){ var lsId = $("#lsId", $("#printForm")).val(); // 3단비교 XML 서비스 전환시 해제 var thdCmpCls = $("#lsThdCmpCls", $("#printForm")).val(); var t1RlatSeq = $("#t1LsThdCmpRlatLsSeq", $("#printForm")).val(); var t2RlatSeq = $("#t2LsThdCmpRlatLsSeq", $("#printForm")).val(); var t3RlatSeq = $("#t3LsThdCmpRlatLsSeq", $("#printForm")).val(); var edtGb = $("#thdCmpEdtGb", $("#printForm")).val(); var usrThdCmpSeq = $("#usrThdCmpSeq", $("#printForm")).val(); var prslPrintId = $("#prslId").val(); var prmlPrintId = $("#prmlId").val(); if(mode == 0){ // 저장 lumThdCmpScSave(lsId, thdCmpCls, t1RlatSeq, t2RlatSeq, t3RlatSeq, edtGb, usrThdCmpSeq, obj); } else { // 인쇄 thdUrl = "lumThdCmpScPrintXml.do" + "?lsId=" + lsId + "&lsThdCmpCls=" + thdCmpCls + "&t1LsThdCmpRlatLsSeq=" + t1RlatSeq + "&t2LsThdCmpRlatLsSeq=" + t2RlatSeq + "&t3LsThdCmpRlatLsSeq=" + t3RlatSeq + "&thdCmpEdtGb=" + edtGb + "&usrThdCmpSeq=" + usrThdCmpSeq + "&chrClsCd=" + sParam.chrClsCd + "&prslId=" + prslPrintId + "&prmlId=" + prmlPrintId; openScrollPop(thdUrl); } return false; /* var lsId = $("#lsId", $("#printForm")).val(); var thdCmpCls = $("#lsThdCmpCls", $("#printForm")).val(); var t1RlatSeq = $("#t1LsThdCmpRlatLsSeq", $("#printForm")).val(); var t2RlatSeq = $("#t2LsThdCmpRlatLsSeq", $("#printForm")).val(); var t3RlatSeq = $("#t3LsThdCmpRlatLsSeq", $("#printForm")).val(); var edtGb = $("#thdCmpEdtGb", $("#printForm")).val(); var usrThdCmpSeq = $("#usrThdCmpSeq", $("#printForm")).val(); if(mode == 0){ // 저장 lumThdCmpScSave(lsId, thdCmpCls, t1RlatSeq, t2RlatSeq, t3RlatSeq, edtGb, usrThdCmpSeq, obj); } else { // 인쇄 thdUrl = "lumThdCmpScPrintHtml.do" + "?lsId=" + lsId + "&lsThdCmpCls=" + thdCmpCls + "&t1LsThdCmpRlatLsSeq=" + t1RlatSeq + "&t2LsThdCmpRlatLsSeq=" + t2RlatSeq + "&t3LsThdCmpRlatLsSeq=" + t3RlatSeq + "&thdCmpEdtGb=" + edtGb + "&usrThdCmpSeq=" + usrThdCmpSeq + "&chrClsCd=" + sParam.chrClsCd; openScrollPop(thdUrl); } return false; */ } // LUM 3단비교, 법령단위비교 저장 인쇄 처리 End // 위임법령 3단비교 저장 및 인쇄 처리 else if(bdyContentNm == "lsPtnThdCmp"){ var lsPtnThdTable = document.getElementById("tbodyTable"); var lsId = $("#searchLsId").val(); var highLsId = $("#highLsId").val(); if (!lsPtnThdTable) { alert("3단비교 대상법령이 없습니다."); return; }else{ lsPtnThdCmpSave(lsId,highLsId, obj, mode); } return false; } // 위임법령 3단비교 저장 및 인쇄 처리 END if (mode == 0) { var goUrl = lsVO.updateValue.actionUrl; if(bdyContentNm == "lsRvsDocInfoR"){ goUrl = "lsRvsHwpSave.do"; }else if(bdyContentNm == "engLsInfoR"){ goUrl = "engLsInfoR.do"; }else{ goUrl = "lsRvsDocInfoR.do"; } if(bdyContentNm == "lsOldAndNew"){ goUrl = "lsOldAndNewSave.do"; LsOldAndNewSave( goUrl, obj, lsVO.lsValue); } else { if(goUrl == "engLsInfoR.do") { EngLsContentSave( goUrl, obj, lsVO.lsValue); } else { LsContentSave( goUrl, obj, lsVO.lsValue); } } return true; } if (bdyContentNm == "lsOldAndNew") { openScrollPop("lsSideInfoPrint.do?contentNm=" + encodeURIComponent(contentNm) + "&titleNm1=" + encodeURIComponent(titleNm1) + "&titleNm2=" + encodeURIComponent(titleNm2)); } else { openScrollPop("lsSideInfoPrint.do?contentNm=" + encodeURIComponent(contentNm)); } } } else { alert(lsVO.msg); } } /** * @param mode * @param obj * @param xValue * @param lang * @returns {Boolean} */ function bdyTtsLayer(mode, obj) { if(lsVO.lsValue.lsiSeq == '' && el("lsiSeq")){ lsVO.lsValue.lsiSeq = el("lsiSeq").value; } if(lsVO.lsValue.chrClsCd != "010202") { alert('한글만 음성지원이 가능합니다.'); return false; } var bdyContentNm = lsVO.bdyUpdValue.updateContentNm; if (lsVO.lsValue.lsiSeq != "") { if (bdyContentNm == 'lsBdy' || bdyContentNm == 'lsJoBdy' || bdyContentNm == 'lsJoAllBdy' || bdyContentNm == 'lsChgJoInfoR') { if (bdyContentNm == 'lsChgJoInfoR') { lsVO.lsValue.joChgYn = 'Y'; } if (bdyContentNm == 'lsJoAllBdy' || bdyContentNm == 'lsJoBdy') { lsVO.lsValue.joBdyYn = 'Y'; lsVO.lsValue.efYd = el("efYd").value; } else { lsVO.lsValue.joBdyYn = ''; } setSpeechKeyElement(); fLsUpdate("lsTtsLayer", "lsTtsLayer.do", makeParam(lsVO.lsValue) + "&mode=" + mode, 'tts'); LsPopLayer.showLsTtsLayer(obj, mode); }else{ alert("음성지원은 본문만 지원합니다."); } } else { alert(lsVO.msg); } } function bdyPrint(mode){ if(mode == 'pdf'){ openPop("lsPdfPrint.do?lsiSeq=" + el("lsiSeq").value); } else if(mode == 'hwp'){ el("lsBdyLsiSeq").value = el("lsiSeq").value; el("lsBdySaveChrCls").value = el("lsBdyChrCls").value; var frm = el("bdyPrintForm"); frm.action = "lsHwpSave.do"; frm.target = "_self"; frm.submit(); } else { openPop("lsRtfPrint.do?lsiSeq=" + el("lsiSeq").value); } bdySavePrint(); } function setListClass(obj){ if(obj.id != lsVO.conValue.preChkId){ obj.className = ""; } else { obj.className = "on"; } } var tmpShowHideCls = true; function setPopCheckBox(obj){ el("popCheckBox").checked = obj.checked; } // 관련사례 목록조회 팝업 function lsEmpList(empCls){ var lsiId = getLsId(); if(lsiId != null){ var ancYd = el("ancYd").value; var ancNo = el("ancNo").value; if( empCls == "prec") openScrollPopM("conLsPrecInfoP.do?lsiSeq="+el("lsiSeq").value+"&lsId="+lsiId+"&ancYd="+ancYd+"&ancNo="+ancNo+"&resultMode="+empCls); else if( empCls == "decc") openScrollPopM("conLsDeccInfoP.do?lsiSeq="+el("lsiSeq").value+"&lsId="+lsiId+"&ancYd="+ancYd+"&ancNo="+ancNo+"&resultMode="+empCls); else if( empCls == "detc") openScrollPopM("conLsDetcInfoP.do?lsiSeq="+el("lsiSeq").value+"&lsId="+lsiId+"&ancYd="+ancYd+"&ancNo="+ancNo+"&resultMode="+empCls); else if( empCls == "expc") openScrollPopM("conLsExpcInfoP.do?lsiSeq="+el("lsiSeq").value+"&lsId="+lsiId+"&ancYd="+ancYd+"&ancNo="+ancNo+"&resultMode="+empCls); } else { alert(msg); } } function bookmark(){ var title = el("lsNm").value; var No = el("ancNo").value; //var gourl = location.href; // /법령/자동차관리법/(8358) var gourl = "http://" + location.host + "/법령/" + Space_All(title) +"/("+Space_All(No)+")";; lawBookmark(title, gourl); } /* title 지정 */ function popChk(){ if(el("popCheckBox").checked == false){ el("bdyBtnKO").title = ""; el("lsRvsDocInfo").title = ""; el("thdLsView0").title = ""; el("lsOldAndNew0").title = ""; }else{ el("bdyBtnKO").title = "팝업으로 이동"; el("lsRvsDocInfo").title = "팝업으로 이동"; el("thdLsView0").title = "팝업으로 이동"; el("lsOldAndNew0").title = "팝업으로 이동"; } } /* * 영문연혁 팝업 */ function lsViewEngLsHst(seq, chrClsCd){ LsPopLayer.hiddenLsHstLayer(); var chrClsCd = chrClsCd!=undefined ? chrClsCd : lsVO.LangType; openPop("lsInfoP.do?lsiSeq=" + seq + "&chrClsCd=" + chrClsCd + "&urlMode=engLsInfoR&viewCls=engLsInfoR", 1040); } /* * 이미지 팝업 */ function fLawImgMake(url){ opencenterScroll(url,'600','300'); } function bfCmp(no, lsJoEfYdSeq1, lsJoEfYdSeq2, divNo) { var cnt = el("joHstInfoHong").value; var diffMap = []; var startDiv = ""; var endDiv = ""; if(typeof divNo != "undefined") { //이전과비교 버튼 클릭 시 if(cnt == 2) { return; } $('[id^="hhhong1"]').hide(); //이전과비교 시 비교되지않은 초기 내용 표시(hhhong2로 시작하는 div가 초기 데이터) $('[id^="hhhong2"]').show(); startDiv = divNo-1; //이전과비교를 클릭한 영역 endDiv = divNo; for(var i=startDiv;i<=endDiv;i++) { var cmpStr = []; var pCnt = $("#hhhong2" + (divNo-1) + " div p").length; var pCnt2 = $("#hhhong2" + divNo + " div p").length; var totCnt = pCnt; if(pCnt2 > pCnt) { totCnt = pCnt2; } for(var j=0; j<totCnt; j++) { //각 행의 내용을 배열에 푸시 cmpStr.push($("#hhhong2" + i + " div p:nth("+j+")").html()); } diffMap.push(cmpStr); //행의내용을 담은 리스트를 다른 배열에 푸시 } }else { for (var i = 0; i < cnt; i++) { if (eval(el("hhhong1" + i)) != null) eval(el("hhhong1" + i)).style.display = "inline"; if (eval(el("hhhong2" + i)) != null) eval(el("hhhong2" + i)).style.display = "none"; if (eval(el("hhhong3" + (i + 1))) != null) eval(el("hhhong3" + (i + 1))).style.display = "none"; if(cnt == 1) { return; } startDiv = cnt-2; endDiv = cnt-1; if(i < cnt && i >= cnt-2) { //마지막 조문과 바로 전 조문 비교 var cmpStr = []; var pCnt = $("#hhhong1" + i + " div p").length; for(var j=0; j<pCnt; j++) { cmpStr.push($("#hhhong1" + i + " div p:nth("+j+")").html()); } diffMap.push(cmpStr); } $("#hhhong2"+i).html($("#hhhong1"+i).html()); } } var size = diffMap[1].length; if(diffMap[0].length > diffMap[1].length) { size = diffMap[0].length; } for(var j=0; j<size; j++) { var cmp1 = diffMap[0][j]; var cmp2 = diffMap[1][j]; if(diffMap[0][j] == null) { cmp1 = ""; } if(diffMap[1][j] == null) { cmp2 = ""; } var dmp = new diff_match_patch(); var diffStr1 = cmp1; var diffStr2 = cmp2; if(j==0) { //조문제목은 제외하고 비교 diffStr1 = cmp1.split("</span>")[1]; diffStr2 = cmp2.split("</span>")[1]; } diffStr1 = diffStr1.replace(/ㆍ/g,"·"); diffStr2 = diffStr2.replace(/ㆍ/g,"·"); var cmpData1 = diffStr1; var cmpData2 = diffStr2; var joPattenStr1 = ""; var joPattenStr2 = ""; //아래패턴에 해당되는 내용은 잘라내어 비교하지않음 if(diffStr1.match(/<(개정|改正|신설|본조신설|이동|[0-9])/g)) { cmpData1 = diffStr1.split('<')[0]; joPattenStr1 = "<span class=\"sfon\"><"+diffStr1.split('<')[1]; }else if(diffStr1.match(/&lt;(개정|改正|신설|본조신설|이동|[0-9])/g)) { cmpData1 = diffStr1.split('&lt;')[0]; joPattenStr1 = "<span class=\"sfon\"><"+diffStr1.split('&lt;')[1]; } if(diffStr2.match("/<(개정|改正|신설|본조신설|이동)(.*?)/g") > -1) { cmpData2 = diffStr2.split('<')[0]; joPattenStr2 = "<span class=\"sfon\"><"+diffStr2.split('<')[1]; }else if(diffStr2.match("/&lt;(개정|改正|신설|본조신설|이동)(.*?)/g") > -1) { cmpData2 = diffStr2.split('&lt;')[0]; joPattenStr2 = "<span class=\"sfon\"><"+diffStr2.split('&lt;')[1]; } var diff = dmp.diff_main(cmpData1, cmpData2); dmp.diff_cleanupSemantic(diff); var diffSen = dmp.diff_prettyHtml(diff); var diffSen2 = diffSen; /* * 두개의 비교대상 중 앞에 조문을 기준으로 다른부분은 ins 태그로 표시되고 뒤의 조문을 기준으로 다른부분은 del 태그로 표시되기때문에 * 뒤에조문에 차이를 표시할때는 del 부분을 삭제해주고 앞에조문에 차이를 표시할때는 ins부분을 삭제해 줌. */ diffSen = diffSen.replace(/<del style="background:#ffe6e6;">(.*?)<\/del>/gi,"")//del문구 삭제 diffSen = diffSen.replace(/<span>/g,""); diffSen = diffSen.replace(/<\/span>/g,""); diffSen = diffSen.replace(/</g,'<').replace(/>/g,'>'); diffSen = diffSen.replace(/&nbsp;/g,' '); diffSen2 = diffSen2.replace(/<ins style="background:#e6ffe6;">(.*?)<\/ins>/gi,"")//ins문구 삭제 diffSen2 = diffSen2.replace(/<span>/g,""); diffSen2 = diffSen2.replace(/<\/span>/g,""); diffSen2 = diffSen2.replace(/</g,'<').replace(/>/g,'>'); diffSen2 = diffSen2.replace(/&nbsp;/g,' '); diffSen = diffSen.replace(/<ins style="background:#e6ffe6;">(\d+)<\/ins>/g,"$1"); diffSen2 = diffSen2.replace(/<del style="background:#ffe6e6;">(\d+)<\/del>/g,"$1"); //첫번째 항일경우엔 조문명을 앞에 붙여줌 if(j==0) { $("#hhhong1"+endDiv+" > div > p:nth("+j+")").html(cmp2.split("</span>")[0] + "</span>"+ diffSen + joPattenStr2); $("#hhhong1"+startDiv+" > div > p:nth("+j+")").html(cmp1.split("</span>")[0] + "</span>"+ diffSen2 + joPattenStr1); }else { $("#hhhong1"+endDiv+" > div > p:nth("+j+")").html(diffSen + joPattenStr2); $("#hhhong1"+startDiv+" > div > p:nth("+j+")").html(diffSen2 + joPattenStr1); } //차이부분 스타일변경 $("ins").css("background-color","#e0e0e0"); $("ins").css("color","#ff0000"); $("del").css("background-color","#e0e0e0"); $("del").css("color","#ff0000"); $("del").css("text-decoration","underline"); //sfon태그 부분은 차이 표시안되도록 스타일 변경 $(".sfon").css("background-color","#fff"); $(".sfon").css("color","#024fce"); $(".sfon").parent().css("text-decoration","none"); $(".sfon").children().css("background-color","#fff"); $(".sfon").children().css("color","#024fce"); $(".sfon").children().css("text-decoration","none"); } //이전과비교일경우에는 hhhong1으로 시작되는 div(비교된 div) 표시 if(typeof divNo != "undefined") { $("#hhhong1"+startDiv).show(); $("#hhhong2"+startDiv).hide(); $("#hhhong1"+endDiv).show(); $("#hhhong2"+endDiv).hide(); } document.body.style.cursor = "default"; } function interestLaw(){ var pDivision = 'II'; var pApplicationId = 1; var pListName = 'interest'; var pTitle = el("lsNm").value; var pLsId = el("lsId").value; var pAncNo = el("ancNo").value; var pLsiSeq = lsVO.lsValue.lsiSeq; var pEfYd = el("efYd").value; var pKndClsCd = '010101'; var pGourl = "http://" + location.host + "/법령/"+ Space_All(pTitle)+"/("+Space_All(pAncNo)+")";;; var pFolderName = "법령"; if('null' != 'null'){ interestLawSave(pDivision, pApplicationId, pListName, pTitle, pLsId, pAncNo, pLsiSeq, pEfYd, pKndClsCd, pGourl, pFolderName); } else { document.location.href = "/login.do??menuId=6"; } } function s_layoutMove(f_type){ if(!f_type) { document.getElementById("Maximize").style.display = 'none'; document.getElementById("Minimize").style.display = ''; jo_show('H'); } else { document.getElementById("Maximize").style.display = ''; document.getElementById("Minimize").style.display = 'none'; jo_show('S'); } } var jo_div = new Array(); var jo_divlen = 0; var modalwindowDoc; var gAllHTML1 = "", gAllHTML2 = ""; function logdiv_write(s1){ return; var s = document.getElementById("logdiv").innerHTML; s = s+ "<BR/>" + s1 ; document.getElementById("logdiv").innerHTML = s; } function jo_show(ptype) { var iPos=0; var oObj = document.getElementsByName('njx'); for( iPos=0; iPos < oObj.length; iPos++) { if(ptype=="S") oObj[iPos].style.display = "inline"; if(ptype=="H") oObj[iPos].style.display = "none"; } } function jo_changeALL(pStype,lsID) { // 새로운 조번호로 변경 jo_change_reg('O', pStype, 1 ); jo_change_reg('R', pStype, 2 ); // LUM 3단비교 개선 innerHTML기능 재구현 Start $("div[id='thdCmpTab']").find("a").each(function() { $(this).removeClass(); }); if(pStype == '1') $("#JoCmpNew1").addClass("on"); if(pStype == '2') $("#JoCmpNew2").addClass("on"); // LUM 3단비교 개선 innerHTML기능 재구현 End } function jo_cvt(pType, pJoStr ) { var jo_O_data = new Array( "", "1-1" , "2-1" , "2-2" , "2-3" , "2-4" , "5-1" , "5-2" , "6-1" , "6-2" , "6-3" , "8-1" , "8-2" , "8-3" , "8-4" , "8-5" , "8-6" , "8-7" , "9-1" , "10-1" , "10-2" , "10-3" , "10-4" , "10-5" , "10-6" , "11-1" , "12-1" , "13-1" , "15-1" , "16-1" , "17-1" , "21-1" , "23-1" , "24-1" , "26-1" , "26-2" , "26-3" , "26-4" , "26-5" , "26-6" , "26-7" , "26-8" , "26-9" , "26-10" , "26-11" , "26-12" , "26-13" , "26-14" , "26-15" , "27-1" , "27-2" , "27-3" , "27-4" , "27-5" , "27-6" , "27-7" , "27-8" , "28-1" , "28-2" , "29-1" , "29-2" , "29-3" , "29-4" , "29-5" , "29-6" , "29-7" , "29-8" , "32-1" , "32-2" , "32-3" , "32-4" , "33-1" , "35-1" , "36-1" , "39-1" , "39-2" , "39-3" , "39-4" , "39-5" , "39-6" , "39-7" , "40-1" , "40-2" , "41-1" , "42-1" , "43-1" , "44-1" , "45-1" , "46-1" , "47-1" , "48-1" , "49-1" , "51-1" , "51-2" , "51-3" , "52-1" , "53-1" , "54-1" , "54-2" , "54-3" , "55-1" , "56-1" , "57-1" , "57-2" , "57-3" , "58-1" , "59-1" , "59-2" , "60-1" , "61-1" , "62-1" , "63-1" , "64-1" , "65-1" , "66-1" , "69-1" , "70-1" , "71-1" , "73-1" , "74-1" , "74-2"); var jo_R_data = new Array( "", "1-1-1" ,"2-2-1" ,"6-1-1" ,"6-1-2" ,"6-1-3" ,"6-1-4" ,"6-2-1" ,"6-3-1" ,"8-1-1" ,"8-3-1" ,"8-4-1" ,"8-4-2" ,"8-4-3" ,"8-7-1" ,"9-1-1" ,"10-5-1" ,"15-1-1" ,"15-1-2" ,"16-1-1" ,"16-1-2" ,"21-1-1" ,"24-1-1" ,"24-1-2" ,"26-1-1" ,"26-4-1" ,"26-5-1" ,"26-7-1" ,"26-7-2" ,"26-9-1" ,"26-9-2" ,"26-9-3" ,"26-9-4" ,"26-9-5" ,"26-12-1" ,"26-13-1" ,"26-15-1" ,"27-1-1" ,"27-2-1" ,"27-3-1" ,"27-3-2" ,"27-3-3" ,"27-8-1" ,"27-8-2" ,"28-1-1" ,"28-2-1" ,"29-7-1" ,"29-7-2" ,"29-7-3" ,"32-1-1" ,"32-2-1" ,"32-3-1" ,"33-1-1" ,"36-1-1" ,"40-1-1" ,"41-1-1" ,"42-1-1" ,"43-1-1" ,"43-1-2" ,"44-1-1" ,"45-1-1" ,"47-1-1" ,"48-1-1" ,"51-1-1" ,"51-2-1" ,"51-3-1" ,"52-1-1" ,"54-1-1" ,"55-1-1" ,"56-1-1" ,"59-2-1" ,"61-1-1" ,"64-1-1" ,"65-1-1" ,"66-1-1" ,"70-1-1" ,"71-1-1" ,"73-1-1"); var sJo = ""; //조번호 var sJoNew = ""; //새로운 조번호 var iJo = 0; //조번호 var jo_data; // 배열 if(pType=="O") { // 시행령 jo_data = jo_O_data; } if(pType=="R") { // 시행규칙 jo_data = jo_R_data; } sJo = pJoStr.replace("제","").replace("조",""); sJoNew = "제" + jo_data[parseInt(sJo)] + "조"; return sJoNew } function jo_newHtml(pJoStr, pNewJoStr, pStyle) { var s2=""; var sNewjoHtml = ""; if( pStyle=="1") { s2 = "현행 [" + pJoStr + "]"; sNewjoHtml = "<span class='nj' title='" + s2 +"' >" + pNewJoStr + "</span>"; } if( pStyle=="2") { s2 = "(현행 " + pJoStr + ")"; sNewjoHtml = "<span class='nj' >" + pNewJoStr + s2 + "</span>"; } return sNewjoHtml; } function jo_change_reg(pType, pStyle, pOrder ) { // 정규표현식 조번호 변경 var s1 =""; var sAllHtml =""; //전체 html var sAllHtmlNew =""; // 수정된전체 html var iPos = 0; // 반복용 var sRgExp = ""; // 조제목의 조번호가 포함된 html 를 찾는 정규식 var raHeadHtml ; // 정규식 결과 var sHeadHtml = ""; // 조제목의 조번호가 포함된 html var sHeadHtmlNew = ""; // 조제목의 조번호가 포함된 html var iPosJo = 0; // 반복용 var sRgExpJo = ""; // 조제목의 조번호가 포함된 html 를 찾는 정규식 var raJo ; // 정규식 결과 var sJoStr = "" ; // 조번호가 들어있는 문자 var sNewJoStr= ""; // 변경된 조 var sJoStrEx = ""; // 제외 패턴 var sNewJoHtml =""; // 변경된 최종 조 HTML if( gAllHTML1 == "" ) gAllHTML1 = document.body.innerHTML; sAllHtml = gAllHTML1; if( pOrder==2 ) sAllHtml = gAllHTML2; sAllHtmlNew = sAllHtml; // ------------------------------------------ // ------------------------------------------ 시행령 조제목의 조문번호 변경 // ------------------------------------------ sRgExp = /(#O.*?제[0-9]+조\()/g; if(pType=="O") sRgExp = /(#O.*\s+.*\s+.*제[0-9]+조\()/g; if(pType=="R") sRgExp = /(#R.*\s+.*\s+.*제[0-9]+조\()/g; if(pType=="O") sRgExp = /(#O.*?제[0-9]+조\()/g; if(pType=="R") sRgExp = /(#R.*?제[0-9]+조\()/g; sRgExpJo = /(제[0-9]+조)/g; raHeadHtml = sAllHtml.match(sRgExp ); //logdiv_write( "일치한 갯수:" + raHeadHtml.length ); for(iPos=0; iPos< raHeadHtml.length; iPos++) { sHeadHtml = raHeadHtml[iPos] ; raJo = sHeadHtml.match(sRgExpJo ); sJoStr = raJo[0]; sNewJoStr = jo_cvt(pType, sJoStr); // ------------- 이전 조문번호를 새로운 조문번호로 변경 sNewJoHtml = jo_newHtml(sJoStr, sNewJoStr, pStyle); // ----------------- 새로운 조문번호를 html 형태로 생성 sHeadHtmlNew = sHeadHtml.replace(sJoStr, sNewJoHtml ); sAllHtmlNew = sAllHtmlNew.replace(sHeadHtml, sHeadHtmlNew ); logdiv_write( "변경["+ iPos + "]" + sJoStr +"=>" + sNewJoStr ); } document.body.innerHTML = sAllHtmlNew; // ------------------------------------------ // ------------------------------------------ 시행령 조내용의 조문번호 변경 // ------------------------------------------ sAllHtml = document.body.innerHTML; sAllHtmlNew = sAllHtml; sRgExp = /(divO.*?<\/span>)/g; if(pType=="O") sRgExp = /(divO.*?<\/span>)/ig; if(pType=="R") sRgExp = /(divR.*?<\/span>)/ig; sRgExpJo = /(제[0-9]+조)/g; raHeadHtml = sAllHtml.match(sRgExp ); if(raHeadHtml != null) { logdiv_write( "일치한 갯수:" + raHeadHtml.length ); for(iPos=0; iPos< raHeadHtml.length; iPos++) { sHeadHtml = raHeadHtml[iPos] ; raJo = sHeadHtml.match(sRgExpJo ); // if( ("」 "== s2) || ("법 "== s2) || (") "== s2) ) { if(raJo != null) { for(iPosJo=0; iPosJo<raJo.length; iPosJo++) { sJoStr = raJo[0]; sJoStrEx = ""; if( pType=="O") { if(sHeadHtml.indexOf("법 " + sJoStr )>=0) sJoStrEx ="법"; if(sHeadHtml.indexOf(") " + sJoStr )>=0) sJoStrEx =")"; if(sHeadHtml.indexOf("」 " + sJoStr )>=0) sJoStrEx ="」"; } if( pType=="R") { if(sHeadHtml.indexOf("법 " + sJoStr )>=0) sJoStrEx ="법"; if(sHeadHtml.indexOf("영 " + sJoStr )>=0) sJoStrEx ="영"; if(sHeadHtml.indexOf(") " + sJoStr )>=0) sJoStrEx =")"; if(sHeadHtml.indexOf("」 " + sJoStr )>=0) sJoStrEx ="」"; if(sHeadHtml.indexOf("」(이하 \"영\"이라 한다) " + sJoStr )>=0) sJoStrEx ="영"; } if( pType=="R" && sJoStrEx =="영" ) { // --------------- 시행규칙을 변경하다 영 제OO조가 나오면 영의 신규조문번호로 변경 sNewJoStr = jo_cvt("O", sJoStr); // ------------- 이전 조문번호를 새로운 조문번호로 변경 sNewJoHtml = jo_newHtml(sJoStr, sNewJoStr, pStyle); // ----------------- 새로운 조문번호를 html 형태로 생성 sHeadHtmlNew = sHeadHtml.replace(sJoStr, sNewJoHtml ); sAllHtmlNew = sAllHtmlNew.replace(sHeadHtml, sHeadHtmlNew ); logdiv_write( "변경 조["+ iPos + "]조내용["+ iPosJo + "]" + sJoStr +"=>" + sNewJoStr ); } if( sJoStrEx=="") { sNewJoStr = jo_cvt(pType, sJoStr); // ------------- 이전 조문번호를 새로운 조문번호로 변경 sNewJoHtml = jo_newHtml(sJoStr, sNewJoStr, pStyle); // ----------------- 새로운 조문번호를 html 형태로 생성 sHeadHtmlNew = sHeadHtml.replace(sJoStr, sNewJoHtml ); sAllHtmlNew = sAllHtmlNew.replace(sHeadHtml, sHeadHtmlNew ); logdiv_write( "변경 조["+ iPos + "]조내용["+ iPosJo + "]" + sJoStr +"=>" + sNewJoStr ); } } // iPosJo } // if } } // if not null document.body.innerHTML = sAllHtmlNew; gAllHTML2 = document.body.innerHTML; } function errBrd(){ var winHeight = document.body.clientHeight; // 현재창의 높이 var winWidth = document.body.clientWidth; // 현재창의 너비 var winX = window.screenLeft || window.screenX || 0; // 현재창의 x좌표 var winY = window.screenTop || window.screenY || 0; // 현재창의 y좌표 var popWidth = 400; var popHeight = 300; var popX = winX + (winWidth - popWidth)/2; var popY = winY + (winHeight - popHeight)/2; var popUrl = "lawPetitionLoginChk.do"; var popOption = "width="+popWidth+"px,height="+popHeight+"px,top="+popY+",left="+popX+"resizable=no, toolbar=no, location=no ,scrollbars=no, status=no"; window.open(popUrl,"",popOption); } /* 2013법령지식 - 법령 상하위 조문 편집 */ function modiLsTemp(){ //$("#thdForm").attr("action","/LSW/thdCmpInfoP.do"); //$("#thdForm").submit(); openPop("/LSW/thdCmpInfoP.do?lsId=" + $("#lsId", $("#thdForm")).val(), '1040', '630'); } // 삼단비교 마우스 오버시 function thdCmpHelpMent(option,display){ var lsPtnThdCmpImg = document.getElementById("LsPtnThdCmpHelpImg"); //위임3단비교 var addCmpImg = document.getElementById("AddCmpHelpImg"); //3단비교 var lsCmpHelpImg = document.getElementById("LsCmpHelpImg"); //법령단위비교 if(display == 'on'){ if(option == 'LsPtnThdCmp'){ lsPtnThdCmpImg.style.display = ""; addCmpImg.style.display = "none"; lsCmpHelpImg.style.display = "none"; }if(option == 'AddCmp'){ lsPtnThdCmpImg.style.display = "none"; addCmpImg.style.display = ""; lsCmpHelpImg.style.display = "none"; }else if(option == 'LsCmp'){ lsPtnThdCmpImg.style.display = "none"; addCmpImg.style.display = "none"; lsCmpHelpImg.style.display = ""; } }else{ lsPtnThdCmpImg.style.display = "none"; addCmpImg.style.display = "none"; lsCmpHelpImg.style.display = "none"; } } //3단비교 도움말 팝업 function thdCmpHelpPop(name){ var url = "/LSW/html/thdCmpHelp.html#" + name; window.open(url,'','width=1080, height=593, menubar=no, status=no, toolbar=no, scrollbars=yes'); } // 법령 비교팝업 function lawComparePop(){ var lsNm = el("lsNm").value; var ancYnChk = ""; if(typeof $("#ancYnChk").val() == 'undefined'){ ancYnChk = lsVO.lsValue.ancYnChk; }else{ ancYnChk = $("#ancYnChk").val(); } var popUrl = "lawBodyCompareInfoP.do?lsNm="+lsNm+"&gubun=Ls" +"&ancYnChk=" + ancYnChk; //영문법령에서 한글법령비교 버튼을 클릭하였을 경우 if (lsVO.updateValue.actionUrl.indexOf("engLsInfoR") > -1) { popUrl = "lawEngBodyCompareInfoP.do?lsNm=" + lsNm + "&lsId=" + getLsId() + "&efYd=" + lsVO.lsValue.efYd + "&lsiSeq=" + lsVO.lsValue.lsiSeq + "&gubun=EngLs" + "&ancYnChk=" + ancYnChk; } var width = "1300px"; height = "800px"; window.open(popUrl,"_blank", "width="+ width +", height="+ height +", toolbar=no, resizable=no, scrollbars=no, location=no"); } /** * 화면 리사이즈 이벤트 */ $(window).resize(customResizePop); function customResizePop() { setTimeout(function() { //$('#viewwrapCenter').css('width', ''); // 본문 버튼 높이 만큼 제공한다. 13은 패딩값 var $contentHeight = $("#center").height() - ($('.body_top_area').height() + 13); var $conTopHeight = $('#conTop').height() + 35; /** * 조건에 따라 사이즈를 다르게 한다. * * 팝업 종류 | value | * 본문 lsBdy * 3단비교 - 1 lsPtnThdCmp * 3단비교 - 2 lumThdCmp * 3단비교 - 3 lumThdCmpSc * 3단비교 - 4 thdCmpNew * 신구법 lsOldAndNew * 그 외 영문법령, 제개정이유 등 * @옥지훈 신구법비교 팝업에서 하단영역 잘림처리(#11066 신구법비교스타일개선) */ var bdyValue = lsVO.bdyUpdValue.updateContentNm || 'lsBdy'; //lsInfoP 가 열릴 때 본문은 무조건 조회 하기 때문에 조건문 밖에 위치 하도록 변경. $('#viewwrapCenter').css('overflow-y', 'hidden'); $('#bodyContentTOP > #viewwrapCenter').height($contentHeight); $('#conScroll').height($('#viewwrapCenter').height() - $conTopHeight); $("#leftContent").height($("#bodyId").height()- 40); if (bdyValue == 'lsBdy') { /* 본문에서는 법령명 고정 때문에 hidden 처리*/ $('#viewwrapCenter').css('overflow-y', 'hidden'); $('#bodyContentTOP > #viewwrapCenter').height($contentHeight); $('#conScroll').height($('#viewwrapCenter').height() - $conTopHeight); $('#bodyContent').css('width', 'inherit'); } else if (bdyValue == 'lsPtnThdCmp') { lspttnThdCmpResize(); } else if (bdyValue == 'lumThdCmp') { thdCmpNewScPResize(); } else if (bdyValue == 'lumThdCmpSc') { } else if (bdyValue == 'thdCmpNew') { } else if (bdyValue == 'lsOldAndNew') { // 신구법은 이전 이후 버튼 높이까지 마이너스 한다. $('#bodySideContent > #oldAndNewDiv').height(($contentHeight + $('#tmpWidth').height()-114)); } else if (bdyValue == 'lsRvsDocInfoR') { $('#bodySideContent > #viewwrapCenter').height($contentHeight); $('#conScroll').height($('#viewwrapCenter').height() - $conTopHeight); $('#conTop').height($('.cont_top').height()); $('#rvsConScroll').height($('#viewwrapCenter').height() - $('#rvsConTop').height()); } else { $('#bodySideContent > #viewwrapCenter').height($contentHeight); } }, 300); } function myLawJo() { if('null' != 'null') { var joNoLists = ""; $("input:checkbox[name='joNoList']:checked").each(function(){ joNoLists = joNoLists + $(this).val() + ','; }); var pDivision = 'JI'; var pApplicationId = 3; var pListName = 'myLawJo'; var pTitle = el("lsNm").value; var pLsId = el("lsId").value; var pAncNo = el("ancNo").value; var pLsiSeq = lsVO.lsValue.lsiSeq; var pAncYd = el("ancYd").value; var pEfYd = el("efYd").value; var pKndClsCd = '010122'; var chrClsCd = lsVO.LangType; var pGourl = "https://" + location.host + "/법령/" + Space_All(pTitle)+"/(" + pEfYd + "," +Space_All(pAncNo)+ "," + pAncYd + ")/";; var pFolderName = "법령"; var children = joNoLists; interestLawSave(pDivision, pApplicationId, pListName, pTitle, pLsId, pAncNo, pLsiSeq, pEfYd, pKndClsCd, pGourl, pFolderName, chrClsCd, children); } else { document.location.href = "/login.do??menuId=6"; } } //]]> </script> <script type="text/javascript"> //<![CDATA[ // lsList.js 에서 이사옴 function lsJoLayView(linkParam, linkLawNm){ try{ if(linkLawNm == "Ordin"){ fSlimUpdateByAjax("lsLinkLayer","ordinLinkProc.do",makeParam(linkParam)); } else { fSlimUpdateByAjax("lsLinkLayer","lsLinkProc.do",makeParam(linkParam)); } }catch(e){ logger.err("오류:조문링크 update중..." + e); } var title = "<div class=\"towp2\" id=\"towp2Link\"><DIV class=ltit2 id=\"ltit2Link\">조문정보 </DIV>" +"<DIV class=btn11><A href=\"#AJAX\" onclick=\"javascript:fJoHstAll();return false;\" title=\"팝업으로 이동\"><IMG alt=전체보기 src=\"/LSW/images/button/btn_view1.gif\"></A>" +" <A href=\"#AJAX\" onclick=\"javascript:fJoLnkInfoPrint('"+makeParam(linkParam)+"','"+linkParam.mode+"');return false;\" title=\"팝업으로 이동\"><IMG alt=인쇄 src=\"/LSW/images/button/btn_print3.gif\"></A>" +"</DIV><div class=\"btn22\" style=\"float:right;\">" +"<A href=\"#AJAX\" onclick=\"javascript:LsLinkLayer.hiddenLsLinkLayer();return false;\"><IMG class=maJoHst alt=닫기 src=\"/LSW/images/button/btn_close8.gif\">" +"</A></DIV></div>"; //+"</div>"; // Jeon Hyun Wook 웹 접근성인 경우 팝업으로 엽니다. LsLinkLayer.showLsLinkLayer(0,title); } //]]> </script> <script type="text/javascript"> //<![CDATA[ function setHeadTitle(str) { document.title = "국가법령정보센터 | " + str; } // 화면내 검색 글자 처리 function setTRangeSelectOn(){ TRange.execCommand("RemoveFormat"); TRange.execCommand("ForeColor", false, "#FFFFFF"); TRange.execCommand("BackColor", false, "#FF0000"); } function setTRangeSelectOff(){ TRange.execCommand("RemoveFormat"); TRange.execCommand("ForeColor", false, "#FF0000"); } function setTRangeSelectOffUp(){ TRangeCopy.execCommand("RemoveFormat"); TRangeCopy.execCommand("ForeColor", false, "#a30200"); } function setTRangeOn(){ TRange.execCommand("ForeColor", false, "#FF0000"); } // 화면내검색시 "|" 문자열를 활용해 찾은 검색어 글자 BackColor처리 function setTRangeOnAddColor(obj,setColorValue){ if(setColorValue == 0){ TRange.execCommand("BackColor", false, "#FF0000"); }else if(setColorValue == 1){ TRange.execCommand("BackColor", false, "#FF8C00"); }else if(setColorValue == 2){ TRange.execCommand("BackColor", false, "#FFD700"); }else if(setColorValue == 3){ TRange.execCommand("BackColor", false, "#33CC33"); }else if(setColorValue == 4){ TRange.execCommand("BackColor", false, "#33CCFF"); } } //]]> </script> <input type="hidden" id="lsClsCd" value="L" /> <input type="hidden" id="lsiSeq" value="150692" /> <input type="hidden" id="ancYd" value="20140128" /> <input type="hidden" id="ancNo" value="12342" /> <input type="hidden" id="lsNm" value="대한민국국기법" /> <input type="hidden" id="lsBdyChrCls" value="010202" /> <input type="hidden" id="target" value="N" /> <input type="hidden" id="lsNmTrim" value="대한민국국기법" /> <input type="hidden" id="ancYnDv" value="" /> <input type="hidden" id="nwYn" value="Y" /> <input type="hidden" id="viewCls" value="" /> <input type="hidden" id="efDvPop" value="" /> <input type="hidden" id="thdCmpLsGuBun" value="A0002" /> <input type="hidden" id="oneviewChk" value="off" /> <input type="hidden" id="existLsIdCnt" value="1" /> <form id="thdForm" method="post" action=""> <input type="hidden" id="lsId" name="lsId" value="010381" /> </form> <form id="searchForm" action="#AJAX"> <input type="image" alt="전송" style="display:none;" /> <!-- north --> <div id="topDiv" class="ui-layout-north"> <noscript> <p>자바스크립트를 지원하지 않아 일부 기능을 사용할 수 없습니다.</p> </noscript> <div class="pophead" onclick="window.open('main.html');" onmouseover="this.style.cursor='pointer';"> <h2>법령</h2> <h2><span id="subTitle" style="display:none"> - 대한민국국기법</span></h2> <h2><span id="viewMode" style="display:block">(신구법 비교는 공포단위 서비스입니다)</span></h2> <p style="width:165px"><img src="/LSW/images/common/poplogo.gif" alt="법제처 국가법령정보센터" /></p> </div> <div class="hv_pop" id="oldAndNewImg" onmouseover="this.style.cursor='pointer';" onclick="javascript:imgDisplay();" style="display: none; z-index: 100; position: absolute; width: 220px;"> <b class="tit">신구법비교</b> <span class="tx_cont">국가법령정보센터에서 제공하는 신구법<br />비교는 시스템으로 자동 생성한 것으로<br />참고용으로만 이용하시기 바라며, 정확한<br />개정내용의 확인은 제·개정이유(제·개정문)<br />또는 관보를 확인해 주세요.</span> </div> </div> <!-- north //--> <!-- container --> <div id="container"> <!-- left --> <div id="west"> <div id="oneViewLayer" style="display:none;"></div> <div id="leftContent"> <ul class="left_list_bx"> <li id="liBgcolor" class="on"> <a id="leftContentLi" href="javascript:;" name="liBgcolor" style="background: transparent;"> <span class="tx">대한민국국기법</span> <span class="tx2"> [시행 2014. 1. 28.] [법률 제12342호, 2014. 1. 28., 일부개정] </span> </a> <div class="list_bx_in"> <ul class="inner"> <li> <a href="javascript:;" onclick="javascript:fSelectJoListAncInfoPTree('liBgcolorSpanJo','999','3','150692','20140128','','0');return false;"> <span class="ico">본문목록열림</span>본문 </a> <div id="liBgcolorSpanJo" class="depth_bx" style="padding: 0;"></div> </li> <li> <a href="javascript:;" onclick="javascript:fSelectJoListAncInfoPTree('liBgcolorSpanAr','2','3','150692','20140128','','0');return false;"> <span class="ico">부칙목록열림</span>부칙 </a> <div id="liBgcolorSpanAr" class="depth_bx" style="padding: 0;"></div> </li> </ul> </div> </li> </ul> </div> <!-- list //--> </div> <!-- left //--> <script type="text/javascript"> document.getElementById("leftContentLi").setAttribute("onmouseover", "this.className='on'"); document.getElementById("leftContentLi").setAttribute("onfocus", "this.className='on'"); document.getElementById("leftContentLi").setAttribute("onblur", "this.className=''"); document.getElementById("leftContentLi").setAttribute("onmouseout", "this.className=''"); </script> <!-- content --> <div id="center"> <script type="text/javascript" src="/LSW/js/oneview/kakao.js"></script> <!-- 본문 버튼 영lsJoInfoR역 --> <div class="body_top_area"> <!-- 좌측 박스 --> <div class="l_bx"> <a id="bdyBtnKO" class="btn type7" href="javascript:;" onclick="lsContentsView(true, true);return false;" title="본문 새 창 열림" target="_blank">본문</a> <a id="lsRvsDocInfo" class="btn type8" href="javascript:;" title="제정개정이유 새 창 열림" target="_blank" onclick="sideInfo('lsRvsDocInfoR');return false;">제정·개정이유</a> <a id="bylView" class="btn type8" href="javascript:;" style="display: none;" title="별표서식">별표·서식</a> <a id="hstView" class="btn type8" href="javascript:;" title="연혁">연혁</a> <a id="thdLsView" class="btn type8" href="javascript:;" title="3단비교 새 창 열림" target="_blank" onclick="thdLsNewView();return false;">3단비교</a> <a id="lsOldAndNew" class="btn type8" href="javascript:;" title="신구법비교 새 창 열림" target="_blank" onclick="sideInfo('lsOldAndNew');return false;">신구법비교</a> <a id="lsStmdBtn" class="btn type8" href="javascript:;" title="법령체계도 새 창 열림" target="_blank" onclick="lsStmdPop(lsVO.lsValue.lsiSeq, lsVO.lsValue.ancYnChk);return false;">법령체계도</a> <!-- <shcho> 시행일/공포 서비스개선 : 시행,연혁(ancYnChk: 0=시행, 1=공포) 파라미터 추가 --> <a id="lawCompare" class="btn type8" href="javascript:;" title="법령비교 새 창 열림" target="_blank" onclick="lawComparePop();return false;">법령비교</a> <a id="csmLnkBtn" class="btn type8" href="javascript:;" style="display: none;" title="생활법령정보">생활법령정보</a> <a id="unOrdinLnkBtn" class="btn type10" href="javascript:;" style="display: none;" title="조례위임조문" onclick="unOrdinView(this); return false;" onmouseover="lsScInfo(this,1);" onmouseout="lsScClose();">조례위임조문</a> <a id="unOrdinLsLnkBtn" class="btn type10" href="javascript:;" style="display: none;" title="위임조례" onclick="joDelegateLsPop(lsVO.lsValue.lsiSeq, el('lsId').value); return false;" onmouseover="lsScInfo(this,2);" onmouseout="lsScClose();">위임조례</a> <a id="oneViewBtn" class="btn type8" href="javascript:void(0);" style="display: none;" title="한눈보기" onmouseover="lsInfo(this);" onmouseout="lsInfoClose();" onclick="javascript:showOneView(this); return false;">한눈보기</a> <a id="oriTxtBtn" class="btn type8" href="javascript:;" style="display: none;" title="원문다운로드">원문다운로드</a> <a id="lsTtsBtn" class="btn type17" href="javascript:;" style="display: none;" title="음성지원 레이어" onclick="bdyTtsLayer(0, this);return false;">음성지원</a> </div> <!-- 좌측 박스 //--> <!-- 우측 박스 --> <div class="r_bx"> <span id="lsJoMoveDiv"> <label for="lsJoMove" class="blind">조문 선택</label> <select class="btnfont" id="lsJoMove" name="lsJoMove" style="width: 95px; vertical-align: top;"> <option value="">조문선택</option> </select> </span> <a href="javascript:;" id="innerSearch" class="btn type4" onclick="lsBodySearch(this);return false;">화면내검색</a> <label for="popCheckBox" class="blind">새창 선택</label> <input type="checkbox" id="popCheckBox" onclick="popChk()" style="display: none;" /> <a href="javascript:;" id="share" onclick="javascript:snsShareLayer(1); return false;" title="공유하기"> <img src="/LSW/images/common/btn_share.png" alt="공유하기" /> </a> <input type="hidden" class="snsAddress" value="" /> <!-- 공유하기 layer --> <div class="shareLayer" id="share_popup" style="display:none"> <ul class="shareUl"> <li><a class="link-icon kakao" href="javascript:shareOnKakao();"><img src="images/onelook/share_kakao.png" alt="카카오톡" /><span>카카오톡</span></a></li> <li><a class="link-icon facebook" href="javascript:shareOnFacebook();"><img src="images/onelook/share_facebook.png" alt="페이스북" /><span>페이스북</span></a></li> <li><a class="link-icon twitter" href="javascript:shareOnTwitter();"><img src="images/onelook/share_twitter_tobe.png" alt="트위터" /><span>트위터</span></a></li> <li><a class="link-icon line" href="javascript:shareOnLine();"><img src="images/onelook/share_line.png" alt="라인" /><span>라인</span></a></li> <li><a class="link-icon url btnUrl" href="javascript: shareUrl();"><img src="images/onelook/share_url.png" alt="주소복사" /><span>주소복사</span></a></li> </ul> </div> <!-- 공유하기 layer // --> <script type="text/javascript"> //<![CDATA[ window.addEventListener('mouseup', function(e){ var movewrap = document.getElementById("share_popup"); if(!movewrap.contains(e.target)){ movewrap.style.display = "none"; } }); $('#share_popup .btnUrl').keydown(function(){ if(event.keyCode == 9 && !event.shiftKey){ $('#share_popup').hide(); $('#share_popup').css('display','none'); } }) $('#share').keyup(function(){ $("#share_popup").hide(); $('#share_popup').css('display','none'); }) $('#share1').keyup(function(){ $("#share_popup").hide(); $('#share_popup').css('display','none'); }) //]]> </script> <a href="javascript:;" id="interestLaw" onclick="interestLaw();" title="관심법령추가"> <img src="/LSW/images/common/btn_v13fn8.png" alt="관심법령추가" /> </a> <a href="javascript:;" id="langType" title="한자" onclick="chrChange(this);return false;"> <img src="/LSW/images/common/btn_v13fn5.gif" alt="한자" /> </a> <a href="javascript:;" id="bdySaveBtn" onclick="bdySavePrint(0, this ,0, '');return false;" title="저장"> <img src="/LSW/images/common/btn_v13fn6.png" alt="저장" /> </a> <a href="javascript:;" id="bdyPrintBtn" onclick="bdySavePrint(1, this ,20, '');return false;" title="인쇄(새창팝업)"> <img src="/LSW/images/common/btn_v13fn7.png" alt="인쇄" /> </a> </div> <!-- 우측 박스 //--> </div> <!-- 본문 선택 영역 //--> <div class="hv_pop" id="lsScInfo_1" style="display: none; z-index: 100; position: absolute; width:205px;"> <b class="tit">조례위임조문</b> <span class="tx_cont">법령에서 자치법규로 위임한 사항이 있는<br /> 조문의 목록을 제공하고 바로가기 기능을<br /> 제공합니다.</span> </div> <div class="hv_pop" id="lsScInfo_2" style="display: none; z-index: 100; position: absolute; width:210px;"> <b class="tit">위임조례</b> <span class="tx_cont">현재 보고있는 법에서 위임한 사항이 있는 자치법규에 대한 자치법규를 검색하여 목록을 제공합니다.</span> </div> <div class="hv_pop" id="lsScInfo_3" style="display: none; z-index: 100; position: absolute; width: 200px;"> <b class="tit">한눈에 이해되는 법령정보</b> <span class="tx_cont">법령 속 어려운 내용을 그림이나 표로 표현하여 알기 쉽게 제공합니다. 한눈보기는 법제처에서 제공하는 가공된 법령정보로 법령 그 자체는 아닙니다.</span> </div> <div id="bodyContentTOP" style="margin-left: 10px;"> <div class="viewwrap" id="viewwrapCenter" style="overflow:hidden;width:100%;padding:0 0 0 0px;margin:0 0 0 0px;"> <div id="bodyContent"> <div class="subdefa"> <h3> <img src="/LSW/images/common/h2_subdef1.gif" alt="법령정보" /> </h3> <p class="txt1"> <img src="/LSW/images/common/txt_subdef1.gif" alt="이 곳에서는 현재 시행되고 있는 헌법, 법률, 대통령, 총리령, 부령과 국회규칙, 대법원규칙, 헌법재판소규칙, 선거관리위원회규칙, 감사원규칙을 찾아 볼 수 있습니다. 법령내용이나 법령명에 포함된 용어를 입력하거나, 공포번호 및 공포일자를 입력하십시오." /> </p> <p class="txt2"> <img src="/LSW/images/common/txt_subdef9.gif" alt=" 위 검색창에 검색어를 입력하십시오" /> </p> </div> </div> <div id="bodyContentError" style="display:none;"> <div class="subdefa"> <h3> <img src="/LSW/images/common/h2_subdef1.gif" alt="법령정보" /> </h3> <p class="txt1"> <img src="/LSW/images/common/txt_subdef1.gif" alt="이 곳에서는 현재 시행되고 있는 헌법, 법률, 대통령, 총리령, 부령과 국회규칙, 대법원규칙, 헌법재판소규칙, 선거관리위원회규칙, 감사원규칙을 찾아 볼 수 있습니다. 법령내용이나 법령명에 포함된 용어를 입력하거나, 공포번호 및 공포일자를 입력하십시오." /> </p> <p class="txt2"> <img src="/LSW/images/common/txt_subdef9.gif" alt=" 위 검색창에 검색어를 입력하십시오" /> </p> </div> </div> </div> </div> <div id="bodySideContent" style="display: none;"> <div class="subdefa"> <h3> <img src="/LSW/images/common/h2_subdef1.gif" alt="법령정보" /> </h3> <p class="txt1"> <img src="/LSW/images/common/txt_subdef1.gif" alt="이 곳에서는 현재 시행되고 있는 헌법, 법률, 대통령, 총리령, 부령과 국회규칙, 대법원규칙, 헌법재판소규칙, 선거관리위원회규칙, 감사원규칙을 찾아 볼 수 있습니다. 법령내용이나 법령명에 포함된 용어를 입력하거나, 공포번호 및 공포일자를 입력하십시오." /> </p> <p class="txt2"> <img src="/LSW/images/common/txt_subdef9.gif" alt=" 위 검색창에 검색어를 입력하십시오" /> </p> </div> </div> </div> <!-- content //--> <div class="ui-layout-south" style="display: none;"></div> </div> <!-- container //--> </form> <!-- 조선택 layer --> <!-- 조선택 레이어 //--> <div class="rbox14" id="joSelectLayer" style="left:30px;top:0px;display:none;width:200px;"> <div class="rri"> <div class="rle"> <div class="mn" style="white-space: nowrap;"> <a href="javascript:;" onclick="javascript:myLawJo();" id="myLawJo" style="display: none;"><img src="/LSW/images/button/btn_caop.gif" alt="나의조문" /></a> <a href="javascript:;" id="btnLawSave" onclick="javascript:bdyCheckOutPut('0');"><img src="/LSW/images/button/btn_ssav.gif" alt="저장" /></a> <a href="javascript:;" id="btnLawPri" onclick="javascript:bdyCheckOutPut('1');"><img src="/LSW/images/button/btn_spri.gif" alt="인쇄" /></a> <a href="javascript:;" id="btnCopyJo">복사</a> | <a href="#AJAX" id="btnEnlargeJo">돋보기</a> | <a href="javascript:;" id="copyJoAddr" onclick="javascript:clipJoUrl();return false;" title="조문주소복사" style="display:inline">조문주소</a> <p id="nbspBar" style="display:inline"> | </p> <a href="javascript:;" id="csmLnkDpId">생활법령정보</a> <p id="csmLnkNbspBar" style="display:none"> | </p> <a href="javascript:;" id="closeJoLayer"><img src="/LSW/images/button/btn_del2.gif" alt="닫기" /></a> </div> </div> </div> <div id="csmLnkDivWriter"> <div id="joCsmLnkLayer" style="display:none;"></div> </div> <div id="enlargeJoCts"></div> </div> <!-- 법령체계도 layer --> <div class="vwrap5" id="div_lsSystem" style="top: 80px; display: none"> </div> <!-- 법령체계도 layer //--> <!-- 인쇄 layer --> <!-- 화면내 검색 layer --> <script type="text/javaScript" language="javascript" defer="defer"> <!-- $(document).ready(function() { // 화면내 검색 Layer의 별표본문내용 체크박스 Click Event $("#bdySearchLayer").delegate("input:checkbox[id=selectSearchByl]", "click", function(e) { isBylChkChg = true; }); }); //--> </script> <div class="vwrap8" id="bdySearchLayer" style="display:none; top: 10px; left: 0px;"> <div class="viewla" style="top: 0px; left: 0px;"> <div class="ins"> <div class="inctn"> <input type="radio" id="preBtn" name="srcBtn" class="radio" value="1" /> <label for="preBtn">위로</label> <input type="radio" id="nextBtn" name="srcBtn" class="radio" value="2" checked="checked" /> <label for="nextBtn">아래로</label> <input type="checkbox" id="selectSearchJo" class="check" /> <label for="selectSearchJo" id="labelSelectSearchJo">검색조문선택</label> </div> <div class="inctn" style="padding:0 0 10px 17px;"> <fieldset> <legend>화면내검색 입력 폼</legend> <input type="text" id="bdySearch" name="bdySearch" value="" class="tx" onkeypress="javascript:if(event.keyCode==13){enterBdySearch(event,document.getElementsByName('srcBtn'));return false;}" /> <label for="bdySearch" class="label_b">검색어 입력</label> <a href="javascript:;" onclick="window.bdySearch(document.getElementsByName('srcBtn'));return false;"><img src="/LSW/images/button/btn_seh4.gif" alt="검색" /></a> </fieldset> </div> <div class="inctn" style="padding:0 0 10px 17px;"> <span id="bdyKeyVal"></span> </div> </div> </div> </div> <!-- 화면내 layer //--> <!-- 본문 검색 후 조문 출력 layer --> <div id="divSearchLayer" style="display: none;"> <div class="vwrap2" id="vwrapSearchList" style="left:3px;top:32px;background:none;"> <div class="viewla" style="width:245px;" id="viewSearchList"> <div class="ins" id="searchList" style="overflow: auto;"></div> </div> </div> </div> <!-- 본문 검색 후 조문 출력 layer //--> <!-- Wide 목록저장 layer --> <div class="bx_ly" id="listSaveLayer" style="display:none"> <form id="saveForm" name="saveForm" target="_self" action="#"> <input type="image" title="전송" style="display:none;" alt="전송" /> <input type="hidden" name="save" value="save" /> <input type="hidden" id="saveTabMenuId" name="tabMenuId" /> <input type="hidden" id="lsAstMode2" name="lsAstMode" value="1" /> <label for="lsAstMode2" class="label_b">모드</label> <input type="hidden" id="saveWhole" name="saveTarget" value="whole" /> <label for="saveWhole" class="label_b">전체저장</label> <div class="bx_inner" style="margin:1px 0;"> <p class="ly_tit">목록저장</p> <button class="btn_clse" onclick="SaveWindow.hideListSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="saveListXLS" name="saveExt" value="xls" checked="checked" /> <label for="saveListXLS">XLS(엑셀)</label> <input type="radio" id="saveListTXT" name="saveExt" value="txt" /> <label for="saveListTXT">TXT(텍스트)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitListSave();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideListSave();">닫기</a> </div> </div> </div> <div id="inputContainer" style="display:none;"></div> </form> </div> <!-- Wide 목록저장 layer //--> <!-- 법령 조문 목록저장 layer --> <div class="bx_ly" id="joListSaveLayer" style="display:none"> <form id="joSaveForm" name="joSaveForm" target="_self" action="#"> <input type="image" title="전송" style="display:none;" alt="전송" /> <input type="hidden" name="save" value="save" /> <input type="hidden" id="lsAstMode3" name="lsAstMode" value="1" /> <label for="lsAstMode3" class="label_b">모드</label> <input type="hidden" id="saveWhole2" name="saveTarget" value="whole" /> <label for="saveWhole2" class="label_b">전체저장</label> <div class="bx_inner" style="margin:1px 0;"> <p class="ly_tit">목록저장</p> <button class="btn_clse" onclick="SaveWindow.hideJoListSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="saveJoListXLS" name="saveExt" value="xls" checked="checked" /> <label for="saveJoListXLS">XLS(엑셀)</label> <input type="radio" id="saveJoListTXT" name="saveExt" value="txt" /> <label for="saveJoListTXT">TXT(텍스트)</label> <input type="radio" id="saveHWPList" name="saveExt" value="hwp" /> <label for="saveHWPList">한글(본문)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="javascript:submitJoListSave();">저장</a> <a href="javascript:;" class="btn type" onclick="javascript:SaveWindow.hideJoListSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 법령 조문 목록저장 layer //--> <!-- 법령 조문 본문 저장 layer --> <div class="bx_ly" id="joInfoSaveLayer" style="display:none"> <form id="joInfoSaveForm" name="joInfoSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <div class="bx_inner" style="margin:1px 0;"> <p class="ly_tit">내용저장</p> <button class="btn_clse" onclick="SaveWindow.hideJoInfoSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont"> <div class="ly_tx_bx" id="joInfoSaveLayerLoding"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="joDocSelectIdHWP" name="saveExt" value="hwp" checked="checked" /> <label for="joDocSelectIdHWP">한글(HWP)</label> <input type="radio" id="joDocSelectIdPDF" name="saveExt" value="pdf" /> <label for="joDocSelectIdPDF">PDF</label> <input type="radio" id="joDocSelectIdDOC" name="saveExt" value="doc" /> <label for="joDocSelectIdDOC">오피스(DOC)</label> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="joBeforeSavePrint(); return false;">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideJoInfoSave();">닫기</a> </div> </div> </div> </div> </form> </div> <!-- 법령 조문 본문 저장 layer //--> <div class="vwrap7" id="htmlSaveLayer" style="display:none"> <form id="htmlsaveForm" name="htmlsaveForm" target="_self" action="#"> <fieldset> <legend>파일형식 선택</legend> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <!-- id="save" --> <div class="contwrap" style="margin:1px 0;"> <div class="viewla"> <div class="ins"> <div class="inctn"> <ul> <li class="itit">파일형식</li> <li class="rdi"> <input type="radio" id="saveHtmlHTML" name="saveExt" class="radio" value="html" checked="checked" /><label for="saveHtmlHTML">HTML</label> <input type="radio" id="saveHtmlXLSb" name="saveExt" class="radio" value="xls" /><label for="saveHtmlXLSb">XLS(엑셀)</label> </li> </ul> </div> <!-- button --> <div class="btnc2_1"> <input type="image" onclick="javascript:submitHtmlContent();" src="/LSW/images/button/btn_save2.gif" alt="저장" /> <span class="btn_close"><a href="javascript:;" onkeypress="" onclick="javascript:SaveWindow.hideHtmlSave();"><img src="/LSW/images/button/btn_close2.gif" alt="닫기" /></a></span> </div> <!-- button //--> </div> </div> </div> </fieldset> </form> </div> <!-- 목록저장 layer //--> <!-- 신구조문 저장 layer --> <div class="bx_ly" id="newSaveLayer" style="display:none"> <form id="newSaveForm" name="newSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px;margin-bottom: 0px;">내용저장</p> <button class="btn_clse" onclick="SaveWindow.hideNewSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" id="newSaveLayerLoding"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="newSaveHTML" name="newSaveExt" value="html" checked="checked" /> <label for="newSaveHTML">HTML</label> <input type="radio" id="newSaveHWP" name="newSaveExt" value="hwp" /> <label for="newSaveHWP">HWP(한글)</label> <input type="radio" id="newSaveXLS" name="newSaveExt" value="xls" /> <label for="newSaveXLS">XLS(엑셀)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitNewContent();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideNewSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 신구조문저장 layer //--> <!-- 법령비교 저장 layer --> <div class="bx_ly" id="lawCompareSaveLayer" style="display:none"> <form id="lawCompareSaveForm" name="lawCompareSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px;margin-bottom: 0px;">내용저장</p> <button class="btn_clse" onclick="SaveWindow.hideLawCompareSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" id="lawCmpSaveLayerLoding"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="lawCmpSaveHWP" name="lawCmpSaveExt" class="lawCmpSaveExt" value="hwp" checked="checked" /> <label for="lawCmpSaveHWP">한글(HWP)</label> <input type="radio" id="lawCmpSavePDF" name="lawCmpSaveExt" class="lawCmpSaveExt" value="pdf" /> <label for="lawCmpSavePDF">PDF</label> <input type="radio" id="lawCmpSaveDOC" name="lawCmpSaveExt" class="lawCmpSaveExt" value="doc" /> <label for="lawCmpSaveDOC">오피스(DOC)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitLawCompareContent();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideLawCompareSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 법령비교저장 layer //--> <!-- 본문 저장 layer --> <div class="bx_ly" id="infoSaveLayer" style="display:none;"> <form id="infoSaveForm" name="infoSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px;margin-bottom: 0px;">목록저장</p> <button class="btn_clse" onclick="SaveWindow.hideInfoSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" id="infoSaveLayerLoding"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="saveHWP" name="saveExt" value="hwp" checked="checked" /> <label for="saveHWP">HWP(한글)</label> <input type="radio" id="saveTXTb" name="saveExt" value="txt" /> <label for="saveTXTb">TXT(텍스트)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitContent();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideInfoSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 본문 저장 layer //--> <!-- 전체 제개정이유 저장 layer --> <div class="bx_ly" id="lsRvsRsnInfoSaveLayer" style="display:none;"> <form id="lsRvsRsnInfoSaveForm" name="lsRvsRsnInfoSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <input type="hidden" name="lsRvsGubun" value="null" /> <div class="bx_inner" style="margin:1px 0;"> <p class="ly_tit" style="margin-top: 0px; margin-bottom: 0px;">목록저장</p> <button class="btn_clse" onclick="SaveWindow.hideLsRvsRsnSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont"> <div class="ly_tx_bx" id="lsRvsRsnInfoSaveLayerLoding"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="saveRvsRsnHWP" name="saveExt" value="hwp" checked="checked" /> <label for="saveRvsRsnHWP">HWP(한글)</label> <input type="radio" id="saveRvsRsnTXTb" name="saveExt" value="txt" /> <label for="saveRvsRsnTXTb">TXT(텍스트)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="javascript:submitRvsRsnContent();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideLsRvsRsnSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 전체 제개정이유 저장 layer --> <!-- 학칙공단 제개정문 저장 layer --> <div class="bx_ly" id="schlRvsRsnSaveLayer" style="display:none;"> <form id="schlPubRulSaveForm" name="schlPubRulSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <input type="hidden" id="seq" name="schlPubRulSeq" value="" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px;margin-bottom: 0px;">목록 저장</p> <button class="btn_clse" onclick="SaveWindow.hideSchlPubRulRvsRsnSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" id="schlInfoSaveLayerLoding"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="saveSchlHWP" name="saveExt" value="hwp" checked="checked" /> <label for="saveSchlHWP">HWP(한글)</label> <input type="radio" id="saveSchlTXTb" name="saveExt" value="txt" /> <label for="saveSchlTXTb">TXT(텍스트)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitSchlPubRulContent();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideSchlPubRulRvsRsnSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 학칙공단 제개정문 저장 layer //--> <!-- 영문 본문 저장 layer --> <div class="bx_ly" id="engInfoSaveLayer" style="display:none"> <form id="engInfoSaveForm" name="engInfoSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner" style="height: 160px;"> <p class="ly_tit" style="margin: 0 0 10px 0;">목록저장</p> <button class="btn_clse" onclick="SaveWindow.hideEngInfoSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" style="padding: 0;"> <div class="ly_tx_bx" style="height: 60px;"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="docSelectIdHWP" name="docSelectId" class="radio" value="hwp" checked="checked" /> <label for="docSelectIdHWP">한글(HWP)</label> <input type="radio" id="docSelectIdPDF" name="docSelectId" class="radio" value="pdf" /> <label for="docSelectIdPDF">PDF</label> <input type="radio" id="docSelectIdDOC" name="docSelectId" class="radio" value="doc" /> <label for="docSelectIdDOC">오피스(DOC)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="engLsBeforeSavePrint();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideEngInfoSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 영문 본문 저장 layer //--> <!-- 다국어 본문 저장 layer --> <div class="bx_ly" id="multiLingualActInfoSaveLayer" style="display:none"> <form id="multiLingualActInfoSaveForm" name="multiLingualActInfoSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner" style="height: 160px;"> <p class="ly_tit" style="margin: 0 0 10px 0;">본문저장</p> <button class="btn_clse" onclick="SaveWindow.hideMultiLingualActInfoSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" style="padding: 0;"> <div class="ly_tx_bx" style="height: 60px;"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="multiLsHwp" name="docSelectId" class="radio" value="hwp" checked="checked" /> <label for="multiLsHwp">한글(HWP)</label> <input type="radio" id="multiLsPdf" name="docSelectId" class="radio" value="pdf" /> <label for="multiLsPdf">PDF</label> <input type="radio" id="multiLsDoc" name="docSelectId" class="radio" value="doc" /> <label for="multiLsDoc">오피스(DOC)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="multiLingualActSavePrint();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideMultiLingualActInfoSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 다국어 본문 저장 layer //--> <!-- 법령용어 저장 layer --> <div class="vwrap7" id="lsTrmInfoSaveLayer" style="display:none"> <form id="lsTrmInfoSaveForm" name="lsTrmInfoSaveForm" target="_self" action="#" onsubmit="return lsTrmBeforeSavePrint()"> <fieldset> <legend>파일형식 선택</legend> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" id="saveQuery" name="lsTrm" /> <label for="saveQuery" style="display:none">법령용어명</label> <input type="hidden" name="save" value="save" /> <!-- id="save" --> <div class="contwrap" style="margin:1px 0;"> <div class="viewla"> <div class="ins"> <div class="inctn"> <ul> <li class="itit">파일형식</li> <li class="rdi" style="width:220px;text-align:center;"> <input type="radio" id="lsTrmDocSelectIdHWP" name="lsTrmDocSelectId" class="radio" value="hwp" checked="checked" /><label for="lsTrmDocSelectIdHWP">한글(HWP)</label> <input type="radio" id="lsTrmDocSelectIdPDF" name="lsTrmDocSelectId" class="radio" value="pdf" /><label for="lsTrmDocSelectIdPDF">PDF</label> <!-- <input type="radio" id="docSelectIdDOC" name="docSelectId" class="radio" value="doc" /><label for="docSelectIdDOC">오피스(DOC)</label>--> </li> </ul> </div> <!-- button --> <div class="btnc2_1"> <input type="image" onclick="javascript:lsTrmBeforeSavePrint();return false;" src="/LSW/images/button/btn_save2.gif" alt="저장" /> <span class="btn_close"><a href="javascript:;" onkeypress="" onclick="javascript:SaveWindow.hideInfoSaveNew();"><img src="/LSW/images/button/btn_close2.gif" alt="닫기" /></a></span> </div> <!-- button //--> </div> </div> </div> </fieldset> </form> </div> <!-- 법령용어 저장 layer TXT(텍스트) 저장 추가 //--> <!-- 법령용어 저장 layer --> <div class="bx_lyTrm" id="lsTrmInfoSaveLayer2" style="display:none"> <form id="lsTrmInfoSaveForm2" name="lsTrmInfoSaveForm2" target="_self" action="#" onsubmit="return lsTrmBeforeSavePrint2()"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" id="saveQuery1" name="lsTrm" /> <label for="saveQuery1" style="display:none">법령용어명</label> <input type="hidden" name="save" value="save" /> <div class="bx_inner" style="margin:1px 0;"> <p class="ly_tit">목록저장</p> <button class="btn_clse" onclick="javascript:SaveWindow.hideInfoSaveNew();return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="lsTrmDocSelectIdHWP1" name="saveExt" class="radio" value="hwp" checked="checked" /> <label for="lsTrmDocSelectIdHWP1">한글(HWP)</label> <input type="radio" id="lsTrmDocSelectIdTXT1" name="saveExt" class="radio" value="txt" /> <label for="lsTrmDocSelectIdTXT1">TXT(텍스트)</label> </div> </div> <div class="ly_btn_bx"> <input type="image" onclick="javascript:lsTrmBeforeSavePrint2();return false;" src="/LSW/images/button/btn_save2.gif" alt="저장" /> <input type="image" onclick="javascript:SaveWindow.hideInfoSaveNew();return false;" src="/LSW/images/button/btn_close2.gif" alt="닫기" /> </div> </div> </div> </form> </div> <!-- 법령용어 저장 layer layer TXT(텍스트) 저장 추가 //--> <!-- 3단비교 저장 layer --> <div class="vwrap7" id="thdCmpSaveLayer" style="display:none"> <form id="thdCmpSaveForm" name="thdCmpSaveForm" target="_self" action="#"> <fieldset> <legend>파일형식 선택</legend> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <!-- id="save" --> <div class="contwrap" style="margin:1px 0;"> <div class="viewla"> <div class="ins" id="thdCmpSaveLayerLoding"> <div class="inctn"> <ul> <li class="itit">파일형식</li> <li class="rdi"> <input type="radio" id="saveThdCmpHTML" name="saveExt" class="radio" value="html" checked="checked" /><label for="saveThdCmpHTML">HTML</label> <input type="radio" id="saveThdCmpHWP" name="saveExt" class="radio" value="hwp" /><label for="saveThdCmpHWP">HWP(한글)</label> <input type="radio" id="saveThdCmpXLSb" name="saveExt" class="radio" value="xls" /><label for="saveThdCmpXLSb">XLS(엑셀)</label> </li> </ul> </div> <!-- button --> <div class="btnc2_1"> <input type="image" onclick="javascript:submitListSaveThdCmpPrc();return false;" src="/LSW/images/button/btn_save2.gif" alt="저장" /> <span class="btn_close"><a href="javascript:;" onkeypress="" onclick="javascript:SaveWindow.hideThdCmpSave();"><img src="/LSW/images/button/btn_close2.gif" alt="닫기" /></a></span> </div> <!-- button //--> </div> </div> </div> </fieldset> </form> </div> <!-- LUM 3단비교, 법령단위비교 저장 Layer --> <div class="bx_ly" id="thdCmpNewSaveLayer" style="display:none;"> <form id="thdCmpNewSaveForm" name="thdCmpNewSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <input type="hidden" name="chrClsCd" value="010202" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px; margin-bottom: 0px;">내용저장</p> <button class="btn_clse" onclick="SaveWindow.hideThdCmpNewSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" style="width: 360px;"> <div class="ly_tx_bx" id="thdCmpNewSaveLayerLoding" style="padding: 12px 8px;"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="saveThdCmpNewHTML" name="saveExt" value="html" checked="checked" /> <label for="saveThdCmpNewHTML">HTML</label> <input type="radio" id="saveThdCmpNewHWP" name="saveExt" value="hwp" /> <label for="saveThdCmpNewHWP">HWP(한글)</label> <input type="radio" id="saveThdCmpNewXLSb" name="saveExt" value="xls" /> <label for="saveThdCmpNewXLSb">XLS(엑셀)</label> <input type="radio" id="saveThdCmpNewPDF" name="saveExt" value="pdf" /> <label for="saveThdCmpNewPDF">PDF</label> <input type="radio" id="saveThdCmpDOC" name="saveExt" value="doc" /> <label for="saveThdCmpDOC">DOC</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="javascript:submitListSaveLumThdCmpPrc();return false;">저장</a> <a href="javascript:;" class="btn type" onclick="javascript:SaveWindow.hideThdCmpNewSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 3단비교 임시 저장 layer --> <div class="vwrap7" id="thdCmpTmpSaveLayer" style="display:none"> <form id="thdCmpTmpSaveForm" name="thdCmpTmpSaveForm" target="_self" action="#"> <fieldset> <legend>파일형식 선택</legend> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <!-- id="save" --> <div class="contwrap" style="margin:1px 0;"> <div class="viewla"> <div class="ins" id="thdCmpTmpSaveLayerLoding"> <div class="inctn"> <ul> <li class="itit">파일형식</li> <li class="rdi"> <input type="radio" id="saveThdCmpTmpSaveHTML" name="saveExt" class="radio" value="html" checked="checked" /><label for="saveThdCmpTmpSaveHTML">HTML</label> <input type="radio" id="saveThdCmpTmpSaveXLSb" name="saveExt" class="radio" value="xls" /><label for="saveThdCmpTmpSaveXLSb">XLS(엑셀)</label> <input type="radio" id="saveThdCmpTmpSaveHWP" name="saveExt" class="radio" value="hwp" /><label for="saveThdCmpTmpSaveHWP">HWP(한글)</label> </li> </ul> </div> <!-- button --> <div class="btnc2_1"> <input type="image" onclick="javascript:submitListSaveThdCmpTmpPrc();return false;" src="/LSW/images/button/btn_save2.gif" alt="저장" /> <span class="btn_close"><a href="javascript:;" onkeypress="" onclick="javascript:SaveWindow.hideThdCmpTmpSave();"><img src="/LSW/images/button/btn_close2.gif" alt="닫기" /></a></span> </div> <!-- button //--> </div> </div> </div> </fieldset> </form> </div> <!-- 행정규칙 신구조문 저장 layer --> <div class="bx_ly" id="admRulOANSaveLayer" style="display:none"> <form id="admRulOANSaveForm" name="admRulOANSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px;margin-bottom: 0px;">내용저장</p> <button class="btn_clse" onclick="SaveWindow.hideAdmRulOANSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" id="admRulOANSaveLayerLoding"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="admRulOANSaveHTML" name="admRulOANSaveExt" value="html" checked="checked" /> <label for="admRulOANSaveHTML">HTML</label> <input type="radio" id="admRulOANSaveHWP" name="admRulOANSaveExt" value="hwp" /> <label for="admRulOANSaveHWP">HWP(한글)</label> <input type="radio" id="admRulOANSaveXLS" name="admRulOANSaveExt" value="xls" /> <label for="admRulOANSaveXLS">XLS(엑셀)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitAdmRulOAN();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideAdmRulOANSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 행정규칙 신구조문저장 layer //--> <!-- 학칙규정 신구조문 저장 layer --> <div class="bx_ly" id="schlPubRulOANSaveLayer" style="display:none"> <form id="schlPubRulOANSaveForm" name="schlPubRulOANSaveForm" target="_self" action="#"> <input type="image" title="전송" alt="전송" style="display:none;" /> <input type="hidden" name="save" value="save" /> <div class="bx_inner"> <p class="ly_tit" style="margin-top: 0px;margin-bottom: 0px;">내용저장</p> <button class="btn_clse" onclick="SaveWindow.hideSchlPubRulOANSave(); return false;"> <span class="blind">닫기</span> </button> <div class="ly_cont" id="schlPubRulOANSaveLayerLoding"> <div class="ly_tx_bx"> <p class="tx">파일형식</p> <div class="ly_inp_bx"> <input type="radio" id="schlPubRulOANSaveHTML" name="schlPubRulOANSaveExt" value="html" checked="checked" /> <label for="schlPubRulOANSaveHTML">HTML</label> <input type="radio" id="schlPubRulOANSaveHWP" name="schlPubRulOANSaveExt" value="hwp" /> <label for="schlPubRulOANSaveHWP">HWP(한글)</label> <input type="radio" id="schlPubRulOANSaveXLS" name="schlPubRulOANSaveExt" value="xls" /> <label for="schlPubRulOANSaveXLS">XLS(엑셀)</label> </div> </div> <div class="ly_btn_bx"> <a href="javascript:;" class="btn type" onclick="submitSchlPubRulOAN();">저장</a> <a href="javascript:;" class="btn type" onclick="SaveWindow.hideSchlPubRulOANSave();">닫기</a> </div> </div> </div> </form> </div> <!-- 학칙규정 신구조문저장 layer //--> <!-- 삼단비교 저장 레이어 --> <div class="vwrap17" style="display: none;" id="lsPtnThdCmpSaveLayer"> <div class="viewla" id="viewla" style="top: -1px; left: -157px;"> <form id="lsThdCmpOutPutFrm" name="lsThdCmpOutPutFrm" method="post" action="#" enctype="application/x-www-form-urlencoded"> <fieldset> <legend>용지/폰트설정</legend> <div class="ins"> <div class="tabmn"> <a href="#AJAX" class="on">범위설정</a> </div> <div class="inswp"> <div class="incot"> <div class="inctn3"> <ul> <li> <input type="radio" name="saveKnd" id="lsPtnDocPart" class="radio" onclick="javascript:lsThdOutputCustomMode(1);" value="customJoNo" /> <label for="lsPtnDocPart" class="ct1"> <img class="ctlImgmode" src="images/pop/stit_save2.gif" alt="일부저장" /> </label> <label for="outputLsPtnCustomJoNo" class="label_b">일부범위입력</label> <input type="text" id="outputLsPtnCustomJoNo" name="outputLsPtnCustomJoNo" class="tx" style="IME-MODE: disabled;" value="예) 5-7,1,2,4,5" onkeydown="printCustomValueCheck(event, this);" onclick="javascript:lsThdTextRemove(this);" /> </li> <li> <input type="radio" name="saveKnd" id="custom" class="radio" checked="checked" onclick="javascript:lsThdOutputCustomMode(2);" value="" /> <label for="custom" class="ct1"><img class="ctlChocieImg" src="images/pop/stit_save3.gif" alt="선택저장" /></label> </li> <li id="saveTextArea"> <label style="font-weight: bold; letter-spacing: 0em; padding:0;" id="saveText">시행령 연계 데이터를 보려면 전체를 선택해주세요</label> </li> </ul> </div> <div class="stab"> <a href="#AJAX" class="on" id="lsPtnOutBdy">법령본문</a> </div> <div class="inctn1" id="lsPtnOutBdyUl"> <ul> <li><input type="checkbox" class="dep1" checked="checked" id="lsPtnJoCheckBox" onclick="javascript:checkThdCmpTryCatch(this.checked,'joNo');" /><label for="lsPtnJoCheckBox" class="ct1">전체</label></li> <li class="dem"><span id="outPutLsPtnJoListDiv"></span></li> </ul> </div> </div> </div> </div> <!-- radioButton 형식 --> <div class="inctn2 inpat"> <div class="inctn5"> <input type="hidden" id="docClsSelectBox" value="hwp" /> <div class="saveMode"> <div class="ple2"> <input type="radio" class="radio" name="fileSaveType" id="FileSaveHtml" checked="checked" onclick="hwpNoticeImgDp(this);" value="html" /> <label for="FileSaveHtml">HTML파일</label> </div> <div class="ple2"> <input type="radio" class="radio" name="fileSaveType" id="FileSaveHwp" onclick="hwpNoticeImgDp(this);" value="hwp" /> <label for="FileSaveHwp">HWP파일</label> </div> <div class="ple2"> <input type="radio" class="radio" name="fileSaveType" id="FileSaveExcel" onclick="hwpNoticeImgDp(this);" value="xls" /> <label for="FileSaveExcel">EXCEL파일</label> </div> <div class="ple3"> <input type="radio" class="radio" name="fileSaveType" id="FileSavePdf" onclick="hwpNoticeImgDp(this);" value="pdf" /> <label for="FileSavePdf">PDF파일</label> </div> <div class="ple3" style="margin-left: 2px;"> <input type="radio" class="radio" name="fileSaveType" id="FileSaveDoc" onclick="hwpNoticeImgDp(this);" value="doc" /> <label for="FileSaveDoc">DOC파일</label> </div> </div> <div class="printMode"> <div class="ple2"> <input type="radio" class="radio" name="filePrintType" checked="checked" id="PrintHtml" onclick="hwpNoticeImgDp(this);" value="html" /> <label for="PrintHtml">HTML파일</label> </div> </div> </div> <div class="btn"> <div class="saveMode" style="float: left; margin-right: 5px;"> <a id="aBtnOutPutSave" href="#AJAX" onclick="javascript:lsThdCmpSavePrint('0'); return false;"><img src="/LSW/images/button/btn_save3.gif" alt="저장" /></a> </div> <div class="printMode" style="float: left; margin-right: 5px;"> <a id="aBtnOutPutPrint" href="#AJAX" onclick="javascript:lsThdCmpSavePrint('1');return false;"><img src="/LSW/images/button/btn_print4.gif" alt="인쇄" /></a> </div> <div> <a href="#AJAX" onclick="SaveWindow.hideLsPtnThdCmpSave();"><img src="images/button/btn_can.gif" alt="취소" /></a> </div> </div> <div class="deptx" style="height: 15px;"> <img style="display: none;" id="hwpNoticeImg" src="images/pop/stit_save4.gif" alt="아래한글 사용자는 최신버전을 업그레이드하십시오." /> </div> <div class="deptx" style="height: 15px;"> <a href="#AJAX" onclick="openScrollPop('noticeInfoP.do?searchKeyword=&pageIndex=3&brdSeq=1935033',590,510); return false;"> <img style="display: none;" id="hwpNoticeDownImg" src="images/pop/btn_down.gif" alt="프로그램 내려받기(한글 버전별 링크)" /></a> </div> </div> </fieldset> <input type="hidden" name="joAllCheck" id="joAllCheck" value="Y" /> <input type="hidden" name="saveExt" id="saveExt" value="html" /> <input type="hidden" id="lsNmFont" value="" /> <input type="hidden" id="lsJoSize" value="" /> <input type="hidden" id="lsJoFont" value="" /> <input type="hidden" id="spaceCls1" value="" /> <input type="hidden" id="spaceCls2" value="" /> <input type="hidden" id="spaceCls3" value="" /> <!-- 3단비교 원문 추가로 --> <input type="hidden" name="chrClsCd" value="010202" /> </form> </div> </div> <!-- 인쇄 layer //--> <!-- 공통 DIV --> <div id="joHstDivWrite"> <div id="joHstLayer" style="display:none"></div> </div> <!-- 연혁버튼(한글,영문) width, height는 로드마스크 돌리기 위함 --> <div id="lsHstDivWrite"> <div id="lsHstLayer" style="display:none; width: 290px; height: 250px;"></div> </div> <div id="unOrdinDivWrite"> <div id="unOrdinLayer" style="display:none"></div> </div> <div id="unOrdinBtnDivWrite"> <div id="unOrdinLayerBtn" style="display:none"></div> </div> <!-- 별표서식 레이어 --> <div id="lsBylDivWrite"> <div id="lsBylLayer" style="display:none; width: 240px; height: 250px;"></div> </div> <div id="lsLinkDivWrite"> <div id="lsLinkLayer" style="display:none"></div> </div> <!-- 임시 링크 --> <div id="tmpLsLinkDivWrite"> <div id="joTempDeleLayer" style="display:none"></div> </div> <!-- 임시 링크 //--> <div id="lsOutPutDivWrite"> <div id="lsOutPutLayer"></div> </div> <div id="lsTtsDivWrite"> <div id="lsTtsLayer"></div> </div> <!-- 조문 연혁 비교 인쇄버튼 --> <div id="lsJoHstPrintDivWrite"> <div id="lsJoHstPrintLayer" style="display: none;"></div> </div> <!-- 조문 연혁 비교 인쇄버튼 //--> <!-- 조문 연혁 비교 저장버튼 --> <div id="lsJoHstSaveDivWrite"> <div id="lsJoHstSaveLayer" style="display: none;"></div> </div> <!-- 조문 연혁 비교 저장버튼 //--> <!-- 2015.09.25 [LSI2015] 법령본문 조문 옆 법령 아이콘 추가 start --> <div id="ctlInfDivWrite"> <div id="ctlInfLayer" style="display:none;"></div> </div> <!-- 2015.09.25 [LSI2015] 법령본문 조문 옆 법령 아이콘 추가 end --> <!-- 생활법령 --> <div id="csmLnkDivWrite"> <div id="csmLnkLayer" class="vwrap23" style="display:none;"></div> </div> <!-- 생활법령 //--> <!-- 공통 DIV //--> <script type="text/javascript"> // 2019.08.17 lsInfoR에서 lsInfoP 호출시 초기 로드되는 함수에도 ancYnChk 값을 셋팅하여준다. lsPopViewAll2('150692', '', '', '20140128', 'Y', '','010202','0'); // 더보기 연혁 </script> <div class="hv_pop" id="admRulInfo_1" style="display: none; z-index: 100; position: absolute; width:180px;"> <b class="tit">위임행정규칙</b> <span class="tx_cont">법률·대통령령·총리령·부령 등 상위법령에서 위임한 사항을<br /> 훈령·예규·고시·공고 등의 형식으로 정하고 있는 행정규칙을 말합니다.</span> </div> <div class="modalLayer"> <div style="text-align: center; font-size: 15px; font-weight: bold; margin-top: -5px;"> <span id="infoPModalMsg"></span> <a class="btn" id="leftBtn" style="right: 50px; font-weight: normal;"></a> <a class="btn" id="closeModalBtn" style="right: 10px; font-weight: normal;">닫기</a> </div> </div> <script type="text/javascript"> function modal(id, msg, leftBtnType, leftBtnTitle, existLsIdCnt) { // Element 에 style 한번에 오브젝트로 설정하는 함수 추가 Element.prototype.setStyle = function(styles) { for (var k in styles) this.style[k] = styles[k]; return this; }; var zIndex = 9999; $('.modalLayer').attr('id',id); var modal = document.getElementById(id); // 모달 div 뒤에 희끄무레한 레이어 var bg = document.createElement('div'); bg.id = id; bg.setStyle({ position: 'fixed', zIndex: zIndex, left: '0px', top: '0px', width: '100%', height: '100%', overflow: 'auto', // 레이어 색갈은 여기서 바꾸면 됨 backgroundColor: 'rgba(0,0,0,0.4)' }); try{ document.body.append(bg); }catch(e){ document.body.appendChild(bg); } $("#infoPModalMsg").html(msg); //닫기 modal.querySelector('#closeModalBtn').addEventListener('click', function() { try{ bg.remove(); modal.style.display = 'none'; } catch(e){ closeInfoPModal(id); } }); //현행법령이동 if( leftBtnType == "LsCurMove" ){ $('#leftBtn').html(leftBtnTitle); modal.querySelector('#leftBtn').addEventListener('click', function() { try{ bg.remove(); } catch(e){ closeInfoPModal(id); } modal.style.display = 'none'; // 해당 법령의 현행이 있다면 if (existLsIdCnt > 0){ fLsPop(lsVO.lsValue.lsId, '0'); }else{ alert("해당 법령은 현행인 법령이 존재하지 않습니다."); } }); //현행행정규칙이동 } else if( leftBtnType == "AmdRulCurMove" ){ $('#leftBtn').html(leftBtnTitle); modal.querySelector('#leftBtn').addEventListener('click', function() { try{ bg.remove(); } catch(e){ closeInfoPModal(id); } modal.style.display = 'none'; // 해당 법령의 현행이 있다면 if (existLsIdCnt > 0){ lawInfPopById(param.admRulId,'0'); }else{ alert("해당 행정규칙은 현행인 행정규칙이 존재하지 않습니다."); } }); //현행자치법규이동 }else if( leftBtnType == "OrdinCurMove" ){ $('#leftBtn').html(leftBtnTitle); modal.querySelector('#leftBtn').addEventListener('click', function() { try{ bg.remove(); } catch(e){ closeInfoPModal(id); } modal.style.display = 'none'; // 해당 법령의 현행이 있다면 if (existLsIdCnt > 0){ fOrdinPopById(ordinVO.ordinValue.ordinId); }else{ alert("해당 자치법규는 현행인 자치법규가 존재하지 않습니다."); } }); }else{ $('#leftBtn').css("display", "none"); } modal.setStyle({ position: 'fixed' , display: 'block' , boxShadow: '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' , zIndex: zIndex + 1 //레이어 보다 하나 더 위 , top: '50%' , left: '50%' , transform: 'translate(-50%, -50%)' , msTransform: 'translate(-50%, -50%)' , webkitTransform: 'translate(-50%, -50%)' }); } //모달 창 닫기 function closeInfoPModal(id){ try{ document.createElement("div").remove(); document.getElementById(id).style.display = 'none'; }catch(e){ var parent = document.getElementById("bodyId"); var child = document.getElementById(id); if( child != null ){ parent.removeChild(child); if(child.parentNode){ child.parentNode.removeChild(child); } } if( document.getElementById(id) != null ){ document.getElementById(id).style.backgroundColor = ""; } } } </script> <script type="text/javascript" src="/LSW/js/common/hrefRemove.js"></script> </body> </html>