rem: re = /^([a-zA-Z]+)\/(.+)$/; 
add: var re = /^([a-zA-Z]+)\/(.+)$/; 
context: function rebuildTimezoneSelect(element){	// Add the has to our element	tempHash = new Object();		re = /^([a-zA-Z]+)\/(.+)$/;	// Create a new select	selectFirst = document.createElement("select");	selectFirst.name = "selector_" + element.name;	selectFirst.className = element.className;		oldSelectedValue = 0;	// Go through the options creating a new set of options	for (i=0; i<element.options.length; i++) {		optiontext = document.createTextNode(element.options[i].text);		matches = re.exec(element.options[i].text);				if (! tempHash[matches[1]]) {			optionline = document.createElement("option");						tempHash[matches[1]] = new Array();						optionline.text = matches[1];			optionline.value = matches[1];			selectFirst.appendChild(optionline);		}				if (element.options[i].selected) {			selectFirst.selectedIndex = selectFirst.length - 1;			oldSelectedValue = element.options[i].value;		}		tempHash[matches[1]][tempHash[matches[1]].length] = new Array(element.options[i].value, matches[2]); 	}	selectFirst.setAttribute("onchange", "buildSecondaryList(this)");	element.parentNode.insertBefore(selectFirst, element);	timezone_arrays[element.name] = tempHash;		buildSecondaryList(selectFirst);}
meta: 7771	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7771/9d3a8e25880e9d05d774ab95bc8d6c51411bd475/timezone.js/clean/trunk/qsf/javascript/timezone.js