﻿function preventUnnecessaryRefresh(linkTag) {
    if (linkTag.pathname == location.pathname) {
        //It's a post to the same URL... no sense wasting bandwidth.
        return false;
    }
    return true;
}
