<!--#include virtual = "/common/lib/dbcon.asp" -->
<!--#include virtual = "/common/lib/func.asp" -->
<%
If session("ss_m_id") <> "" Then
	Response.redirect "/content/01message/"
	Response.end
End if
%>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>문자전송시스템</title>
<style type="text/css">
<!--
body {margin-left: 0px; margin-top: 0px;}
.style1 {font-family: "돋움"; font-size: 11px;color: #FFFFFF;}
.style4 {	font-family: "돋움"; font-size: 11px; color: #FFFFFF}
.style5 {font-family: "돋움"; font-size: 11px; color: #ffe50c;font-weight: bold;}
.style7 {font-family: "돋움"; font-size: 11px; color: #2865ae;font-weight: bold;}
.style9 {font-family: "돋움"; font-size: 11px; color: #666666; }
.style11 {font-family: "돋움"; font-size: 11px; color: #4888a0; font-weight: bold;}
.style12 {font-family: "돋움"; font-size: 11px; color: #333333; font-weight: bold;}
.style13 {font-family: "돋움"; font-size: 12px; color: #FFFFFF;}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

onload = function(){
	document.getElementById("m_id").focus();
}
//-->
</script>
</head>

<body background="/sms_img/main/bg.gif" style="margin:0 auto;background-repeat:repeat-x;">

<div style="width:1000px; position:relative; margin:0 auto;">
	<p style="top:45px; left:20px; position:absolute;"><img src="/sms_img/main/logo.gif" alt="" /></p>
	<div style="background:url(/sms_img/main/img.jpg) no-repeat; width:520px; height:520px; top:123px; left:66px; position:absolute;">

		<form id="loginFrm" method="post" action="/content/member/login_ok.asp" onsubmit="return sendit();">
		<div>
			<input type="hidden" name="prepage" value="<%=request("prepage")%>" />
		</div>

		<table style="top:85px; left:550px; position:absolute; border-top:1px solid #999; border-bottom:1px solid #ddd; padding:20px 0;">
			<tr>
				<td>
					<table>
					<tr>
						<td style="font-size:12px; font-weight:bold;">아이디</td>
						<td><input name="m_id" id="m_id" type="text" style="width:140px; height:17px; border:1px solid #dcdcdc; padding:2px 0 0 2px;" /></td>
					</tr>
					<tr>
						<td style="font-size:12px; font-weight:bold;">비밀빈호</td>
						<td><input name="m_pwd" id="m_pwd" type="password" style="width:140px; height:17px; border:1px solid #dcdcdc; padding:2px 0 0 2px;" /></td>
					</tr>
					</table>
				</td>

				<td>
					<input type="image" src="/content/member/img/btn_login.gif">
				</td>
			</tr>
		</table>

		</form>

	</div>
	<p style="text-align:center; top:660px; left:350px; position:absolute; font-size:11px; font-family:dotum; letter-spacing:-0.2px; color:#fff; height:10px; padding-top:5px;">copyright (C) <strong>나눔아이앤씨</strong>.  All rights reserved.</p>
</div>


<script type="text/javascript">
	function sendit(){
		frm = document.getElementById("loginFrm");
		if (CheckSpaces(frm.m_id, "아이디")){return false;}
		else if (CheckSpaces(frm.m_pwd, "비밀번호")){return false;}

	}
</script>


</body>
</html>