beautypg.com

HID ActivID Web Soft Token and Citrix XenApp User Manual

Page 7

background image

ActivIdentity Web Soft Token Option for Citrix® XenApp™ | Integration Handbook

P 7

External Use | May 31, 2012 | © 2012 ActivIdentity

AIloadToken();

}

var nAICounter=0;

var nAICounterLimit=parseInt(60);

function AIgetUsername() {

return document.getElementById('<%=Constants.ID_USER%>').value;

}

function AIsetFocusUsername() {

window.setTimeout(function () { document.getElementById('<%=Constants.ID_USER%>').focus(); }, 0);

}

function AIsetFocusPasscode() {

window.setTimeout(function () { document.getElementById('<%=Constants.ID_PASSCODE%>').focus(); }, 0);

}

function AIshowFeedback() {

document.getElementById('feedbackArea').setAttribute("class", "");

}

function AIsetFeedback(type, msg) {

var AIHTML = "

" + msg + "

";

document.getElementById('feedbackArea').innerHTML = AIHTML;

}

function AIshowError(msg){

AIshowFeedback();

AIsetFeedback("feedbackStyleError", msg);

}

function AIshowInfo(msg){

AIshowFeedback();

AIsetFeedback("feedbackStyleInfo", msg);

}

function AIgetStyle(){