var currentKeyword="";function getCurrencyChartsForTabbing(){if(firstTimeLoadCurrencyCharts==true){for(var b=0;b<arrSymbols.length;b++){divChart=document.getElementById("divChartCur"+arrSymbols[b]);if(divChart!=null){divChart.innerHTML="Retrieving latest chart...";divChart.innerHTML="<img src='"+strPath+arrSymbols[b].replace("/","_").replace(".","_")+"Chart-Lg.png?"+Math.ceil(Math.random()*1000)+"' width='275' height='200' />"}}firstTimeLoadCurrencyCharts=false}}function getNewQuoteBoardCharts(){for(var b=0;b<arrSymbols.length;b++){divChartCur=document.getElementById("divChartCur"+arrSymbols[b]);divChartMar=document.getElementById("divChartMar"+arrSymbols[b]);if(divChartCur!=null){divChartCur.innerHTML="Retrieving latest chart...";divChartCur.innerHTML="<img src='"+strPath+arrSymbols[b].replace("/","_").replace(".","_")+"Chart-Lg.png?"+Math.ceil(Math.random()*1000)+"' width='275' height='200' />"}if(divChartMar!=null){divChartMar.innerHTML="Retrieving latest chart...";divChartMar.innerHTML="<img src='"+strPath+arrSymbols[b].replace("/","_").replace(".","_")+"Chart-Lg.png?"+Math.ceil(Math.random()*1000)+"' width='275' height='200' />"}updateKeyQuoteBoardCharts(arrSymbols[b])}}function getMarketChartsForTabbing(){if(firstTimeLoadMarketCharts==true){for(var b=0;b<arrSymbols.length;b++){divChart=document.getElementById("divChartMar"+arrSymbols[b]);if(divChart!=null){divChart.innerHTML="Retrieving latest chart...";divChart.innerHTML="<img src='"+strPath+arrSymbols[b].replace("/","_").replace(".","_")+"Chart-Lg.png?"+Math.ceil(Math.random()*1000)+"' width='275' height='200' />"}}firstTimeLoadMarketCharts=false}}function getNewQuoteBoardInformation(){GFTPortal.App_Code.AjaxServices.getNewQuoteBoardInformation(getNewQuoteBoardInformationCallBack,getNewQuoteBoardInformationError)}function getNewQuoteBoardInformationError(b){}function getNewQuoteBoardInformationCallBack(j,i,g,f,h){dvCurrMsg=document.getElementById("dvCurrMessage");if(dvCurrMsg!=null){if(dvCurrMsg.style.display=="block"){dvCurrMsg.style.display="none";getNewCurrencyCharts()}}spanArrow=document.getElementById("liArrow"+j);spanBid=document.getElementById("liBid"+j);spanHigh=document.getElementById("liHigh"+j);spanLow=document.getElementById("liLow"+j);divChart=document.getElementById("divChart"+j);if(spanArrow!=null){spanArrow.innerHTML=getArrow(g)}if(spanBid!=null){spanBid.innerHTML=i}if(spanArrow!=null){if(parseInt(g)<0){spanArrow.style.color="red";spanBid.style.color="red"}else{spanArrow.style.color="green";spanBid.style.color="green"}}if(spanHigh!=null){spanHigh.innerHTML=f}if(spanLow!=null){spanLow.innerHTML=h}updateKeyQuoteBoard(j,i,g,f,h)}function updateKeyQuoteBoardCharts(b){divChart=document.getElementById("divChart"+b+"_kq");if(divChart!=null){divChart.innerHTML="Retrieving latest chart...";divChart.innerHTML="<img src='"+strPath+b.replace("/","_").replace(".","_")+"Chart-Lg.png?"+Math.ceil(Math.random()*1000)+"' width='275' height='200' />"}}function updateKeyQuoteBoard(v,s,t,u,o){dvKQMsg=document.getElementById("dvKQMessage");if(dvKQMsg!=null){if(dvKQMsg.style.display=="block"){dvKQMsg.style.display="none";for(var r=0;r<arrKeyQuoteSymbols.length;r++){updateKeyQuoteBoardCharts(arrKeyQuoteSymbols[r])}}}var p=document.getElementById("liArrow"+v+"_kq");var i=document.getElementById("liBid"+v+"_kq");var m=document.getElementById("liHigh"+v+"_kq");var q=document.getElementById("liLow"+v+"_kq");var n=document.getElementById("divChart"+v+"_kq");if(p!=null){p.innerHTML=getArrow(t)}if(i!=null){i.innerHTML=s}if(parseInt(t)<0){if(p!=null){p.style.color="red"}if(i!=null){i.style.color="red"}}else{if(p!=null){p.style.color="green"}if(i!=null){i.style.color="green"}}if(m!=null){m.innerHTML=u}if(q!=null){q.innerHTML=o}}var currencyHeader;var marketHeader;var currentHeader;function setCurrentHeader(b){currentHeader=b};