var ClientAlertMsg;
var ClientAlertMsgCookieName = 'ClientAlertMsg';
ClientAlertMsg = getCookie(ClientAlertMsgCookieName);
if (ClientAlertMsg != '' && ClientAlertMsg != null)
    alert(unescape(ClientAlertMsg));
deleteCookie(ClientAlertMsgCookieName);