function digestDotThis(el, iu, iw, ih) {

    setAuthoringEditParameters();

    // Dog food our "add to your site" link.
    var dot = new Dot();

    dot.setUrl(decodeURIComponent(el.href.substring(el.href.indexOf("?u=") + 3,
                                                    el.href.lastIndexOf("&t="))));

    dot.setSubject(el.href.substring(el.href.lastIndexOf("&t=") + 3));
    if (!dot.getSubject()) {
        dot.setSubject(dot.getUrl());
    } else {
        dot.setSubject(decodeURIComponent(dot.getSubject().replace(/\+/g, "%20")));
    }

    if (iu && iw && ih) {
        dot.setImageUrl(iu);
        dot.setImageWidth(iw);
        dot.setImageHeight(ih);
    }

    showInlineAuthoringDialog(dot);

    // IE ...
    if (window.event) {
        window.event.returnValue = false;
    }

    return false;
}

function hookupTopicDots(src) {

    var content = $("content");
    var dots = findChildElementByClass(content, "div", "dots");

    if (dots && src != "hof") {
        var anchors = dots.getElementsByTagName("a");
        for (var i = 0; i < anchors.length; i++) {
            var anchor = anchors[i];
            if (Element.hasClassName(anchor, "title")) {
                anchor.onmousedown = function(event) {
                    return clickthroughHandler(Event.element(event), src + "title");
                }.bindAsEventListener();
            } else if (Element.hasClassName(anchor, "dot")) {
                anchor.onmousedown = function(event) {
                    return clickthroughHandler(Event.element(event), src + "img");
                }.bindAsEventListener();
            }
        }
    }
}
