function bcfn_CheckDomain() { var d = bcfn_GetDomain(); if ((d == 'barchart') || (d == 'insidefutures')) return true; else return false; } function bcfn_GetDomain() { var s = document.domain; s = s.toLowerCase(); if (s.substring(0, 7) == 'http://') { s = s.substring(7); } var ary1 = s.split('/'); var ary2 = ary1[0].split('.'); var d = ''; if ((ary2[ary2.length - 1] == 'com') || (ary2[ary2.length - 1] == 'org') || (ary2[ary2.length - 1] == 'net') || (ary2[ary2.length - 1] == 'edu') || (ary2[ary2.length - 1] == 'gov')) { if (ary2.length > 1) d = ary2[ary2.length - 2]; } else { if (ary2.length > 2) d = ary2[ary2.length - 3]; } return d; } if (bcfn_CheckDomain()) { var pendingHide = null; var tooltip = null; var chartId = null; function _thct_2842__activate(index, chartimg) { var pr = '_thct_2842_'; var ct = '6'; for (var i = 1; i <= ct; ++i) { chartId = pr+i+'chart'; var el = document.getElementById(pr+i); var elchart = document.getElementById(chartId); var elactive = document.getElementById(pr+i+'active'); if (el) { if (i == index){ el.style.display = 'block'; }else{ el.style.display = 'none'; } } if (elactive) { if (i == index) elactive.style.display = 'inline'; else elactive.style.display = 'none'; } if (elchart && index == i){ elchart.src = 'http://charts4.barchart.com/pl/thumbcharts/agricharts/chartload.gif'; elchart.src = chartimg; } } } function setOpacity(obj, opacity) { opacity = (opacity == 100)?99.999:opacity; obj.style.filter = "alpha(opacity:"+opacity+")"; obj.style.KHTMLOpacity = opacity/100; obj.style.MozOpacity = opacity/100; obj.style.opacity = opacity/100; } function fadeInChart(objId,opacity) { if (document.getElementById) { obj = document.getElementById(objId); if (opacity <= 100) { setOpacity(obj, opacity); opacity += 10; window.setTimeout("fadeInChart('"+objId+"',"+opacity+")", 100); } } } function fadeOutChart(objId,opacity) { if (document.getElementById) { obj = document.getElementById(objId); if (opacity >= 0) { setOpacity(obj, opacity); opacity -= 10; window.setTimeout("fadeOutChart('"+objId+"',"+opacity+")", 0); } } } document.write('
');document.write('
YMH05-min Chart
');document.write('
');chartId = '_thct_2842_1active';document.write('YMH0 chart');document.write('
');document.write('
');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('');document.write('
SymbolLastChg
');document.write('» ');document.write('Dow9957+62
');document.write(' ');document.write('Nasdaq1739.50+5.00
');document.write(' ');document.write('S&P1064.50+8.60
');document.write(' ');document.write('Crude72.49+0.60
');document.write(' ');document.write('Gold1072.2+6.5
');document.write(' ');document.write('Corn358-0+2-0
Data provided by Barchart.com
');}else{ document.write('Unauthorized Access!!!'); }