// Replaces internal "qrc:/*.png" image URIs with web-friendly URIs
function replaceqrc()
{
    var imgs = document.images;
    for (var i = 0; i < imgs.length; i++)     
    {
        var src = imgs[i].src;
        imgs[i].src = src.replace("qrc:", "../gfx");
    }
}


// Replaces internal "qrc:/*.png" and "file:" image URIs with web-friendly URIs
// Replaces "file:" links
function replaceqrc()
{
    var imgs = document.images;
    for (var i = 0; i < imgs.length; i++)     
    {
        var src = imgs[i].src;
        src = src.replace("qrc:", "../gfx");
        imgs[i].src = src.replace("file:///", "");
    }

    var links = document.links;
    for (var i = 0; i < links.length; i++)     
    {
        var href = links[i].href;
        links[i].href = href.replace("file:///", "");
    }
}


Make docs web-friendly (remove file: prefixes in browsers, keep them in help)
Make docs web-friendly (remove file: prefixes in browsers, keep them in help)
