rem: } else if (htmltagname === "area" || htmltagname === "a") { 
add: } else if (htmllocalname === "area" || htmllocalname === "a") { 
context: function checkForImage(elem, htmltagname){    var img;    var imgType;   // "img" = <img>                   // "object" = <object>                   // "input" = <input type=image>                   // "background" = css background (to be added later)    if (htmltagname === "img") {        img = elem;        imgType = "img";    } else if (htmltagname === "object" &&               elem.type.substring(0,6) == "image/" &&               elem.data) {        img = elem;        imgType = "object";    } else if (htmltagname === "input" &&               elem.type.toUpperCase() == "IMAGE") {        img = elem;        imgType = "input";    } else if (htmltagname === "area" || htmltagname === "a") {        // Clicked in image map?        var map = elem;        while (map && map.nodeType == Node.ELEMENT_NODE && !isHTMLElement(map,"map") )            map = map.parentNode;        if (map && map.nodeType == Node.ELEMENT_NODE)            img = getImageForMap(map);    }    if (img) {        setInfo("image-url", img.src);        if (imgType == "img") {            setInfo("image-desc", getAbsoluteURL(img.longDesc, img));        } else {            setInfo("image-desc", "");        }                onImage = true;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e7888a59ff40612733bf6c0da76a1ca3d2d7868f/metadata.js/buggy/suite/browser/metadata.js