/* NemuList AutomaticCreating Program Ver1.0 */ //BaseAdd="http://www.bc.wakwak.com/~cosa/"; BaseAdd="http://127.0.0.1/~tukimi/hello2/"; OffLineBaseAdd='C:/www/tukimi/public_html/hello2/'; Depth=0; DiaryNumber=2; StartYear =1999; StartMonth=10; MonthDepth=2; NowMonthDepth=0; DiaryFolder="diary"; NowDiaryFile="diary.html"; HtmlFileExtension=".html"; MainSubstance='
'; MainListTag='
'); function MainListSelected() { document.write(MainListSelectedTag+Nemu[D][1]+''); }; function GrandchildList() { document.write(ChildrenListTag); Count=1; for(H=1;Count<=Nemu[D][4];H+=2) { GrandchildAdd=BaseAddBlame+Nemu[D][(4+H)][2]; if(GrandchildAdd == location) { document.write(ChildrenListSelectedTag+Nemu[D][(4+H)][1]+''); document.write(GrandchildListTag); for(I in Nemu[D][(4+H)+1][0]) { document.write(GrandchildListSelectedTag+''+Nemu[D][(4+H)+1][0][I]+''); }; document.write(''); Count++; continue; }; document.write('
  • '+Nemu[D][(4+H)][1]+'
  • '); Count++; }; document.write(''); }; function ListCgi() { document.write(ChildrenListTag); for(F=1;F'); continue; }; if(F == CgiPageMax){break;}; document.write('
  • Page'+F+'
  • '); }; document.write(''); }; function ChildrenList() { document.write(ChildrenListTag); for(E1 in Nemu[D][4]) { document.write(ChildrenListSelectedTag+''+Nemu[D][4][E1]+''); }; document.write(''); }; function DiaryList() { BaseDiaryAdd=BaseAdd+DiaryFolder+'/'; YY=new Date().getFullYear(); MM=new Date().getMonth()+1; DD=new Date().getDate(); RemainYear=YY-StartYear; if(StartMonth<10){StartMonth="0"+StartMonth;}; B1=0; C1=0; if(NemuName[NowMonthDepth] != NowDiaryFile) { Depth=MonthDepth; }else{ Depth=NowMonthDepth; }; NowPageMonth=NemuName[Depth].substring(0,2); NowPageYear =NemuName[Depth-1]; if(NowPageYear == YY || NowPageMonth == SecondLetter) { WriteNowYear(); }else if(NowPageYear == StartYear) { WriteStartYear(); }else{ WriteYear(); }; function WriteNowYear() { document.write(ChildrenListTag); for(D1=0;D1'+(StartYear+D1)+'年') }else{ document.write('
  • '+(StartYear+D1)+'年
  • ');}; }; document.write(ChildrenListSelectedTag+YY+'年'); document.write(GrandchildListTag); for(A1=1;A1<=MM;A1++) { ListStream(); if(NowPageMonth == SecondLetter && A1 == MM) { document.write(GrandchildListSelectedTag+B1+'月'); break; }; if(B1 == MM) { DepthDifference=MonthDepth-NowMonthDepth DepthUp=""; for(H1=1;H1 <= DepthDifference;H1++) { DepthUp=DepthUp+"../"; }; C1=DepthUp+DiaryFolder; }; if(C1 < 10){C1="0"+C1;}; document.write('
  • '+B1+'月
  • '); }; document.write(''); }; function WriteYear() { NowPageOldYear=NowPageYear-StartYear; NowPageNewYear=YY-NowPageYear; document.write(ChildrenListTag); for(D1=0;D1'+(StartYear+D1)+'年')} else{ document.write('
  • '+(StartYear+D1)+'年
  • ');}; }; document.write(ChildrenListSelectedTag+NowPageYear+'年'); document.write(GrandchildListTag); for(A1=1;A1<=12;A1++) { ListStream(); if(A1 == 13){break;}; if(C1 < 10){C1="0"+C1;}; document.write('
  • '+B1+'月
  • '); }; document.write(''); for(D1=1;D1<=NowPageNewYear;D1++) { document.write('
  • '+(Number(NowPageYear)+D1)+'年
  • '); }; }; function WriteStartYear() { document.write(ChildrenListTag); document.write(ChildrenListSelectedTag+NowPageYear+'年'); document.write(GrandchildListTag); B1=StartMonth-1; C1=StartMonth-1; for(A1=StartMonth;A1<=12;A1++) { ListStream(); if(A1 == 13){break;}; if(C1 < 10){C1="0"+C1;}; document.write('
  • '+B1+'月
  • '); }; document.write(''); for(D1=1;D1<=RemainYear;D1++) { document.write('
  • '+(StartYear+D1)+'年
  • ') }; }; function ListStream() { B1++; C1++; if(NowPageMonth == A1) { document.write(GrandchildListSelectedTag+B1+'月'); A1++; B1++; C1++; }; }; document.write(''); };