﻿{
    var fg =  '<h4><u>Holiday Hours</u></h4>' + 
              '<p class="home10">Please note our updated support hours:</p>' + 
              '<ul>' + 
              '<li class="home10">Monday, February 20th, 2012, our support offices will be closed</li></ul>';
    var wcm = '<h3>Holiday Hours</h3>' + 
              '<p class="bodyfont">Please note our updated support hours.</p>' +
              '<table style="border:none;">' + 
              '<tr><td style="vertical-align:text-top;">&lt;</td><td>Monday, February 20th, 2012, our support offices will be closed</td></tr></table>';
    var fpa = '<p class="h1"><img src="/images/h.bullet.gif" height=9 width=15 border=0 /><span style="color:#2e517e; font-weight:bold">Holiday Hours</span></p>' + 
              '<p class="home10">Please note our updated support hours:</p>' + 
              '<ul>' + 
              '<li class="home10">Monday, February 20th, 2012, our support offices will be closed</li></ul>' + 
              '<p class="h1"><img alt="*" src="/images/h.bullet.gif" height="9" width="15" style="border:0" /><a href="https://www.fundgrades.com" target="_new">Fundgrades Update</a></p>' +
              '<p class="home10">Fundgrades has been updated to include fund data through December 31, 2011.  Check out the latest information on your funds.</p><br />';
    
    var elem = ['fpa-notice', 'fg-notice', 'wcm-notice'];
    var notice = [fpa, fg, wcm];
    
    window.onload = function() {
        for (var i = 0; i < elem.length; i++)
        {
            var notice = document.getElementById(this.elem[i]);
            if (notice) {
                notice.innerHTML = this.notice[i]; return;
            }
        }
    }
}


