// JavaScript Document
$.noConflict();
jQuery(document).ready(function($) {
	$('.news-single-item img').each(function() {
		$(this).wrap('<span style="width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px; ' + $(this).attr('style') + ' "/>');
		$(this).wrap('<span class="rounded" style="background:url(' + $(this).attr('src') + ') no-repeat 0px 0px; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;  display:block;" />');
    	$(this).css("visibility","hidden");
    });
	$('.news-list-container img').each(function() {
		$(this).wrap('<span style="width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px; ' + $(this).attr('style') + '"/>');
		$(this).wrap('<span class="rounded" style="background:url(' + $(this).attr('src') + ') no-repeat 0px 0px; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;  display:block;" />');
    	
		$(this).css("visibility","hidden")
    });
	$('.news-single-images img').each(function() {
		$(this).wrap('<span style="width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px; ' + $(this).attr('style') + '"/>');
		$(this).wrap('<span class="rounded" style="background:url(' + $(this).attr('src') + ') no-repeat 0px 0px; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;  display:block;" />');
    	
		$(this).css("visibility","hidden")
    });
	$('.news-single-logo img').each(function() {
		$(this).wrap('<span style="width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px; ' + $(this).attr('style') + '"/>');
		$(this).wrap('<span class="rounded" style="background:url(' + $(this).attr('src') + ') no-repeat 0px 0px; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;  display:block;" />');
    	
		$(this).css("visibility","hidden")
    });
});
