﻿function swapImage(oImage)
{
    if (oImage.src != null)
    {
        if (oImage.src.indexOf("over.") > -1)
            oImage.src = oImage.src.replace(/over\./gi, ".");
        else
            oImage.src = oImage.src.replace(/\.gif$/i, "over.gif");
    }
}
