function Position() {
	this.item = new Array();
	this.wrapper;
	//¥[¤J
	this.add = function(id, name) {
		temp = new Object();
		temp.id = id;
		temp.name = name
		this.item[this.item.length] = temp;
	};
	//Åã¥Ü
	this.build = function(ob) {
		this.wrapper = ob;
		ob.options.length = 0;
		try {
			for(var i=0;i<this.item.length;i++) {
				ob.options[i] = new Option(this.item[i].name, this.item[i].id);
			}
		} catch(e) { alert(e.description); }
	};
	this.setSelected = function(id) {
		try {
			for(var i=0;i<this.item.length;i++) {
				if(this.item[i].id == id) {
					this.wrapper.options[i].selected=true;
				}
				
			}
		} catch(e) { alert(e.description); }
	}
}
position = new Position();
document.write("<script language=\"JavaScript1.2\" src=\"/include/lib/position/pos/PositionData.js\"></script>");



