function citySelect()
{
   var i, myString="", comma="";
   var L = document.the_form.cities.length;
   for (i=0; i<L; i++)
   {
      if (document.the_form.cities[i].selected)
      {
         // build string of values separated by comma
         myString += comma + (document.the_form.cities[i].value);
		 comma=",";
      }
   }
   // write value to city
   document.the_form.city.value = myString;
}

