<!--#include file="checkLogin.asp"-->
<!--#include file="SQLconn.asp"-->

<html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>办公OA系统桌面</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script Language=JavaScript>
<!--
window.setTimeout('this.location.reload();',480000);

//-->
</script>
<style type="text/css">
<!--
.STYLEshuzi {font-size: 18px}

-->
</style>
 

<STYLE type=text/css>
BODY {
	FONT-SIZE: 14px;
	background-image: url();
}
OL LI {
	MARGIN: 8px
}
#con {
	FONT-SIZE: 12px; MARGIN: 0px auto; WIDTH: 600px
}
#tags {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 10px; WIDTH: 610; PADDING-TOP: 0px; HEIGHT: 23px
}
#tags LI {
	BACKGROUND: url(images/<%=request.cookies("imgdir")%>/tagleft.gif) no-repeat left bottom; FLOAT: left; MARGIN-RIGHT: 1px; LIST-STYLE-TYPE: none; HEIGHT: 23px
}
#tags LI A {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: url(images/<%=request.cookies("imgdir")%>/tagright.gif) no-repeat right bottom; FLOAT: left; PADDING-BOTTOM: 0px; COLOR: #999;LINE-HEIGHT: 23px; PADDING-TOP: 0px; HEIGHT: 23px; TEXT-DECORATION: none
}
#tags LI.emptyTag {
	BACKGROUND: none transparent scroll repeat 0% 0%; WIDTH: 4px
}
#tags LI.selectTag {
	BACKGROUND-POSITION: left top;
	MARGIN-BOTTOM: -2px;
	POSITION: relative;
	HEIGHT: 25px;
	background-image: url(images/<%=request.cookies("imgdir")%>/tagleft.gif);
}
#tags LI.selectTag A {
	BACKGROUND-POSITION: right top; COLOR: #000; LINE-HEIGHT: 25px; HEIGHT: 25px
}
#tagContent {
	BORDER-RIGHT: #666666 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #666666 1px solid; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; BORDER-LEFT: #666666 1px solid;PADDING-TOP:1px; BORDER-BOTTOM: #666666 1px solid
}
.tagContent {
PADDING-RIGHT: 10px; DISPLAY: none; PADDING-LEFT: 10px; BACKGROUND: url(bg111.gif) repeat-x; PADDING-BOTTOM: 10px; WIDTH: 206px; COLOR: #474747; PADDING-TOP: 10px; HEIGHT: 450px
}
#tagContent DIV.selectTag {
DISPLAY: block
}
</STYLE>

<!--服务器时钟-->
<SCRIPT language=javascript> 
<!-- 
var now = new Date(<%=year(now())%>,<%=month(now())%>,<%=day(now())%>,<%=hour(now())%>,<%=minute(now())%>,<%=second(now())%> );//在此处填写服务器当前时间即可 
function CurentTime(){  
    var mm = now.getMinutes();  
    var ss = now.getTime() % 60000;ss = (ss - (ss % 1000)) / 1000;  
    var clock = now.getHours() +':';  
    if (mm < 10) clock += '0'; 
    clock += mm+':';  
    if (ss < 10) clock += '0';  
    return(clock + ss); 
}  
function refresh(){  
    document.getElementById("clock").innerHTML = "<b style='font-size:12;color:black;'>"+CurentTime();now.setSeconds(now.getSeconds()+1)+"</b>";} 
setInterval('refresh()',1000); 
//--> 
</SCRIPT>
<!--时钟结束-->

</head>

<body>




<% imgdir=request.cookies("imgdir") 
   nowxueqi=request.cookies("nowxueqi") 
   tname=request.cookies("tname")
   today=now()
   
  
%>
<script>

<!--打开公告-->
function open_notify(NOTIFY_ID,FORMAT)
{
 URL="gonggao/openFile.asp?id="+NOTIFY_ID;
 myleft=80;
 mytop=80
 mywidth=(screen.availWidth-160);
 myheight=(screen.availHeight-120);
 if(FORMAT=="1")
 {
    myleft=0;
    mytop=0
    mywidth=screen.availWidth-10;
    myheight=screen.availHeight-40;
 }
 window.open(URL,'_blank',"height="+myheight+",width="+mywidth+",status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+mytop+",left="+myleft+",resizable=yes");
 this.location = this.location;
}


</script>





<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td  height="496" align="center" valign="top">


<table width="98%" height="493"   border="0" cellpadding="0" cellspacing="0"  style="border-collapse:collapse">

<tr>
<td height="370" align="left" valign="top">


	
	<!--公告开始公告开始公告开始公告开始公告开始公告开始公告开始公告开始公告开始公告开始公告开始公告开始-->
	
		<% Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
        call   MyOAASPObj.MainBiaoQian(Tname,imgdir,"0")
		   set MyOAASPObj=nothing
        %>
	
	<!--公告结束公告结束公告结束公告结束公告结束公告结束公告结束公告结束公告结束公告结束-->
	
	
	<% Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
        call   MyOAASPObj.Maingonggao(Tname,imgdir,"0")
		   set MyOAASPObj=nothing
        %>
	
	
	
	
	
	</td>
  </tr>
</table></td>
<td width="280" align="center" valign="top">


<!--#include file="main_Right.asp"-->
</td>
 </tr>
</table>		

   
</body>
</html>
