			var __symbols = new Array('CL*1', 'NG*1', 'HO*1', 'RB*1', 'QM*1', 'QG*1', 'QH*1', 'PL*1', 'PA*1', 'GC*1', 'SI*1', 'HG*1', 'KA*1', 'SC*1');

			var __chartCache = [];

			var pendingHide = null;
			var tooltip = null;

			function _thct_7162__activate(index) {
				var pr = '_thct_7162_';
				var ct = '14';

				var img = __chartCache[__symbols[index - 1]];
				if (!img) {
					img = new Image();
					img.src = 'http://content.barchart.com/cme/thumbchart.php?symbol=' + __symbols[index - 1] + '&width=220&height=100';
					__chartCache[__symbols[index - 1]] = img;
				}

				document.getElementById('bcChart' + __symbols[index - 1]).src = img.src;

				for (var i = 1; i <= ct; ++i) {
					var el = document.getElementById(pr+i);
					
					if (el) {
						if (i == index) {
//							el.onload = function() { this.style.display = 'block'; }
							el.style.display = 'block';
						}
						else
							el.style.display = 'none';
					}
				}

			}

			function hideTooltip() {
				if (tooltip) pendingHide = setTimeout("tooltip.style.display = 'none';", 200);
			}

			function showTooltip (e, label) {
				if (pendingHide) {
					clearTimeout(pendingHide);
					pendingHide = null;
				}
				e = e || window.event;
				var tooltipText;
				if (!tooltip) {
					tooltip = document.createElement('div');
					tooltip.style.position = 'absolute';
					tooltip.id = 'tooltip';
					tooltipText = document.createElement('div');
					tooltipText.className = 'tooltip';
					tooltip.appendChild(tooltipText);
					document.body.appendChild(tooltip);
				} else {
					tooltipText = tooltip.firstChild;
				}
				tooltipText.innerHTML = label;

				var left = e.pageX || (e.clientX +
					(document.documentElement.scrollLeft || document.body.scrollLeft));
				var top = e.pageY || (e.clientY +
					  (document.documentElement.scrollTop || document.body.scrollTop));

				tooltip.style.display = '';
				tooltip.style.top = (top+5)+'px';
				tooltip.style.left = (left+20)+'px';
			}
			
			
			
			
			document.write('<style type="text/css">');
			document.write('.tooltip {');
			document.write('	border:                         1px solid #999999;');
			document.write('	padding:                        1px;');
			document.write('	margin:                         1px;');
			document.write('	font-size:                      8pt;');
			document.write('	background-color:               #FFFFCC;');
			document.write('	font-family:                    arial;');
			document.write('}');
			document.write('</style>');
			document.write('<table><tr ><td style="text-align:center">\n');
