if(info.SYSTEM_ID == "iPECS eMG80" || info.SYSTEM_ID == "iPECS eMG800") {
	var license_ins = {num: 75, name: langs.getText("mnt_menu","pgm75")};
	var ppp_emg = {num: 205, name: langs.getText("adm_menu","pgm205")};
	var ppp_ucp = {};
	if(info.SYSTEM_ID == "iPECS eMG800") {
		var p207 = {num: 207, name: langs.getText("adm_menu","pgm207")};
		var p337 =  {num: 337, name: langs.getText("adm_menu","pgm337")};
		var p53 =  {num: 53, name: langs.getText("mnt_menu","pgm53")};
	}
	else {
		var p207 = {};
		var p337 = {};
		var p53 = {};
	}
} else {
	var license_ins = {num: 75, name: langs.getText("mnt_menu","pgm75")};
	var ppp_emg = {};
	var ppp_ucp = {num: 205, name: langs.getText("adm_menu","pgm205")};
	var p207 = {};
	var p337 = {};
	var p53 = {};
}

if (info.NCODE == "TKM") {
	var license_deact = {num: 90, name: langs.getText("mnt_menu","pgm90")};
} else {
	var license_deact = {};
}
if (info.NCODE == "KOR") {
	var p256 = {num: 256, name: langs.getText("adm_menu","pgm256")};
} else {
	var p256 = {};
}

if(info.PHASE >= 2) {
	var p781_moh_del_down = {num: 781, name: langs.getText("mnt_menu","pgm781")};
	var p782_moh_upload = {num: 782, name: langs.getText("mnt_menu","pgm782")};
} else {
	var p781_moh_del_down = {};
	var p782_moh_upload = {};
}

