﻿function imageswap(id, imagepath) {
    if (document.getElementById) { // DOM3 = IE5, NS6
        document.getElementById(id).src = imagepath;
    }
    else {
        if (document.layers) { // Netscape 4
            document.id.src = imagepath;
        }
        else { // IE 4
            document.all.id.src = imagepath;
        }
    }
}

function linkswap(id, path) {
    if (document.getElementById) { // DOM3 = IE5, NS6
        document.getElementById(id).href = path;
    }
    else {
        if (document.layers) { // Netscape 4
            document.id.href = path;
        }
        else { // IE 4
            document.all.id.href = path;
        }
    }
}



