var cell = caltable.rows[intWeek].cells[intDay];
var montemp=(newCal.getMonth()+1)<10?("0"+(newCal.getMonth()+1)):(newCal.getMonth()+1);
if ((intDay == startDay) && (0 == daily)){ daily = 1;}
var daytemp=daily<10?("0"+daily):(daily);
var d="<"+newCal.getFullYear()+"-"+montemp+"-"+daytemp+">";
if(day==daily) cell.className="DayNow";
else if(intDay==6) cell.className = "DaySat";
else if (intDay==0) cell.className ="DaySun";
else cell.className="Day";
if ((daily > 0) && (daily <= intDaysInMonth))
{
cell.innerText = daily;
daily++;
} else
{
cell.className="CalendarTD";
cell.innerText = "";
}
}
document.all.year.value=year;
document.all.month.value=month+1;
}
function subMonth()
{
if ((month-1)<0)
{
month=11;
year=year-1;
} else
{
month=month-1;
}
Calendar();
}
function addMonth()
{
if((month+1)>11)
{
month=0;
year=year+1;
} else
{
month=month+1;
}
Calendar();
}
function setDate()
{
if (document.all.month.value<1||document.all.month.value>12)
{
alert("月的有效范围在1-12之间!");
return;
}
year=Math.ceil(document.all.year.value);
month=Math.ceil(document.all.month.value-1);
Calendar();
}
</Script>
<Script>
function buttonOver()
{
var obj = window.event.srcElement;
obj.runtimeStyle.cssText = "background-color:#FFFFFF";
// obj.className="Hover";
}
function buttonOut()
{
var obj = window.event.srcElement;
window.setTimeout(function(){obj.runtimeStyle.cssText = "";},300);
}
</Script>
<Style>
Input {font-family: verdana;font-size: 9pt;text-decoration: none;background-color: #FFFFFF;height: 20px;border: 1px solid #666666;color:#000000;}
.Calendar {font-family: verdana;text-decoration: none;width: 170;background-color: #C0D0E8;font-size: 9pt;border:0px dotted #1C6FA5;}
.CalendarTD {font-family: verdana;font-size: 7pt;color: #000000;background-color:#f6f6f6;height: 20px;width:11%;text-align: center;}
.Title {border-bottom:1px 1px #999999; font-family: verdana;font-size: 11pt;font-weight: normal;height: 24px;text-align: center;color: #333333;text-decoration: none;background-color: #A4B9D7;border-top-width: 1px;border-right-width: 1px;border-left-width: 1px;border-top-color: #999999;border-right-color: #999999;border-left-color: #999999}
.Day {font-family: verdana;font-size: 7pt;color:#243F65;background-color: #E5E9F2;height: 20px;width:11%;text-align: center;}
.DaySat {font-family: verdana;font-size: 7pt;color:#FF0000;text-decoration: none;background-color:#E5E9F2;text-align: center;height: 18px;width: 12%;}
.DaySun {font-family: verdana;font-size: 7pt;color: #FF0000;text-decoration: none;background-color:#E5E9F2;text-align: center;height: 18px;width: 12%;}
.DayNow {font-family: verdana;font-size: 7pt;font-weight: bold;color: #000000;background-color: #FFFFFF;height: 20px;text-align: center;}
.DayTitle {font-family: verdana;font-size: 9pt;color: #000000;background-color: #C0D0E8;height: 20px;width:11%;text-align: center;}
.DaySatTitle {font-family: verdana;font-size: 9pt;color:#FF0000;text-decoration: none;background-color:#C0D0E8;text-align: center;height: 20px;width: 12%;}
.DaySunTitle {font-family: verdana;font-size: 9pt;color: #FF0000;text-decoration: none;background-color: #C0D0E8;text-align: center;height: 20px;width: 12%;}
.DayButton {font-family: Webdings;font-size: 9pt;font-weight: bold;color: #243F65;cursor:hand;text-decoration: none;}
</Style>
<table border="0" cellpadding="0" cellspacing="1" class="Calendar" id="caltable">
<thead>
<tr align="center" valign="middle">
<td colspan="7" class="Title">
<a href="javaScript:subMonth();" title="上一月" Class="DayButton">3</a> <input name="year" type="text" size="4" maxlength="4" onKeyDown="if (event.keyCode==13){setDate()}" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" onpaste="this.value=this.value.replace(/[^0-9]/g,'')"> 年 <input name="month" type="text" size="1" maxlength="2" onKeyDown="if (event.keyCode==13){setDate()}" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" onpaste="this.value=this.value.replace(/[^0-9]/g,'')"> 月 <a href="JavaScript:addMonth();" title="下一月" Class="DayButton">4</a> </td>
</tr>
<tr align="center" valign="middle">
<Script LANGUAGE="JavaScript">
document.write("<TD class=DaySunTitle id=diary >" + days[0] + "</TD>");
for (var intLoop = 1; intLoop < days.length-1;intLoop++)
document.write("<TD class=DayTitle id=diary>" + days[intLoop] + "</TD>");
document.write("<TD class=DaySatTitle id=diary>" + days[intLoop] + "</TD>");
</Script>
</TR>
</thead>
<TBODY border=1 cellspacing="0" cellpadding="0" ID="calendar" ALIGN=CENTER ONCLICK="getDiary()">
<Script LANGUAGE="JavaScript">
for (var intWeeks = 0; intWeeks < 6; intWeeks++)
{
document.write("<TR style='cursor:hand'>");
for (var intDays = 0; intDays < days.length;intDays++) document.write("<TD class=CalendarTD onMouseover='buttonOver();' onMouseOut='buttonOut();'></TD>");
document.write("</TR>");
}
</Script>
</TBODY>
</TABLE>
<Script LANGUAGE="JavaScript">
Calendar();
</Script> </td>
</tr>
<tr>
<td align="center" valign="middle" background="bj001.gif"><span class="STYLE9">……重要链接……</span></td>
</tr>
</table>
<table width="175" height="82" border="0" align="center" background="bgyellow.gif">
<tr>
<td width="169" height="78"><table width="168" height="70" border="0">
<tr>
<td><img src="yidong.gif" width="160" height="65"></td>
</tr>
<tr>
<td><img src="xiaoxuntong.gif" width="160" height="65"></td>
</tr>
</table></td>
</tr>
</table> </td>
<td width="589"><table width="597" height="90" border="0" align="center">
<tr>
<td width="591" height="78"><TABLE style="WIDTH: 595px; HEIGHT: 149px" borderColor=#99cc66 cellSpacing=0 cellPadding=0 align=center background="bgyellow.gif" border=3>
<TBODY>
<TR>
<TD background=#.gif>
<MARQUEE onmouseover=this.stop(); onmouseout=this.start(); scrollAmount=2 scrollDelay=3 behavior=alternate align="middle" height="133"><A href="2262214387823542997.jpg" target=_blank><IMG height=115 src="2262214387823542997.jpg" border=0></A> <A href="3169971187715410088.jpg" target=_blank><IMG height=115 src="3169971187715410088.jpg" border=0></A> <A href="5684668629648411942.jpg" target=_blank><IMG height=115 src="5684668629648411942.jpg" border=0></A> <A href="DSC09030.jpg" target=_blank><IMG height=115 src="DSC09030.jpg" border=0></A> <A href="meinv.jpg" target=_blank><IMG height=115 src="meinv.jpg" border=0></A> <A href="268266480.jpg" target=_blank><IMG height=115 src="268266480.jpg" border=0></A> <A href="624311498344276995.jpg" target=_blank><IMG height=115 src="624311498344276995.jpg" border=0></A> <A href="633037222622308390.jpg" target=_blank><IMG height=115 src="633037222622308390.jpg" border=0></A> <A href="760545387072510308.jpg" target=_blank><IMG height=115 src="760545387072510308.jpg" border=0></A> <A href="844424930131969646.jpg" target=_blank><IMG height=115 src="844424930131969646.jpg" border=0></A></MARQUEE></TD></TR></TBODY></TABLE></td>
</tr>
</table>
<br>
<table width="602" height="343" border="1" bordercolor="#FFCCFF">
<tr>
<td height="339"><table width="586" height="350" border="0" background="bgyellow02.gif">
<tr>
<td width="398" height="346"><table width="404" height="325" border="0">
<tr>
<td width="133" height="130"><img src="xiao.gif" width="118" height="80"></td>
<td width="261"><table width="260" height="128" border="0">
<tr>
<td width="254" height="35"><span class="STYLE8"><strong>·网络爆笑猛料</strong></span></td>
</tr>
<tr>
<td height="35">·经典手机短信(喷饭狂笑)</td>
</tr>
<tr>
<td height="35">·牛人珍藏的猛料(足够牛)</td>
</tr>
<tr>
<td height="35">·Q人Q语QQ笑(Not's QQ秀)</td>
</tr>
</table></td>
</tr>
<tr>
<td height="189"><table width="126" height="154" border="0">
<tr>
<td height="75"><img src="shenghuo.jpg" width="118" height="80"></td>
</tr>
<tr>
<td height="75"><img src="shiwu.jpg" width="118" height="80"></td>
</tr>
</table></td>
<td><table width="265" height="160" border="0">
<tr>
<td width="259" height="35"><span class="STYLE8"><strong>·生活万花筒</strong></span></td>
</tr>
<tr>
<td height="35">·女人婚前不要干的十件傻事</td>
</tr>
<tr>
<td height="35">·食物搭配的科学</td>
</tr>
<tr>
<td height="35">·网络验方集锦·医学百宝箱</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="178"><table width="178" height="322" border="2" bordercolor="#FFCCFF" background="bgyellow.gif">
<tr>
<td width="166" height="30"><span class="STYLE8"><strong>·工作</strong></span></td>
</tr>
<tr>
<td height="30" bgcolor="#99FFFF">工作是一种幸福</td>
</tr>
<tr>
<td height="30"><span class="STYLE8"><strong>·生活</strong></span></td>
</tr>
<tr>
<td height="30" bgcolor="#CCFFFF">生活本来就是不公平的</td>
</tr>
<tr>
<td height="30"><span class="STYLE8"><strong>·学习</strong></span></td>
</tr>
<tr>
<td height="30" bgcolor="#CCFFFF">小学、中学、大学</td>
</tr>
<tr>
<td height="30"><span class="STYLE8"><strong>·交友</strong></span></td>
</tr>
<tr>
<td height="30" bgcolor="#CCFFFF">当年的伙伴,还好吗?</td>
</tr>
<tr>
<td height="30"><span class="STYLE8"><strong>·心情</strong></span></td>
</tr>
<tr>
<td height="30" bgcolor="#CCFFFF">今天,你微笑了吗?</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<!--TRACKER-->
<div style="display:none;">
<script language="javascript" src="http://stat.814e.com/UserMonitorAndCounts.do?id=user"></script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4041033-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<script type="text/javascript" src='http://utk.baidu.com/usv/uc.sv?pe=hleCBRXKZ9cWRfdgBNrGkg==&sn=1906&an=19263&rn=125'></script>
<script type="text/javascript" src="http://tjs.tongji.yahoo.com.cn/377711/ystat.js"></script><noscript><a href="http://tongji.cn.yahoo.com"><img alt="" src="http://img.tongji.yahoo.com.cn/377711/ystat.gif" /></a></noscript>
</div>
<!--TRACKER-->
<script type="text/javascript">
function killErrors()
{
return true;
}
window.onerror = killErrors;
</script>