// 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 = "current"; var currentPageLink = "blogger.html"; var archivePath = ""; var preLink = ""; var postLink = ""; function ArchivePage_MakeLink(){ var month_name = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); var newName = preLink + month_name[this.StartDate.getMonth()]+" "+this.StartDate.getFullYear() + postLink; var outString = ""; if ( -1 != location.href.indexOf( this.Link ) ){ outString = "" + newName + "
"; } else{ outString = "" + newName + "
"; } 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; n" + currentPageName + "
"); } for ( var n=start; n