<!DOCTYPE html>

<%@ include file="EgTrackerA.jsp" %>
<%@ page import="com.egurkha.util.StringUtils"%>
<%@ taglib prefix ="egui" uri="../WEB-INF/eg-taglib.tld"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="com.eg.EgSpecsInfo" %>
<%@ page import = "com.eg.EgAPMInfo"%>

<%
	String strReqFrom = request.getParameter("reqfrom");
	String fromWizard = request.getParameter("fromWizard");
	String strCompType = request.getParameter("componentType");
	String strCompName = request.getParameter("componentName");
	String strTestType = request.getParameter("testType");
	String strTestName = request.getParameter("testName");
	String strClickedFrom = request.getParameter("clickedFrom");
	String strShowUnconfigCompType = request.getParameter("showUnconfigCompType");
	String strShowTestType = request.getParameter("showTestType");
	String layerName = request.getParameter("layerName");

	if(StringUtils.isNull(strReqFrom))
	{
		strReqFrom = "";
	}
	if(StringUtils.isNull(fromWizard))
	{
		fromWizard = "";
	}
	if(StringUtils.isNull(strCompType))
	{
		strCompType = "";
	}
	if(StringUtils.isNull(strCompName))
	{
		strCompName = "";
	}
	if(StringUtils.isNull(strTestName))
	{
		strTestName = "";
	}
	if(StringUtils.isNull(strTestType))
	{
		strTestType = "";
	}
	if(StringUtils.isNull(strClickedFrom))
	{
		strClickedFrom = "";
	}
	if(StringUtils.isNull(strShowUnconfigCompType))
	{
		strShowUnconfigCompType = "";
	}
	if(StringUtils.isNull(strShowTestType))
	{
		strShowTestType = "";
	}
	if(StringUtils.isNull(layerName))
	{
		layerName = "";
	}

	//Rhev required codes
	String uiFile = "eg_services.ini";
	String s_iniFile_dir = EgInstallInfo.getInstallDir() + "/manager/config/";
	IniFile testIniFile = new IniFile(s_iniFile_dir + uiFile,true);
	String sub = "RHEV";
	String[] allRhevs = testIniFile.getVariables(sub);

	int len=allRhevs.length;

	List ex_rhevList = new ArrayList();
	String strex_rhevList = "";
	if (allRhevs != null && allRhevs.length > 0)
	{
		ex_rhevList = Arrays.asList(allRhevs);
		strex_rhevList = ex_rhevList.toString();
		strex_rhevList = strex_rhevList.substring(1,strex_rhevList.length()-1);
	}

	String fromPage_HelpPage = request.getParameter("fromPage_HelpPage");
	if (fromPage_HelpPage != null)
	{
		session.setAttribute("fromPage_HelpPage",fromPage_HelpPage);
		session.setAttribute("cType_HelpPage",request.getParameter("cType_HelpPage"));
		session.setAttribute("tName_HelpPage",request.getParameter("tName_HelpPage"));
	}
	//Rhev end codes

	//Vc required codes
	String subVc = "VIRTUAL_CENTER";
	String[] allVCs = testIniFile.getVariables(subVc);
	int lenVc=allVCs.length;

	List ex_vcList = new ArrayList();
	String strex_vcList = "";
	if (allVCs != null && allVCs.length > 0)
	{
		ex_vcList = Arrays.asList(allVCs);
		strex_vcList = ex_vcList.toString();
		strex_vcList = strex_vcList.substring(1,strex_vcList.length()-1);
	}
	//Vc end codes

	//Nut required codes
	String subNut = "NUTANIX";
	String[] allNuts = testIniFile.getVariables(subNut);
	int lenNut=allNuts.length;
	List ex_nutList = new ArrayList();
	String strex_nutList = "";
	if (allNuts != null && lenNut > 0)
	{
		ex_nutList = Arrays.asList(allNuts);
		strex_nutList = ex_nutList.toString();
		strex_nutList = strex_nutList.substring(1,strex_nutList.length()-1);
	}
	//Nut end codes

	//Hmc required codes
	String subHmc = "HMC";
	String[] allHMCs = testIniFile.getVariables(subHmc);
	int lenHmc=allHMCs.length;

	List ex_hmcList = new ArrayList();
	String strex_hmcList = "";
	if (allHMCs != null && allHMCs.length > 0)
	{
		ex_hmcList = Arrays.asList(allHMCs);
		strex_hmcList = ex_hmcList.toString();
		strex_hmcList = strex_hmcList.substring(1,strex_hmcList.length()-1);
	}
	//Hmc end codes


	//XMS IP required codes
	String subXMS = "EMC_XtremIO_4x";
	String[] allXMSIPs = testIniFile.getVariables(subXMS);
	int lenXMSIP=allXMSIPs.length;

	List ex_xmsIPStr = new ArrayList();
	String strex_xmsIPList = "";
	if (allXMSIPs != null && allXMSIPs.length > 0)
	{
		ex_xmsIPStr = Arrays.asList(allXMSIPs);
		strex_xmsIPList = ex_xmsIPStr.toString();
		strex_xmsIPList = strex_xmsIPList.substring(1,strex_xmsIPList.length()-1);
	}
	//XMS IP end codes 

	EgSpecsInfo spec = new EgSpecsInfo("manager");
	String egServer = spec.getEGServer();
	String optionValue = "eG Manager-"+egServer;

	boolean isAPMTest = false;
	if(strTestName != null)
	{
		EgAPMInfo apm = new EgAPMInfo("manager");
		isAPMTest = apm.isAPMTest(strTestName);
	}
	boolean isDoubleByteEnabled = com.eg.EgDbInfo.doubleByteEnabled;
%>
<html>
<head>

	<meta charset="utf-8">
	<title>AGENTS - TESTS - SPECIFIC CONFIGURATION</title>
	<egui:skin ui="admin"/>
	<style type="text/css">
	.img_addShift{
		background-image : url('/final/admin/eg_images/plus.gif');background-repeat : no-repeat;
	}
	.img_removeShift{
		background-image : url('/final/admin/eg_images/minus.gif');background-repeat : no-repeat;
	}
	.my-multiselectlabel-style{
		font-weight: bold; 
	}
	.disabled-mycomponent {
		opacity: .5;
	}
	.fault {
		background-position : -52px 0px;
		background-image : url('/final/admin/eg_images/statecolor.png');
		background-repeat : no-repeat;
		width:16px;
		height:17px;
	}
	.tick {
		background-position : -36px 0px;
		background-image : url('/final/admin/eg_images/statecolor.png');
		background-repeat : no-repeat;
		width:16px;
		height:17px;
	}

	</style>

</head>
<body>
<div id="loadmask" class="x-mask-msg x-layer x-mask-msg-default" style="z-index: 19001;left:45%;top:35%;">
	<div class="x-mask-loading" style="position:relative">
		Loading...
	</div>
