function THALESx_MarketUpdate(sPID,sParamName,sParamVal) {

	sHTML="";
	sHTML=sHTML+"<META HTTP-EQUIV='Pragma' CONTENT='no-cache'><META HTTP-EQUIV='Expires' CONTENT='-1'>";
	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 bgcolor='#FFFFFF' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;EUR/USD - Spot as of 3-Feb-2012 16:30&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>EUR/USD</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.0012 as of 3-Feb-2012 16:30&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='1' face='Arial, Helvetica' color='#008000'>1.3142</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='1' face='Arial, Helvetica' color='#008000'>0.09%</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#F6F8FA' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;S&P 500 Future - Near Term as of 3-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>SP500 Future</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 16.40 as of 3-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='1' face='Arial, Helvetica' color='#008000'>1339.10</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='1' face='Arial, Helvetica' color='#008000'>1.24%</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;Treasury Bond 10-year as of 3-Feb-2012 15:52&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>10yr Treasury</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.11% as of 3-Feb-2012 15:52&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='1' face='Arial, Helvetica' color='#008000'>1.93%</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='1' face='Arial, Helvetica' color='#008000'>6.04%</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#F6F8FA' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Treasury Bond 30-year as of 3-Feb-2012 16:03&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>30yr Treasury</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.12% as of 3-Feb-2012 16:03&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='1' face='Arial, Helvetica' color='#008000'>3.13%</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='1' face='Arial, Helvetica' color='#008000'>3.99%</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;NASDAQ Composite as of 3-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>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/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 27.61 as of 3-Feb-2012 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='1' face='Arial, Helvetica' color='#008000'>2887.29</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='1' face='Arial, Helvetica' color='#008000'>0.97%</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr bgcolor='#F6F8FA' ";
	sHTML=sHTML+">   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:left; '><a  onmouseover='window.status=&quot;Gold 100 Ounce as of 3-Feb-2012 16:25&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>Gold $/oz</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 30.70 as of 3-Feb-2012 16:25&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font  size='1' face='Arial, Helvetica' color='#FF0000'>1728.20</font></a></td>";
	sHTML=sHTML+"   <td nowrap style='padding-top: 2; padding-bottom: 2; text-align:right;' ><font  size='1' face='Arial, Helvetica' color='#FF0000'>-1.75%</font></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr > ";
	sHTML=sHTML+"<td colspan='4' align='center' valign='top'>";
	sHTML=sHTML+"<div align='center'><font style='font-size: 7pt; font-family: Verdana, Arial, Helvetica;color: #000000;'>&#169; theFinancials.com</font></div></td></tr></table>";
	return sHTML;
}

