var omxlinkUrl = "https://www.nasdaqomxnordic.com/webproxy/DataFeedProxy.aspx?"; var newsFeedBaseUrl = "https://mediacafe.globenewswire.com/news/query2.action?"; document.write('\x3Cscript type="text/javascript" src="https://irnordic.nasdaqomx.com/static/ir/JavaScriptFunctions/jquery.js">\x3C/script>'); document.write('\x3Cscript type="text/javascript" src="https://irnordic.nasdaqomx.com/static/ir/JavaScriptFunctions/jquery-ui-1.8.24.min.js">\x3C/script>'); document.write('\x3Cscript type="text/javascript" src="https://irnordic.nasdaqomx.com/static/ir/JavaScriptFunctions/Highstock/highchartsBuilder.js">\x3C/script>'); //document.write('\x3Cscript type="text/javascript" src="http://localhost:57595/scripts/highchartsBuilder.js">\x3C/script>'); document.write('\x3Cscript type="text/javascript" src="https://irnordic.nasdaqomx.com/static/ir/JavaScriptFunctions/Highstock/highstock.js">\x3C/script>'); var chartWidth = 850; var borderColor = "#e7e7e7"; var fontFamily = "Verdana"; var yAxesTitle = ""; var titleText = ""; var showHidwNews = "Show News"; var chertType = "intadayChart"; var chertType = "intadayChart"; if(chertType == "intadayChart"){ chertType = 'intraday'; }else{ chertType = 'historical'; } var instruments = ['SSE75344', 'SE0000337842', 'SE0001809476']; function start(){ // var el = document.getElementById("historyTab"); // el.className = "ir-tab-active"; if (chertType == 'intraday') { chertType = 'intraday'; document.getElementById("historyTab").className = ""; document.getElementById("intradayTab").className = "ir-tab-active"; } if (chertType == 'historical') { chertType = 'historical'; document.getElementById("historyTab").className = "ir-tab-active"; document.getElementById("intradayTab").className = ""; } drowHistoricalChart([instruments[0]], "en", chertType) var submitLabelIntra = 'Intraday'; var submitLabelHis = 'Historical'; document.getElementById('compare1').title = "compname1"; } window.onload = start; function drowChart(buttonId) { if (buttonId == 'submitIntraday') { chertType = 'intraday'; document.getElementById("historyTab").className = ""; document.getElementById("intradayTab").className = "ir-tab-active"; } if (buttonId == 'submitHistorical') { chertType = 'historical'; document.getElementById("historyTab").className = "ir-tab-active"; document.getElementById("intradayTab").className = ""; } compare(); } function getChartValues(valueof) { var rangeValue = "3M"; rangeValue = rangeValue.toLowerCase(); switch (valueof) { case 'width': return chartWidth; break; case 'fontFamily': return "Verdana"; break; case 'lineColor': return "#878787"; break; case 'rangePriod': if (rangeValue == "1m"){ return 0; }else if(rangeValue == "3m"){ return 1; }else if(rangeValue == "6m"){ return 2; }else if(rangeValue == "ytd"){ return 3; }else if(rangeValue == "1y"){ return 4; }else if(rangeValue == "all"){ return 5; } break; case 'columnColor': return "black"; break; case 'backgColor': return "#ffffff"; break; case 'firstCompColor': return "#DE2B13"; break; case 'secondCompColor': return "compwith2Color"; break; case 'newsLanguage': return "en"; break; case 'isiCode': return "SE0003204908"; break; case 'yAxesTitle': return yAxesTitle; break; case 'periodString': //var month|1|1m,month|3|3m,month|6|6m,ytd|ytd|YTD,year|1|1y,all|all|All = "month|1|1m,month|3|3M,month|6|6m,ytd|ytd|YTD,year|1|1y,all|all|All"; return "month|1|1m,month|3|3m,month|6|6m,ytd|ytd|YTD,year|1|1y,all|all|All"; break; case 'titleText': return titleText; break; } } function hideLoading(){ document.getElementById('loding').style.visibility = "hidden"; } function showNews() { var elNews = document.getElementById('showNews'); //alert(elNews.checked) if (elNews.checked) { drowNews('true'); } else { drowNews('false'); } } function compare() { document.getElementById('loding').style.visibility = "visible"; var el1 = document.getElementById("compare1"); var el2 = document.getElementById("compare2"); if (el1.checked == true && el2.checked == false) { drowHistoricalChart([instruments[0], instruments[1], ['undefined']], "en", chertType); } else if (el1.checked == true && el2.checked == true) { drowHistoricalChart([instruments[0], instruments[1], instruments[2]], "en", chertType); } else if (el1.checked == false && el2.checked == true) { drowHistoricalChart([instruments[0], ['undefined'], instruments[2]], "en", chertType); } else { drowHistoricalChart([instruments[0], ['undefined'], ['undefined']], "en", chertType); } //showNews(); } 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('
'); if(showHidwNews != ""){ 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('');