// Product Image failed, so load a standard image.
function imageMissingError(image)
{
    // Are we currently trying to load the replacement image
    if (image.src.toLowerCase().indexOf( '') == -1 )
    {
        // Its not the replacement image, so try loading the replacement image
        image.src=''
        return true;
    }
    else
    {
        // Failed to load the replacement image, so do nothing;
        return true;
    }
}

function ReplaceImage(image, url)
{
    if (image.src.toLowerCase().indexOf(url) == -1 )
        image.src = url;
    
    image.onerror = null;

    return true;
}

