<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="kcg.faics.sec.LoginUserVO"%>    
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
	LoginUserVO userVO = (LoginUserVO) session.getAttribute("userVO");
%>
<div class="footer-banner">
	<div class="footer-content">
		<div class="list">
			<ul>
				<!-- <li><a href="http://ep1.kcg.go.kr/" target="_blank" title="새창">업무포탈</a></li> -->
				<li><a href="http://www.law.go.kr/main.html" target="_blank" title="새창">법령정보</a></li>
				<li><a href="https://fine.hikorea.go.kr/" target="_blank" title="새창">외국인정보공동이용시스템</a></li>
				<li><a href="http://10.29.10.36/" target="_blank" title="새창">수사지원시스템</a></li>			
				<li><a href="#" title="구시스템" onclick="subtmiFrmPreSystem();">구시스템</a></li>			
			</ul>			
		</div>
	</div>
</div>
<div class="footer-bottom">
	<div class="footer-content">
		<div class="footer-logo">
			<img src="<c:url value='/images/new/mpss-footer_01.png'/>"  alt="logo" title="logo"/>
		</div>
		<div class="footer-info">
			<p class="footer-copyright">
				<spring:message code="sys.footer.address" /><br> COPYRIGHT(C)2011 MINISTRY OF REPUBLIC ADMINISTRATION AND SECURITY. ALL RIGHT RESERVED<br>
			</p>
		</div>
	</div>
</div>

<form name="frmSSO" method="post" action="<spring:message code="Url.IMIS.loginProc" />?m=login" target="_blank">
	<input type="hidden" name="login_id" value="<c:out value="${userVO.userid}" />" />
</form>
<form name="frmPreSystem" method="get" action="<spring:message code="Url.FAICS.preSystem" />" target="_blank">
	<input type="hidden" name="userid" value="${userVO.userid}"/>
	<input type="hidden" name="frame" value="link"/>
</form>

<script type="text/javascript">
	function submitFrmSSO() {
		document.frmSSO.submit();
	}
	function subtmiFrmPreSystem() {
		document.frmPreSystem.submit();
	}
	
	$(document).ready(function(){

		try{
			CKEDITOR.on( 'instanceReady', function( evt ) {
				window.frames[0].document.oncontextmenu = function(){ return false;};
			});
		}catch(e){
		}
	});
</script>