jQuery(document).ready(function(){
	jQuery("img").each(function(){ 
		var s = jQuery(this).clone().wrap("<div>").parent().html(); 
		jQuery(this).clone().wrap("<div>").parent().html(s.replace("/>",">"));
	});
	
	jQuery("input").each(function(){ 
		var s = jQuery(this).clone().wrap("<div>").parent().html(); 
		jQuery(this).clone().wrap("<div>").parent().html(s.replace("/>",">"));
	});
});
