﻿jQuery(document).ready(function($) {
    $("img").each(function() {
        if ($(this).attr("alt"))
            $(this).attr("title",
          $(this).attr("alt"))
        else
            $(this).attr("title",
           $(this).attr("src"));
    });
});
