var select = $('<select>');
var option = jQuery('<option>', { value: '', text: '--'});
var select = $('<select>');
var option = jQuery('<option>', { value: '', text: '--'});
jQuery.each(aZoomLevels, function(i, title) {
var option = jQuery('<option>', { value: i, text: i + ' ' + title });
if (i == iSelectedZoom) option.attr('selected', 'selected');
jQuery.each(aZoomLevels, function(i, title) {
var option = jQuery('<option>', { value: i, text: i + ' ' + title });
if (i == iSelectedZoom) option.attr('selected', 'selected');