( function( jQuery ) { jQuery.fn.hoverfold = function( args ) { this.each( function() { jQuery( this ).children( '.view-staff' ).each( function() { var jQueryitem = jQuery( this ), img = jQueryitem.children( 'img' ).attr( 'src' ), struct = '
'; struct +='
'; struct +='
'; struct +='
'; struct +='
'; struct +='
'; struct +='
'; struct +='
'; struct +='
'; struct +='
'; var jQuerystruct = jQuery( struct ); jQueryitem.find( 'img' ).remove().end().append( jQuerystruct ).find( 'div.slice' ).css( 'background-image', 'url(' + img + ')' ).prepend( jQuery( '' )); }); }); }; } )( jQuery );