var currentTime = new Date();
var myDateone = new Date("January 01, 2010");
var myDatetwo = new Date("February 06, 2010");
function grantDate(){
var grantTime =  new Array(3)
grantTime[0]="<h2>The 2010 Grant applications are not available at this time.<br>They will be available starting Friday, January 1, 2010. </h2>"
grantTime[1]="<p>This year the Grant Application Microsoft Word Documents will again be in template form.  This means that when you complete your application you can save and print a copy, and then EMAIL your completed application document to the NBWG Program.  To be eligible for emailing your application, it must be the document you downloaded and not a replica.  If you return your application via email you are not required to obtain signatures.  Please review all available links on the right side of this web page as they contain valuable information for completing your application.  Please email your completed application to:  <b>nbwgrant@phoenix.gov</b></p><p>If you elect to hand deliver or mail your application via the postal service, you will be required to obtain signatures on your application.</p><p>The application is also being provided in Adobe Acrobat Reader format (pdf).  You may download and print these documents for your use.  The Adobe Acrobat Reader format (pdf) documents can not be submitted via email, and they require signatures. The Microsoft Word Template Documents must BOTH be submitted. (These are the fillable forms.)   </p><p><b>NBWG 2010 Application</b></p><blockquote><p><a href='http://phoenix.gov/cgi-bin/policecounter.cgi?2010_nbw_application_long_form.dot'>Microsoft Word Application Document Template format .dot</a></p><p><a href='http://phoenix.gov/cgi-bin/policecounter.cgi?2010_nbw_budget_section.dot'>Microsoft Word Budget Document Template format.dot</a></p><p><a href='http://phoenix.gov/cgi-bin/policecounter.cgi?2010_nbw_application_short_form.dot'>Application Short Form</a></p></blockquote>"
grantTime[2]="<h2>The 2010 Grant applications will be available beginning on January 1, 2010. The application deadline is February 6, 2010. Thank you for your interest and please check back for the next application process in 2010.</h2>"
if (currentTime < myDateone){document.write(grantTime[0])};
if (currentTime >= myDateone && currentTime < myDatetwo){document.write(grantTime[1])};
if (currentTime > myDatetwo){document.write(grantTime[2])};
}grantDate()