Modify qTip so it supports more than one tag type

// Modify qTip.js (http://solardreamstudios.com/learn/css/qtip)
// so it supports more than one tag type.


// In line 11, replace this:
var qTipTag = "a";

// with this:
var qTipTag = "a area";


// Replace line 41:
var anchors = document.getElementsByTagName (qTipTag);

// with this:
var tagNames = qTipTag.split(" ");
var anchors = new Array();
for (var i in tagNames) {
    var elements = document.getElementsByTagName(tagNames[i]);
    // Since `elements` is an instance of HTMLCollection (but
    // not Array), the following shorter construct doesn't work:
    //     anchors = anchors.concat(elements);
    // Neither does using the `for (.. in ..) {}` loop.
    for (var j = 0; j < elements.length; j++) {
        anchors.push(elements[j]);
    }
}