if(info.SYS_SPD_RANGE) {
   var range_guide = " ("+info.SYS_SPD_RANGE+")";
	if((Math.abs(eval(info.SYS_SPD_RANGE))+1) < 100) {
		var maxInputRange = (Math.abs(eval(info.SYS_SPD_RANGE))+1).toString();
	} else {
		var maxInputRange = "100";
	}
} else {
   var range_guide = "";
}

column_config["pgm262"] = [{readOnly: true}, {type : 'dropdown', source:[langs.getText("common","not_assigned"), langs.getText("common","co_line"), langs.getText("common","cog"), langs.getText("common","loop"), langs.getText("common","transit_out"), langs.getText("common","net_sta_num")],colWidths:100}, {maxLength:8, colWidths:100}, {maxLength:25, colWidths:180}, {maxLength:16, colWidths:150}];

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm262_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm262_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_indexrange")+range_guide+" : "}, {name: "RANGE_1_1", value: "", textfield: [{max: 40, size: 50}], message: "", default_range: getDefaultRange(range_guide, maxInputRange), help: langs.re_toolTip()+"<br><br>"+langs.getText("toolTip","maxinputrange")+" - "+maxInputRange}, {btn: langs.getText("common","load"), btn_type: "btn_load"},
				langs.Range_Error_Table(),
				{endload: 1}, {br: 2}, {text: langs.getText("common","index_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm262_mktbl", edit_table:[{label: langs.getText("common","index")}, {label: langs.getText("common","co_type")}, {label: langs.getText("common","coval")}, {label: langs.getText("common","dial_digit")}, {label: langs.getText("common","name")}],
										data_form:[{key: "", tr: [{name:"SYSSPD_INDEX", value:"", label: 1},
																		  {name:"SYSSPD_COTYPE", value:"", select: [{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: langs.getText("common","co_line")}, {value: "2", option: langs.getText("common","cog")}, {value: "3", option: langs.getText("common","loop")}, {value: "4", option: langs.getText("common","transit_out")}, {value: "5", option: langs.getText("common","net_sta_num")}], message: "", enable_mullang: 1, show: 0},
																		  {name:"SYSSPD_COVAL", value:"", message: "", label :1},
																		  {name:"SYSSPD_VALUE", value:"", message: "", label: 1},
																		  {name:"SYSSPD_NAME", value:"", message: "", enable_mullang: 1, label: 1}]}],
								  variable_data:[{}]}
        ]}
    ]}
);
