//put the external xml feeds url here //var IndicesURL="http://qq.axl.co.uk/axl-dlls/publish?url=/templates/ir/thomasmiller/indices.xml"; var IndicesURL = "/tmi/XMLFeeds.nsf/GetIndices?openagent"; //put the external xml feeds url here //var CurrURL="http://qq.axl.co.uk/axl-dlls/publish?url=/templates/ir/thomasmiller/forex.xml"; var CurrURL = "/tmi/XMLFeeds.nsf/GetCurr?openagent"; var IndicesID = "IndicesFeeds"; var CurrID = "CurrFeeds"; var HTMLTable='
| INDEX | LEVEL | CHANGE ON DAY | % CHANGE |
| FX | RATE | CHANGE ON DAY | % CHANGE | " + xx[0].firstChild.nodeValue + " | "; } catch (er) { txt=txt + ""; } } xx=x[i].getElementsByTagName(sTN2); { try { txt=txt + " | " + xx[0].firstChild.nodeValue + " | "; } catch (er) { txt=txt + ""; } } //changeDirection + change xxD=x[i].getElementsByTagName(sTN3); xx=x[i].getElementsByTagName(sTN4); { try { if (xxD[0].firstChild.nodeValue == "+") { sColor = "color:#008000"; } else { sColor = "color:#ff0000;"; } txt=txt + " | " + xxD[0].firstChild.nodeValue; txt=txt + xx[0].firstChild.nodeValue + " | "; } catch (er) { txt=txt + ""; } } xx=x[i].getElementsByTagName(sTN5); { try { txt=txt + " | " + xxD[0].firstChild.nodeValue + xx[0].firstChild.nodeValue + "% | "; } catch (er) { txt=txt + ""; } } txt=txt + ""; } txt=HTMLTable + sColHeading + txt + " |