﻿function SwintonSIMigration(URL) {
    var newURL = '';
    var CookieValue = SiGetCookie(siCookieName, document.cookie, ";");
    if (CookieValue != null) newURL = URL + ((URL.indexOf('?') > 0) ? "&" : "?") + siCookieQPName + "=" + CookieValue;

    return newURL;
}
