///////////////////////////
// Broken-Image Prevention
function ImageLoadFailed(target, replacement) {
    /*
    // changing the alt doesn't seem to work in Firefox, but does work in IE
    if (target.alt == "") {target.alt = "Image Not Available";}
    */
    // undoing the onerror keeps us from getting into an infinite loop if replacement is bad
    target.onerror = '';
    target.onError = ''; // just in case we capitalized like standard
    target.src = replacement;
}

/////////////////////////
