//global variables
var svgCityText;

function init(evt) {
	//get reference to child (content) of the city text-Element
	svgCityText = document.getElementById("varCity").firstChild;
}

function showCity(city) {
	//change text-Value
	svgCityText.nodeValue = city;
}

function emptyCity() {
	//empty text-String
	svgCityText.nodeValue = " ";
}

function cityClick(text) {
	//show an alert message
	alert(text);
}