﻿function onMouseOverImgJpg(img) {
    if (img.src != "") {
        newUrl = new String(img.src);
        newUrl = newUrl.replace(".jpg", "-on.jpg");
        img.src = newUrl;      
    }
}

function onMouseOutImgJpg(img) {
    if (img.src != "") {
        newUrl = new String(img.src);
        newUrl = newUrl.replace("-on.jpg",".jpg");
        img.src = newUrl;
    }
}


