function AIAs_MarketUpdate(sPID,sParamName,sParamVal) {

	sHTML="";
	sHTML=sHTML+"<META HTTP-EQUIV='Pragma' CONTENT='no-cache'><META HTTP-EQUIV='Expires' CONTENT='-1'><div align='center'><center>";
	sHTML=sHTML+"<table id='WidgetTable' border='0' cellspacing='0' cellpadding='2'";
	
	if (typeof(sParamName)!='undefined' && typeof(sParamVal)!='undefined') {
	   if (sParamName.toLowerCase()=='table_width' && sParamVal) {
	       sHTML=sHTML+" width='" + sParamVal + "'";
	   }
	}
	
	sHTML=sHTML+">";
	sHTML=sHTML+"      <tr>";
	sHTML=sHTML+"        <td  bgcolor='#0086B6' colspan='2' align='left'><font style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #FFFFFF;'>22-Feb-12</font></td>";
	sHTML=sHTML+"        <td align='center' bgcolor='#0086B6'><font  style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #FFFFFF;'>Last</font></td>";
	sHTML=sHTML+"<td  bgcolor='#0086B6' align='center'><font style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #FFFFFF;'>Change</font></td>";
	sHTML=sHTML+"      </tr>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;CBOE Gold Index as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>CBOE Gold Index</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/uparrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;up 3.45 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#008000'>232.12</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#008000'>3.45</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#FFFFFF' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Dow Jones Industrial Average as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>DJIA</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/downarrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;down 27.02 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>12938.67</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>-27.02</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;NASDAQ Composite as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>NASDAQ</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/downarrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;down 15.40 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>2933.17</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>-15.40</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#FFFFFF' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Barclays Capital Aggregate Bond Index as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>Aggregate Bond Index</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/uparrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;up 0.31 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#008000'>110.48</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#008000'>0.31</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Standard & Poors 100 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>S&P 100</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/downarrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;down 2.22 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>614.53</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>-2.22</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#FFFFFF' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Standard & Poors 500 Composite as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>S&P 500</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/downarrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;down 4.55 as of 22-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>1357.66</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>-4.55</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;WTI Crude Oil - Near Term $/barrel [NYMEX] as of 22-Feb-2012 18:59&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>WTI Crude Oil</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/downarrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;down 0.18 as of 22-Feb-2012 18:59&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>105.94</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>-0.18</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#FFFFFF' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;US Unemployment Rate-Monthly as of 31-Jan-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>US Unemployment</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/downarrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;down 0.2% as of 31-Jan-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>8.3%</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#FF0000'>-0.2%</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Core US CPI Rate Change-Monthly as of 31-Jan-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>Core US CPI Rate Change</font></a>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"        <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:center; '><img src='http://www.thefinancials.com/images/uparrow.gif' border='0'></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;'><a onmouseover='window.status=&quot;up 0.10% as of 31-Jan-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#008000'>0.20%</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='2' style='font:12px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;' color='#008000'>0.10%</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr >";
	sHTML=sHTML+"<td colspan='4' align='center' valign='top'>";
	sHTML=sHTML+"<div align='center'>";
	sHTML=sHTML+"<table style='height:1px; margin: -2;' border='0' cellpadding='0' cellspacing='0' width='100%'>";
	sHTML=sHTML+"<tr >";
	sHTML=sHTML+"<td valign='top' colspan='1'> <hr color='#005893' size='0'></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"</table>";
	sHTML=sHTML+"</div>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"</table>";
	sHTML=sHTML+"<center>";
	sHTML=sHTML+"<table ><tr><td><div align='center'><font style='font:9px Georgia, &quot;Times New Roman&quot;, Times, serif; color: #636363;'>&#169; theFinancials.com</font></div></td></tr></table></center>";
	sHTML=sHTML+"</center></div>";
	return sHTML;
}

