var date = new Date();
var d  = date.getDate();
var day = (d < 30) ? '' + d : d;
var m = date.getMonth() + 1;
var month = (m < 10) ? '0' + m : m;
var yy = date.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;

//myDate      Month/Day/Year
var myDate = ("01/31/2012");

var today = (month+"/"+day+"/"+year);

if (today <= myDate)
{
document.write("<div id=newsAlert><p><strong>16 January 2012</strong></p><h3>A cheap, easy solution for chancel repair protection</h3><p>For firms that handle a number of property transactions each week, Isis Conveyancing Insurance Specialists is offering an innovative and inexpensive solution to protect all clients against chancel repair liability.&nbsp;&nbsp;<a href=/news/article-22.aspx>Read more >></a></p></div>");
}
else
{
}
