document.writeln("<SCRIPT type=text\/JavaScript>");
document.writeln("<!--");
document.writeln("function MM_preloadImages() { \/\/v3.0");
document.writeln("  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();");
document.writeln("    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)");
document.writeln("    if (a[i].indexOf(\"#\")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}");
document.writeln("}");
document.writeln("");
document.writeln("function MM_swapImgRestore() { \/\/v3.0");
document.writeln("  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;");
document.writeln("}");
document.writeln("");
document.writeln("function MM_findObj(n, d) { \/\/v4.01");
document.writeln("  var p,i,x;  if(!d) d=document; if((p=n.indexOf(\"?\"))>0&&parent.frames.length) {");
document.writeln("    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}");
document.writeln("  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];");
document.writeln("  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);");
document.writeln("  if(!x && d.getElementById) x=d.getElementById(n); return x;");
document.writeln("}");
document.writeln("");
document.writeln("\/\/-->");
document.writeln("<\/SCRIPT>");
document.writeln("");
document.writeln("<SCRIPT type=text\/javascript>");
document.writeln("						function strClock() {");
document.writeln("							var now = new  Date();  ");
document.writeln("							var hh  = now.getHours();  ");
document.writeln("							var mm  = now.getMinutes();  ");
document.writeln("							var ss  = now.getTime();  ");
document.writeln("							var clock = hh+\'_\'+ mm +\'_\'+ ss; ");
document.writeln("			");
document.writeln("							return(clock);");
document.writeln("						}");
document.writeln("					<\/SCRIPT>");
document.writeln("");
document.writeln("<SCRIPT type=text\/javascript>");
document.writeln("		var temp=new Date();var tyear=temp.getYear();var tmonth=temp.getMonth()+1;var tday=temp.getDate();var nyear,nmonth;if(navigator.appName==\"Netscape\"){tyear=tyear+1900}var nyear=tyear;var nmonth=tmonth;var t;var msPerDay=24*60*60*1000;var lyear,lmonth,lday,l_time,l_sec;var syear,smonth,sday,s_time,s_sec;");
document.writeln("		function init(){t=document.wmform.cyc.value;lyear=document.wmform.ly[document.wmform.ly.selectedIndex].value;lmonth=document.wmform.lm[document.wmform.lm.selectedIndex].value;lday=document.wmform.ld[document.wmform.ld.selectedIndex].value;l_time=new Date(Date.UTC(lyear,lmonth-1,lday));l_sec=l_time.getTime();syear=document.wmform.sy[document.wmform.sy.selectedIndex].value;smonth=document.wmform.sm[document.wmform.sm.selectedIndex].value;sday=document.wmform.sd[document.wmform.sd.selectedIndex].value;s_time=new Date(Date.UTC(syear,smonth-1,sday));s_sec=s_time.getTime()}");
document.writeln("		function mon_arr(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12){this[1]=m1;this[2]=m2;this[3]=m3;this[4]=m4;this[5]=m5;this[6]=m6;this[7]=m7;this[8]=m8;this[9]=m9;this[10]=m10;this[11]=m11;this[12]=m12}");
document.writeln("		var t_mdays;");
document.writeln("		function month_days(year,month){var monthDays=new mon_arr(31,28,31,30,31,30,31,31,30,31,30,31);if(((year%4==0)&&(year%100!=0))||(year%400==0)){monthDays[2]=29}return monthDays[month]}");
document.writeln("		var newWindow1 = null;");
document.writeln("		function windowOpener1(txt){if(!newWindow1||newWindow1.closed){newWindow1=window.open(\"\",\"newwin\",\"toolbar,dependent,width=370,height=270\")}else{newWindow1.close();newWindow1=window.open(\"\",\"newwin\",\"toolbar,dependent,width=370,height=270\");newWindow1.focus()}newWindow1.document.write(txt)}");
document.writeln("		var t;");
document.writeln("		function count_case(){var temp_sec=l_sec;if(s_sec<l_sec){while(temp_sec>s_sec){temp_sec=temp_sec-t*msPerDay}var temp_time=new Date();temp_time.setTime(temp_sec);var day_case=(s_sec-temp_time)\/msPerDay;if(day_case>=0&&day_case<=4){str=\"<a href=http:\/\/living.sina.com.cn\/subject\/yuejing.html target=_blank><img src=http:\/\/i2.sinaimg.cn\/living\/v\/vw_dc1.gif width=285 height=157 border=0><\/a>\"}if(day_case>=5&&day_case<=(t\/2-6)){str=\"<img src=http:\/\/i3.sinaimg.cn\/living\/v\/vw_dc2.gif width=285 height=157>\"}if(day_case>=(t\/2-5)&&day_case<=(t\/2+4)){str=\"<img src=http:\/\/i0.sinaimg.cn\/living\/v\/vw_dc3.gif width=285 height=157>\"}if(day_case>=(t\/2+5)&&day_case<=(t-1)){str=\"<img src=http:\/\/i3.sinaimg.cn\/living\/v\/vw_dc2.gif width=285 height=157>\"}if(day_case==t){str=\"<a href=http:\/\/living.sina.com.cn\/subject\/yuejing.html target=_blank><img src=http:\/\/i2.sinaimg.cn\/living\/v\/vw_dc1.gif width=285 height=157 border=0><\/a>\"}return str}else if(s_sec==l_sec){str=\"<a href=http:\/\/living.sina.com.cn\/subject\/yuejing.html target=_blank><img src=http:\/\/i2.sinaimg.cn\/living\/v\/vw_dc1.gif width=285 height=157 border=0><\/a>\";return str}else if(s_sec>l_sec){while(temp_sec<s_sec){temp_sec=temp_sec+t*msPerDay}temp_sec=temp_sec-t*msPerDay;var temp_time=new Date();temp_time.setTime(temp_sec);var day_case=(s_sec-temp_time)\/msPerDay;if(day_case>=0&&day_case<=4){str=\"<a href=http:\/\/living.sina.com.cn\/subject\/yuejing.html target=_blank><img src=http:\/\/i2.sinaimg.cn\/living\/v\/vw_dc1.gif width=285 height=157 border=0><\/a>\"}if(day_case>=5&&day_case<=(t\/2-6)){str=\"<img src=http:\/\/i3.sinaimg.cn\/living\/v\/vw_dc2.gif width=285 height=157>\"}if(day_case>=(t\/2-5)&&day_case<=(t\/2+4)){str=\"<img src=http:\/\/i0.sinaimg.cn\/living\/v\/vw_dc3.gif width=285 height=157>\"}if(day_case>=(t\/2+5)&&day_case<=(t-1)){str=\"<img src=http:\/\/i3.sinaimg.cn\/living\/v\/vw_dc2.gif width=285 height=157>\"}if(day_case==t){str=\"<a href=http:\/\/living.sina.com.cn\/subject\/yuejing.html target=_blank><img src=http:\/\/i2.sinaimg.cn\/living\/v\/vw_dc1.gif width=285 height=157 border=0><\/a>\"}return str}}");
document.writeln("		function out_case() {	");
document.writeln("			txt=\"\";");
document.writeln("			txt=txt+\"<html><head><meta http-equiv=\'content-type\' content=\'text\/html;charset=gb2312\'><\/head>\";");
document.writeln("			txt=txt+\"<body bgcolor=#ffffff topmargin=5 marginheight=5 leftmargin=5 marginwidth=5><center>\";");
document.writeln("			txt=txt+\"<table border=0 cellspacing=0 cellpadding=10>\";");
document.writeln("			txt=txt+\"<tr valign=top><td>\"	");
document.writeln("			var txt_str=count_case();");
document.writeln("			txt=txt+txt_str;");
document.writeln("			txt=txt+\"<\/td><\/tr><tr><td align=center><a href=javascript:window.close()><img src=http:\/\/i0.sinaimg.cn\/living\/v\/vw_close.gif width=70 height=18 border=0><\/a><\/td><\/tr><\/table>\";");
document.writeln("			txt=txt+\"<\/body><\/html>\";	");
document.writeln("			windowOpener1(txt);");
document.writeln("		}");
document.writeln("		function count_color(c_year,c_month,j){var c_tday=new Date(Date.UTC(c_year,c_month-1,j));c_sec=c_tday.getTime();var temp_sec=l_sec;if(l_sec<c_sec){while(temp_sec<c_sec){temp_sec=temp_sec+t*msPerDay}temp_sec=temp_sec-t*msPerDay;var temp_time=new Date();temp_time.setTime(temp_sec);var day_case=(c_sec-temp_time)\/msPerDay;if(day_case>=0&&day_case<=4){return\"FF3300\"}if(day_case>=5&&day_case<=(t\/2-6)){return\"009933\"}if(day_case>=(t\/2-5)&&day_case<=(t\/2+4)){return\"FFC934\"}if(day_case>=(t\/2+5)&&day_case<=(t-1)){return\"009933\"}if(day_case==t){return\"FF3300\"}}else if(c_sec==l_sec){return\"FF3300\"}else if(c_sec<l_sec){while(temp_sec>c_sec){temp_sec=temp_sec-t*msPerDay}var temp_time=new Date();temp_time.setTime(temp_sec);var day_case=(c_sec-temp_time)\/msPerDay;if(day_case>=0&&day_case<=4){return\"FF3300\"}if(day_case>=5&&day_case<=(t\/2-6)){return\"009933\"}if(day_case>=(t\/2-5)&&day_case<=(t\/2+4)){return\"FFC934\"}if(day_case>=(t\/2+5)&&day_case<=(t-1)){return\"009933\"}if(day_case==t){return\"FF3300\"}}}");
document.writeln("		function out_calendar() {");
document.writeln("			var firstday = new Date(Date.UTC(syear,smonth-1,1));");
document.writeln("			f_sec=firstday.getTime();");
document.writeln("			f_day=firstday.getDay();");
document.writeln("			txt=\"\";");
document.writeln("			txt=txt+\"<html><head><meta http-equiv=\'content-type\' content=\'text\/html; charset=gb2312\'><\/head>\";");
document.writeln("			txt=txt+\"<body bgcolor=#ffffff topmargin=5 marginheight=5 leftmargin=5 marginwidth=5><center>\";");
document.writeln("			txt=txt+\"<table border=0 cellspacing=0 cellpadding=3>\";");
document.writeln("			txt=txt+\"<tr valign=top><td>\"");
document.writeln("			txt=txt+\"<table border=0 cellspacing=0 cellpadding=3>\";");
document.writeln("			txt=txt+\"<tr><td align=center height=25 colspan=7><b>\"+syear+\"<img src=http:\/\/i3.sinaimg.cn\/living\/v\/year.gif width=16 height=16>\"+smonth+\"<img src=http:\/\/i0.sinaimg.cn\/living\/v\/month.gif width=12 height=15><\/b><\/td><\/tr>\";");
document.writeln("			txt=txt+\"<tr><td colspan=7><img src=http:\/\/i0.sinaimg.cn\/living\/v\/vw_date.gif width=154 height=24><\/td><\/tr>\";");
document.writeln("			line=0;");
document.writeln("			j=1");
document.writeln("			s_mdays=month_days(syear,smonth);");
document.writeln("			while(j<=s_mdays){");
document.writeln("				txt=txt+\"<tr>\";	");
document.writeln("				for(i=0; i<=6; i++){");
document.writeln("					if(line==0 && i<f_day){");
document.writeln("						txt=txt+\"<td><\/td>\";");
document.writeln("					} else {");
document.writeln("						txt_color=count_color(syear,smonth,j);");
document.writeln("						txt=txt+\"<td><font color=#\"+txt_color+\">\"+j+\"<\/font><\/td>\";");
document.writeln("						j++;");
document.writeln("					}");
document.writeln("					if(j>s_mdays){");
document.writeln("						break;");
document.writeln("					}");
document.writeln("					if(i==6){								");
document.writeln("						line=1;");
document.writeln("					}					");
document.writeln("				}");
document.writeln("				txt=txt+\"<\/tr>\";");
document.writeln("			}	");
document.writeln("			txt=txt+\"<\/table><\/td><td width=10><\/td>\";");
document.writeln("			if(smonth==12){");
document.writeln("				var nmonth=1");
document.writeln("				var nyear=parseInt(syear)+1;");
document.writeln("			} else {");
document.writeln("				var nyear=syear;");
document.writeln("				var nmonth=parseInt(smonth)+1;");
document.writeln("			}");
document.writeln("			var temp_sec=l_sec;");
document.writeln("			if(f_sec>l_sec){");
document.writeln("				while(temp_sec<f_sec){");
document.writeln("					temp_sec=temp_sec+t*msPerDay;");
document.writeln("				}");
document.writeln("				temp_sec=temp_sec-t*msPerDay;");
document.writeln("				var temp_time= new Date();");
document.writeln("				temp_time.setTime(temp_sec);");
document.writeln("				var day_case=(f_sec-temp_time)\/msPerDay;");
document.writeln("				var day_case=s_mdays-t-day_case;");
document.writeln("			} else if (s_sec==l_sec){");
document.writeln("				var day_case=s_mdays-t-lday;		");
document.writeln("			} else if (f_sec<l_sec){");
document.writeln("				while(temp_sec>s_sec){");
document.writeln("					temp_sec=temp_sec-t*msPerDay;");
document.writeln("				}");
document.writeln("				var temp_time= new Date();");
document.writeln("				temp_time.setTime(temp_sec);");
document.writeln("				var day_case=(f_sec-temp_time)\/msPerDay;");
document.writeln("				var day_case=s_mdays-t-day_case;		");
document.writeln("			}");
document.writeln("			if(day_case<0){");
document.writeln("				firstday = new Date(Date.UTC(nyear,nmonth-1,1));");
document.writeln("				f_day=firstday.getDay();");
document.writeln("				s_mdays=month_days(nyear,nmonth);");
document.writeln("				txt=txt+\"<td>\";");
document.writeln("				txt=txt+\"<table border=0 cellspacing=0 cellpadding=3>\";");
document.writeln("				txt=txt+\"<tr><td align=center height=25 colspan=7><b>\"+nyear+\"<img src=http:\/\/i3.sinaimg.cn\/living\/v\/year.gif width=16 height=16>\"+nmonth+\"<img src=http:\/\/i0.sinaimg.cn\/living\/v\/month.gif width=12 height=15><\/b><\/td><\/tr>\";");
document.writeln("				txt=txt+\"<tr><td colspan=7><img src=http:\/\/i0.sinaimg.cn\/living\/v\/vw_date.gif width=154 height=24><\/td><\/tr>\";");
document.writeln("				line=0;");
document.writeln("				j=1");
document.writeln("				while(j<=s_mdays){");
document.writeln("					txt=txt+\"<tr>\";	");
document.writeln("					for(i=0; i<=6; i++){");
document.writeln("						if(line==0 && i<f_day){");
document.writeln("							txt=txt+\"<td><\/td>\";");
document.writeln("						} else {");
document.writeln("							txt_color=count_color(nyear,nmonth,j);");
document.writeln("							txt=txt+\"<td><font color=#\"+txt_color+\">\"+j+\"<\/font><\/td>\";");
document.writeln("							j++;");
document.writeln("						}");
document.writeln("						if(j>s_mdays){");
document.writeln("							break;");
document.writeln("						}");
document.writeln("						if(i==6){								");
document.writeln("							line=1;");
document.writeln("						}					");
document.writeln("					}");
document.writeln("					txt=txt+\"<\/tr>\";");
document.writeln("				}	");
document.writeln("				txt=txt+\"<\/table><\/td>\";");
document.writeln("			}");
document.writeln("			txt=txt+\"<\/tr>\";");
document.writeln("			txt=txt+\"<tr><td align=center height=20 colspan=3><img src=http:\/\/i1.sinaimg.cn\/living\/v\/vw_color.gif width=200 height=11><\/td><\/tr><tr><td align=right colspan=3 height=20><a href=javascript:window.close()><img src=http:\/\/i0.sinaimg.cn\/living\/v\/vw_close.gif width=70 height=18 border=0><\/a><\/td><\/tr><\/table>\";");
document.writeln("			txt=txt+\"<\/body><\/html>\";	");
document.writeln("			windowOpener1(txt);");
document.writeln("		}");
document.writeln("		function check_form(obj){init();if(isNaN(obj.value)){alert(\"周期无效，请输入数字\");obj.focus()}else if(lday>month_days(lyear,lmonth)){alert(\"所选日期无效，请重新输入\")}else if(sday>month_days(syear,smonth)){alert(\"所选日期无效，请重新输入\")}else{");
document.writeln("			\/\/ 080908 为监测流量所加 begin");
document.writeln("			urlStr = strClock();");
document.writeln("			\/\/ 080908 为监测流量所加 end");
document.writeln("			if(document.wmform.sd[document.wmform.sd.selectedIndex].value==\"\"){out_calendar()}else{out_case()}}");
document.writeln("		}");
document.writeln("		<\/SCRIPT>");
document.writeln("");
document.writeln("<SCRIPT language=javascript>");
document.writeln("<!--");
document.writeln("function showList(id,num){");
document.writeln("	if(num == 1){");
document.writeln("		document.getElementById(id).style.display = \"block\";");
document.writeln("	}");
document.writeln("	else{");
document.writeln("		document.getElementById(id).style.display = \"none\";");
document.writeln("	}");
document.writeln("}");
document.writeln("");
document.writeln("function MM_swapImage() { \/\/v3.0");
document.writeln("  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)");
document.writeln("   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}");
document.writeln("}");
document.writeln("\/\/-->");
document.writeln("<\/SCRIPT>");
document.writeln("");
document.writeln("<STYLE type=text\/css><\/STYLE>")