Statusmapeng2
var statusTable = { plan:"Planned", order:"Ordered", manuf:"In production", final:"Final Assembly", stand:"Flight Test Centre: preparing for flight", stand_fly:"Flight Test Centre: Acceptance tests", stop:"Temporary on hold", air:"Flying", non_fly:"Not flying", cust_v:"Customisation in Venice", cust_ul:"Customisation in Ulyanovsk", cust_os:"Customisation in Ostrava", cust_in:"Customisation in Indianapolis", zhuk:"Flying tests in Zhukovskiy", operated:"In use", storage:"Shelved", disast:"Crashed", accid:"Accident", disposed:"Scrapped", static:"Static tests", resource:"Resource tests", other:"..." } function trStatus(key){ return statusTable.hasOwnProperty(key)?statusTable[key]:key; }