jQuery(document).ready(removeImgSpace);
function removeImgSpace() {
  jQuery(".editedWithFCK img").each(
      function() {
	    var h,v;
        if (!jQuery(this).attr("hspace")) { h=0; } else { h=jQuery(this).attr("hspace"); }
        if (!jQuery(this).attr("vspace")) { v=0; } else { v=jQuery(this).attr("vspace"); }
        jQuery(this).css("margin",v + "px "+ h +"px").removeAttr("hspace").removeAttr("vspace");
      }
  );
}