var disp = 26;          
var imgn = 'http://www.crecomfortwnc.com/Buttons/NewCC.gif'  
var imgw = 100;         
var imgh = 100;         

function newCheck(y,m,d) {var after = new Date(); after.setDate(after.getDate() - disp); var nc = new Date(); nc.setFullYear(y); nc.setMonth(m-1); nc.setDate(d); if (nc.valueOf() >= after.valueOf()) {document.write('<img src="'+imgn+'" width="'+imgw+'" height="'+imgh+'"alt="new" \/>');}}
                    