</div>
	<script type="text/javascript" src="../extjs/ext-all.js"></script>
	<script language="javascript">

	// for IE support startsWith and endsWith function overrides
	if (!String.prototype.startsWith) 
	{
		String.prototype.startsWith = function (searchString, position) {
			position = position || 0;
			 return this.substr(position, searchString.length) === searchString;
		};
	}

	if (!String.prototype.endsWith)
	{
		String.prototype.endsWith = function(search, this_len) {
			if (this_len === undefined || this_len > this.length) {
				this_len = this.length;
			}
			return this.substring(this_len - search.length, this_len) === search;
		};
	}

	var csrfToken = '<%=strCsrfToken%>';
	var indexTabURL = parent.indexTabURL;
	var pageName = 'SPECIFIC TEST CONFIGURATION';
	var pageDesc = '<egui:intnl description="EgConfigureComponentTests.jsp"/>';
	var pageApplyDesc = '<egui:intnl description="EgApplyToOtherComponents.jsp"/>';
	var applyAllPageName = 'TESTS - APPLY CONFIGURATION';
	var policyDesc = '<egui:intnl text= "admin.test.This page enables the administrator to add/view/modify the policy created" />';
	var testsSummary = '<egui:intnl text= "admin.test.Tests Summary" />';
	var agentNotReporting = '<egui:intnl text= "admin.test.The agent is not reporting to this manager" />';
	var titleMsg = '<egui:intnl text= "admin.test.Files to be uploaded" />';
	var label_Load = '<egui:intnl text= "admin.test.File to upload" />';
	var emptyMsg = '<egui:intnl text= "admin.test.Select a file to upload" />';
	var label_Upload ='<egui:intnl text="admin.mib.Upload"/>';
	var nofileselect = "<egui:intnl text='admin.common.Please choose the file by clicking the browse button'/>";
	var fileexten = '<egui:intnl text="admin.common.Upload MIB file extensions should be either *txt or *mib"/>';
	var dblName = '<egui:intnl text="admin.common.File name is not allowed in DBL(Chinese,Korean,Japanese)"/>';
	var alert_upload1 = '<egui:intnl text="admin.common.Upload file extensions should be either *exe or *bat or *com or *cmd or *vbs"/>';
	var alert_upload2 = '<egui:intnl text="admin.common.Upload file extensions should be either *sh or *ksh or *perl or *pl"/>';
	var availPolicies = new Array();
	//ApplyToOtherComponents
	var applyPageDesc = '<egui:intnl text= "admin.test.Agent - Tests - Apply Configuration" />';
	var paramName = '<egui:intnl text= "admin.test.Param Name" />';
	var paramValue = '<egui:intnl text= "admin.test.Param Value" />';
	var viewBy = '<egui:intnl text= "admin.test.View By" />';
	var zoneServLbl = '<egui:intnl text= "admin.test.Zone/Service/Segment" />';
	var apply_fromTitle = '<egui:intnl text= "admin.test.Components to be configured" />';
	var apply_toTitle = '<egui:intnl text= "admin.test.Existing components" />';

	var publicJson = '';
	var publicJsonData = '';
	var reqFrom = '<%=strReqFrom%>';
	var compType = '<%=strCompType%>';
	var compName = '<%=strCompName%>';
	var testType = '<%=strTestType%>';
	var testName = '<%=strTestName%>';
	var clickedFrom = '<%=strClickedFrom%>';
	var unconfigCompChecked = '<%=strShowUnconfigCompType%>';
	var showTestType = '<%=strShowTestType%>';
	var isAPMTest = '<%=isAPMTest%>';
	var insideView = '';
	var aggHiddenValues = '';
	var snmpCommunityTextValues = '';
	var snmpUserContextValues = '';
	var snmpUserTextValues = '';
	var snmpPortextValues = '';
	var existingParams = '';
	var tickedParams = '';
	var redirectURL = '';
	var enableConfTestSize = '';
	var excludeTestsURL = '';
	var includeTestsURL = '';
	var newDomainValue = '';
	var newAdminUserValue = '';
	var newUserValue = '';
	var changedDomainValue = '';
	var changedAdminUserValue = '';
	var changedUserValue = '';
	var newPatternValue = '';
	var newNameValue = '';
	var newThresholdValue = '';
	var changedNameValue = '';
	var changedPatternValue = '';
	var changedThresholdValue = '';
	var layerName = '<%=layerName%>';

	var plusButtonClicked = 'false';
	var optionValue = '<%=optionValue%>';

	var alertMsg1 = '<egui:intnl text= "admin.test.Please choose a test" />';
	var alertMsg2 = '<egui:intnl text= "admin.test.You cannot configure multiple tests"/>'+'.&nbsp;'+'<egui:intnl text="admin.test.Please choose one"/>'+'.';
	var alertMsg3 = '<egui:intnl text="admin.test.The following test(s) cannot be excluded as these tests are required for validating named user counts for eG licensing"/>'+'.&nbsp;'+'<egui:intnl text="admin.test.Test name(s)"/>'+": ";
	var alertMsg4 = '<egui:intnl text="admin.test.Please choose a parameter" />';
	var alertMsg5 = '<egui:intnl text="admin.test.Please choose component(s) to be configured"/>';
	var alertMsg6 = '<egui:intnl text="admin.test.Please choose a component"/>';
	var alertMsg7 = '<egui:intnl text="admin.test.Please use the encircled plus"/>';
	var alertMsg8 = "<egui:intnl text='admin.test.button adjacent to the USER text box to configure multiple domains and users'/>.";
	var alertMsg9 = "<egui:intnl text='admin.test.button adjacent to the ADMIN USER text box to configure multiple domains and users'/>"+".";
	var alertMsg10 = "<egui:intnl text='admin.test.button adjacent to the NAME text box to configure names, patterns and threshold values'/>"+".";

	//var alertMsg7 = '<egui:intnl text="admin.test.Please use the encircled"/>';
	//var alertMsg7 = '<egui:intnl text="admin.test.Please use the encircled"/>';

	var confirmMsg1 = '<egui:intnl text="admin.test.Do you want to continue with this configuration" />'+'?';
	var testViews = '';
	var publicWebServJSON = '';
	var publicfinalwebJSON = '';

	var probsErrorMessage = '<egui:intnl text="admin.error.Problem encountered while loading the user interface"/>.';
	var requestTimeOut = '<egui:intnl text="admin.error.Response timed out"/>.';
	var errorTitle = '<egui:intnl text="admin.user.Error"/>';

	//Rhev starts
	var alertrhevTitle = '<egui:intnl text="admin.discovery.RHEV MANAGER DETAILS"/>';
	var rhevTitle = '<egui:intnl text="admin.discovery.ADD RHEV MANAGER DETAILS"/>';
	var rhevIPLabel = '<egui:intnl text="admin.discovery.RHEV Manager identity (IP or Host name)"/>';
	var rhevSSLLabel = '<egui:intnl text="admin.discovery.Use SSL to connect to RHEV Manager"/>';
	var rhevMgrPortLabel = '<egui:intnl text="admin.discovery.Manager Port"/>';
	var rhevDiscLabel = '<egui:intnl text="admin.discovery.Discover RHEV Hypervisors using this RHEV manager"/>';
	var rhevUnmeLabel = '<egui:intnl text="admin.discovery.Username to connect to RHEV manager"/>';
	var rhevPwdLabel = '<egui:intnl text="admin.discovery.Password for user"/>';
	var rhevCPwdLabel = '<egui:intnl text="admin.discovery.Confirm password for user"/>';
	var rhevDnmeLabel = '<egui:intnl text="admin.discovery.Domain name for the RHEV Manager"/>';
	var existRhev = '<egui:intnl text="admin.discovery.Already exists,add another RHEV Manager"/>';
	var enterRhev = '<egui:intnl text="admin.discovery.Please enter the RHEV manager IP or valid Host Name"/>';
	var enterUsrId = '<egui:intnl text="admin.discovery.Please enter the user id"/>';
	var enterPwd = '<egui:intnl text="admin.discovery.Please enter the password"/>';
	var PwdNotContainPipe = "<egui:intnl text='admin.test.Password data should not contain pipe'/>";
	var enterCnfPwd= '<egui:intnl text="admin.discovery.Please enter the confirm password"/>';
	var matchPwd= '<egui:intnl text="admin.discovery.Passwords do not match"/>';
	var PortBlank= '<egui:intnl text="admin.discovery.Blank values are not allowed"/>';
	var CommaPrt = '<egui:intnl text="admin.discovery.Please enter a port number"/>';
	var validPrt = '<egui:intnl text="admin.discovery.Port number can consist of only valid numbers"/>';
	var specialCharacterPrt = '<egui:intnl text="admin.discovery.Special characters not allowed"/>';
	var len = '<%=len%>';
	var strex_rhevList = '<%=strex_rhevList%>';
	var ex_rhevStr = strex_rhevList.split(",");
	//Rhev ends

	//Vc starts
	var alertVcTitle = '<egui:intnl text="admin.discovery.VCENTER DETAILS"/>';
	var vcTitle = '<egui:intnl text="admin.discovery.ADD vCENTER DETAILS"/>';
	var vcIdLabel = '<egui:intnl text="admin.discovery.vCenter Identity (IP or Host name)"/>';
	var vcSSlLabel = '<egui:intnl text="admin.discovery.Use ssl to connect to vCenter"/>';
	var vcwebLabel = '<egui:intnl text="admin.discovery.Web Port"/>';
	var vcDiscoverLabel = '<egui:intnl text="admin.discovery.Discover esx hosts using this vCenter"/>';
	var vcUnmeLabel = '<egui:intnl text="admin.discovery.Username to connect to vCenter"/>';
	var vcPwdLabel = '<egui:intnl text="admin.discovery.Password for user"/>';
	var vcCPwdLabel = '<egui:intnl text="admin.discovery.Confirm password for user"/>';
	var existVc = '<egui:intnl text="admin.discovery.Already exists,add another VC"/>';
	var enterVc = '<egui:intnl text="admin.discovery.Please enter the virtual center IP or valid Username"/>';
	var lenVc = '<%=lenVc%>';
	var strex_vcList = '<%=strex_vcList%>';
	var ex_vcStr = strex_vcList.split(",");
	//Vc ends


	//Nuta starts
	var alertNutTitle = '<egui:intnl text="admin.discovery.NUTANIX PRISM DETAILS"/>';
	var nutTitle = '<egui:intnl text="admin.discovery.ADD NUTANIX PRISM DETAILS"/>';
	var nutIdLabel = '<egui:intnl text="admin.discovery.Nutanix Prism identity (IP or Host Name)"/>';
	var nutSSlLabel = '<egui:intnl text="admin.discovery.Use ssl to connect to Nutanix Prism"/>';
	var nutwebLabel = '<egui:intnl text="admin.discovery.Web Port"/>';
	var nutDiscoverLabel = '<egui:intnl text="admin.discovery.Discover Nutanix Acropolis or vSphere hosts"/>';
	var nutUnmeLabel = '<egui:intnl text="admin.discovery.Username to connect to Nutanix Prism"/>';
	var nutPwdLabel = '<egui:intnl text="admin.discovery.Password for user"/>';
	var nutCPwdLabel = '<egui:intnl text="admin.discovery.Confirm password for user"/>';
	var existNut = '<egui:intnl text="admin.discovery.Already exists,add another Nutanix Prism"/>';
	var enterNut = '<egui:intnl text="admin.discovery.Please enter the nutanix prism IP or valid Username"/>';
	var lenNut = '<%=lenNut%>';
	var strex_nutList = '<%=strex_nutList%>';
	var ex_nutStr = strex_nutList.split(",");
	//Nuta ends


	//Hmc starts
	var alerthmcTitle = '<egui:intnl text="admin.discovery.HMC DETAILS"/>';
	var hmcTitle = '<egui:intnl text="admin.discovery.ADD HMC DETAILS"/>';
	var hmcIPLabel = '<egui:intnl text="admin.discovery.IP address of Hardware management console"/>';
	var hmcHnmeLabel = '<egui:intnl text="admin.discovery.Host Name of Hardware management console"/>';
	var hmcSSLLabel = '<egui:intnl text="admin.discovery.Use SSL to connect to HMC"/>';
	var hmcDiscLabel = '<egui:intnl text="admin.discovery.Discover pSeries servers using this HMC"/>';
	var hmcUnmeLabel = '<egui:intnl text="admin.discovery.Username to connect to HMC"/>(i.<egui:intnl text="admin.discovery.e hscroot"/>)';

	var hmcPwdLabel = '<egui:intnl text="admin.discovery.Password for user"/>';
	var hmcCPwdLabel = '<egui:intnl text="admin.discovery.Confirm password for user"/>';
	var existHmc = '<egui:intnl text="admin.discovery.Already exists,add another HMC"/>';
	var enterHmcIP = '<egui:intnl text="admin.discovery.Please enter the IP address"/>';
	var enterHmcHstName = '<egui:intnl text="admin.discovery.Please enter the host name"/>';
	var enterHmcUsr = '<egui:intnl text="admin.discovery.Please enter the host name"/>';
	var lenHmc = '<%=lenHmc%>';
	var strex_hmcList = '<%=strex_hmcList%>';
	var ex_hmcStr = strex_hmcList.split(",");
	//Hmc ends

	//For EgConfigureUrlAndCredentials.jsp
	var urlTitle = '<egui:intnl text="admin.common.CONFIGURATION OF URL PATTERNS"/>';
	var urlLbl = '<egui:intnl text="admin.common.URL"/>';
	var urlUnmeLbl = '<egui:intnl text="admin.common.Username"/>';
	var urlPwdLbl = '<egui:intnl text="admin.common.Password"/>';
	var urlContentLbl = '<egui:intnl text="admin.common.Content"/>';
	var urlEncodeLbl = '<egui:intnl text="admin.common.Encoding"/>';
	var urlPrivateLbl = '<egui:intnl text="admin.common.Private Key File Path"/>';
	var urlSystemPropsTitleLbl = '<egui:intnl text="admin.common.System Properties"/>';
	var urlSystemKeyLbl = '<egui:intnl text="admin.common.Property"/>';
	var urlSystemValLbl = '<egui:intnl text="admin.common.Value"/>';
	var addmore_lbl = '<egui:intnl text="admin.common.Add More"/>';
	var Name = '<egui:intnl text="admin.test.Name"/>';
	var Threshold_Value = '<egui:intnl text="admin.test.Threshold_Value"/>';
	var ApplyToOther = '<egui:intnl text="admin.common.Apply to other components"/>';
	var Update = '<egui:intnl text="admin.common.Update"/>';
	var Clear = '<egui:intnl text="admin.common.Clear"/>';
	var UploadScripts = '<egui:intnl text="admin.common.Upload corrective scripts"/>';
	var inputsCredUrl = 2;
	var BTNamingSegmentCount = 2;
	var deleteBckMsg = '<egui:intnl text="admin.mail.mail configuration settings will be removed"/>. <egui:intnl text="admin.mail.Do you want to proceed?"/>';
	var iscred = 'false';
	var enterPwd = '<egui:intnl text="admin.test.Please enter the password"/>';
	var PwdNotPipe = "<egui:intnl text='admin.test.Password data should not contain pipe and comma' />";
	var enterValidPath = "<egui:intnl text='admin.test.Please enter a valid path' />";
	var enterFilePath = "<egui:intnl text='admin.test.Please enter the file path' />";
	var alertconfigUrl = "<egui:intnl text='admin.test.CONFIGURE URL AND CREDENTIALS' />";
	var noUrlCred = "<egui:intnl text='admin.test.Please configure URL and credentials by clicking the Add button' />";
	var totalSystemProperties = 5;
	var limitedSysPropsMsg = '<egui:intnl text="admin.test.You cannot add more than" />'+' '+totalSystemProperties+' '+'<egui:intnl text="admin.test.system properties"/>';

	//For EgConfigureTargetsAndSysProps.jsp
	var inputsTrgtUrl=2;
	var istrgt = 'false';
	var noUrlTgt = "<egui:intnl text='admin.test.Please configure host and port by clicking the Add button' />";
	var alertconfigTgt = "<egui:intnl text='admin.test.CONFIGURE HOST AND PORT' />";


	//For EgConfigureWinSharedFolders.jsp
	var inputWinShared = 2;
	var winTitle = '<egui:intnl text="admin.test.CONFIGURATION OF WINDOWS SHARES"/>';
	var dispWinLbl = '<egui:intnl text="admin.test.Display Name"/>';
	var shrWinLbl = '<egui:intnl text="admin.test.Share Name"/>';
	var dmnWinLbl = '<egui:intnl text="admin.test.Domain Name"/>';
	var unmeWinLbl = '<egui:intnl text="admin.test.Username"/>';
	var duplicateDisp = '<egui:intnl text="admin.test.Duplicate display name is not allowed"/>';
	var enterValidDisp = '<egui:intnl text="admin.test.Please enter a valid display name"/>';
	var enterDisp = '<egui:intnl text="admin.test.Please enter the display name"/>';
	var enterValidShare = '<egui:intnl text="admin.test.Please enter a valid share name"/>';
	var enterShare = '<egui:intnl text="admin.test.Please enter the share name"/>';
	var enter2FAToken = '<egui:intnl text="admin.test.Please enter the 2FA code"/>';
	var enterDomain = '<egui:intnl text="admin.test.Please enter the domain name"/>';
	var enterUsr = '<egui:intnl text="admin.test.Please enter the user name"/>';
	var enterPwd = '<egui:intnl text="admin.test.Please enter the password"/>';
	var PwdNotPipe = "<egui:intnl text='admin.test.Password data should not contain pipe and comma' />";
	var noWinConfig = 'false';

	var duplicateNtAlwd = '<egui:intnl text="admin.user.Duplicate name is not allowed"/>';
	var validName = '<egui:intnl text="admin.user.Please enter a valid name"/>';
	var validUrl = '<egui:intnl text="admin.user.Please enter a valid URL"/>';
	var enterUrl = '<egui:intnl text="admin.user.Please enter the URL"/>';
	var enterContent = '<egui:intnl text="admin.user.Please enter value for content"/>';
	var enterEncoding = '<egui:intnl text="admin.user.Please enter value for encoding"/>';
	var enterSystemPropKey = '<egui:intnl text="admin.user.Please enter value for system property"/>';
	var enterSystemPropValue = '<egui:intnl text="admin.user.Please enter value for system property value"/>';
	var entName = '<egui:intnl text="admin.tests.Please enter the name"/>';
	var noWinShrd = '<egui:intnl text="admin.tests.Please configure windows shared folders by clicking the Add button"/>';
	var alertWinShared = '<egui:intnl text="admin.tests.CONFIGURE SHARED FOLDERS"/>';
	var donotSpecifyKey = '<egui:intnl text="admin.tests.Please do not specify the eG keywords for parameter value"/>';

	//EgConfigureMultipleUser.jsp
	var multiUserTitle = '<egui:intnl text="admin.test.CONFIGURATION OF MULTIPLE USERS"/>';
	var User = '<egui:intnl text="admin.test.User"/>';
	var PasswordLbl = '<egui:intnl text="admin.test.Password"/>';
	var CnfPassLbl = '<egui:intnl text="admin.test.Confirm Password"/>';
	var inputsmulti = 2;
	var Domain = '<egui:intnl text="admin.test.Domain"/>';
	var noMultiUsr = '<egui:intnl text="admin.test.Please configure multiple users by clicking the Add button"/>';
	var inputs = 2;
	var totalInputs = 16;
	var removedOid=[];

	//Configure Published Resource
	var multiSrcTitle = '<egui:intnl text="admin.test.CONFIGURATION OF PUBLISHED RESOURCES"/>';
	var User = '<egui:intnl text="admin.test.User"/>';
	var PasswordLbl = '<egui:intnl text="admin.test.Password"/>';
	var CnfPassLbl = '<egui:intnl text="admin.test.Confirm password"/>';
	var inputsmultisrc = 2;
	var Domain = '<egui:intnl text="admin.test.Domain"/>';
	var NoPublishedResource = '<egui:intnl text="admin.test.Please configure published resources by clicking the Add button"/>';
	var alertMsgSrcTitle = '<egui:intnl text="admin.common.PUBLISHED RESOURCES"/>';
	var enterPubRsrc = '<egui:intnl text="admin.test.Please enter the published resources"/>';
	var pubResourceToolTip = '<egui:intnl text="admin.test.Configure published resources"/>';

	var inputResource = 1;
	var enterFolderName = '<egui:intnl text="admin.test.Please enter the Tab name or enter none"/>.';
	var enterResourceName = '<egui:intnl text="admin.test.Please enter the application/desktop name"/>.';
	var validResourceName = '<egui:intnl text="admin.test.Please enter the valid application/desktop name"/>.';
	var enterwinTitle = '<egui:intnl text="admin.test.Please enter the window title or enter none"/>.';
	var multiResourceTitle = '<egui:intnl text="admin.test.CONFIGURE PUBLISHED RESOURCES"/>';

	// For EgConfigureNamePattern.jsp
	var confNameTitle = '<egui:intnl text="admin.test.CONFIGURATION OF URL PATTERNS"/>';
	var inputsUrlNme = 2;
	var Name = '<egui:intnl text="admin.test.Name"/>';
	var Pattern = '<egui:intnl text="admin.test.Pattern"/>';
	var Threshold_Value = '<egui:intnl text="admin.test.Threshold_Value"/>';
	var enterName = '<egui:intnl text="admin.tests.Please enter the name"/>';
	var enterPattern = '<egui:intnl text="admin.tests.Please enter the patern"/>';
	var enterThresh = '<egui:intnl text="admin.user.Please enter the threshold value"/>';
	var alertNameTitle = '<egui:intnl text="admin.user.CONFIGURE URL PATTERNS"/>';
	var nonamePatrn = '<egui:intnl text="admin.user.Please configure URL patterns by clicking the Add button"/>';
	var inputsCredUrl = 2;
	var noWinConfig = 'false';
	var isNamePtn = 'false';

	//VmgUsers.jsp
	var vmgTitle = '<egui:intnl text="admin.test.CONFIGURATION OF MULTIPLE USERS"/>';
	var Domain = '<egui:intnl text="admin.test.Domain"/>';
	var AdminUser = '<egui:intnl text="admin.test.Admin User"/>';
	var AdminPwd = '<egui:intnl text="admin.test.Admin Password"/>';
	var AdminConfPwd = '<egui:intnl text="admin.test.Confirm Password"/>';
	var Update = '<egui:intnl text="admin.common.Update"/>';
	var Clear = '<egui:intnl text="admin.common.Clear"/>';
	var alertTitle = '<egui:intnl text="admin.common.CONFIGURE USERS"/>';
	var noVmgUsers = '<egui:intnl text="admin.common.Please configure users by clicking the Add button"/>';
	var noOIDs = '<egui:intnl text="admin.common.Please configure OIDs by clicking the Add button"/>';
	var limitedLevel = '<egui:intnl text="admin.user.limited level, upto level 15"/>';
	var isVmg = 'false';

	//For EgConfigureWsdlAndUrlCredentials.jsp
	var wsdlTitle = '<egui:intnl text="admin.test.CONFIGURATION OF WEBSERVICE URL"/>';
	var noWsdlUrl = '<egui:intnl text="admin.test.Please configure webservice URL and credentials by clicking the Add button"/>';
	var enterWsdl = '<egui:intnl text="admin.common.Please enter a WSDL URL"/>';
	var enterValidWsdl = '<egui:intnl text="admin.common.Please enter a valid WSDL URL or specify"/> '+" '<egui:intnl text='admin.common.none'/>'";
	var inputsWsdlUrl = 2;
	var noWsdl = 'false';

	//ProcessConfiguration.jsp
	var inputsProcess = 2;
	var noProcConfig = 'false';
	var firstProcessClick = true;
	var totalProcessArr = new Array();
	var countProcess = 0;
	var fromProcessSearch = "false";

	var noconfProcess = '<egui:intnl text="admin.test.Please configure process by either clicking the Get process or Add button"/>';
	var processConfTitle = '<egui:intnl text="admin.test.PROCESS CONFIGURATION"/>';
	var processConciseTitle = '<egui:intnl text="admin.test.Processes"/>';
	var runningProcess = '<egui:intnl text="admin.test.Running processes for"/>';
	var getProcess = '<egui:intnl text="admin.test.Get Process"/>';
	var detailedView = '<egui:intnl text="admin.test.Detailed View"/>';
	var conciseView = '<egui:intnl text="admin.test.Concise View"/>';
	var detailedtoConcise = '<egui:intnl text="admin.test.You are changing from a detailed to a concise view"/>. <egui:intnl text="admin.test.Your current selection will not be saved and you will need to choose the processes to monitor again"/>.\n<egui:intnl text="admin.test.Do you want to proceed"/>?';
	var Concisetodetailed = '<egui:intnl text="admin.test.You are changing from a concise to a detailed view"/>. <egui:intnl text="admin.test.Your current selection will not be saved and you will need to choose the processes to monitor again"/>.\n<egui:intnl text="admin.test.Do you want to proceed"/>?';

	var notprocessNme = '<egui:intnl text="admin.test.Please provide a process name"/>';
	var notProcessSpl = '<egui:intnl text="admin.test.Special Characters not allowed"/>';
	var alert_1 = '<egui:intnl text="admin.test.Please provide a process pattern"/>';
	var alert_2 = '<egui:intnl text="admin.test.process name already exists"/>';
	var alert_3 = '<egui:intnl text="admin.test.Please provide a unique name"/>';
	var selectAProcess = '<egui:intnl text="admin.test.Please select a process"/>';
	var noProcessMsg = '<egui:intnl text="admin.common.Failed to get required processes information from agent"/>';

	//WinServiceConfiguration.jsp
	var inputsService = 2;
	var firstClick = true;
	var totalServicesArr = new Array();
	var countService = 0;

	var noServiceConfig = 'false';
	var closeflag = false;
	var winServTitle = '<egui:intnl text="admin.test.WINDOWS SERVICES CONFIGURATION"/>';
	var noconfServices = '<egui:intnl text="admin.test.Please configure services by either clicking the Get Services or Add button"/>';
	var winServiceLbl = '<egui:intnl text="admin.test.Windows service name"/>';
	var runningServices = '<egui:intnl text="admin.test.Running services for"/>';
	var serviceTitle = '<egui:intnl text="admin.test.Services"/>';
	var selectWinName = '<egui:intnl text="admin.test.Please select a Windows service name"/>';
	var submitWin = '<egui:intnl text="admin.test.Submit"/>';
	var serviceView = '<egui:intnl text="admin.test.Service View"/>';

	//SiteURLConfiguration.jsp
	var inptsServic = 2;
	var frstClk = true;
	var noconfURLs = '<egui:intnl text="admin.test.Please configure URLs by either clicking the Get URLs button or Add button"/>';
	var selectSitUrlName='<egui:intnl text="admin.test.Please select a Site URL"/>';
	var allConfiguredLbl='<egui:intnl text="admin.test.All URLs have been configured"/>';

	//ExcludeInterfaces
	var rptNam="";

	//ViewPolicy.jsp
	var policyTitle = '<egui:intnl text="admin.alarm.ADD/MODIFY EVENT POLICY"/>';
	var polCreationTitle = 'ADD/MODIFY POLICY';
	var polCreationPageName = '<egui:intnl text="admin.alarm.ADD POLICY"/>';
	var modifyPolicyTitle = '<egui:intnl text="admin.alarm.MODIFY POLICY"/>';
	var viewPolicyTitle = '<egui:intnl text="admin.alarm.VIEW POLICY"/>';
	var alertMsg11 = '<egui:intnl text="admin.test.Policy"/>';
	var alertMsg12 = '<egui:intnl text="admin.test.is associated with a component"/>';
	var alertMsg13 = '<egui:intnl text="admin.test.Are you sure you want to delete this policy"/>';
	var alertMsg14 = '<egui:intnl text="admin.test.Are you sure you want to delete the policy"/>';
	var alertMsg15 = '<egui:intnl text="admin.test.Please enter the value for POLICY NAME"/>';
	var alertMsg16 = "<egui:intnl text='admin.test.Policy name should not contain special characters other than \'-\', \'*\', \'_\''/>";
	var alertMsg17 = "<egui:intnl text='admin.test.First or Last character should not be \'-\' in policy name'/>";
	var alertMsg18 = "<egui:intnl text='admin.test.Please enter the value for event sources to be included'/>";
	var alertMsg19 = "<egui:intnl text='admin.test.Please enter the value for event sources to be excluded'/>";
	var alertMsg20 = "<egui:intnl text='admin.test.Event sources to be included should not start or end with comma'/>";
	var alertMsg21 = "<egui:intnl text='admin.test.Event sources to be excluded should not start or end with comma'/>";
	var alertMsg22 = "<egui:intnl text='admin.test.Event sources to be included should not contain consecutive commas'/>";
	var alertMsg23 = "<egui:intnl text='admin.test.Event sources to be excluded should not contain consecutive commas'/>";
	
	var alertMsg24 = "<egui:intnl text='admin.test.Please enter the value for event IDS to be included'/>";
	var alertMsg25 = "<egui:intnl text='admin.test.Please enter the value for event IDS to be excluded'/>";
	var alertMsg26 = "<egui:intnl text='admin.test.Event IDS to be included should not start or end with comma'/>";
	var alertMsg27 = "<egui:intnl text='admin.test.Event IDS to be excluded should not start or end with comma'/>";
	var alertMsg28 = "<egui:intnl text='admin.test.Only numerals are allowed in event IDS to be excluded'/>";
	var alertMsg29 = "<egui:intnl text='admin.test.Only numerals are allowed in event IDS to be included'/>";
	var alertMsg30 = "<egui:intnl text='admin.test.Event IDS to be included should not contain consecutive commas'/>";
	var alertMsg31 = "<egui:intnl text='admin.test.Event IDS to be excluded should not contain consecutive commas'/>";
	
	var alertMsg32 = "<egui:intnl text='admin.test.Please enter the value for event descriptions to be included'/>";
	var alertMsg33 = "<egui:intnl text='admin.test.Please enter the value for event users to be included'/>";
	var alertMsg34 = "<egui:intnl text='admin.test.Please enter the value for event descriptions to be excluded'/>";
	var alertMsg35 = "<egui:intnl text='admin.test.Please enter the value for event users to be excluded'/>";
	var alertMsg36 = "<egui:intnl text='admin.test.Event descriptions to be included should not start or end with comma'/>";
	var alertMsg37 = "<egui:intnl text='admin.test.Event descriptions to be excluded should not start or end with comma'/>"
	var alertMsg38 = "<egui:intnl text='admin.test.Event users to be included should not start or end with comma'/>";
	var alertMsg39 = "<egui:intnl text='admin.test.Event users to be excluded should not start or end with comma'/>"
	var alertMsg40 = "<egui:intnl text='admin.test.Event descriptions to be included should not contain consecutive commas'/>";
	var alertMsg41 = "<egui:intnl text='admin.test.Event users to be included should not contain consecutive commas'/>";
	var alertMsg42 = "<egui:intnl text='admin.test.Event descriptions to be excluded should not contain consecutive commas'/>";
	var alertMsg43 = "<egui:intnl text='admin.test.Event users to be excluded should not contain consecutive commas'/>";
	var alertMsg44 = "<egui:intnl text='admin.test.\'all\' keyword should not be part of comma separated event sources to be included'/>";
	var alertMsg45 = "<egui:intnl text='admin.test.\'all\' keyword should not be part of comma separated event sources to be excluded'/>";
	var alertMsg46 = "<egui:intnl text='admin.test.\'all\' keyword should not be part of comma separated event descriptions to be included'/>";
	var alertMsg47 = "<egui:intnl text='admin.test.\'all\' keyword should not be part of comma separated event users to be included'/>";
	var alertMsg48 = "<egui:intnl text='admin.test.\'all\' keyword should not be part of comma separated event descriptions to be excluded'/>";
	var alertMsg49 = "<egui:intnl text='admin.test.\'all\' keyword should not be part of comma separated event users to be excluded'/>";
	var alertMsg50 = "<egui:intnl text='admin.test.Event sources to be included should contain \'all\' in lowercase'/>";
	var alertMsg51 = "<egui:intnl text='admin.test.Event descriptions to be included should contain \'all\' in lowercase'/>";
	var alertMsg52 = "<egui:intnl text='admin.test.Event users to be included should contain \'all\' in lowercase'/>";
	var alertMsg53 = "<egui:intnl text='admin.test.Event sources to be excluded should not contain \'all\''/>";
	var alertMsg54 = "<egui:intnl text='admin.test.Event descriptions to be excluded should not contain \'all\''/>";
	var alertMsg55 = "<egui:intnl text='admin.test.Event users to be excluded should not contain \'all\''/>";
	var alertMsg56 = "<egui:intnl text='admin.test.\'none\' keyword should not be part of comma separated event sources to be included'/>";
	var alertMsg57 = "<egui:intnl text='admin.test.\'none\' keyword should not be part of comma separated event sources to be excluded'/>"
	var alertMsg58 = "<egui:intnl text='admin.test.\'none\' keyword should not be part of comma separated event descriptions to be included'/>";
	var alertMsg59 = "<egui:intnl text='admin.test.\'none\' keyword should not be part of comma separated event users to be included'/>";
	var alertMsg60 = "<egui:intnl text='admin.test.\'none\' keyword should not be part of comma separated event descriptions to be excluded'/>";
	var alertMsg61 = "<egui:intnl text='admin.test.\'none\' keyword should not be part of comma separated event users to be excluded'/>";
	var alertMsg62 = "<egui:intnl text='admin.test.Event sources to be included should not contain \'none\''/>";
	var alertMsg63 = "<egui:intnl text='admin.test.Event descriptions to be included should not contain \'none\''/>";
	var alertMsg64 = "<egui:intnl text='admin.test.Event users to be included should not contain \'none\''/>";
	var alertMsg65 = "<egui:intnl text='admin.test.Event sources to be excluded should contain \'none\' in lowercase'/>";
	var alertMsg66 = "<egui:intnl text='admin.test.Event descriptions to be excluded should contain \'none\' in lowercase'/>";
	var alertMsg67 = "<egui:intnl text='admin.test.Event users to be excluded should contain \'none\' in lowercase'/>";
	var alertMsg68 = '<egui:intnl text="admin.test.Policy name already exists"/>';
	var alertMsg69 = "<egui:intnl text='admin.test.button adjacent to the URL text box or the \'Click here\' link above the test parameters to configure URL and credentials'/>.";
	var alertMsg70 = '<egui:intnl text="admin.test.Are you sure you want to delete the selected item(s)"/>'+'?';
	var alertMsg71 = '<egui:intnl text="admin.test.Please select policies for deletion"/>';
	var alertMsg72 = '<egui:intnl text="admin.test.Event policy has been added successfully"/>';
	var alertMsg73 = '<egui:intnl text="admin.test.Event policy has been modified successfully"/>';
	var alertMsg74 = '<egui:intnl text="admin.test.Test has been included successfully"/>';
	var alertMsg75 = '<egui:intnl text="admin.test.Tests have been included successfully"/>';
	var alertMsg76 = '<egui:intnl text="admin.test.Test has been excluded successfully"/>';
	var alertMsg77 = '<egui:intnl text="admin.test.Tests have been excluded successfully"/>';
	var alertMsg78 = '<egui:intnl text="admin.test.Test has been configured successfully"/>';
	var alertMsg79 = '<egui:intnl text="admin.test.Add to excluded components"/>';
	var alertMsg80 = '<egui:intnl text="admin.test.Remove from excluded components"/>';
	var alertMsg81 = '<egui:intnl text="admin.test.Add to included components"/>';
	var alertMsg82 = '<egui:intnl text="admin.test.Remove from included components"/>';
	var alertMsg83 = '<egui:intnl text="admin.test.Username already exists"/>';

	//EgDbUserCreation starts
	var newdbupdated = 'false';
	var dbTitle = '<egui:intnl text="admin.db.ADD NEW DATABASE USER"/>';
	var HostName = '<egui:intnl text="admin.db.HOST NAME"/>';
	var Port = '<egui:intnl text="admin.db.PORT"/>';
	var Sid = '<egui:intnl text="admin.db.SID/Service name"/>';
	var DbVersion = '<egui:intnl text="admin.db.DB VERSION"/>';
	var ChooseOne = '<egui:intnl text="admin.db.Choose One"/>';
	var SysPwd = '<egui:intnl text="admin.db.SYS PASSWORD"/>';
	var DbAdmin = '<egui:intnl text="admin.db.DB ADMIN"/>';
	var DbAdminPwd = '<egui:intnl text="admin.db.DB ADMIN PASSWORD"/>';
	var DbUsr = '<egui:intnl text="admin.db.DB USER"/>';
	var DbConnection = '<egui:intnl text="admin.db.DB CONNECTION"/>';
	var DbUsrPwd = '<egui:intnl text="admin.db.DB USER PASSWORD"/>';
	var DefaultTbSpace = '<egui:intnl text="admin.db.DEFAULT TABLESPACE"/>';
	var TempSpace = '<egui:intnl text="admin.db.TEMP TABLESPACE"/>';
	var Add = '<egui:intnl text="admin.db.Add"/>';
	var Clear = '<egui:intnl text="admin.db.Clear"/>';
	var Back = '<egui:intnl text="admin.db.Back"/>';
	var inValidHName = '<egui:intnl text="admin.db.Invalid hostname/portno/sid or invalid DB admin/password"/>';
	var dbConn = '<egui:intnl text="admin.db.Connection could not be established to the specific database server"/>. <egui:intnl text="admin.db.Please ensure that the database server is accessible from the eG manager"/>'+'.';
	var noPolicyFound = '<egui:intnl text="admin.alarm.No policy found for your current search"/>';
	var noProcessFound = '<egui:intnl text="admin.alarm.No process name found for your current search"/>';
	var deletedRecords = '';
	var DbUsrMsg = '<egui:intnl text="admin.db.Database username must start with c## or C##"/>';

	var label1 = '<egui:intnl text="admin.test.Apply"/>';
	var label2 = '<egui:intnl text="admin.test.Url"/>';
	var label3 = '<egui:intnl text="admin.test.POLICY NAME"/>';
	var label4 = '<egui:intnl text="admin.test.EVENT SOURCES"/>';
	var label5 = '<egui:intnl text="admin.test.EVENT IDS"/>';
	var label6 = '<egui:intnl text="admin.test.Modify"/>';
	var label8 = '<egui:intnl text="admin.test.View"/>';
	var label9 = '<egui:intnl text="admin.test.Delete"/>';
	var label7 = '<egui:intnl text="admin.test.EVENT DESCRIPTIONS"/>';
	var label10 = '<egui:intnl text="admin.test.Enable/Disable Performance Tests"/>';
	var label11 = '<egui:intnl text="admin.test.Component type"/>';
	var label12 = '<egui:intnl text="admin.test.Test type"/>';
	var label13 = '<egui:intnl text="admin.test.Test name"/>';
	var label14 = '<egui:intnl text="admin.test.Add New Policy"/>';
	var label15 = '<egui:intnl text="admin.test.EVENT POLICY"/>';
	var label16 = '<egui:intnl text="admin.test.Component name"/>';
	var label17 = '<egui:intnl text="admin.test.AGENT SUMMARY"/>';
	var label18 = '<egui:intnl text="admin.test.UNCONFIGURED TESTS"/>';
	var label19 = '<egui:intnl text="admin.test.CONFIGURED TESTS"/>';
	var label20 = '<egui:intnl text="admin.test.EXCLUDED TESTS"/>';
	var label21 = '<egui:intnl text="admin.test.Configure"/>';
	var label22 = '<egui:intnl text="admin.test.Exclude"/>';
	var label23 = '<egui:intnl text="admin.test.Reconfigure"/>';
	var label24 = '<egui:intnl text="admin.test.Include"/>';
	var label25 = '<egui:intnl text="admin.test.Back"/>';
	var label26 = '<egui:intnl text="admin.test.Add"/>'+'/'+'<egui:intnl text="admin.test.Modify Policy Filters"/>';
	var label27 = '<egui:intnl text="admin.test.Configure users"/>';
	var label28 = '<egui:intnl text="admin.test.Configure URL patterns"/>';
	var label29 = '<egui:intnl text="admin.test.Configure URL and credentials"/>';
	var label30 = '<egui:intnl text="admin.test.View" />'+'/'+'<egui:intnl text="admin.text.Configure shared folders for monitoring"/>';
	var label31 = '<egui:intnl text="admin.test.Add Operations" />';
	var label32 = '<egui:intnl text="admin.test.Configure a database user" />';
	var label33 = '<egui:intnl text="admin.test.Click here to configure value for specific descriptor" />';
	var label34 = '<egui:intnl text="admin.test.Discover" />';
	var label35 = '<egui:intnl text="admin.server.Show components yet to be configured for monitoring"/>';
	var label36 = '<egui:intnl text="admin.server.Performance"/>';
	var label37 = '<egui:intnl text="admin.server.Configuration"/>';

	var selectDBver = '<egui:intnl text="admin.db.Please select a DB version"/>';
	var enterDBAdmin = '<egui:intnl text="admin.db.Please enter the DB admin"/>';
	var enterDBPwd = '<egui:intnl text="admin.user.Please enter the password"/>';
	var enterDBUsr = '<egui:intnl text="admin.db.Please enter the DB user"/>';
	var DBNmeAlphabet = '<egui:intnl text="admin.db.DB user name should start with an alphabet"/>';
	var enterdeftb = '<egui:intnl text="admin.db.Please enter the default tablespace"/>';
	var startswithalpha = '<egui:intnl text="admin.db.Default tablespace should begin with an alphabet"/>';
	var entertemptb = '<egui:intnl text="admin.db.Please enter the temp tablespace"/>';
	var startstbwithalpha = '<egui:intnl text="admin.db.Temp tablespace should begin with an alphabet"/>';
	var inputsInfos = 1;
	var inputsEjbs = 1;
	var from = '';
	var polCreationJson = '';
	var jsonVal = '';
	var alertMsg69 = "<egui:intnl text='admin.test.button adjacent to the URL text box to configure URL and credentials'/>."
	var alertMsg7 = '<egui:intnl text="admin.test.Please use the encircled plus"/>';
	var Hrs = '<egui:intnl text="admin.test.Hrs"/>';
	var Mins = '<egui:intnl text="admin.test.Mins"/>';

	//EgConfigAggregate starts
	var aggTitle = '<egui:intnl text="admin.test.Include/Exclude descriptors of associated tests"/>';
	var compositeTitle = '<egui:intnl text="admin.test.Include/Exclude descriptors of associated tests"/>';
	var confDesc = '<egui:intnl text="admin.test.Configure descriptors for"/>';
	var IncludedDesc = '<egui:intnl text="admin.test.INCLUDED DESCRIPTORS"/>';
	var ExcludedDesc = '<egui:intnl text="admin.test.EXCLUDED DESCRIPTORS"/>';
	var include_exclude_alert = '<egui:intnl text="admin.test.Included descriptors field cannot be emtpy"/>';

	var masterTestInfoAlert = '<egui:intnl text="admin.test.descriptors cannot be excluded as they are being used for deriving descriptors of this performance rating test"/>';
	var pwd_flag = '';

	var firstgetService = true;
	var firstgetProcess = true;
    var last_view = '';
    var processCount = 0;

	//EgWebServiceConfiguration
	var alertWebMsg1 = '<egui:intnl text= "admin.test.Please choose a monitored operation" />';
	//var alertWebMsg1 = '<egui:intnl text= "admin.test.Please select an operation" />';
	var alertWebMsg2 = '<egui:intnl text= "admin.test.Please select any one operation" />';
	var alertWebMsg3 = '<egui:intnl text= "admin.test.Please select a service" />';
	var saveconfig = '<egui:intnl text="admin.test.Save And Configure More" />';
	var manageragentConfig = '<egui:intnl text="admin.test.Manager/Agent for accessing WSDL URL" />';
	var wsdlUrl = '<egui:intnl text="admin.test.WSDL URL" />';
	var servicesLbl = '<egui:intnl text="admin.test.Services" />';
	var monitoredLbl = '<egui:intnl text="admin.test.MONITORED OPERATIONS" />';
	var definedLbl = '<egui:intnl text="admin.test.DEFINED OPERATIONS" />';
	var operationToDis = '<egui:intnl text="admin.test.Please choose a operation to disassociate" />';
	var operationToAss = '<egui:intnl text="admin.test.Please choose a operation to associate" />';
	var soapRequest = '<egui:intnl text="admin.test.Soap Request Message" />';
	var soapParameter = '<egui:intnl text="admin.test.SOAP Parameter" />';
	var sendReq = '<egui:intnl text="admin.test.Send Request" />';
	var type = '<egui:intnl text="admin.test.Type" />';
	var noSoapInputParam = '<egui:intnl text="admin.test.No SOAP input parameters required for this operation" />';
	var webServiceTitle = '<egui:intnl text="admin.test.Web Service Operation Configuration" />';
	var xmlView = '<egui:intnl text="admin.test.XML View" />';
	var htmlView = '<egui:intnl text="admin.test.HTML View" />';
	var selectAUrl = '<egui:intnl text="admin.test.Please select a Url" />';
	var noServiceAvail = '<egui:intnl text="admin.test.No Service Available" />';
	var noOprAvail = '<egui:intnl text="admin.test.No Operation available" />';
	var invalidUrlMsg = '<egui:intnl text="admin.test.Invalid: WSDL URL" />';
	var disabledMsg = '<egui:intnl text="admin.test.Add to Defined Operations" />';
	var enabledMsg = '<egui:intnl text="admin.test.Remove from Defined Operations" />';

	var testInterViews = '';

	//VmLog Display
	var vmTitle = '<egui:intnl text="admin.test.VM DETAILS" />';
	var noVmDetails = '<egui:intnl text="admin.test.No VM details available" />';
	var vmLabel_1 = '<egui:intnl text="admin.test.VM" />';
	var vmLabel_2 = '<egui:intnl text="admin.test.VM IP" />';
	var vmLabel_3 = '<egui:intnl text="admin.test.DNS" />';
	var vmLabel_4 = '<egui:intnl text="admin.test.Connection state" />';
	var vmLabel_5 = '<egui:intnl text="admin.test.power state" />';
	var vmLabel_6 = '<egui:intnl text="admin.test.OS" />';
	var vmLabel_7 = '<egui:intnl text="admin.test.VM tools state" />';
	var xenLabel_1 = '<egui:intnl text="admin.test.Xen tools state" />';

	//EgConfigInfos
	var infosalert_1 = '<egui:intnl text="admin.test.Please associate one or more elements to the group" />';
	var infosTitle = '<egui:intnl text="admin.test.INFO GROUPS" />';
	var enterGrpNme = '<egui:intnl text="admin.test.Please enter a group name" />';
	var infosalert_2 = '<egui:intnl text="admin.test.No special characters allowed" />';
	var infosalert_3 = '<egui:intnl text="admin.test.Please enter unique group name" />';
	var infosalert_4 = '<egui:intnl text="admin.test.Are you sure you want to delete this group"/>';
	var infosalert_5 = '<egui:intnl text="admin.ic.Alphabets are not allowed"/>';
	var addBtnInfoLabel = '<egui:intnl text="admin.test.Add Info Group" />';
	var noInfoGrpLbl = '<egui:intnl text="admin.test.No Info groups available" />';
	var applyInfoLbl = '<egui:intnl text="admin.test.Apply this configuration to other servers" />';
	var availableInfoLbl = '<egui:intnl text="admin.test.Available components" />';
	var operationToDisInfo = '<egui:intnl text="admin.test.Please choose infos to disassociate" />';
	var operationToAssInfo = '<egui:intnl text="admin.test.Please choose infos to associate" />';

	//EgConfigEjb
	var ejbTitle = '<egui:intnl text="admin.test.EJB GROUPS" />';
	var addModifyEjbTitle = '<egui:intnl text="admin.test.ADD/MODIFY EJB GROUPS" />';
	var addBtnLabel = '<egui:intnl text="admin.test.Add EJB Group" />';
	var ejbLabel1 = '<egui:intnl text="admin.test.EJB Group names" />';
	var ejbLabel2 = '<egui:intnl text="admin.test.EJB Group Name" />';
	var ejbLabel3 = '<egui:intnl text="admin.test.MANAGED ELEMENTS IN THE CURRENT GROUP" />';
	var ejbLabel4 = '<egui:intnl text="admin.test.ALL ELEMENTS" />';
	var ejbLabel5 = '<egui:intnl text="admin.test.No EJB groups available" />';
	var operationToDisEjb = '<egui:intnl text="admin.test.Please choose EJBs to disassociate" />';
	var operationToAssEjb = '<egui:intnl text="admin.test.Please choose EJBs to associate" />';

	//EgDetailsTest.jsp
	var descTitle = '<egui:intnl text="admin.test.DESCRIPTOR DETAILS" />';
	var noDescTest = '<egui:intnl text="admin.test.No descriptor available for this test" />';
	var testLbl = '<egui:intnl text="admin.test.Test" />';
	var TestParamLbl = '<egui:intnl text="admin.test.Parameter" />';
	var componentLbl = '<egui:intnl text="admin.test.Component" />';
	var alldescriptorLbl = '<egui:intnl text="admin.test.ALL DESCRIPTORS" />';
	var descriptorLbl = '<egui:intnl text="admin.test.DESCRIPTOR" />';
	var valueLbl = '<egui:intnl text="admin.test.VALUE" />';
	var noItemsSel = '<egui:intnl text="admin.test.No Items selected" />';
	var _desccheckspecial = '<egui:intnl text="admin.test.Special characters are not allowed" />';
	var deleteSelected = '<egui:intnl text="admin.group.Are you sure you want to delete the selected descriptor(s) value"/>'+'?';
	var deletedSingleDescMsg = '<egui:intnl text="admin.group.Are you sure you want to delete the selected descriptor value" />'+'?';

	var appDesc = '';

	//ExcludeComponents.jsp
	var specificTestTitle = '<egui:intnl text="admin.test.Specific Test Configuration" />';
	var testToExc = '<egui:intnl text="admin.test.Test(s) to be excluded" />';
	var test1 = '<egui:intnl text="admin.test.Test1" />';
	var componentsTitle = '<egui:intnl text="admin.test.Components" />';
	var componentsToExc = '<egui:intnl text="admin.test.Components to be excluded" />';
	var componentsToInc = '<egui:intnl text="admin.test.Included components" />';
	var pageExcludeDesc = '<egui:intnl description="EgExcludeComponents.jsp"/>';
	var pageIncludedDesc = '<egui:intnl description="EgIncludeComponents.jsp"/>';

	//EnableCorrectiveScripts
	var enableCsTitle = '<egui:intnl text="admin.test.Enable Corrective Script" />';
	var disableCsTitle = '<egui:intnl text="admin.test.Disable Corrective Script" />';
	var alertMsgEnableCs = '<egui:intnl text="admin.test.You are about to enable corrective script for " />';
	var alertMsgDisableCs = '<egui:intnl text="admin.test.You are about to disable corrective script for " />';
	var alertMsgCs2 = '<egui:intnl text="admin.test.test " />.';
	var alertMsgCs3 = '<egui:intnl text="admin.test.This will apply to all component types to which this test is applicable" />.';
	var alertMsgCs4 = '<egui:intnl text="admin.test.Do you want to proceed" />?';
	var alertMsgCsSuccess1 = '<egui:intnl text="admin.test.Corrective script has been enabled  successfully" />';
	var alertMsgCsSuccess2 = '<egui:intnl text="admin.test.Corrective script has been disabled successfully" />';
	var enableCsClickedFrom = '';

	//IncludeComponents.jsp
	var testToInc = '<egui:intnl text="admin.test.Test(s) to be included" />';
	var compoInc = '<egui:intnl text="admin.test.Components to be included" />';
	var excComp = '<egui:intnl text="admin.test.Excluded components" />';
	var fromApplyBck = '';

	var fromApply = '';

	//Validate
	var validationTitle = '<egui:intnl text="admin.common.Validating monitoring settings for" />&nbsp;';
	var validationMsg80 = '<egui:intnl text="admin.common.No agents available to validate"/>';
	var validationMsg79 = '<egui:intnl text="admin.common.Agent for validation"/>';
	var selectAgnt = '<egui:intnl text="admin.common.Please select a agent"/>';
	var Retry = '<egui:intnl text="admin.common.Retry"/>';
	var enterOID = '<egui:intnl text="admin.common.OID"/>';
	var alertValidate = '<egui:intnl text="admin.common.Trying to get validation information from the agent"/>. <egui:intnl text="admin.test.This may take a few minutes"/>.';
	var alertMgrValidate = '<egui:intnl text="admin.common.Trying to get validation information from the manager"/>. <egui:intnl text="admin.test.This may take a few minutes"/>.';
	var WsdlValidatelbl = '<egui:intnl text="admin.common.Agent"/>/<egui:intnl text="admin.common.Manager for validation"/>';
	
	// alerts for performance rating tests
	var alert1 = '<egui:intnl text="admin.common.Critical in minimum values is not valid"/>';
	var alert2 = '<egui:intnl text="admin.common.Major in minimum values is not valid"/>';
	var alert3 = '<egui:intnl text="admin.common.Minor in minimum values is not valid"/>';
	var alert4 = '<egui:intnl text="admin.common.Critical in maximum values is not valid"/>';
	var alert5 = '<egui:intnl text="admin.common.Major in maximum values is not valid"/>';
	var alert6 = '<egui:intnl text="admin.common.Minor in maximum values is not valid"/>';
	var alert7 = '<egui:intnl text="admin.common.Integer part of critical value in minimum values cannot contain more than ten digits"/>';
	var alert8 = '<egui:intnl text="admin.common.Integer part of major value in minimum values cannot contain more than ten digits"/>';
	var alert9 = '<egui:intnl text="admin.common.Integer part of minor value in minimum values cannot contain more than ten digits"/>';
	var alert10 = '<egui:intnl text="admin.common.Integer part of critical value in maximum values cannot contain more than ten digits"/>';
	var alert11 = '<egui:intnl text="admin.common.Integer part of major value in maximum values cannot contain more than ten digits"/>';
	var alert12 = '<egui:intnl text="admin.common.Integer part of minor value in maximum values cannot contain more than ten digits"/>';
	var alert13 = '<egui:intnl text="admin.common.Fractional part of critical value in minimum values cannot contain more than four digits"/>';
	var alert14 = '<egui:intnl text="admin.common.Fractional part of major value in minimum values cannot contain more than four digits"/>';
	var alert15 = '<egui:intnl text="admin.common.Fractional part of minor value in minimum values cannot contain more than four digits"/>';
	var alert16 = '<egui:intnl text="admin.common.Fractional part of critical value in maximum values cannot contain more than four digits"/>';
	var alert17 = '<egui:intnl text="admin.common.Fractional part of major value in maximum values cannot contain more than four digits"/>';
	var alert18 = '<egui:intnl text="admin.common.Fractional part of minor value in maximum values cannot contain more than four digits"/>';
	var alert19 = '<egui:intnl text="admin.common.Critical value in minimum values cannot be negative"/>';
	var alert20 = '<egui:intnl text="admin.common.Major value in minimum values cannot be negative"/>';
	var alert21 = '<egui:intnl text="admin.common.Minor value in minimum values cannot be negative"/>';
	var alert22 = '<egui:intnl text="admin.common.Critical value in maximum values cannot be negative"/>';
	var alert23 = '<egui:intnl text="admin.common.Major value in maximum values cannot be negative"/>';
	var alert24 = '<egui:intnl text="admin.common.Minor value in maximum values cannot be negative"/>';
	var alert25 = '<egui:intnl text="admin.common.Minimum values are not in ascending order"/>';
	var alert26 = '<egui:intnl text="admin.common.Maximum values are not in descending order"/>';
	var alert27 = '<egui:intnl text ="admin.common.Rating is based on minimum and maximum values"/>'+'.\n<egui:intnl text="admin.ic.Please update either minimum values or maximum values without none"/>';
	var alert28 = '<egui:intnl text="admin.common.Minimum values cannot contain space"/>';
	var alert29 = '<egui:intnl text="admin.common.Maximum values cannot contain space"/>';
	var alert30 = '<egui:intnl text="admin.common.Minimum values cannot be -1"/>';
	var alert31 = '<egui:intnl text="admin.common.Maximum values cannot be -1"/>';
	var alert32 = '<egui:intnl text="admin.common.Minimum values are invalid"/>';
	var alert33 = '<egui:intnl text="admin.common.Maximum values are invalid"/>';
	var maxThreshAlert = '<egui:intnl text="admin.threshold.Maximum values representing Critical/Major/Minor should be in descending order"/>';
	var minThreshAlert = '<egui:intnl text="admin.threshold.Minimum values representing Critical/Major/Minor should be in ascending order"/>';
	var minimumValuesAlert = '<egui:intnl text="admin.threshold.Minimum values are not in the \\'Critical/Major/Minor\\' format"/>';
	var maximumValuesAlert = '<egui:intnl text="admin.threshold.Maximum values are not in the \\'Critical/Major/Minor\\' format"/>';
	var minMaxLabel = '<egui:intnl text="admin.user.MINIMUM AND MAXIMUM VALUES"/>';


	var inputsRule = 2;
	var inputsIncPatt = 2;
	var totalIncPatt = 8;

	var rulePageTitle = '<egui:intnl text="admin.test.CONFIGURE RULES" />';
	var ruleNameLbl = '<egui:intnl text="admin.test.Rule Name" />';
	var faceLbl = '<egui:intnl text="admin.test.Facility Filter" />';
	var filterHostLbl = '<egui:intnl text="admin.test.Host Filter" />';
	var levelLbl = '<egui:intnl text="admin.test.Level Filter" />';
	var incPattLbl = '<egui:intnl text="admin.test.Include Keywords Filter" />';
	var filterLogLbl = '<egui:intnl text="admin.test.Filter Logic" />';
	var execPattLbl = '<egui:intnl text="admin.test.Exclude Keywords" />';
	var noRuleNameFilters = '<egui:intnl text="admin.test.Please configure rules by clicking the Add button" />';
	var _desccheckspecial = '<egui:intnl text="admin.test.Special characters are not allowed" />';
	var enterRuleName = '<egui:intnl text="admin.tests.Please enter the rule name"/>';
	var enterFacility = '<egui:intnl text="admin.tests.Please enter the facility"/>';
	var enterFilterLogic = '<egui:intnl text="admin.tests.Please enter the filter logic"/>';
	var enterFilterHost = '<egui:intnl text="admin.tests.Please enter the filter host"/>';
	var enterExecPattern = '<egui:intnl text="admin.tests.Please enter the exclude pattern"/>';
	var enterIncPattern = '<egui:intnl text="admin.tests.Please enter the include pattern"/>';
	var enterLevel = '<egui:intnl text="admin.tests.Please enter the Level"/>';
	var ruleNameToolTip = '<egui:intnl text="admin.group.Configure rules" />';
	var limitedIncludePatterns = '<egui:intnl text="admin.test.You cannot add more than" />'+' '+totalIncPatt+' '+'<egui:intnl text="admin.test.keywords filter"/>';
	var filterLogicPatternMsg = '<egui:intnl text="admin.test.Filter logic is not valid"/>';
	var enterFilterLogicMsg1 =  '<egui:intnl text="admin.test.Your filter must use parentheses around successive AND and OR expressions"/>';
	var duplicateRuleName =  '<egui:intnl text="admin.user.Duplicate rule name is not allowed"/>';
	var repeatedKeywords =  '<egui:intnl text="admin.user.Include and Exclude keywords cannot be same"/>';
	var validValue='<egui:intnl text="admin.user.Please enter a valid value"/>';
	var deleteFilterMsg='<egui:intnl text="admin.user.The filter logic references a deleted filter"/>';

	//XMS IP starts
	var alertXMSTitle = '<egui:intnl text="admin.discovery.XMS Preferences"/>';
	var XMSTitle = '<egui:intnl text="admin.discovery.ADD XMS IP DETAILS"/>';
	var xmsIdLabel = '<egui:intnl text="admin.discovery.XMS identity (IP or Host name)"/>';
	var xmsSSlLabel = '<egui:intnl text="admin.discovery.Use SSL to connect to XMS"/>';
	var xmsDiscoverLabel = '<egui:intnl text="admin.discovery.Discover EMC XtremIO hosts using this XMS"/>';
	var xmsUnmeLabel = '<egui:intnl text="admin.discovery.Username to connect to XMS"/>';
	var xmsPwdLabel = '<egui:intnl text="admin.discovery.Password for user"/>';
	var xmsCPwdLabel = '<egui:intnl text="admin.discovery.Confirm password for user"/>';
	var existXMSIP = '<egui:intnl text="admin.discovery.Already exists,add another XMS Identity"/>';
	var enterXMSIP = '<egui:intnl text="admin.discovery.Please enter the XMS IP or valid Username"/>';
	var lenXMSIP = '<%=lenXMSIP%>';
	var strex_xmsIPList = '<%=strex_xmsIPList%>';
	var ex_xmsIPStr = strex_xmsIPList.split(",");
	//XMS IP ends

	// Exchange site configuration
	var ExchangeTitle = '<egui:intnl text="admin.discovery.Email and Password"/>';
	var tootipExchange = '<egui:intnl text="admin.discovery.Configure Email and Password"/>';
	var mailIDDBL = '<egui:intnl text="admin.user.E-mail ID is not allowed in DBL(Chinese,Korean,Japanese)"/>';
	var mailRcv_valid = '<egui:intnl text="admin.mail.Please enter a valid email id"/>';
	var mail_valid = '<egui:intnl text="admin.mail.Multiple Email IDs are not allowed"/>';
	var duplicateMailId =  '<egui:intnl text="admin.user.Duplicate email IDs name is not allowed"/>';
	var NoEmailsConfigured =  '<egui:intnl text="admin.user.Please configure email and password by clicking the Add button"/>';

	// System Properties configuration
	var SysPropTitle = '<egui:intnl text="admin.test.System Properties Configuration"/>';
	var tootipProperty = '<egui:intnl text="admin.test.Configure system properties"/>';
	var sysPropLbl = '<egui:intnl text="admin.test.System Properties"/>';
	var NoPropConfigured =  '<egui:intnl text="admin.test.Please configure system properties by clicking the Add button"/>';

	//Configure AWS Logon simulator
	var registrationCode = '<egui:intnl text="admin.test.Registration code"/>';
	var enterRegcode = '<egui:intnl text="admin.test.Please enter the registration code"/>';

	//upload corrective script
	//var label_Load = '<egui:intnl text= "admin.test.File to upload" />';
	var uploadFileMsg ='<egui:intnl text="A corrective script already exist for the chosen test"/>';
	var uploadFileMsg1 ='<egui:intnl text="A corrective script already exist for the chosen measure"/>';
	var uploadFileMsg2 ='<egui:intnl text="Do you want to overwrite"/>?';
	//var emptyMsg = '<egui:intnl text= "admin.test.Select a file to upload" />';
	var alertMsg ='<egui:intnl text="admin.common.Corrective script has been configured successfully"/>';
	//var cslabel3 = '<egui:intnl text="admin.header.Os Name"/>';
	var cslabel4 = '<egui:intnl text="admin.header.Operating system"/>';
	var cslabel5 = '<egui:intnl text="admin.header.Component type"/>';
	var cslabel6 = '<egui:intnl text="admin.header.Test name"/>';
	var cslabel7 = '<egui:intnl text="admin.header.Choose corrective script for"/>';

	//Configure Shared folders
	var sharefolderLbl1 = '<egui:intnl text="admin.test.Get latest shared folders"/>';
	var sharefolderLbl2 = '<egui:intnl text="admin.test.Remove from Associated Shared folders"/>';
	var sharefolderLbl3 = '<egui:intnl text="admin.test.Add to Associated Shared folders"/>';
	var sharefolderLbl4 = '<egui:intnl text="admin.test.CONFIGURE SHARED FOLDERS"/>';
	var sharefolderLbl5 = '<egui:intnl text="admin.test.Associated shared folders"/>';
	var sharefolderLbl6 = '<egui:intnl text="admin.test.Available shared folders"/>';
	var sharefolderLbl7 = '<egui:intnl text="admin.test.Possible reasons could be"/>';
	var sharefolderLbl8 = '<egui:intnl text="admin.test.Description"/>';

	//Horizon cloud POD multi user support
	var userNameLbl = '<egui:intnl text="admin.common.User name"/>';
	var domNameLbl = '<egui:intnl text="admin.common.Domain name"/>';
	var serNameLbl = '<egui:intnl text="admin.common.Connection server name"/>';
	var enterServname = '<egui:intnl text="admin.discovery.Please enter the connection server name"/>';
	var serverNameToolTip = '<egui:intnl text="admin.test.Configure connection server name"/>';
	var noConnectionServers = '<egui:intnl text="admin.test.Please configure connection servers by clicking the Add button"/>';
	var multiServersTitle = '<egui:intnl text="admin.test.CONFIGURATION OF CONNECTION SERVERS"/>';

	// wizard design starts...
	var fromWizard = '<%=fromWizard%>';
	var homeTitle = '<div>'+specificTestTitle+' <img src="/final/images/spacer.gif" id="homeTitle" class="iconInfoCircle " style="vertical-align:text-top;position:relative;top:2px"/></div>';
	var applyTitle = '<div>'+applyPageDesc+' <img src="/final/images/spacer.gif" id="applyTitle" class="iconInfoCircle " style="vertical-align:text-top;position:relative;top:2px"/></div>';


	// wizard design ends..

	//windows service configuration starts..
	var getServiceLabel = '<egui:intnl text="admin.test.Get Service"/>';
	var alreadyConfigMsgPart1 = '<egui:intnl text="admin.test.Service name"/> ';
	var alreadyConfigMsgPart2 = ' <egui:intnl text="admin.test.is already configured"/>';
	var addedServiceMsg = '<egui:intnl text="admin.test.Service name has been added successfully"/>. <egui:intnl text="admin.test.Would you like to add more service names"/>?';
	var serviceNameLabel = '<egui:intnl text="admin.test.Service name"/>';
	var blankServiceMsg = '<egui:intnl text="admin.test.Please provide a service name"/>';
	var notSelectMsg = '<egui:intnl text="admin.test.Please select the service names to delete"/>';
	var confirmDeleteMsg1 = '<egui:intnl text="admin.test.Are you sure you want to delete the selected service names"/>?';
	var confirmDeleteMsg2 = '<egui:intnl text="admin.test.Are you sure you want to delete the service name"/> ';
	var noSearchResult = '<egui:intnl text="admin.test.No service name found for your current search"/>.';
	var addedSameService = '<egui:intnl text="admin.test.You have configure more than one same service name"/> ';
	var addedSameService1 = '<egui:intnl text="admin.test.Please remove any one"/>';
	var serviceErrMsg1 = '<egui:intnl text="admin.test.Service name is not allowed in DBL(Chinese,Korean,Japanese),since manager is SingleByte"/>';
	//windows service configuration ends..

	//windows process configuration starts..
	var confirmDeleteMsg3 = '<egui:intnl text="admin.test.Are you sure you want to delete the selected process names"/>?';
	var confirmDeleteMsg4 = '<egui:intnl text="admin.test.Are you sure you want to delete the process name"/> ';
	var notSelectMsg1 = '<egui:intnl text="admin.test.Please select the process names to delete"/>';
	var processNameLabel = '<egui:intnl text="admin.test.Process name"/>';
	var processPatternLabel = '<egui:intnl text="admin.test.Process pattern"/>';
	var alreadyConfigProcessPart1 = '<egui:intnl text="admin.test.Process name"/>';
	var alreadyConfigProcessPart2 = '<egui:intnl text="admin.test.is already configured"/>';
	var alreadyConfigPattern = '<egui:intnl text="admin.test.Process pattern is already configured"/>';
	var addedProcessMsg = '<egui:intnl text="admin.test.Process name has been added successfully"/>. <egui:intnl text="admin.test.Would you like to add more process names"/>?';
	var updateChanges = '<egui:intnl text="admin.test.Do you want to update the changes"/>?';
	var patternErrorMsg1 = '<egui:intnl text="admin.test.Absolute path is not allowed in concise view for the process pattern"/>.';
	var patternErrorMsg2 = '<egui:intnl text="admin.test.Cannot have"/>'+ " '*' " +'<egui:intnl text="admin.test.in consecutive positions"/>';
	var patternErrorMsg3 = '<egui:intnl text="admin.test.Process name is not allowed in DBL(Chinese,Korean,Japanese),since manager is SingleByte"/>';
	var patternErrorMsg4 = '<egui:intnl text="admin.test.Process pattern is not allowed in DBL(Chinese,Korean,Japanese),since manager is SingleByte"/>';

	//windows process configuration ends..
	var addLabel = '<egui:intnl text="admin.common.Add"/>';
	var strDoubleByteMgr ='<%=isDoubleByteEnabled%>';
	var isDoubleByteMgr = false;
	
	var inputsRule = 2;
	var rulePageTitle = '<egui:intnl text="admin.test.CONFIGURE RULES" />';
	var ruleNameLbl = '<egui:intnl text="admin.test.Rule Name" />';
	var noRuleNameFilters = '<egui:intnl text="admin.test.Please configure rules by clicking the Add button" />';
	var addNewRuleLabel = '<egui:intnl text="admin.common.Add New Rule"/>';
	var btRuleGridPageDesc = '<egui:intnl text= "admin.test.Business Transaction Naming - Rule List" />';
	var btRulePageDesc = '<egui:intnl text= "admin.test.Business Transaction Naming - Rule Creation" />';
	var noBTRules = '<egui:intnl text="admin.test.There are no specific Business Transaction Naming Rules configured for this component"/>';
	var noBTRulesSelected = '<egui:intnl text="admin.test.There are no Business Transaction Naming Rules selected for deletion"/>';
	var businessTransNamingTitle = '<egui:intnl text="admin.test.Business Transaction Naming"/>';
	var btRulesGridTitle = '<div>'+btRuleGridPageDesc+'</div>';
	var deleteSelectedLabel = '<egui:intnl text="admin.test.Delete Selected"/>';
	var deleteRuleLabel = '<egui:intnl text="admin.test.Delete Rule"/>';
	var btRuleTitle = '<div>'+btRulePageDesc+'</div>';
	var editRuleLabel = '<egui:intnl text="admin.test.Edit Rule"/>';
	var confirmDeleteRule = '<egui:intnl text="admin.test.Are you sure you want to delete the rule?"/>';
	var onlyNumber = '<egui:intnl text="admin.test.Field Value can only be a Number"/>';
	var onlypositive = '<egui:intnl text="admin.test.Field Value can not be less than 1 "/>';
	var btnRules = '<egui:intnl text="admin.test.BUSINESS TRANSACTION NAMING RULES" />';
	
	if (!Ext.isEmpty(strDoubleByteMgr) && strDoubleByteMgr.toLowerCase() == 'true')
	{
		isDoubleByteMgr = true;
	}

	var SNMPUtilTitle = '<egui:intnl text="admin.title.SNMP UTILITY"/>';
	var SNMPUtilDesc = '<egui:intnl text="This page enables the administrator to execute SNMP walk/Subtree command"/>';
	var screenLabelMsg1 = '<egui:intnl text="admin.snmp.Host IP"/>';
	var screenLabelMsg2 = '<egui:intnl text="admin.snmp.SNMP port"/>';
	var screenLabelMsg3 = '<egui:intnl text="admin.snmp.SNMP version"/>';
	var screenLabelMsg4 = '<egui:intnl text="admin.snmp.SNMP community"/>';
	var screenLabelMsg5 = '<egui:intnl text="admin.snmp.Context"/>';
	var screenLabelMsg6 = '<egui:intnl text="admin.snmp.Username"/>';
	var screenLabelMsg7 = '<egui:intnl text="admin.snmp.Auth password"/>';
	var screenLabelMsg8 = '<egui:intnl text="admin.Confirm auth password"/>';
	var screenLabelMsg9 = '<egui:intnl text="admin.Auth type"/>';
	var screenLabelMsg10 = '<egui:intnl text="admin.Encryption enabled"/>';
	var screenLabelMsg11 = '<egui:intnl text="admin.Encryption type"/>';
	var screenLabelMsg12 = '<egui:intnl text="admin.Encryption password"/>';
	var screenLabelMsg13 = '<egui:intnl text="admin.Confirm encryption password"/>';
	var screenLabelMsg14= '<egui:intnl text="admin.snmp.Data over TCP"/>';
	var screenLabelMsg15= '<egui:intnl text="admin.snmp.OID"/>';
	var screenLabelMsg16= '<egui:intnl text="admin.snmp.External agent"/>';
	var screenLabelMsg18= '<egui:intnl text="admin.snmp.Timeout"/>';
	var screenLabelMsg19= '<egui:intnl text="admin.snmp.Get Subtree"/>';
	var screenLabelMsg20= '<egui:intnl text="admin.snmp.SNMP Walk"/>';
	var screenLabelMsg21= '<egui:intnl text="admin.snmp.SNMP Parameters"/>';
	var screenLabelMsg22= '<egui:intnl text="admin.snmp.Get Subtree Output"/>';
	var screenLabelMsg23= '<egui:intnl text="admin.snmp.SNMP walk output"/>';

	var alertMsg01 = '<egui:intnl text="admin.common.File name is not allowed in DBL(Chinese,Korean,Japanese)"/>';
	var alertMsg02 = '<egui:intnl text="admin.common.Please choose the file by clicking the browse button"/>';
	var alertMsg03 = '<egui:intnl text="admin.ic.The selected file already exist"/>'+'. '+'<egui:intnl text="admin.ic.Do you want to replace the file?"/>';
	var alertMsg04 = '<egui:intnl text="admin.common.Upload MIB file extensions should be either *txt or *mib"/>';
	var alertMsg05 = '<egui:intnl text="admin.common.Please enter valid Host IP"/>';
	var alertMsg06 = '<egui:intnl text="admin.common.Please enter SNMP port"/>';
	var alertMsg07 = '<egui:intnl text="admin.common.Please enter SNMP community string"/>';
	var alertMsg08 = '<egui:intnl text="admin.common.Please enter context value"/>';
	var alertMsg09 = '<egui:intnl text="admin.common.Please enter valid username"/>';
	var alertSnmpMsg10 = '<egui:intnl text="admin.common.Please enter the auth password"/>';
	var alertSnmpMsg11 = '<egui:intnl text="admin.common.Please enter the confirm auth password"/>';
	var alertSnmpMsg12 = '<egui:intnl text="admin.common.Passwords do not match"/>';
	var alertSnmpMsg13 = '<egui:intnl text="admin.common.Please enter valid OID"/>';
	var alertSnmpMsg14 = '<egui:intnl text="admin.common.Please enter the encryption password"/>';
	var alertSnmpMsg15 = '<egui:intnl text="admin.common.Please enter the confirm encryption password"/>';
	var alertSnmpMsg16 = '<egui:intnl text="admin.common.Request has been processed successfully"/>';
	var alertSnmpMsg17 = '<egui:intnl text="admin.common.Not able to upload the selected MIB file"/>'; 
	var alertSnmpMsg18 = '<egui:intnl text="admin.common.Please try again"/>';
	var mibJSON = '';

	// Custom name for Application
	//var inputsCust = 2;
	var customNameTitle = '<egui:intnl text="admin.discovery.Custom Application Naming"/>';
	var tootipCustomizeName = '<egui:intnl text="admin.discovery.Configure Email and Password"/>';
	var doubleByteMsg = '<egui:intnl text="admin.user.E-mail ID is not allowed in DBL(Chinese,Korean,Japanese)"/>';
	var ruleNameMsg1 = '<egui:intnl text="admin.mail.Please enter a valid rule name"/>';
	var ruleNameMsg2 =  '<egui:intnl text="admin.user.Duplicate rule name is not allowed"/>';
	var webNameMsg1 = '<egui:intnl text="admin.mail.Please enter a valid website name"/>';
	var webNameMsg2 =  '<egui:intnl text="admin.user.Duplicate website name is not allowed"/>';
	var appNameMsg1 = '<egui:intnl text="admin.mail.Please enter a valid website name"/>';
	var appNameMsg2 =  '<egui:intnl text="admin.user.Duplicate website name is not allowed"/>';
	var custNameMsg1 = '<egui:intnl text="admin.mail.Please enter a valid website name"/>';
	var custNameMsg2 =  '<egui:intnl text="admin.user.Duplicate website name is not allowed"/>';
	var splCheckMsg1 =  '<egui:intnl text="admin.user.One Application name in a Site should not have more than one rule"/>';
	var splCheckMsg1 =  '<egui:intnl text="admin.user.One Application name in a site should not have more than one rule"/>';
	var splCheckMsg2 =  '<egui:intnl text="admin.user.More than one application in a site should not have same custom name"/>';
	var NoCustomConfigured =  '<egui:intnl text="admin.user.Please configure customization for applicationss by clicking the Add button"/>';

	Ext.onReady(function(){
		Ext.Ajax.extraParams = {"com.eg.CSRF_NONCE" : csrfToken};
		Ext.data.Connection.prototype.extraParams = {"com.eg.CSRF_NONCE" : csrfToken};
		Ext.data.ScriptTagProxy.prototype.extraParams = {"com.eg.CSRF_NONCE" : csrfToken};

		Ext.Ajax.on('requestexception', function (conn, response, options) {
			var errorStr = response.responseText;
			console.log('response.timedout  : '+response.timedout);
			console.log('response.status  : '+response.status);
			if (errorStr != undefined && errorStr != 'undefined' && errorStr.indexOf("customerror") != -1)
			{
				if (errorStr.indexOf("user-session-invalid") != -1)
				{
					callWindow(1);
				}
				else if (errorStr.indexOf("user-deleted") != -1)
				{
					callWindow(2);
				}
				else if (errorStr.indexOf("user-timedout") != -1)
				{
					callWindow(3);
				}
			}
			else
			{
				if (response.status == 302 || (response.timedout != undefined && response.timedout == true))
				{
					Ext.Msg.show({
						title : errorTitle,
						msg : requestTimeOut,
						buttons : Ext.Msg.OK,
						icon : 'iconError'
					});
				}
				else
				{
					console.log(response.responseText);
					Ext.Msg.show({
						title : errorTitle,
						msg : probsErrorMessage,
						buttons : Ext.Msg.OK,
						icon : 'iconError'
					});
				}
			}
		});
	});
