/*
 * 
 * YCodaGallery plugin 2.0
 * $Date:2008-05-18 12:45:33 +0200 (dom, 18 mag 2008) $
 * $Rev:85 $
 * @requires jQuery v1.2.3
 * @requires YCodaSlider v2.0
 * @optional Lazy YCodaSlider plugin 2.0
 * 
 * Copyright (c) 2008 Massimiliano Balestrieri
 * Examples and docs at: http://maxb.net/blog/
 * Licensed GPL licenses:
 * http://www.gnu.org/licenses/gpl.html
 * 
 */
YCodaSlider.Gallery = {
    init     : function(options)
    {
        options = jQuery.extend({
              }, options);
              
        return this.each(
            function(nr)
            {
                var that = this;
                var jImgs = jQuery('img', that);
                jImgs.each(function(z){
                    jQuery(this).wrap('<div class="yslider-panelwrapper" title="'+ (z + 1) +'">');
                });
            }
        );
    }
};
jQuery.fn.ycodagallery = YCodaSlider.Gallery.init;
