function jsAlert(msg)
{
    var WSHShell = WScript.CreateObject("WScript.Shell");
    return WSHShell.Popup(msg, 10000, "CyberArticle", 0);
}

function CyberArticleMarkText(styleText)
{
    var objCAAutomation = new ActiveXObject("CyberArticle.CAAutomationApp");
    if (objCAAutomation == null)
    {
        jsAlert("Failed to create object: CyberArticle.CAAutomationApp");
        return;
    }

    objCAAutomation.BeginTrackTextSelection(styleText, "ca_ext_id", "ca_mark_text");
}

CyberArticleMarkText("border-right: #0099ff thin solid; border-top: #0099ff thin solid; font-weight: normal; border-left: #0099ff thin solid; cursor: auto; color: #000000; border-bottom: #0099ff thin solid; font-style: normal; background-color: #ccffff;");

