function datedcode(codeStartDate, codeInsert, codeDays){
 if (codeDays == undefined) { codeDays = 30; }
 codeDays = codeDays + 1;
 var todaysDate=new Date();var startDate=new Date();startDate.setTime(Date.parse(codeStartDate));var codeLeftToGo=parseInt(1+(todaysDate-startDate)/86400000);
 if (codeLeftToGo < codeDays &&  codeLeftToGo > 0){ document.write(codeInsert); }
}
// datedcode.js June 2005