if(info.PHASE >= 2) {
	var p257 = {num: 257, name: langs.getText("adm_menu","pgm257")};
} else {
	var p257 = {};
}
//demo data
left_pgm_menuList = [
    {name: langs.getText("adm_menu","dir_prepgm"),
     children: [{num: 100, name: langs.getText("adm_menu","pgm100")}, {num: 1030, name: langs.getText("adm_menu","pgm1030")}, 
                {num: 101, name: langs.getText("adm_menu","pgm101")}, {num: 102, name: langs.getText("adm_menu","pgm102")}, 
                {num: 103, name: langs.getText("adm_menu","pgm103")}, {num: 104, name: langs.getText("adm_menu","pgm104")}, 
                {num: 105, name: langs.getText("adm_menu","pgm105")}, {num: 106, name: langs.getText("adm_menu","pgm106")}, 
                {num: 238, name: langs.getText("adm_menu","pgm238")}]},
    {name: langs.getText("adm_menu","dir_stn"),
     children: [{num: 110, name: langs.getText("adm_menu","pgm110")}, {num: 111, name: langs.getText("adm_menu","pgm111")},
                {num: 112, name: langs.getText("adm_menu","pgm112")}, {num: 113, name: langs.getText("adm_menu","pgm113")},
                {num: 115, name: langs.getText("adm_menu","pgm115")}, {num: 116, name: langs.getText("adm_menu","pgm116")},
                {num: 117, name: langs.getText("adm_menu","pgm117")}, {num: 1180, name: langs.getText("adm_menu","pgm1180")},
                {num: 118, name: langs.getText("adm_menu","pgm118")}, {num: 119, name: langs.getText("adm_menu","pgm119")},
                {num: 120, name: langs.getText("adm_menu","pgm120")}, {num: 121, name: langs.getText("adm_menu","pgm121")},
                {num: 122, name: langs.getText("adm_menu","pgm122")}, {num: 123, name: langs.getText("adm_menu","pgm123")},
                {num: 1241, name: langs.getText("adm_menu","pgm1241")}, {num: 125, name: langs.getText("adm_menu","pgm125")},
                {num: 127, name: langs.getText("adm_menu","pgm127")}, {num: 128, name: langs.getText("adm_menu","pgm128")},
                {num: 1240, name: langs.getText("adm_menu","pgm1240")}, {num: 124, name: langs.getText("adm_menu","pgm124")},
					 {num: 1290, name: langs.getText("adm_menu","pgm1290")},
                {num: 1291, name: langs.getText("adm_menu","pgm1291")}, {num: 1292, name: langs.getText("adm_menu","pgm1292")}]},
    {name: langs.getText("adm_menu","dir_board"),
     children: [{num: 130, name: langs.getText("adm_menu","pgm130")}, {num: 131, name: langs.getText("adm_menu","pgm131")}, 
                {num: 132, name: langs.getText("adm_menu","pgm132")}]},
    {name: langs.getText("adm_menu","dir_co"),
     children: [{num: 1400, name: langs.getText("adm_menu","pgm1400")}, {num: 140, name: langs.getText("adm_menu","pgm140")}, 
					 {num: 141, name: langs.getText("adm_menu","pgm141")}, {num: 142, name: langs.getText("adm_menu","pgm142")}, 
					 {num: 143, name: langs.getText("adm_menu","pgm143")}, {num: 144, name: langs.getText("adm_menu","pgm144")}, 
					 {num: 145, name: langs.getText("adm_menu","pgm145")}, {num: 146, name: langs.getText("adm_menu","pgm146")}, 
					 {num: 147, name: langs.getText("adm_menu","pgm147")}, {num: 149, name: langs.getText("adm_menu","pgm149")}, 
                {num: 150, name: langs.getText("adm_menu","pgm150")}, {num: 151, name: langs.getText("adm_menu","pgm151")}, 
                {num: 152, name: langs.getText("adm_menu","pgm152")}, {num: 153, name: langs.getText("adm_menu","pgm153")}]},
    {name: langs.getText("adm_menu","dir_sys"),
     children: [{num: 160, name: langs.getText("adm_menu","pgm160")}, {num: 162, name: langs.getText("adm_menu","pgm162")},
                {num: 163, name: langs.getText("adm_menu","pgm163")}, {num: 164, name: langs.getText("adm_menu","pgm164")}, 
                {num: 165, name: langs.getText("adm_menu","pgm165")}, {num: 166, name: langs.getText("adm_menu","pgm166")}, 
                {num: 167, name: langs.getText("adm_menu","pgm167")}, {num: 168, name: langs.getText("adm_menu","pgm168")}, 
                {num: 169, name: langs.getText("adm_menu","pgm169")}, {num: 170, name: langs.getText("adm_menu","pgm170")}, 
                {num: 171, name: langs.getText("adm_menu","pgm171")}, {num: 172, name: langs.getText("adm_menu","pgm172")}, 
                {num: 173, name: langs.getText("adm_menu","pgm173")}, {num: 174, name: langs.getText("adm_menu","pgm174")}, 
                {num: 175, name: langs.getText("adm_menu","pgm175")}, {num: 176, name: langs.getText("adm_menu","pgm176")}, 
                {num: 177, name: langs.getText("adm_menu","pgm177")}, {num: 178, name: langs.getText("adm_menu","pgm178")}, 
                {num: 179, name: langs.getText("adm_menu","pgm179")}, {num: 180, name: langs.getText("adm_menu","pgm180")}, 
                {num: 183, name: langs.getText("adm_menu","pgm183")}, {num: 189, name: langs.getText("adm_menu","pgm189")}, 
                {num: 1891, name: langs.getText("adm_menu","pgm1891")}, {num: 195, name: langs.getText("adm_menu","pgm195")}, 
                {num: 196, name: langs.getText("adm_menu","pgm196")}, {num: 197, name: langs.getText("adm_menu","pgm197")}, 
                {num: 250, name: langs.getText("adm_menu","pgm250")}, {num: 251, name: langs.getText("adm_menu","pgm251")}, 
                {num: 252, name: langs.getText("adm_menu","pgm252")}, {num: 253, name: langs.getText("adm_menu","pgm253")}, 
                {num: 254, name: langs.getText("adm_menu","pgm254")}, {num: 255, name: langs.getText("adm_menu","pgm255")}, 
                p256, p257,
                {num: 262, name: langs.getText("adm_menu","pgm262")}, {num: 263, name: langs.getText("adm_menu","pgm263")}, 
                {num: 1600, name: langs.getText("adm_menu","pgm1600")}, ppp_emg]},
    {name: langs.getText("adm_menu","dir_stngrp"),
     children: [{num: 1900, name: langs.getText("adm_menu","pgm1900")}, {num: 190, name: langs.getText("adm_menu","pgm190")}, 
                {num: 191, name: langs.getText("adm_menu","pgm191")}, {num: 1920, name: langs.getText("adm_menu","pgm1920")}, 
                {num: 192, name: langs.getText("adm_menu","pgm192")}, {num: 2600, name: langs.getText("adm_menu","pgm2600")}, 
                {num: 260, name: langs.getText("adm_menu","pgm260")}, {num: 261, name: langs.getText("adm_menu","pgm261")}]},
    {name: langs.getText("adm_menu","dir_isdn"),
     children: [{num: 200, name: langs.getText("adm_menu","pgm200")}, {num: 201, name: langs.getText("adm_menu","pgm201")}, 
                {num: 202, name: langs.getText("adm_menu","pgm202")}, {num: 203, name: langs.getText("adm_menu","pgm203")}, 
                {num: 204, name: langs.getText("adm_menu","pgm204")}, ppp_ucp, 
                {num: 206, name: langs.getText("adm_menu","pgm206")}, p207]},
    {name: langs.getText("adm_menu","dir_sip"),
     children: [{num: 210, name: langs.getText("adm_menu","pgm210")}, {num: 1330, name: langs.getText("adm_menu","pgm1330")}, 
                {num: 133, name: langs.getText("adm_menu","pgm133")}, {num: 12601, name: langs.getText("adm_menu","pgm12601")}, 
                {num: 12602, name: langs.getText("adm_menu","pgm12602")}, {num: 126, name: langs.getText("adm_menu","pgm126")}, 
                {num: 211, name: langs.getText("adm_menu","pgm211")}, {num: 212, name: langs.getText("adm_menu","pgm212")}, 
                {num: 214, name: langs.getText("adm_menu","pgm214")}, {num: 215, name: langs.getText("adm_menu","pgm215")}, 
                {num: 216, name: langs.getText("adm_menu","pgm216")}]},
    {name: langs.getText("adm_menu","dir_tbl"),
     children: [{num: 220, name: langs.getText("adm_menu","pgm220")}, {num: 221, name: langs.getText("adm_menu","pgm221")}, 
                {num: 222, name: langs.getText("adm_menu","pgm222")}, {num: 223, name: langs.getText("adm_menu","pgm223")}, 
                {num: 270, name: langs.getText("adm_menu","pgm270")}, {num: 224, name: langs.getText("adm_menu","pgm224")}, 
                {num: 226, name: langs.getText("adm_menu","pgm226")}, {num: 2270, name: langs.getText("adm_menu","pgm2270")}, 
                {num: 227, name: langs.getText("adm_menu","pgm227")}, {num: 2271, name: langs.getText("adm_menu","pgm2271")}, 
                {num: 228, name: langs.getText("adm_menu","pgm228")}, {num: 229, name: langs.getText("adm_menu","pgm229")}, 
                {num: 231, name: langs.getText("adm_menu","pgm231")}, {num: 232, name: langs.getText("adm_menu","pgm232")}, 
                {num: 233, name: langs.getText("adm_menu","pgm233")}, {num: 234, name: langs.getText("adm_menu","pgm234")}, 
                {num: 235, name: langs.getText("adm_menu","pgm235")}, {num: 236, name: langs.getText("adm_menu","pgm236")}, 
                {num: 237, name: langs.getText("adm_menu","pgm237")}, {num: 272, name: langs.getText("adm_menu","pgm272")}]},
    {name: langs.getText("adm_menu","dir_net"),
     children: [{num: 320, name: langs.getText("adm_menu","pgm320")}, {num: 321, name: langs.getText("adm_menu","pgm321")}, 
                {num: 3220, name: langs.getText("adm_menu","pgm3220")}, {num: 322, name: langs.getText("adm_menu","pgm322")}, 
                {num: 3240, name: langs.getText("adm_menu","pgm3240")}, {num: 324, name: langs.getText("adm_menu","pgm324")}, 
                {num: 325, name: langs.getText("adm_menu","pgm325")}]},
	{name: langs.getText("adm_menu","dir_h323"),
     children: [{num: 326, name: langs.getText("adm_menu","pgm326")}, {num: 327, name: langs.getText("adm_menu","pgm327")}, 
                {num: 328, name: langs.getText("adm_menu","pgm328")}]},
    {name: langs.getText("adm_menu","dir_rsgm"),
     children: [{num: 430, name: langs.getText("adm_menu","pgm430")}, {num: 431, name: langs.getText("adm_menu","pgm431")}, 
                {num: 432, name: langs.getText("adm_menu","pgm432")}, {num: 433, name: langs.getText("adm_menu","pgm433")}]},
    {name: langs.getText("adm_menu","dir_tnet"),
     children: [{num: 330, name: langs.getText("adm_menu","pgm330")}, {num: 331, name: langs.getText("adm_menu","pgm331")}, 
                {num: 332, name: langs.getText("adm_menu","pgm332")}, {num: 333, name: langs.getText("adm_menu","pgm333")}, 
                {num: 334, name: langs.getText("adm_menu","pgm334")}, {num: 335, name: langs.getText("adm_menu","pgm335")},
					p337]},
    {name: langs.getText("adm_menu","dir_zone"),
     children: [{num: 4360, name: langs.getText("adm_menu","pgm4360")}, {num: 436, name: langs.getText("adm_menu","pgm436")}, 
                {num: 437, name: langs.getText("adm_menu","pgm437")}, {num: 438, name: langs.getText("adm_menu","pgm438")}, 
                {num: 4390, name: langs.getText("adm_menu","pgm4390")}, {num: 439, name: langs.getText("adm_menu","pgm439")}, 
                {num: 440, name: langs.getText("adm_menu","pgm440")}, {num: 441, name: langs.getText("adm_menu","pgm441")}, 
                {num: 444, name: langs.getText("adm_menu","pgm444")}]},
    {name: langs.getText("adm_menu","dir_dev"),
     children: [{num: 442, name: langs.getText("adm_menu","pgm442")}, {num: 443, name: langs.getText("adm_menu","pgm443")}]},
    {name: langs.getText("adm_menu","dir_ucs"),
     children: [{num: 445, name: langs.getText("adm_menu","pgm445")}, {num: 446, name: langs.getText("adm_menu","pgm446")}, 
					 {num: 4461, name: langs.getText("adm_menu","pgm4461")}, {num: 447, name: langs.getText("adm_menu","pgm447")}, 
					 {num: 448, name: langs.getText("adm_menu", "pgm448")}, {num: 449, name: langs.getText("adm_menu", "pgm449")}]},
    {name: langs.getText("adm_menu","dir_dect"),
     children: [{num: 490, name: langs.getText("adm_menu","pgm490")}, {num: 491, name: langs.getText("adm_menu","pgm491")},
					 {num: 4901, name: langs.getText("adm_menu","pgm4901")}]},
    {name: langs.getText("adm_menu","dir_hotel"),
     children: [{num: 300, name: langs.getText("adm_menu","pgm300")}, {num: 301, name: langs.getText("adm_menu","pgm301")}, 
                {num: 302, name: langs.getText("adm_menu","pgm302")}, {num: 303, name: langs.getText("adm_menu","pgm303")}, 
                {num: 304, name: langs.getText("adm_menu","pgm304")}, {num: 305, name: langs.getText("adm_menu","pgm305")}, 
                {num: 306, name: langs.getText("adm_menu","pgm306")}, {num: 307, name: langs.getText("adm_menu","pgm307")}, 
                {num: 308, name: langs.getText("adm_menu","pgm308")}, {num: 309, name: langs.getText("adm_menu","pgm309")}, 
                {num: 310, name: langs.getText("adm_menu","pgm310")}, {num: 3110, name: langs.getText("adm_menu","pgm3110")}, 
                {num: 311, name: langs.getText("adm_menu","pgm311")}, {num: 312, name: langs.getText("adm_menu","pgm312")}, 
                {num: 3130, name: langs.getText("adm_menu","pgm3130")}, {num: 3131, name: langs.getText("adm_menu","pgm3131")}, 
                {num: 3132, name: langs.getText("adm_menu","pgm3132")}, {num: 314, name: langs.getText("adm_menu","pgm314")}, 
                {num: 315, name: langs.getText("adm_menu","pgm315")}]},
    {name: langs.getText("adm_menu","dir_green"),
     children: [{num: 500, name: langs.getText("adm_menu","pgm500")}, {num: 501, name: langs.getText("adm_menu","pgm501")}]},
    {name: langs.getText("adm_menu","dir_redundancy"),
     children: [{num: 502, name: langs.getText("adm_menu","pgm502")}, {num: 503, name: langs.getText("adm_menu","pgm503")}]},
    {name: langs.getText("adm_menu","dir_init"),
     children: [{num: 450, name: langs.getText("adm_menu","pgm450")}]}
];

