    clientName = "Cisco Secure Desktop";
    install_buttons = '<BR><IMG SRC="images/buttons.gif" WIDTH=160 HEIGHT=67>';
    security_header = '<FONT COLOR=#A5222B><B>Security Warning</B><BR></FONT>';
    infobar_control = '<BR><IMG SRC="images/infobar.gif" WIDTH=282 HEIGHT=88>';
    axErrorMessage  = 'An internal failure occured within the ActiveX control.  Description: ';
    var aszMessage = new Array( new Array( 90 ) );
    aszMessage[0][0] = '<a href="Javascript:iStatus = 1;bLoop = true;Launch();" name="link">Click here</a> to set up the ' + clientName + ' now.';
    aszMessage[0][1] = 'Initiating ' + clientName + ' weblaunch. Please wait...';
    aszMessage[0][10] = 'Getting ActiveX.  Please wait...';
    aszMessage[0][11] = security_header + 'Attempting to launch ActiveX, which is digitally signed by Cisco Systems. In order to properly use the ActiveX control, <b>be sure to click "Yes" on the security pop-up</b>.' + install_buttons;
    aszMessage[0][12] = 'Checking ActiveX. Please wait...';
    aszMessage[0][13] = 'ActiveX has started. Please wait...<br/><br/><center><img src="images/loading.gif"></center>';
    aszMessage[0][14] = 'Launching ' + clientName + '.<br/><br/>If the software does not start properly, <a href="javascript:CsdLogout(1);">Click here</a> to end the session cleanly.';
    aszMessage[0][15] = 'ActiveX could not be launched. Please wait...';
    aszMessage[0][16] = 'Please look at the top of your browser for the information bar:' + infobar_control + '<br/>To proceed with set up, select "Install ActiveX Control". If you are an administrator of this device, please accept the UAC prompt if you see it, otherwise, please select Cancel.';
    aszMessage[0][20] = 'Launching Java VM detection. Please wait...';
    aszMessage[0][21] = 'Checking your Java VM. Please wait...';
    aszMessage[0][22] = 'Java not detected or installed. ' + clientName + " weblaunch requires Java to be present and configured in your browser.";
    aszMessage[0][40] = 'Getting the Sun applet. Please wait...';
    aszMessage[0][41] = security_header + 'Attempting to launch the Sun Java applet which is digitally signed by Cisco Systems. In order to properly download and install the plug-in, <b>be sure to click "Yes" on the security pop-up</b>.' + install_buttons;
    aszMessage[0][42] = 'Sun Java applet has started. This could take up to 60 seconds. <b>Please wait...</b><br/><br/><center><img src="images/loading.gif"></center>';
    aszMessage[0][43] = 'Launching ' + clientName + ' <br/><br/>If the software does not start properly, <a href="javascript:CsdLogout(1);">Click here</a> to end the session cleanly.';
    aszMessage[0][44] = 'The Sun Java applet launch encountered an error.';
    aszMessage[0][55] = 'Web-based launch of ' + clientName + ' is not supported with 64-bit versions of IE. Please retry with the 32-bit version of IE.';
    aszMessage[0][70] = 'Weblaunch for ' + clientName + ' was unsuccessful.  If you wish to manually start the ' + clientName + ', you may download a native '+ clientName + ' launcher.';
    aszMessage[0][80] = 'Your system failed to be validated by the ' + clientName + ' and will not be granted access.';
    aszMessage[0][81] = 'Please restart your browser and point it to the secure page after successful installation.';
    aszMessage[0][90] = 'Your browser does not support XML parsing. ' + clientName + ' weblaunch cannot proceed on this platform.';
    aszMessage[0][100] = clientName + ' successfully validated your system.';
    aszMessage[0][101] = clientName + ' is not supported on your platform. Bypassing ' + clientName + ' weblaunch ...';
    
    var errorMessage = new Array( new Array( 90 ) );
    //0-19 are for stub reported errors
    errorMessage[0][0] = 'An unknown error occured in ' + clientName + '. Please contact your administrator.';
    errorMessage[0][1] = 'An unknown error occured in ' + clientName + '. Please send ' + clientName + ' logs to your administrator.';
    errorMessage[0][2] = clientName + ' failed to relaunch.';
    errorMessage[0][3] = clientName + ' failed to relaunch with higher privileges.';
    errorMessage[0][4] = 'Parameter conversion failed in ' + clientName + '.';
    errorMessage[0][5] = 'Current working directory emulation initialization failed in ' + clientName + '.';
    errorMessage[0][6] = 'Path initialization failed in ' + clientName + '.';
    errorMessage[0][7] = 'Log initialization failed in ' + clientName + '.';
    errorMessage[0][8] = 'Transport initialization failed in ' + clientName + '. Please verify your network settings or contact your administrator.';
    errorMessage[0][9] = clientName + ' failed to update.';
    errorMessage[0][10] = clientName + ' failed to determine peer.';
    errorMessage[0][11] = clientName + ' requires libxml to be installed on your endpoint to work properly. Please install and retry.';
    errorMessage[0][12] = clientName + ' launcher could not find the required ' + clientName + ' dynamic library on your endpoint. Please contact your administrator.';
    errorMessage[0][13] = clientName + ' launcher could not initialize the required ' + clientName + ' dynamic library.';
    errorMessage[0][14] = 'Prelogin failed!. Please contact your administrator.';
    errorMessage[0][15] = clientName + ' failed to run. Please check the logs and contact your administrator.';
    errorMessage[0][16] = ' An internal error occured in ' + clientName + '. Please retry and contact your administrator if the problem persists.';
    
    //20-39 are for javascript errors
    errorMessage[0][20] = clientName + ' is taking too long to finish. Please check your network speed or contact your administrator.';
    errorMessage[0][21] = clientName + ' must run and validate your system to proceed. Please verify your browser settings and configuration and retry.';
    
    //40-59 are for Java/ActiveX errors
    errorMessage[0][40] = clientName + ' could not load a dll required to verify the stub launcher. Please kill all Java instances and retry.';
    errorMessage[0][41] = 'The downloaded ' + clientName + ' stub failed verification. Cannot proceed.';
    errorMessage[0][42] = clientName + ' failed to be launched natively. Trying as an administrator may help.';
    errorMessage[0][43] = 'Unable to create stub thread. Please contact your administrator.';
    errorMessage[0][44] = 'Unable to launch stub process. Please contact your administrator.';
    errorMessage[0][45] = 'Unable to give stub executable permissions. Please retry after deleting the cached version of the stub in your temporary folder.';
    errorMessage[0][46] = 'Unknown platform detected. Cannot download the stub. Please contact your administrator.';
    
    

