; var img = /tc/resources/images/common/quote_bar3.png; if (BrowserDetect.browser == Firefox BrowserDetect.browser == Chrome) var str=; $(sethomepage).remove(); str = BrowserDetect.browser == Chrome ? ChromeMessage : FFMessage; var div = $(document.createElement(div)); div.attr(id,sethomepage); div.css(background-color:white,position:relative,top:5px,z-index:99,border:1px solid e1e1e1,padding:10px,float:left); div.html(str); var divClose = $(document.createElement(div)); divClose.css(cursor:pointer,position: absolute,top: 6px,right: 6px,height: 13px,width: 13px,background:url(/tc/resources/images/tophead/mouseon_tab_close.gif)); divClose.bind(click,function()$(sethomepage).remove()); div.append(divClose); $(.AASTOCKSHome).css(width:430px,float:left); $(.AASTOCKSHome).append(div); else if (document.all) document.body.style.behavior = url(defaulthomepage); document.body.setHomePage( else if (window.sidebar) if scape) try netscape.security.PrivilegeManager.enablePrivilege(UniversalXPConnect); catch (e) var prefs = /preferences-service;1].getService(Components.interfaces.nsIPrefBranch); prefs.setCharPref(browser.startup.homepage, var relIndex = 0; var MAX_LENGTH = 8; var GPA = new Array(MAX_LENGTH); var list = new Array(MAX_LENGTH); var upImage =

; var isPlaying = true; var rollingTimmer; for (i = 0; i

; else if (vArray[4] == -) $( + a + 6).html(downImage); change =

; $( + a + 0).click(function() quote(vArray[0]); ); $( + a + 1).html(vArray[5]); $( + a + 2).html(vArray[1]); $( + a + 3).html(); $( + a + 4).html(change); function displayForex() relIndex = relIndex + 1; var s = relIndex * 2; if (s

= GPA.length) s = 0; relIndex = 0; $(subCurtbl .subCurB).css( position: absolute, display: block,height:52px); $(subCurtbl .subCurA).css( position: absolute, display: block,height:52px); var r = (s == 0) ? (MAX_LENGTH – 2) : (s – 2); applyForexvalue(GpA, GPA[r]); applyForexvalue(GpB, GPA[r + 1]); applyForexvalue(GpC, GPA[s]); applyForexvalue(GpD, GPA[s + 1]); $(.subCurA).css(top: 0, width:100%); $(.subCurB).css(top:+55px, width:100%); $(.subCurA).animate( top: -55px , 800); $(.subCurB).animate( top: 0 , 800); setTimeout(displayForex(), 10000); function GetForex() $.ajax( url: /tc/resources/datafeed/getforexcurrency.ashx?type=1, async: true, dataType: json, error: (function () ), success: (function (data) if (data == 1 data == ) else var k = 0; list = []; for (x in data) list[k] = data[x].symbol + + st + + data[x].change + + data[x].changeper + + data[x].changeSign + + data[x].desp; k++; if (k

= 1 && k % 2 == 1) list[k] = ; MAX_LENGTH = list.length; GPA = list; if($(GpA1).html()==) relIndex = 0; applyForexvalue(GpC, GPA[0]); applyForexvalue(GpD, GPA[1]); applyForexvalue(GpA, GPA[MAX_LENGTH-2]); applyForexvalue(GpB, GPA[MAX_LENGTH-1]); setTimeout(GetForex(), 200000); ) ); function flash(id) $( + id).addClass(last2); setTimeout(removeflash( + id + ), 800); function removeflash(id) $(+ id).removeClass(last2); function GetFundDropDown() if ($(ddlfundsname)) $.ajax( url: /tc/resources/datafeed/getfundsymbol.ashx?type=1, async: true, dataType: json, error: (function () ), success: (function (data) var str=; if (data == 1 data == ) str = str +

; for (x in data) if (data[x].id == ) str = str +

; $(ddlfundsname).empty(); $(ddlfundsname).append(str); ) ); function GetGreyStar() return

; function SelectedFund(obj) if (!obj) return false; if (obj.value == 0) return false; var url =/tc/funds/quote/quote.as window.location.href= url + ?funds= + obj.value; $(imgInfo).mouseover(function () $(divInfo).toggle(); ); $(imgInfo).mouseout(function () $(divInfo).toggle(); ); $(.changearrow).click(function() var csstype = okie(csstype)); if (csstype == null) csstype = HK; else csstype = csstype==HK ? CHINA:HK; var currentTime = new Date(); $.cookie(csstype, csstype, path: /, expires: new Date(currentTime.getFullYear()+1, 1, 1), domain: ); var head = document.getElementsByTagName(head)[0]; var link = document.createElement(link); link.id = arrcss; link.rel = stylesheet; link.type = text/css; link.href= csstype == HK ? /tc/resources/style/hk_stock.css : /tc/resources/style/china_stock.css; dia = all; if (document.getElementById(arrcss)) document.getElementById(arrcss).parentNode.replaceChild(link, document.getElementById(arrcss)); );

; else if (data[x].changeSign == -) cImg =

; else cImg = data[x].changeper; st); $(litHKRateChange).html(cImg); ) ); $(function () $(divHKD).bind(mouseover, function () $(divHKD).css(color, orange); $(imgHKDChart).attr(src, /tc/resources/images/common/icon_chart_orange.png); ); $(divHKD).bind(mouseout, function () $(divHKD).css(color, 006AAA); $(imgHKDChart).attr(src, /tc/resources/images/common/icon_chart_blue.png); ); );

AASTOCKS.com LtdICE Data Services Limited ()

AASTOCKS.com LtdICE Data Services Limited

AASTOCKS.com LtdAASTOCKS.com LtdAASTOCKS.com Ltd

2019 MorningstarInc:1Morningstar; 2; 3 ; 45Morningstar

AASTOCKS.com Limited

AASTOCKS.com Limited

AASTOCKS.com LimitedAASTOCKS.com Limited

AASTOCKS.com Limited

AASTOCKS.com LimitedAASTOCKS.com Limited

AASTOCKS.com LimitedAASTOCKS.com Limited

AASTOCKS.com Limited

AASTOCKS.com LimitedFacebook //AASTOCKS.com LimitedAASTOCKS.com Limited/ (/) AASTOCKS.com LimitedAASTOCKS.com Limited/AASTOCKS.com LimitedAASTOCKS.com LimitedFacebook Facebook Inc.

()

) .appendTo(ul); ; var Keyhandler = function(event) var key = event.keyCode ? event.keyCode : 0; if(key == 13)quote($(this).val()) ; $(txtCurSymbol).bind(keydown,Keyhandler); $(txtCurSymbol).select(); );