left_maint_menuList = [
    {name: langs.getText("mnt_menu","dir_upgrade"),
     children: [{num: 51, name: langs.getText("mnt_menu","pgm51")}, {num: 52, name: langs.getText("mnt_menu","pgm52")},p53]},
    {name: langs.getText("mnt_menu","dir_database"),
     children: [{num: 55, name: langs.getText("mnt_menu","pgm55")}, {num: 54, name: langs.getText("mnt_menu","pgm54")}]}, 
    {name: langs.getText("mnt_menu","dir_multilanguage"),
     children: [{num: 56, name: langs.getText("mnt_menu","pgm56")}, {num: 57, name: langs.getText("mnt_menu","pgm57")}]},
    {name: langs.getText("mnt_menu","dir_smdr"),
     children: [{num: 58, name: langs.getText("mnt_menu","pgm58")}]},
    {name: langs.getText("mnt_menu","dir_filesystem"),
     children: [{num: 78, name: langs.getText("mnt_menu","pgm78")}, {num: 79, name: langs.getText("mnt_menu","pgm79")}]},
    {name: langs.getText("mnt_menu","moh_filesystem"),
     children: [p781_moh_del_down, p782_moh_upload]},
    {name: langs.getText("mnt_menu","dir_license"),
     children: [{num: 89, name: langs.getText("mnt_menu","pgm89")}, {num: 91, name: langs.getText("mnt_menu","pgm91")}, 
					 license_ins, license_deact]},
    {name: langs.getText("mnt_menu","dir_dectstat"),
     children: [{num: 73, name: langs.getText("mnt_menu","pgm73")}]},
    {name: langs.getText("mnt_menu","dir_vsfprmtmsg"),
     children: [{num: 87, name: langs.getText("mnt_menu","pgm87")}, {num: 76, name: langs.getText("mnt_menu","pgm76")}, 
					 {num: 77, name: langs.getText("mnt_menu","pgm77")}]},
    {name: langs.getText("mnt_menu","dir_vsfsg"),
     children: [{num: 80, name: langs.getText("mnt_menu","pgm80")}, {num: 81, name: langs.getText("mnt_menu","pgm81")}, 
                {num: 83, name: langs.getText("mnt_menu","pgm83")}, {num: 82, name: langs.getText("mnt_menu","pgm82")}]},
    {name: langs.getText("mnt_menu","dir_vmmnt"),
     children: [{num: 84, name: langs.getText("mnt_menu","pgm84")}, {num: 85, name: langs.getText("mnt_menu","pgm85")}]},
    {name: langs.getText("mnt_menu","dir_funcmnt"),
     children: [{num: 99, name: langs.getText("mnt_menu","pgm99")}]},
    {name: langs.getText("mnt_menu","dir_usermnt"),
     children: [{num: 50, name: langs.getText("mnt_menu","pgm50")}]},
    {name: langs.getText("mnt_menu","dir_trace"),
     children: [{num: 59, name: langs.getText("mnt_menu","pgm59")}, {num: 60, name: langs.getText("mnt_menu","pgm60")},
                {num: 61, name: langs.getText("mnt_menu","pgm61")}, {num: 452, name: langs.getText("mnt_menu","pgm452")},
                {num: 453, name: langs.getText("mnt_menu","pgm453")}, {num: 62, name: langs.getText("mnt_menu","pgm62")},
                {num: 63, name: langs.getText("mnt_menu","pgm63")}, {num: 64, name: langs.getText("mnt_menu","pgm64")},
                {num: 65, name: langs.getText("mnt_menu","pgm65")}, {num: 66, name: langs.getText("mnt_menu","pgm66")},
                {num: 67, name: langs.getText("mnt_menu","pgm67")}, {num: 68, name: langs.getText("mnt_menu","pgm68")}, 
                {num: 69, name: langs.getText("mnt_menu","pgm69")}, {num: 70, name: langs.getText("mnt_menu","pgm70")},
                {num: 71, name: langs.getText("mnt_menu","pgm71")}, {num: 72, name: langs.getText("mnt_menu","pgm72")},
                {num: 86, name: langs.getText("mnt_menu","pgm86")}, {num: 88, name: langs.getText("mnt_menu","pgm88")},
				{num: 93, name: langs.getText("mnt_menu","pgm93")},{num: 94, name: langs.getText("mnt_menu","pgm94")},
				{num: 95, name: langs.getText("mnt_menu","pgm95")}]},
    {name: langs.getText("mnt_menu","dir_tdmgain"),
     children: [{num: 408, name: langs.getText("mnt_menu","pgm408")}, {num: 419, name: langs.getText("mnt_menu","pgm419")}]},
    {name: langs.getText("mnt_menu","dir_ipgain"),
     children: [{num: 400, name: langs.getText("mnt_menu","pgm400")}, {num: 401, name: langs.getText("mnt_menu","pgm401")},
                {num: 402, name: langs.getText("mnt_menu","pgm402")}, {num: 403, name: langs.getText("mnt_menu","pgm403")},
                {num: 404, name: langs.getText("mnt_menu","pgm404")}, {num: 405, name: langs.getText("mnt_menu","pgm405")},
                {num: 406, name: langs.getText("mnt_menu","pgm406")}, {num: 407, name: langs.getText("mnt_menu","pgm407")},
                {num: 426, name: langs.getText("mnt_menu","pgm426")}, {num: 427, name: langs.getText("mnt_menu","pgm427")}, 
                {num: 428, name: langs.getText("mnt_menu","pgm428")}, {num: 492, name: langs.getText("mnt_menu","pgm492")}, 
                {num: 496, name: langs.getText("mnt_menu","pgm496")}, {num: 498, name: langs.getText("mnt_menu","pgm498")}, 
                {num: 480, name: langs.getText("mnt_menu","pgm480")}]},
    {name: langs.getText("mnt_menu","dir_tonering"),
     children: [{num: 422, name: langs.getText("mnt_menu","pgm422")}, {num: 264, name: langs.getText("mnt_menu","pgm264")},
					 {num: 265, name: langs.getText("mnt_menu","pgm265")}, {num: 423, name: langs.getText("mnt_menu","pgm423")},
					 {num: 424, name: langs.getText("mnt_menu","pgm424")}, {num: 425, name: langs.getText("mnt_menu","pgm425")}]},
    {name: langs.getText("mnt_menu","dir_ac"),
     children: [{num: 74, name: langs.getText("mnt_menu","pgm74")}, {num: 429, name: langs.getText("mnt_menu","pgm429")}]}
];

left_function_menuList = [
	{name: langs.getText("adm_menu","dir_common_func"),
	 children: [{num: "Station_Group_Scenario", name: "Station Group Scenario"}, {num: "DID_Setting_Scenario", name: "DID Setting Scenario"},
					{num: "Networking_Scenario", name: "Networking Scenario"}, {num: "SIP_Trunk_Configuration", name: "SIP Trunk Configuration"},
					{num: "SIP_Extension_Registration", name: "SIP Extension Registration"}]},
	{name: langs.getText("adm_menu","dir_user_func"),
	 children: user_funclist}
];
