context: 	"editPolygonStyles": function(){		BitMap.show('edit-polygonstyles-table');		BitMap.show('edit-polygonstyles-cancel');				var polygonstyleTable = $('edit-polygonstyle-table');		//set some constants		var linksList = polygonstyleTable.getElementsByTagName("ul").item(0);		var links = polygonstyleTable.getElementsByTagName("li");		//Clear all the existing polygonstyles listed		//We leave the first two, the first is the model we clone, the second is for a new polygonstyle		var count = links.length;		for (n=count-1; n>1; n--){			linksList.removeChild(links.item(n));		}				/* I THINK THIS CAN BE DELETED -wjames5 */		//$('edit-polygonstylelink-new-a').onclick = "BitMap.EditSession.editPolygonStyle();";				//For each polygonstyle, add a link		var firstselected = false;		for (var n=0; n<this.Map.polygonstyles.length; n++) {			var m = this.Map.polygonstyles[n];			var li = links.item(0).cloneNode(true);			li.id = 'edit-polygonstylelink-'+n;			var a = li.getElementsByTagName("a").item(0);			a.onclick = "BitMap.EditSession.editPolygonStyle("+n+")";			a.innerHTML = m.name;			linksList.appendChild(li);			li.style.display = "block";						if (firstselected != true){				this.editPolygonStyle(n);				firstselected = true;			}					}		if (firstselected == false){			this.editPolygonStyle();		}		//We assume it is not visible and make it so		BitMap.show('edit-polygonstyle-table');	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/78c46c0ddae20b9410f61f36f11e233fe55fa24b/Edit.js/clean/templates/Edit.js