// Generated by the Blogger Archive Script Generator // at http://philringnalda.com/scriptgen/ // Based on code by Andy Buchanan from // http://weblog.cheesephone.co.uk/mytemplate.html // User data var currentPageName = "Home"; var currentPageLink = "http://www.eduwonk.com"; var archivePath = "http://www.eduwonk.com/archives/"; var preLink = "Week of "; var postLink = ""; function ArchivePage_MakeLink(){ var month_name = new Array("Jan.", "Feb.", "Mar.", "Apr.", "May.", "Jun.", "Jul.", "Aug.", "Sep.", "Oct.", "Nov.", "Dec."); var newName = preLink + month_name[this.StartDate.getMonth()]+" "+this.StartDate.getDate()+", "+this.StartDate.getFullYear() + postLink; var outString = ""; if ( -1 != location.href.indexOf( this.Link ) ){ outString = ""; } else{ outString = ""; } return outString; } function ArchivePage_Compare( rhs ){ if ( this.StartDate == rhs.StartDate ) return 0; else if ( this.StartDate > rhs.StartDate ) return 1; else return -1; } function ArchivePage( theLink, theName ){ this.Link = theLink; this.Name = theName; this.StartDate = new Date( this.Name.slice(6,10), this.Name.slice(0,2)-1, this.Name.slice(3,5) ); this.EndDate = new Date( this.Name.slice(13+6,13+10), this.Name.slice(13+0,13+2)-1, this.Name.slice(13+3,13+5) ); ArchivePage.prototype.MakeLink = ArchivePage_MakeLink; ArchivePage.prototype.Compare = ArchivePage_Compare; } function bi_comp( a, b ){ return -a.Compare( b ); } function FindIdx( myURL ){ for ( var n=0; nfunction gothere(where){location.href = where.options[where.selectedIndex].value;}"); document.write("
"); document.write("