document.write('<div class="marketbox_title"> Market Data Overview </div>\n');
document.write('</td></tr><tr><td height="10"></td></tr><tr><td style="text-align:center">\n');
document.write('<table width="100%" align="center" width=><tr>\n');
document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="CL" class="marketbox_button" onclick="_thct_7162__activate(1);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="NG" class="marketbox_button" onclick="_thct_7162__activate(2);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="HO" class="marketbox_button" onclick="_thct_7162__activate(3);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="RB" class="marketbox_button" onclick="_thct_7162__activate(4);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="QM" class="marketbox_button" onclick="_thct_7162__activate(5);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="QG" class="marketbox_button" onclick="_thct_7162__activate(6);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="QH" class="marketbox_button" onclick="_thct_7162__activate(7);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('</tr><tr>\n');
document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="PL" class="marketbox_button" onclick="_thct_7162__activate(8);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="PA" class="marketbox_button" onclick="_thct_7162__activate(9);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="GC" class="marketbox_button" onclick="_thct_7162__activate(10);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="SI" class="marketbox_button" onclick="_thct_7162__activate(11);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="HG" class="marketbox_button" onclick="_thct_7162__activate(12);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="YO" class="marketbox_button" onclick="_thct_7162__activate(13);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('<td class="marketview_symbol" align=left><a href="#" ><input type="button" value="BZ" class="marketbox_button" onclick="_thct_7162__activate(14);this.style.backgroundColor=\'#335087\'\;this.style.color=\'#ffffff\';" onmouseout="this.style.backgroundColor=\'#ffffff\';this.style.color=\'#000000\';"/></a></td>');document.write('</tr>\n');
document.write('</table>');document.write('</td></tr><tr><td height="10"></td></tr><tr><td style="text-align:center">\n');
document.write('<div id="_thct_7162_1">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Crude Oil (CL)</td></tr></table>');document.write('<img id="bcChartCL*1" alt="CL*1 chart" src="http://content.barchart.com/cme/thumbchart.php?symbol=CL*1&width=220&height100" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_2" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Natural Gas (NG)</td></tr></table>');document.write('<img id="bcChartNG*1" alt="NG*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_3" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Heating Oil (HO)</td></tr></table>');document.write('<img id="bcChartHO*1" alt="HO*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_4" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">RBOB Gasoline (RB)</td></tr></table>');document.write('<img id="bcChartRB*1" alt="RB*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_5" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">E-mini Crude Oil (QM)</td></tr></table>');document.write('<img id="bcChartQM*1" alt="QM*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_6" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">E-mini Natural Gas (QG)</td></tr></table>');document.write('<img id="bcChartQG*1" alt="QG*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_7" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">E-mini Heating Oil (QH)</td></tr></table>');document.write('<img id="bcChartQH*1" alt="QH*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_8" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Platinum (PL)</td></tr></table>');document.write('<img id="bcChartPL*1" alt="PL*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_9" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Palladium (PA)</td></tr></table>');document.write('<img id="bcChartPA*1" alt="PA*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_10" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Gold (GC)</td></tr></table>');document.write('<img id="bcChartGC*1" alt="GC*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_11" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Silver (SI)</td></tr></table>');document.write('<img id="bcChartSI*1" alt="SI*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_12" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Copper (HG)</td></tr></table>');document.write('<img id="bcChartHG*1" alt="HG*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_13" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">Sugar (YO)</td></tr></table>');document.write('<img id="bcChartKA*1" alt="KA*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('<div id="_thct_7162_14" style="display:none;">');document.write('<table class="marketbox_symbol" width="220" border="0" cellspacing="0" cellpadding="0"><tr><td class="marketbox_symbol">NYMEX Brent Crude Oil (BZ)</td></tr></table>');document.write('<img id="bcChartSC*1" alt="SC*1 chart" src="http://content.barchart.com/cme/loading.GIF" width="220" height="100" />');document.write('</div>');document.write('</td></tr><tr><td height="10"></td></tr><tr><td style="text-align:center">\n');
document.write('<table width="100%"  align="center" width=>\n');
document.write('<tr ><td ><div class="marketbox_header">Market</div></td><td><div class="marketbox_header">Last</div></td><td><div class="marketbox_header">Change</div></td>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/energy/crude-oil/light-sweet-crude.html" class="marketbox_symbol">Crude Oil (CL)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">73.03 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+1.14<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/energy/crude-oil/brent-crude-oil-last-day.html" class="marketbox_symbol">Brent Crude (BZ)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">70.11 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+0.52<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/energy/refined-products/heating-oil.html" class="marketbox_symbol">Heating Oil (HO)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">1.9185 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+0.0330<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/energy/refined-products/rbob-gasoline.html" class="marketbox_symbol">RBOB Gasoline (RB)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">1.9130 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+0.0190<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/energy/natural-gas/natural-gas.html" class="marketbox_symbol">Natural Gas (NG)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">5.334 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeDn">-0.067<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/metals/precious/gold.html" class="marketbox_symbol">Gold (GC)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">1,072.2 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+6.5<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/metals/precious/silver.html" class="marketbox_symbol">Silver (SI)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">15.078 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+0.255<br /></td></tr>\n');
document.write('<tr style="border-top: 1px solid #cccccc;"><td style="border-top: 1px solid #cccccc;"><a href="http://www.cmegroup.com/trading/metals/base/copper.html" class="marketbox_symbol">Copper (HG)</a></td><td style="border-top: 1px solid #cccccc;" class="marketbox_last">2.9400 </td><td style="border-top: 1px solid #cccccc;" class="marketbox_changeUp">+0.0305<br /></td></tr>\n');
document.write('</table>\n');
document.write('</td></tr><tr><td height="10"></td></tr><tr><td style="text-align:center" >\n');
document.write('<div class = "marketbox_footer"> Market Data is Delayed 10 Minutes</div>\n');
document.write('</td></tr></table>\n');
