﻿// JScript File
// Global variables for Price page
var xPrice;             // XMLHttpRequest for Stock Price Data
var intPrice   = 0;     // Timeout for Stock Price Data
var counter = 0;        // Count the refresh time
var price;              // Latest received Stock Price data (for backward comparision and color change)
var Time2Refresh = 8000;// Interval for request data

// Variables which values are dynamically modified/assigned by server side code
var vieTxt = new JSVietnam();   // Vietnamese instance
var engTxt = new JSEnglish();   // English instance
var langTxt = vieTxt;           // Language object for all texts