function showlink(dt,dm) { dc=dt; dt=dt+","; var strpostdd="2008-11-21,2008-11-19,2008-11-18,2008-11-17,2008-11-13,2008-11-10,2008-11-8,2008-11-6,2008-11-4,2008-11-2,2008-10-31,2008-10-29,2008-10-27,2008-10-25,2008-10-23,2008-10-21,2008-10-19,2008-10-15,2008-10-13,2008-10-11,2008-10-9,2008-10-7,2008-10-5,2008-10-3,2008-10-1,2008-9-29,2008-9-27,2008-9-25,2008-9-23,2008-9-21,2008-9-19,2008-9-17,2008-9-15,2008-9-11,2008-9-9,2008-9-7,2008-9-5,2008-9-3,2008-9-1,2008-8-28,2008-8-27,2008-8-24,2008-8-22,2008-8-20,2008-8-18,2008-8-16,2008-8-13,2008-8-11,2008-8-7,2008-8-5,2008-8-3,2008-8-1,2008-7-30,2008-7-28,2008-7-26,2008-7-24,2008-7-23,2008-7-21,2008-7-17,2008-7-16,2008-7-13,2008-7-11,2008-7-9,2008-7-7,2008-7-6,2008-6-25,2008-6-23,2008-6-21,2008-6-18,2008-6-16,2008-6-12,2008-6-9,2008-6-7,2008-6-5,2008-6-3,2008-6-1,2008-5-30,2008-5-28,2008-5-25,2008-5-23,2008-5-21,2008-5-19,2008-5-15,2008-5-14,2008-5-11,2008-5-9,2008-5-7,2008-5-5,2008-5-3,2008-5-1,2008-4-29,2008-4-27,2008-4-24,2008-4-22,2008-4-21,2008-4-17,2008-4-15,2008-4-14,2008-4-12,2008-4-10,2008-4-7,2008-4-6,2008-4-2,2008-4-1,2008-3-27,2008-3-25,2008-3-23,2008-3-20,2008-3-18,2008-3-16,2008-3-13,2008-3-11,2008-3-10,2008-3-7,2008-3-4,2008-3-3,2008-3-1,2008-2-28,2008-2-25,2008-2-21,2008-2-19,2008-2-16,2008-2-13,2008-2-9,2008-2-7,2008-2-6,2008-2-3,2008-2-2,2008-1-29,2008-1-28,2008-1-24,2008-1-23,2008-1-21,2008-1-17,2008-1-16,2008-1-15,2008-1-12,2008-1-10,2008-1-8,2008-1-7,2008-1-6,2008-1-5,2008-1-2,2008-1-1,2007-12-28,2007-12-27,2007-12-26,2007-12-20,2007-12-18,2007-12-15,2007-12-14,2007-12-9,2007-12-8,2007-12-5,2007-12-3,2007-11-30,2007-11-27,2007-11-23,2007-11-20,2007-11-19,2007-11-14,2007-11-12,2007-11-8,2007-11-6,2007-11-5,2007-11-3,2007-11-2,2007-10-30,2007-10-25,2007-10-23,2007-10-18,2007-10-17,2007-10-12,2007-10-11,2007-10-9,2007-10-5,2007-10-3,2007-9-30,2007-9-28,2007-9-26,2007-9-23,2007-9-21,2007-9-19,2007-9-16,2007-9-13,2007-9-10,2007-9-8,2007-9-4,2007-9-2,2007-8-30,2007-8-28,2007-8-26,2007-8-24,2007-8-22,2007-8-20,2007-8-12,2007-8-10,2007-8-8,2007-8-7,2007-8-6,2007-8-4,2007-7-27,2007-7-23,2007-7-16,2007-7-9,2007-7-3,2007-7-1,2007-6-30,2007-6-26,2007-6-22,2007-6-19,2007-6-16,2007-6-13,2007-6-10,2007-6-4,2007-5-26,2007-5-22,2007-5-20,2007-5-19,2007-5-17,2007-5-13,2007-5-11,2007-5-10,2007-5-9,2007-5-8,2007-5-6,2007-5-5,2007-5-4,2007-5-3,"; 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+="月份>>