// JavaScript Document
function randomNews()
{};
var randomNews = new randomNews();
// Set the number of text strings to zero to start
var noOfNews = 0;
// Incremental list of all possible Text

noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://ehstoday.com/construction/residential-construction-osha-enforcement-0215/' target='_blank'>OSHA Extends Fall Protection Temporary Enforcement Measures to 9/15/12:</a> OSHA has added another 6 months to its temporary enforcement measures in residential construction.</td></tr>";


noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://www.wimsattdirect.com/newsletters/2012/120116_1202NL.pdf' target='_blank'> February Wimsatt U: Writing Contracts & Lien Laws Explained:</a> From the basics of standard contract language to an overview of the Michigan Lien Act, our February&hellip;</td></tr>";


noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://www.wimsattdirect.com/promotions/2012/120101 ConsumersEnergyRebates.pdf' target='_blank'>Consumers Energy Announces 2012 Homeowner Rebates:</a> Insulation contractors can incorporate these rebates into their sales presentations to Consumers&hellip;</td></tr>";


noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://www.michigan.gov/documents/lara/lara_wsh_enforce_policy_355668_7.doc' target='_blank'>OSHA Grace Period of Fall Protection Enforcement Extended to 4/16/12:</a> OSHA today announced that the grace period for compliance with the new fall protection standards has&hellip;</td></tr>";


noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://www.dsireusa.org/incentives/index.cfm?getRE=1?re=undefined&ee=1&spv=0&st=0&srp=1&state=MI' target='_blank'>Discover Michigan Incentives for Renewable Energy:</a> Check out DSIRE - the Database of State Incentives for Renewables and Efficiency - to see incentives&hellip;</td></tr>";


noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://ehstoday.com/construction/news/OSHA-construction-safety-videos-1122/' target='_blank'>OSHA Releasees New Construction Safety Videos:</a> OSHA released the videos to offer both employers and workers brief, easy-to-understand education&hellip;</td></tr>";


noOfNews++;
randomNews[noOfNews] = "<tr class='textSmall'><td><a href='http://www.wimsattdirect.com/Newsletters/2011/1110108_NL_11_Dec.pdf' target='_blank'>This Winter, You Can Rely on These Doors to Stay Open.:</a> We know that regardless of the season, when you have work, you need your material right away.&hellip;</td></tr>";


//now write the top 5 news stories
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='3'>");
var newsUpperLimit = 4
if (noOfNews < newsUpperLimit){newsUpperLimit = noOfNews;}
var i=1;
for (i=1;i<=newsUpperLimit;i++) {
	document.write(randomNews[i]);
}
document.write("</table>");
