function showlink(dt,dm) { dc=dt; dt=dt+","; var strpostdd="2007-6-20,2007-6-11,2007-6-6,2007-5-24,2007-5-17,2007-5-13,2007-5-10,2007-5-8,2007-4-16,2007-4-10,2007-3-26,2007-3-17,2007-3-4,2007-2-28,2007-2-27,2007-2-25,2007-2-15,2007-2-14,2007-2-10,2007-2-7,2007-2-1,2007-1-29,2007-1-26,2007-1-23,2007-1-12,2007-1-8,2007-1-4,2006-12-31,2006-12-28,2006-12-22,2006-12-14,2006-12-13,2006-12-11,2006-12-7,2006-12-1,2006-11-30,2006-11-28,2006-11-23,2006-11-10,2006-11-8,2006-11-6,2006-11-3,2006-10-31,2006-10-30,2006-10-26,2006-10-25,2006-10-23,2006-10-19,2006-10-13,2006-10-1,2006-9-29,2006-9-25,2006-9-19,2006-9-14,2006-9-11,2006-9-8,2006-9-7,2006-9-6,2006-8-31,2006-8-30,2006-8-29,2006-8-28,2006-8-22,2006-8-21,2006-8-18,2006-8-15,2006-8-14,2006-8-11,2006-8-9,2006-8-8,2006-8-7,2006-8-4,2006-8-3,2006-8-2,2006-8-1,2006-7-31,2006-7-27,2006-7-25,2006-7-21,2006-7-20,2006-7-19,2006-7-17,2006-7-14,"; d = new Date(); if(strpostdd.indexOf(dt)!=-1) { if(dm!=d.getDate()) return ""+dm+""; else{if (dm>d.getDate()){return dm;}else{return ""+dm+"";} }}else{ if(dm==d.getDate()) return ""+dm+""; else return dm;}} function showcc(yy,mm,dd){mm--; var arrdd=new Array(31,28,31,30,31,30,31,31,30,31,30,31); if(dd==1) dd=arrdd[mm]; switch(mm) { case 0:strmm="1"; break; case 1:strmm="2"; break; case 2:strmm="3"; break; case 3:strmm="4"; break; case 4:strmm="5"; break; case 5:strmm="6"; break; case 6:strmm="7"; break; case 7:strmm="8"; break; case 8:strmm="9"; break; case 9:strmm="10"; break; case 10:strmm="11"; break; case 11:strmm="12"; break; } var thisyear=yy; var thismonth=mm; var lastday=dd; if(thismonth==1){ if (thisyear%4==0 || (thisyear%100==0 && thisyear%400==0)){ lastday=29;arrdd[1]=29;}else{lastday=28;arrdd[1]=28;}}tempyy=yy-1; if(mm!=1) {tempmm=mm;} else {tempmm=1;} if(tempmm<1) {tempmm=1;tempdd=arrdd[0];} else{tempdd=arrdd[mm-1];} if(mm!=12){tempmm1=mm+2;}else{tempmm1=12;} if(tempmm1>12){tempmm1=12;tempdd1=arrdd[11];}else{tempdd1=arrdd[mm+1];} tempyy1=yy+1; tempstr=""; tempstr+=""; thisdd = new Date(); thisdd.setFullYear(thisyear,thismonth,1); firstday=thisdd.getDay(); cmi=42; if (lastday<31 || firstday==0) cmi=36; for(i=0;i
"; tempstr+="<< "; tempstr+=""+yy+"年 >> << "+strmm+""; tempstr+="月份>>