jQuery.noConflict();
jQuery(function() {
    jQuery('img[@src*="assets/images/"]' + ".cpu").each(function(){
        jQuery(this).before(jQuery(document.createElement("a")).addClass("cpu").attr({href: jQuery(this).attr('src'), rel: "lightbox"}).append(jQuery(this).clone(true)));
        jQuery(this).remove();
    });
    jQuery('img[@src*="assets/images/"]' + ".cpu_a").each(function(){
        jQuery(this).before(jQuery(document.createElement("a")).addClass("cpu_a").attr({href: jQuery(this).attr('src').replace(/(\.png|\.jpe?g|\.gif)/, "_ajQuery1"), rel: "lightbox"}).append(jQuery(this).clone(true)));
        jQuery(this).remove();
    });
    var conf = {
        imageLoading: 'assets/js/imgpopup/lightbox-ico-loading.gif',
        imageBtnClose: 'assets/js/imgpopup/lightbox-btn-close.gif',
        imageBtnPrev: 'assets/js/imgpopup/lightbox-btn-prev.gif',
        imageBtnNext: 'assets/js/imgpopup/lightbox-btn-next.gif',
        containerResizeSpeed: 200,
        txtImage: '画像:',
        txtOf: '/'
    };

    jQuery('a.cpu[@rel*=lightbox]').lightBox(conf);
    jQuery('a.cpu_a[@rel*=lightbox]').lightBox(conf);
});


