g_dwIEVersion = external.GetIEVer(); OnThemeColorChange(); document.onselectstart = function() { if (external.GetKeyState(17) 0) { rowlast --; SelectMsg(rowlast,true); g_rowObjLastSelByKeyDown = document.getElementById("itemId_"+rowlast); } else { event.returnValue=true; } } else if (window.event.keyCode == 40) //down { if (g_rowObjLastSelByKeyDown == null) { g_rowObjLastSelByKeyDown = g_rowObjLastSave; } event.returnValue=false; var rowlast = GetMsgIndex(g_rowObjLastSelByKeyDown); g_nRowObjCount = external.GetCount(); if (rowlast function OnMoveOle(obj) { external.OnMouseMoveOle(event.screenX,event.screenY,obj); } function OnMoveDownOle(obj) { external.OnMouseDownOle(event.screenX,event.screenY,obj); } function OnMoveUpOle(obj) { external.OnMouseUpOle(event.screenX,event.screenY,obj); }