Рони, совсем не понял как этим пользоваться применительно к моему случаю, ничего не выводит.
function city(country){
		var mytext = document.getElementById('countries').innerHTML;
		var country = document.filterform.cscountry[document.filterform.cscountry.selectedIndex].value;
		var reg = new RegExp(".*"+country+"\\|(.*?)#.*");
		if(reg.test(mytext))country = mytext.replace(reg, "$1"){
		alert([city(country)]);
		}