var d = document;

Goto = function (itObj) {
	if (itObj != ""){
		nIndex = itObj.selectedIndex;
		if(itObj.options[nIndex].value != "") { window.location = itObj.options[nIndex].value; }
		else { itObj.options[0].selected = true; }
	}
}

openWin = function(u,n,o) {
	window.open(u,n,o);
}

toggle = function() {
	var state = d.getElementById("all").checked;
	for (i=0; i<(cities + 1); i++) {
		d.getElementById("city_"+i).disabled = state;
	}
}