var catypes = {
	0: "Language",
	1: "A1",
	2: "A2",
	3: "A3",
	4: "A4",
	5: "A5",
	6: "A6",
	16: "PRD",
	17: "POD",
	18: "STS",
	19: "HNO",
	20: "HNS",
	21: "LMK",
	22: "LOC",
	23: "NAM",
	24: "PC",
	25: "BLD",
	26: "UNIT",
	27: "FLR",
	28: "ROOM",
	29: "PLC",
	30: "PCN",
	31: "POBOX",
	32: "ADDCODE",
	33: "SEAT",
	34: "RD",
	35: "RDSEC",
	36: "RDBR",
	37: "RDSRBBR",
	38: "POM",
	38: "PRM",
	128: "Script"
};


function FormRow() {
	var row = document.createElement("div");
	var typeElt = document.createElement("select");
	var valueElt = document.createElement("input");
	
	for (type in catypes) {
		var opt = document.createElement("option");
		opt.innerHTML = catypes[type];
		opt.setAttribute("value", type);
		typeElt.appendChild(opt);
	}
	valueElt.setAttribute("type", "text");
	
	row.appendChild(typeElt);
	row.appendChild(valueElt);

	return row;
}