﻿function roll(img_name, img_src)
{
    var sPath = window.location.pathname;
    var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
    
    if(sPage != img_name)
        document[img_name].src = img_src;
}
