try { if ( HWABGColor ) {} } catch(e) { HWABGColor='CC0000'; }
try { if ( HWABorderColor ) {} } catch(e) { HWABorderColor='d27b23'; }
try { if ( HWAHeaderTextColor ) {} } catch(e) { HWAHeaderTextColor='ffffff'; }
try { if ( HWAAlertBGColor ) {} } catch(e) { HWAAlertBGColor='ffffff'; }
try { if ( HWAAlertTextColor ) {} } catch(e) { HWAAlertTextColor='666699'; }
try { if ( HWAWidth ) {} } catch(e) { HWAWidth='100%'; }
try { if ( HWAVertical ) {} } catch(e) { HWAVertical=0; }
try { if ( HWAShowPlace ) {} } catch(e) { HWAShowPlace=0; }
var HWABR = (HWAVertical) ? '<br />' : '';
var HWATHeight = (HWAVertical) ? '' : 'height: 20px;';
var HWAPlace = (HWAShowPlace) ? ' for Sandy Spring, MD' : '';
document.write("<div id=\"HWalertsBox\" style=\"border: 1px solid;border-color : #" + HWABorderColor + ";background-color: #" + HWABGColor + " ;padding: 3px;\">\n");
document.write("<table width=\"" + HWAWidth + "\" border=0 cellpadding=0 cellspacing=0><tr>\n");
document.write("<td align=\"left\" style=\"font-family : arial;font-size : 13px;font-weight: bold;color: #" + HWAHeaderTextColor + ";\">Active Advisories" + HWAPlace +"</td>\n");
document.write("<td align=\"right\" style=\"font-family : arial;font-size : 10px;font-weight:bold;color: #" + HWAHeaderTextColor + ";\"><a href=\"http://www.hamweather.com\" style=\"color:#ffffff; text-decoration:none;\"><b>HAMweather.com</b></a></td>\n");
document.write("</tr></table>\n");
document.write("<div id=\"HWAlertsList\" style=\"position: relative;border: 1px solid;border-color : #" + HWABorderColor + ";background-color: #" + HWAAlertBGColor + ";padding: 0px;\">\n");
document.write("<table width=\"" + HWAWidth + "\" border=0 cellpadding=0 cellspacing=0><tr><td width=\"" + HWAWidth + "\" align=\"left\" valign=\"middle\" style=\"padding-top: 3px;padding-left: 10px;padding-bottom: 3px;\"><div id=\"HWalerts\" style=\"font-family:arial;font-size : 11px;color: #" + HWAAlertTextColor + "1;" + HWATHeight + "vertical-align: middle;font-weight: bold;\">");
document.write("<img src=\"http://www.hamweather.net/images/advisory_bullet.png\" width=\"13\" height=\"13\" valign=\"absmiddle\">&nbsp;<a href=\"http://www.hamweather.net/cgi-bin/hw3/hw3.cgi?forecast=warnings&place=sandy+spring&state=md#warning0\" style=\"color:#" + HWAAlertTextColor + ";\">Dense Fog Advisory</a>&nbsp;" + HWABR);
document.write("</div></td></tr></table></div></div>");
