function removeImage_0066501083_77474(elCell) { var newPreviewSpan = document.getElementById("preview"); try { newPreviewSpan.parentNode.removeChild(newPreviewSpan); } catch(e) { } } function previewImage_0066501083_77474(elCell, chartWidth, chartHeight) { if (typeof chartWidth == 'undefined') { chartWidth=260; } if (typeof chartHeight == 'undefined') { chartHeight=130; } try { var backgroundColor = getComputedStyle(document.querySelector('#chartTD')).backgroundColor } catch(e) { var backgroundColor = "#003366" } var newPreviewSpan= document.createElement('span'); newPreviewSpan.id='preview'; newPreviewSpan.backgroundColor=backgroundColor newPreviewSpan.style.position="absolute"; newPreviewSpan.style.display="block"; newPreviewSpan.style.padding="2px"; newPreviewSpan.style.margin="auto"; newPreviewSpan.style.zIndex="9999"; newPreviewSpan.innerHTML = "" var body = document.getElementsByTagName("body")[0]; body.parentNode.insertBefore(newPreviewSpan, body); } function moveImage_0066501083_77474(elCell, chartWidth, chartHeight) { if (typeof chartWidth == 'undefined') { chartWidth=260; } if (typeof chartHeight == 'undefined') { chartHeight=130; } chartWidth=chartWidth/2; var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); var nWidthScrollbarAdjustment = 25 var nTop = event.pageY + nWidthScrollbarAdjustment; var nLeft = event.pageX - chartWidth; if (nLeft<0) { nLeft=0; } if (nTop + chartHeight + 2*nWidthScrollbarAdjustment > h) { var nTop = event.pageY - chartHeight - nWidthScrollbarAdjustment; } if (nLeft+(2*chartWidth)+nWidthScrollbarAdjustment>w) { nLeft=w - ((2*chartWidth)+nWidthScrollbarAdjustment); } var newPreviewSpan = document.getElementById("preview"); try { newPreviewSpan.style.top=nTop + "px"; newPreviewSpan.style.left=nLeft + "px"; } catch(e) { } } function resizeWidget_0066501083_77474() { var nMaxColumns = mainDiv_0066501083_77474.children["TableRows"].children['TableHeaderRow'].children.length var nMaxRows = mainDiv_0066501083_77474.children["TableRows"].children.length; var divWidth = mainDiv_0066501083_77474.children["TableRows"].offsetWidth; if (bHasCharts_0066501083_77474) { try { var buttonsChart = mainDiv_0066501083_77474.children['chartContainer'].children['timeframeButtons'].children var buttonNum_Wk = 0; var buttonNum_Mo = 1; var buttonNum_Yr = 2; var buttonNum_3Yr = 3; var buttonNum_5Yr = 4; } catch (e) { } nLastColToShow = nMaxColumns; try { //var chartDivWidth = document.getElementById("chartContainer").offsetWidth; for (var i = 0; i <= mainDiv_0066501083_77474.children.length; i++) { if (mainDiv_0066501083_77474.children[i].className=="chartTDContainer") { var chartDivWidth=mainDiv_0066501083_77474.children[i].offsetWidth; break; } } switch (true) { case (chartDivWidth < 191): buttonsChart[buttonNum_Wk].innerText="Wk"; buttonsChart[buttonNum_Mo].innerText="Mo"; buttonsChart[buttonNum_Yr].innerText="Yr"; buttonsChart[buttonNum_3Yr].innerText="3Yr"; buttonsChart[buttonNum_5Yr].innerText="5Yr"; break; case (chartDivWidth < 250): buttonsChart[buttonNum_Wk].innerText="Week"; buttonsChart[buttonNum_Mo].innerText="Month"; buttonsChart[buttonNum_Yr].innerText="Year"; buttonsChart[buttonNum_3Yr].innerText="3 Year"; buttonsChart[buttonNum_5Yr].innerText="5 Year"; break; case (chartDivWidth < 400): buttonsChart[buttonNum_Wk].innerText="Week"; buttonsChart[buttonNum_Mo].innerText="Month"; buttonsChart[buttonNum_Yr].innerText="Year"; buttonsChart[buttonNum_3Yr].innerText="3 Yrs"; buttonsChart[buttonNum_5Yr].innerText="5 Yrs"; break; case (chartDivWidth < 520): buttonsChart[buttonNum_Wk].innerText="Week"; buttonsChart[buttonNum_Mo].innerText="Month"; buttonsChart[buttonNum_Yr].innerText="Year"; buttonsChart[buttonNum_3Yr].innerText="3 Years"; buttonsChart[buttonNum_5Yr].innerText="5 Years"; break; default: buttonsChart[buttonNum_Wk].innerText="Week"; buttonsChart[buttonNum_Mo].innerText="Month"; buttonsChart[buttonNum_Yr].innerText="Year"; buttonsChart[buttonNum_3Yr].innerText="Three Years"; buttonsChart[buttonNum_5Yr].innerText="Five Years"; break; } } catch (e) { } } switch (true) { case (divWidth < 150): nLastColToShow = 2; try { widgetChart_0066501083_77474.maxWidth="165px"; widgetChart_0066501083_77474.src=chartURL_0066501083_77474 +"p.jpg" } catch (e) { } break; case (divWidth < 250): nLastColToShow = 3; try { widgetChart_0066501083_77474.maxWidth="290px"; widgetChart_0066501083_77474.src=chartURL_0066501083_77474 + "fb.jpg" } catch (e) { } break; case (divWidth < 350): nLastColToShow = 4; try { widgetChart_0066501083_77474.maxWidth="390px"; widgetChart_0066501083_77474.src=chartURL_0066501083_77474 + "fb.jpg" } catch (e) { } break; case (divWidth < 450): nLastColToShow = 6; try { widgetChart_0066501083_77474.maxWidth="500px"; widgetChart_0066501083_77474.src=chartURL_0066501083_77474 + "fb.jpg" } catch (e) { } break; case (divWidth < 550): nLastColToShow = 8; try { widgetChart_0066501083_77474.maxWidth="500px"; widgetChart_0066501083_77474.src=chartURL_0066501083_77474 + "fb.jpg" } catch (e) { } break; default: try { widgetChart_0066501083_77474.src=chartURL_0066501083_77474 + "fb.jpg" widgetChart_0066501083_77474.maxWidth="800px"; } catch (e) { } break; } if (bIsResponsive_0066501083_77474) { if (nLastColToShow > nMaxColumns) { nLastColToShow = nMaxColumns } var nForcedColumns=0; //hide/unhide headers/fields for (var i = 1; i <= nMaxColumns; i++) { if (i <= nLastColToShow) { if (nLastColToShow == 3 && i == 3) { if (mainDiv_0066501083_77474.getElementsByClassName("header" + i)[0].classList.contains("nohide")) { nForcedColumns++ } else { try { mainDiv_0066501083_77474.getElementsByClassName("header" + i)[0].style.display='none'; } catch (e) { } for (var f = 0; f < nMaxRows; f++) { try { mainDiv_0066501083_77474.getElementsByClassName("field" + i)[f].style.display='none'; } catch (e) { } } } } else { try { mainDiv_0066501083_77474.getElementsByClassName("header" + i)[0].style.display='inline-block'; } catch (e) { } for (var f = 0; f < nMaxRows; f++) { try { mainDiv_0066501083_77474.getElementsByClassName("field" + i)[f].style.display='inline-block'; } catch (e) { } } } } else { if (nLastColToShow == 3 && i == 4 && nForcedColumns == 0) { try { mainDiv_0066501083_77474.getElementsByClassName("header" + i)[0].style="display: inline-block;"; } catch (e) { } for (var f = 0; f < nMaxRows; f++) { try { mainDiv_0066501083_77474.getElementsByClassName("field" + i)[f].style="display: inline-block;"; } catch (e) { } } } else { try { mainDiv_0066501083_77474.getElementsByClassName("header" + i)[0].style.display='none'; } catch (e) { } for (var f = 0; f < nMaxRows; f++) { try { mainDiv_0066501083_77474.getElementsByClassName("field" + i)[f].style.display='none'; } catch (e) { } } } } } } } function LoadThumbnail_0066501083_77474(sChartName_w, sChartName_m, sChartName_y, sChartName_3y, sChartName_5y, sChartContainerName, rowDivIDClicked) { removeImage_0066501083_77474(); var timeframeButtons = mainDiv_0066501083_77474.getElementsByClassName("pushed") timeframeButtons[0].id switch (timeframeButtons[0].id){ case "0" : sChartName=sChartName_w; break; case "1" : sChartName=sChartName_m; break; case "2" : sChartName=sChartName_y; break; case "3" : sChartName=sChartName_3y; break; case "4" : sChartName=sChartName_5y; break; default : } sChart1Props_0066501083_77474=sChartName_w+"_"+sChartName_m+"_"+sChartName_y+"_"+sChartName_3y+"_"+sChartName_5y; asChart1Props_0066501083_77474=sChart1Props_0066501083_77474.split(/_/); sChartSuffix=document.images[sChartContainerName].src.split("."); sChartSuffix=sChartSuffix[sChartSuffix.length-2].substr(sChartSuffix[sChartSuffix.length-2].length-1,1); if (sChartSuffix=="b") { sChartSuffix="fb" } document.images[sChartContainerName].src='https://www.theFinancials.com/Charts/' + chartColor_0066501083_77474 + sChartName + sChartSuffix + '.jpg' try { // not all charts have Preview enabled document.getElementById("thumbChart_0066501083_77474").href = "https://www.theFinancials.com/Charts/" + chartColor_0066501083_77474 + sChartName + "f.jpg" } catch (e) { } nTimeFrameIndex=timeframeButtons[0].id //hide unavailable chart buttons var timeframeButtons = mainDiv_0066501083_77474.getElementsByClassName("timeframeButton") var span_lastVisible=0; var span_firstVisible=-1; for (var span = 0; span < timeframeButtons.length; span++) { if (asChart1Props_0066501083_77474[span]=='i000000') { if (span==nTimeFrameIndex) { //currently selected button is hidden var nNewTimeFrameIndex = 0; for (nTimeFrameIndex = 0; nTimeFrameIndex < timeframeButtons.length; nTimeFrameIndex++) { if (asChart1Props_0066501083_77474[nTimeFrameIndex]=='i000000') { nNewTimeFrameIndex++ } } ChangeTimeframes_0066501083_77474(sChartImageName_0066501083_77474, nNewTimeFrameIndex) } timeframeButtons[span].style.display = "none"; } else { span_lastVisible=span; timeframeButtons[span].style.display = "inline-block"; timeframeButtons[span_lastVisible].classList.remove('last'); if (span_firstVisible<0) { span_firstVisible=span; timeframeButtons[span].classList.add('first'); } else { timeframeButtons[span].classList.remove('first'); } } } timeframeButtons[span_lastVisible].classList.add('last'); //highlight row var rows = mainDiv_0066501083_77474.getElementsByClassName("TableRow") for (var r = 1; r <= rows.length; r++) { if (r == rowDivIDClicked) { rows[r-1].className += " selected"; } else { rows[r-1].classList.remove('selected'); } } return false; } function PopupCenter_0066501083_77474(url) { // Fixes dual-screen position Most browsers Firefox try { var dualScreenLeft = window.parent.screenLeft != undefined ? window.parent.screenLeft : window.parent.screenX; var dualScreenTop = window.parent.screenTop != undefined ? window.parent.screenTop : window.parent.screenY; } catch (e) { } var width = window.parent.innerWidth ? window.parent.innerWidth : parent.document.documentElement.clientWidth ? parent.document.documentElement.clientWidth : screen.width; var height = window.parent.innerHeight ? window.parent.innerHeight : parent.document.documentElement.clientHeight ? parent.document.documentElement.clientHeight : screen.height; var w = 820 var h = 400 var systemZoom = width / screen.availWidth; var left = (width - w) / 2 / systemZoom + dualScreenLeft var top = (height - h) / 2 / systemZoom + dualScreenTop var newWindow = window.open(url, 'theFinancials.com Chart', 'width=' + w / systemZoom + ', height=' + h / systemZoom + ', top=' + top + ', left=' + left + ''); // Puts focus on the newWindow if (window.focus) newWindow.focus(); } function ZoomThumbnail_0066501083_77474(sthumbChart_0066501083_77474Name) { var nCurChartID= new String(document.images[sthumbChart_0066501083_77474Name].src); var nCurChartIDList=nCurChartID.split('/'); var nCurChartID=nCurChartIDList[nCurChartIDList.length-1]; var nCurChartID=nCurChartID.substring(0,7) + 'z.jpg'; PopupCenter_0066501083_77474("https://www.theFinancials.com/charts/" + chartColor_0066501083_77474 + nCurChartID) return false; } function ChangeTimeframes_0066501083_77474(sChartContainerName,idButton) { sChartSuffix=document.images[sChartContainerName].src.split("."); sChartSuffix=sChartSuffix[sChartSuffix.length-2].substr(sChartSuffix[sChartSuffix.length-2].length-1,1); chartURL_0066501083_77474='https://www.theFinancials.com/charts/' + chartColor_0066501083_77474 + asChart1Props_0066501083_77474[idButton] //+ sChartSuffix + '.jpg' try { // not all charts have Zoom enabled document.getElementById("thumbChart_0066501083_77474").href = chartURL_0066501083_77474 + "f.jpg" } catch (e) { } var timeframeButtons = mainDiv_0066501083_77474.getElementsByClassName("timeframeButton") for (var span = 0; span < timeframeButtons.length; span++) { if (timeframeButtons[span].id==idButton) { timeframeButtons[span].className += " pushed"; } else { timeframeButtons[span].classList.remove("pushed"); } } resizeWidget_0066501083_77474(); return false; } function GetCSVData(sParnterID) { //if (bYieldCurveIsSelected()) { // //Yield Curve is active // var sDataFileName=document.forms['TFC_MFR_Form'].optTimeframe[nCheckedControlIDX].value.split(/-/); // var sDataFileName=sDataFileName[0] + '.csv'; //} else { var sDataFileName=asChart1Props_0066501083_77474[3] + '.csv'; //} if (sParnterID=='DEM' | sParnterID=='B2C') { alert("The Private Label version of this Widget will download 3 years of Excel-compatible CSV data for the currently-selected item.") } else { top.document.location="//www.theFinancials.com/data/" + sDataFileName; } return false; } var bodyExists=document.getElementsByTagName('body') if (bodyExists.length!=0) { var s = document.getElementsByTagName('script'); var bFound=false; if (s.length==1) { s = s[s.length - 1]; var bFound=true; } else { for(var i=0; i 0 ) { s = s[i] var bFound=true; break; } } if(!bFound) { for(var i=0; i0 || s[i].src.search('www.thefinancials.com/syndicated')>0) { s = s[i]; var bFound=true; break; } } } } if(!bFound) { var s = document.getElementsByTagName('iframe'); for(var i=0; i0 || s[i].src.search('www.thefinancials.com/syndicated')>0) { s = s[i] var bFound=true; break; } } } } var div = document.createElement('span'); div.hidden=true; div.className='tfcWidget'; div.style.padding=0; div.style.margin=0; div.style.width='100%'; div.id='resizeWidget_0066501083_77474();' div.innerHTML = "theFinancials.com: World Market Update
World Market Update
WkMoYr3Yr
28-Feb-20
Last
All Ordinaries
6511.50
Dow
25409.36
France CAC 40
5309.90
Germany DAX
11890.35
Hang Seng
26129.93
Manila Composite
6787.91
NASDAQ
8567.37
Nikkei 225
21142.96
Russell 2000
1476.43
S&P 500
2954.22
SMI
9831.03
SSE Composite
2880.30
TSX Composite
16263.05

Fed Prime Rate
4.75%
CA Bank Rate
1.75%
UK Base Rate
0.75%
ECB Key Rate
-0.50%

Gold, Mini $/oz
1579.40
Silver $/oz
16.60
WTI Crude Oil $/bbl
45.14

Bitcoin
8695.00
EUR/USD
1.1037
GBP/USD
1.2815
USD/CHF
0.9645
USD/JPY
107.8627
"; try { s.parentNode.insertBefore(div, s); } catch(e) { document.body = document.createElement('body'); document.body.innerHTML = div.innerHTML; } var sWidgetID_0066501083_77474='TID0066501083'; var mainDiv_0066501083_77474=document.getElementsByName('0066501083_77474')[0]; var chartColor_0066501083_77474='/'; var initChart1Props_0066501083_77474='i001226_i001227_i001228_i001639_i000000'; var asChart1Props_0066501083_77474=initChart1Props_0066501083_77474.split(/_/); var sChartImageName_0066501083_77474 = 'Chart137242_0066501083_77474'; var widgetChart_0066501083_77474=mainDiv_0066501083_77474.getElementsByTagName('img')['Chart137242_0066501083_77474'] var chartLocation_0066501083_77474='T' var chartURL_0066501083_77474='https://www.thefinancials.com/charts//i001228'; var bHasCharts_0066501083_77474=true; var bIsResponsive_0066501083_77474=false; window.onload = function(){ var divWidgets=document.getElementsByClassName('tfcWidget'); for (i=0; i