﻿function language(lang){
    if(lang == 'en'){
        this.Price = "Price";
        this.Pri = "Pr.";
        this.Volume = "Volume";
        this.Count = "Count";
        this.Tick = "Tick";
        this.Ceil = "CE";
        this.Ref = "Ref";
        this.Floor = "FL";
        this.Room = "Room";
        this.RoomBuy = "Buy";
        this.Unit = "Vol";
        this.OrderBuy = "Bids";
        this.OrderSell = "Offers";
        this.Match = "Matching Result";
        this.High = "High";
        this.Low = "Low";
        this.Today = "Today's";
        this.TotalVol = "TotalVol";
        this.Change = "Change";
        this.KLGD = "Vol";
        this.GTGD = "Val";
        this.SLGD = "Trades";
        this.CPChange = "Gainers/Losers";    
        this.Session = "S. No.";    
        this.Day = "Date";    
        this.Status = "Market Status";    
        this.Status0 = "Opening";  
        this.Status1 = "Continuos Trading";    
        this.Status2 = "Between two Session";    
        this.Status3 = "Continuos Trading";    
        this.Status4 = "Closed";
        this.CurrentUnit = "B VND";
        this.HoSEON = 'HoSE Online';
		this.HNXON = 'HNX Online';
		this.UPCoM = 'UPCoM Online'
		this.Putt = 'Put-through Trading';
		this.Title1 = 'SaiGonBank Berjaya Securities JSC';
		this.Title2 = 'Online Stock Quotes';
		this.PriUnit= 'Price Unit: 1000 VND';
		this.VolUnit= 'Volume Unit: 1 Share';
		this.Option = 'Option';
		this.BegScroll = 'Auto Scroll';
		this.EndScroll = 'Exit Scroll';
		this.AddTop = 'Add tick to top page';
		this.Accept = 'Accept';
		this.Close = 'Close';
		this.ClearCheck = 'Clear Check All';
    }
    else{
        this.Price = "Giá";
        this.Pri = "Giá";
        this.Volume = "Khối lượng";
        this.Count = "Số lệnh";        
        this.Tick = "Mã CK";
        this.Ceil = "Giá Trần";
        this.Floor = "Giá Sàn";
        this.Ref = "Giá TC";
        this.Room = "Room NN";
        this.RoomBuy = "NN Mua";
        this.Unit = "KL";
        this.OrderBuy = "Chào Mua";
        this.OrderSell = "Chào Bán";
        this.Match = "Khớp Lệnh";
        this.High = "Cao";
        this.Low = "Thấp";
        this.Today = "Trong Ngày";
        this.TotalVol = "Tổng KL";
        this.Change = "Thay đổi";
        this.KLGD = "KL GD";
        this.GTGD = "GT GD";
        this.SLGD = "SL GD";
        this.CPChange = "CP Tăng/Giảm";    
        this.Session = "Phiên GD";    
        this.Day = "Ngày";    
        this.Status = "Trạng thái TT";    
        this.Status0 = "Đang Mở Cửa";  
        this.Status1 = "Khớp Lệnh Liên Tục";    
        this.Status2 = "Nghỉ Giữa Phiên";    
        this.Status3 = "Khớp Lệnh Liên Tục";    
        this.Status4 = "Đóng Cửa";  
        this.CurrentUnit = "Tỷ VND";   
        this.HoSEON = 'HoSE Trực Tuyến';
		this.HNXON = 'HNX Trực Tuyến';
		this.UPCoM = 'UPCoM Trực Tuyến'
		this.Putt ='Giao Dịch Thỏa Thuận';
		this.Title1 = 'Công ty Cổ Phần Chứng khoán SaiGonBank Berjaya JSC';
		this.Title2 = 'Bảng giá chứng khoán trực tuyến';
		this.PriUnit='Đơn vị giá: 1000 VND';
		this.VolUnit='Đơn vị Khối lượng: 1 CP';
		this.Option = 'Cấu hình';
		this.BegScroll = 'Bật Scroll';
		this.EndScroll = 'Tắt Scroll';
		this.AddTop = 'Thêm mã CK lên đầu trang';
		this.Accept = 'Chấp nhận';
		this.Close = 'Đóng';
		this.ClearCheck = 'Bỏ Chọn Tất Cả';
    }   
};