</script>
	<script src="/final/jquery/jquery.js"></script>
	<script language="JavaScript" src="eg_scripts/testvalidate.js"></script>
	<script language="JavaScript" src="eg_scripts/validate.js"></script>
	<script language="JavaScript" src="eg_scripts/eg_credentialsvalidate.js"></script>
	<script language="JavaScript" src="/final/scripts/utilities/EncodeDecodeParams.js"></script>
	<script language="javascript" src="/final/admin/eg_scripts/common.js"></script>
	<script language="javascript" src="/final/admin/eg_scripts/eg_testparamsvalidate.js"></script>
	<script language="javascript" src="/final/admin/eg_scripts/ajaxutils.js"></script>
	<script language="JavaScript1.2" src="../scripts/<%=script_src%>"></script>
	<script language="JavaScript" src="eg_scripts/eg_validate.js"></script>
	<!-- Application folder -->
	<script type="text/javascript" src="SpecificTestConfiguration/app/app.js"></script>
</body>
</html>

<%
	if (StringUtils.isNull(fromWizard))
	{
		if(request.getQueryString()!=null)
		{
			session.setAttribute("adminLastAccessedURL","/final/admin/EgSpecificTestConfiguration.jsp?"+request.getQueryString());
		}
		else
		{
			session.setAttribute("adminLastAccessedURL","/final/admin/EgSpecificTestConfiguration.jsp");
		}
	}
%>



