';
}
var globalRestartOnSubmit = false;
function sessionTimedOut()
{
// restart session automatically upon "submit" for edge-like clients if logon form is compatibile
if (externalWebHost.hasWebLogonResetSession() && logonFormCompatible) {
globalRestartOnSubmit = true;
}
else {
// display session expired msg for non-compatible forms or
// non-edge clients
window.sessionTimeout.window.sessionTimeout.showSplashLayer("MessageDIV", SessionExpired_CustomizedScreenGet());
}
}
/**
* Place the focus and init the form fields
*/
if(self != top) { top.location = self.location; }
window.onerror=function(){ return function(){ return; } }
//--------------------------------------------------------------------
var doAutoSubmit = true;
var globalFormId = 'auth_form';
var globalTableId = 'credentials_table';
var globalSubmitTrId = 'submit_row';
var globalSavePasswordCheckbox = null;
var logonFormCompatible = false;
var softTokenInput = null;
var softTokenFieldId = "";
var softTokenState = "";
var softTokenNewPIN = "";
var softTokenPINAutoPopulate = false;
if( !softTokenState ) {
softTokenState = "SECURID_AUTH_STATE_START";}
var challengeMode = false;
function getInputField(fieldId)
{
var form = document.getElementById( globalFormId );
if( form == null ){
return null;
}
if(fieldId == null || fieldId == ""){
return null;
}
var inputs = form.getElementsByTagName("input");
for( var i=0; i