smileter.world = function(placeholder, items) {
    var options = {
        zoom: 2,
        center: new google.maps.LatLng(30, 0),
        mapTypeId: google.maps.MapTypeId.SATELLITE,
        disableDefaultUI: false,
        mapTypeControl: false
    };
    var map = new google.maps.Map(
            document.getElementById("worldmap"),
            options
        );
    //var image_dir = '/images/emoticons/small/';
    var image_dir = '/images/emoticons/spring/small/';
    var image_format = '.png';

    var emoticon_codes = smileter.emoticon_codes;
    var country_name = window.locale.country_name;
    for (var i in items) {
        var item = items[i];
        //var country_code = country_codes[item.country];
        var image = emoticon_codes[item.emoticon];
        //var coords = country_coords[country_code];
        var myLatLng = new google.maps.LatLng(item.latitude, item.longitude);
        var icon = image_dir+image+image_format;
        var title = country_name[item.country];
        if (item.city) {
            title += ". " + item.city;
        }
        new google.maps.Marker({
          position: myLatLng,
          map: map,
          icon: icon,
          title: title
        });
    };

    //var country_coords = smileter.country_coordinates;
    //var emoticon_codes = smileter.emoticon_codes;
    //for (var i in country_coords) {
    //    var item = country_coords[i];
    //    var image = 1;
    //    var myLatLng = new google.maps.LatLng(item[0], item[1]);
    //    var icon = image_dir+image+image_format;
    //    new google.maps.Marker({
    //      position: myLatLng,
    //      map: map,
    //      icon: icon
    //    });
    //};

};