<html style="overflow:hidden">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<title><WC@TITLE>%4 [%3]</WC@TITLE></title>
    	<link rel="icon" href="/connect/theme/images/images/Census.ico" type="image/ico">

    	<!--MqRelPath--><link rel="stylesheet" type="text/css" href="/connect/theme/css/censusmain.css"/><!--/MqRelPath--><!--MqAbsPath><link rel="stylesheet" type="text/css" href="<BASE_VD>/theme/css/censusmain.css"/></MqAbsPath-->
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
  
		<!-- The Order must not be changed. -->
		<!-- Constants scripts -->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqsysutils.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqsysutils.js" ></script></MqAbsPath-->

		<script type="text/javascript">
			if (g_MqRef.RESX){
				g_MqRef.ResMgr.LoadViewRes("/connect/<WC@CURRENT_VIEW></WC@CURRENT_VIEW>");

			}
		</script>
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/frameconstants.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/frameconstants.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/constants.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/constants.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/constantstimeout.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/constantstimeout.js" ></script></MqAbsPath-->
		
		<!-- Object scripts -->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqwebsessionurl.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqwebsessionurl.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqvecwebsession.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqvecwebsession.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/window.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/window.js" ></script></MqAbsPath-->
        <!--MqRelPath--><script type="text/javascript" src="/connect/js/controlsaction.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/controlsaction.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/controlsui.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/controlsui.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/controlsss.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/controlsss.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/frames.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/frames.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/status.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/status.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/features.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/features.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/customcode.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/customcode.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cookies.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cookies.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/preferences.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/preferences.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/dependentfields.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/dependentfields.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/scc/sourcecodecontrol.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/scc/sourcecodecontrol.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqhttprequest.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqhttprequest.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqsysmsg.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqsysmsg.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/cmqworkflowrules.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/cmqworkflowrules.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqrecord.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqrecord.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/scc/errorscc.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/scc/errorscc.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqdialogform.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqdialogform.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqcollectionobjects.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqcollectionobjects.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqstring.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqstring.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/mqtabs.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/mqtabs.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqformelements.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqformelements.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqrecordset.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqrecordset.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqviewfields.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqviewfields.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqloaddata.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqloaddata.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/xml.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/xml.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqreportviewer.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqreportviewer.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqlist.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqlist.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqvipadptr.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqvipadptr.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqchgmgr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqchgmgr.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqrelissue.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/cmqrelissue.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/initrelissue.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/initrelissue.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqrelissueadptr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqrelissueadptr.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/MqEmbeddedReport.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqembeddedreport.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqsetfldvaladptr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqsetfldvaladptr.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/quicklinks.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/quicklinks.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/themes.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/themes.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqroleadptr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqroleadptr.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqcondaction.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqcondaction.js" ></script></MqAbsPath-->			
		<!--MqRelPath--><script type="text/javascript" src="../js/reports.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/reports.js"></script></MqAbsPath-->	
		
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/MqOpenReportAdptr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/MqOpenReportAdptr.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqslddmgr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqslddmgr.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqsubmitadptr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqsubmitadptr.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqinvasset.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqinvasset.js" ></script></MqAbsPath-->	
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqlookupitemint.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqlookupitemint.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/initlookupitemint.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/initlookupitemint.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqsummarylist.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqsummarylist.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqattachments.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqattachments.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqalert.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqalert.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqfilteredlist.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqfilteredlist.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/vnreportmanager.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/vnreportmanager.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/cmqcommandbar.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqcommandbar.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqcheckinoutext.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqcheckinoutext.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqpurchasesext.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqpurchasesext.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/vnviewloader.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/vnviewloader.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqlineitemadptr.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqlineitemadptr.js" ></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/mqprintinvadptr.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqprintinvadptr.js"></script></MqAbsPath-->				
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/MqActivityLogVisibleToCustAdptr.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/MqActivityLogVisibleToCustAdptr.js"></script></MqAbsPath-->				
		
		<!--MqRelPath--><link rel="stylesheet" href="/connect/js/jquery/jquery.ui.all.css"><!--/MqRelPath--><!--MqAbsPath><link rel="stylesheet" href="<BASE_VD>/js/jquery/jquery.ui.all.css"></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery-1.7.1.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery-1.7.1.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.bgiframe-2.1.2.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.bgiframe-2.1.2.js"></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.core.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.core.js"></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.widget.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.widget.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.mouse.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.mouse.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.draggable.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.draggable.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.position.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.position.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.resizable.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.resizable.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/jquery/jquery.ui.dialog.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.dialog.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/VNAssets.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/VNAssets.js"></script></MqAbsPath-->
		<script>
			history.pushState(null, document.title, location.href);
			window.addEventListener('popstate', function (event)
			{
				history.pushState(null, document.title, location.href);
			});
		</script>
		
		<link rel="stylesheet" type="text/css" href="/connect/js/jquery/bootstrap3.3.7/css/bootstrap.min.css"  />	
		<link rel="stylesheet" type="text/css" href="/connect/js/jquery/jquery-confirm.min.css"  />	
		<script type="text/javascript" src="/connect/js/jquery/jquery-confirm.min.js"></script>

		<script type="text/javascript">
			// always define this object for the system messages
			var objSysMsg = new CMqSysMsg();
			var objCookie= new MqCookies();
			var objStatus=new MqStatus();
			var objCustomCode=new MqCustomCode();
			var objControlsUi=new MqControlsUi();	
			var objControlsSs= new MqControlsServerSide();
			var objPref= new MqPreferences();
			var objFeatures=new MqFeatures();
			var objScc= new MqScc();
			var strClassToolbarbuttonHover;
			var objRequest=new CMqHTTPRequest_js();
			var objDialogForms=new CMqCollectionObjects();			
			var m_objDisplayElements=new CMqDisplayElements();
			var objString=new CMqString();
			var m_objReportViewer;
			var m_objEmbeddedReport = new CMqEmbeddedReport();
			var m_objDefVals = new CMqDefVals();
			var m_varDefVals=m_objDefVals.GetDefVals();
			var m_objCustomSetVals;
			var m_objLookupItemInfoObjects=new Array();
			var m_objMacros=new CMqMacros();
			var m_objLookupItemInfoColl=new Array();
			var m_strMainScreenWidth;
			var m_strMainScreenHeight;
			var m_blnShowCopyright=true;
			var m_blnShowCloseDlgButton=false;

			function GetDocumentSize(){
				setTimeout('m_strMainScreenWidth = GetDocWidth(); m_strMainScreenHeight = GetDocHeight();',2000);
			}
			//private property refer to the Record form object 			
			var mfrmRecord ;
			
			var m_objLoadDataViewActions =new CMqLoadDataViewActions();
			
			var g_VWS=new VecWebSession();
			var g_VNLibs=window;

			g_VWS.Init(g_MqRef.MqStr.MqDecodeURI("<WC@CURRENT_VD></WC@CURRENT_VD>"), 
							g_MqRef.MqStr.MqDecodeURI("<WC@MAIN_VD></WC@MAIN_VD>"),
							document, this);

			// Backwards compatibility	
			var mstrCurrentVDName="";	
			var mstrBaseVDName="";
			
			if(g_VWS.URL){	
				mstrCurrentVDName=g_VWS.URL().CurrentVDName();
				mstrBaseVDName=g_VWS.URL().BaseVDName();
				objCookie.MainVD=mstrBaseVDName;
			}
			
			objCookie.SetMainCookieValue("<WC@MAIN_COOKIE_VALUE></WC@MAIN_COOKIE_VALUE>");
			
			var m_lngProjID="<WC@CURRENT_PROJ_ID></WC@CURRENT_PROJ_ID>";

			var mstrCurrentViewFolder="<WC@CURRENT_VIEW></WC@CURRENT_VIEW>";
			
			var m_strTheme="/connect/theme/css/CensusMain.css";
			var m_strTheme1="";
			
			var m_strImagesFolder = "/connect/theme/images/images/";
			
			var m_strCurrentUser="<WC@USER_NAME></WC@USER_NAME>";
			var m_strCurrentUserID="<WC@USER_ID></WC@USER_ID>";
			var m_strCurrentUserFullName="<WC@USER_FULL_NAME></WC@USER_FULL_NAME>";
			var m_strNumVisibleTabs="<WC@NUM_VISIBLE_TABS></WC@NUM_VISIBLE_TABS>";
			var m_blnSLRefresh_StayOnCurrentPage="<WC@SLREFRESH></WC@SLREFRESH>";
			
			var m_blnCREnabled;
			var m_arrPrevRecVals=new Array();

			var m_objMqButton=new MqButton();
			
			var objFrames=new MqFrames();
			
			var g_objRelIssueCol=new CMqRelIssueCol();
			InitRelIssues(g_objRelIssueCol);
			
			var m_blnSkipHiddenFields=false; //can be set from viewconstants.js
			
			var mblnForceSLRefresh=false;
			
			var mblnRO=false; //can be set from viewconstants.js
    	</script>
		
		<!-- Functions scripts -->
		<!-- The Order must not be changed for the functions scripts -->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/Controls.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/Controls.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/State.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/State.js" ></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/Censusmain.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/Censusmain.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="/connect/js/scc/errorSCC.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/scc/errorSCC.js" ></script></MqAbsPath-->		
		<!--MqRelPath--><script type="text/javascript" src="../Users/Users/MqDefaultValues.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/Users/Users/MqDefaultValues.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../Users/<WC@USRDEFVAL></WC@USRDEFVAL>/MqDefaultValues.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/Users/<WC@USRDEFVAL></WC@USRDEFVAL>/MqDefaultValues.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/MqBanner.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/MqBanner.js"></script></MqAbsPath-->
		<!--MqRelPath--><script type="text/javascript" src="../js/viewconstants.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/viewconstants.js" ></script></MqAbsPath-->
		
		<!-- Initialization script --> 
		<script type="text/javascript">
				
			var mstrCurrentLocation=g_MqRef.MqFS.GetCurrentLocation(window);
			var obrowser = CMqBrowserDetector();
			var m_MblBool = g_MqRef.MqBrowser.mobile;
			var m_objRef = this;
			
			if (obrowser) {
				if(obrowser.ie && (obrowser.minor == 7 || obrowser.minor == 8)){
					strClassToolbarbuttonHover = 'ToolbarButton ToolbarButtonHoverIE';
				}else{
					strClassToolbarbuttonHover = 'ToolbarButton ToolbarButtonHover';
				}
			}
			var mblScaleMeta = document.createElement('meta');
			mblScaleMeta.name = 'viewport';
			mblScaleMeta.content = 'user-scalable=0';
			
			if(m_MblBool) {
				document.getElementsByTagName('head')[0].appendChild(mblScaleMeta);
			}
			
			var Ver4 = parseInt(navigator.appVersion) >= 4;
			var Nav4 = ((navigator.appName == "Netscape") && Ver4);
			var IE4  = ((navigator.userAgent.indexOf("MSIE") != -1) && Ver4);				
			var Ver6=parseInt(navigator.appVersion) >= 5;		
			var Nav6=((navigator.appName == "Netscape") && Ver6);
			objDialogForms.setObjectClassName(DIALOG_FORM_CLASS);
			
			// Initialize fields, load data & worflows. Pass InitDeclaredBizRules for workflow editor-generated rules
			g_VWS.InitFields("<WC@XMLFIELDS></WC@XMLFIELDS>","<WC@REVISION_FIELD_ID></WC@REVISION_FIELD_ID>", m_MqAutoList, 
							m_objDisplayElements, InitDeclaredBizRules);

			// Backwards compatibility			
			var m_objLoadDataMgr=g_VWS.LoadDataMgr();	
			var m_objViewFields= g_VWS.ViewFields();			
			var m_objWorkFlow=g_VWS.WorkflowMgr();
			
			objCustomCode.SetViewFields(g_VWS.ViewFields());

			//no rec, existing rec, new rec
			m_objLoadDataMgr.SetEnFldsPerMode([0,<Mq:EnFlds_Update>,1]);
			m_objLoadDataMgr.SetEnableIfHasValPerMode([1,<Mq:EnIfHasVal_Update>,1]);
			
			m_objLoadDataMgr.SetSkipHiddenFieldsOnSave(m_blnSkipHiddenFields);			
			
			var objRecord = new CMqRecord(this, objControlsSs, objFrames, m_objLoadDataMgr);

			//**** Start WV Attributes *********

			var m_strLoadAnyIssue="<Mq:WVAtt_9>";
			var m_lngSLReloadInterval="<Mq:WVAtt_16>";
			
			var m_blnSkipHiddenFields=false; //can be set from viewconstants.js
			//**** End WV Attributes *********
			
			//**** Start Global Attributes *********
			var m_strFullNameFieldIDs="<Mq:GlblAtt_311>";
			var m_strFullNameFormat="<Mq:GlblAtt_312>";
			var m_strFullNameID=<Mq:GlblAtt_313>;
			
			var m_strHoursStartDateCheck = "<Mq:GlblAtt_415>";
			var m_strEmailPattern = "<Mq:GlblAtt_416>";
			var m_strEmailPatternReplace = "<Mq:GlblAtt_417>";
			var m_strEmailPatternFieldIDs = "<Mq:GlblAtt_419>";
			var m_strLogonNamePattern = "<Mq:GlblAtt_420>";
			var m_strLogonNamePatternReplace = "<Mq:GlblAtt_421>";
			var m_strLogonNamePatternFieldIDs = "<Mq:GlblAtt_422>";
			//**** End Global Attributes *********
			
			mblnIsUserView=<Mq:IsUserView>;
			
			var m_lngLoadAnyIssue=0;
			
			if(DEFAULT_TABS == 0)
			{
				objRecord.Tabs().Visible = false;
			}
			
			if(m_strLoadAnyIssue==WV_ATTRIB_VAL_YES){
				m_lngLoadAnyIssue=1;
			}
			
			var objControls= new MqControlsAction(m_lngLoadAnyIssue, g_VWS.SummaryList());
			
			var False = false;
			var True = true;
			var context; 
			var RecordBeingUpdated = 2;
			var RecordIsNotUpdateable = 0;
			var QueryIsEmpty = 3;
			var strTextAreaValue;
			var timeOutID;
			var AlreadyEditing = 0;
			var msg;
			var delay = 600;
			var timerId;
			var maxCount = 0;
			var currCount = 1;
			var cwLoaded = true;
			
			var m_strCheckedFields="";
			var m_strCheckedTests="";
			var m_strCheckedVals="";
			var m_strCheckedRetains="";

			var objVNViewLoader=new VNViewLoader(document, this, window);
			
			//load any views in a few seconds after the main view loads
			window.setTimeout("objVNViewLoader.LoadViews()", 3000);


			function Frameset_OnLoad()
			{				
					
				m_objReportViewer=new CMqReportViewer();
			
				var COOKIE_NUM_VISIBLE_TABS="NumVisibleTabs";
				var strNumVisibleTabs = "<WC@COOKIE_NUM_VISIBLE_TABS></WC@COOKIE_NUM_VISIBLE_TABS>";
				var strFramesetCookieVal = "<WC@COOKIE_FRAMESET></WC@COOKIE_FRAMESET>";				
				
				if (!objFeatures.getFeature(FEATURE_SUBMIT) && !objFeatures.getFeature(FEATURE_FAQ_VIEW)){	
					objCookie.SetCookieProp(objCookie.GetMainCookieName(), COOKIE_NUM_VISIBLE_TABS, strNumVisibleTabs);	
					objCookie.SetCookieProp(objCookie.GetMainCookieName(), COOKIE_FRAMESET, strFramesetCookieVal);
				}
				
				var strUserName=m_strCurrentUser;
				if (!objFeatures.getFeature(FEATURE_NOLONGONSCREEN)){	
					objCookie.SetCookieProp(objCookie.GetMainCookieName(), "CensusLogonInfo", strUserName);
				}
				var oSLSearch=g_VWS.SummaryList().SLSearch();
				if (oSLSearch.FocusOnLoad)
				{
					oSLSearch.SetFocus();
				}
				
			}
			function MobileRecord() {
				if(m_MblBool && g_MqRef.MqBrowser.mac){
					var iOSiFrameFixCSS = document.createElement('style');
					iOSiFrameFixCSS.type = 'text/css';
					iOSiFrameFixCSS.innerHTML = 'div#loadRec { -webkit-overflow-scrolling:touch; overflow:auto; }';
					document.getElementsByTagName('head')[0].appendChild(iOSiFrameFixCSS);
				}
				if(m_MblBool && g_MqRef.MqBrowser.linux){
					var androidCSSFix = document.createElement('style');
					androidCSSFix.type = 'text/css';
					androidCSSFix.innerHTML = '.ui-dialog {top: 0px !important; left: 0px !important; width:100% !important; height:100% !important;} #dialog-modal {height:100% !important;}';
					document.getElementsByTagName('head')[0].appendChild(androidCSSFix);
				}
				if(m_MblBool){
					document.getElementById('loadRec').style.zIndex = "1004";
				}
			}
			function Frameset_Onresize()
			{



				SetFrameHeights();
				objRecord.Resize();
			}
		
		
			function exit(bSysMsg)
			{
				
				objControlsSs.exit(bSysMsg);
			}
			
			var intMaxRecordPerPage=25;
			
			var intframecount = objFrames.GetCount();
			var arrBusy = new Array(intframecount)
			ResetState();
			
			var intArrayOfFrameSizes = new Array(intframecount);
			
			// Features Init
			var lngFeatures=0;
			lngFeatures=<WC@FEATURES></WC@FEATURES>;
			
			objFeatures.setFeatures(lngFeatures);
			if ((lngFeatures & FEATURE_READONLY)==FEATURE_READONLY){
				objControlsUi.SetReadOnly(true);
			}else{
				if(mblnRO){
					objControlsUi.SetReadOnly(true);
				}
			}
			
			var objTabsMgr= new CMqTabsMgr;

			if(typeof(mblnAllTabsTogether)=="undefined"){
				mblnAllTabsTogether=false;
			}
			
			if (((lngFeatures & FEATURE_TABS)!=FEATURE_TABS) || (document.layers) || (mblnAllTabsTogether)){
				objTabsMgr.SetIsSharedTabSource(false);
			}else{
				objTabsMgr.SetIsSharedTabSource(true);
			}
			
			function HidePopupIFra(strFraName)
			{
				if(!strFraName){
					strFraName="ifraPopupCtnr";
				}
				var objFra=document.getElementById(strFraName);
			
				if(objFra){
					objFra.src="blank.htm";
					objFra.style.visibility="hidden";
				}
			}
			
			var m_objSLInput=new CMqSummaryListInput(objFrames);
			var m_objSLDD;
			
			if(typeof(m_blnDDInSL)!="undefined"){
				if(m_blnDDInSL){
					m_objSLDD=new MqSLDrillDown(this, "<F.ID:Item Level>");
				}
			}else{
				m_blnDDInSL=false;
			}
			var m_objSLMgr=new CMqSummaryListMgr(m_objSLInput, objFrames, m_blnDDInSL, mstrCurrentViewFolder, m_objSLDD, this);
			

			function SetFrameHeights()
			{
				var intBodyHeight=$(window).height();				
				var DEFAULT_TABS_HEIGHT = 30;
				var DEFAULT_TOP_WINDOW_HEIGHT = 103;
				//Its the total height value of the Wizard box (80px) + its borders (3px) + its margin (2*10px)
				var DEFAULT_REC_TOP_VALUE = DEFAULT_TABS_HEIGHT + DEFAULT_TOP_WINDOW_HEIGHT;
				var intSLHeight = DEFAULT_SUMLIST;
				var intRecHeight = DEFAULT_RECORD;
								
				if(intSLHeight==-1){
					intSLHeight=intBodyHeight-DEFAULT_TOPTOOLBAR-DEFAULT_TOOLBAR-DEFAULT_TOOLBARB-DEFAULT_SUMLISTHEADER;
					
					if(m_MblBool){
						intSLHeight = intSLHeight-50-40-30-90;
					}
				}
				
				if(intRecHeight==-1){
					var recFrame = document.getElementById("mbliOSRec");
					if(objRecord.Tabs().Visible==false)
					{
						var recFrame = document.getElementById(RECORD_FRAME_NAME);
						if(parseInt(recFrame.style.top) == DEFAULT_REC_TOP_VALUE){
							recFrame.style.top = (parseInt(recFrame.style.top) - DEFAULT_TABS_HEIGHT) + "px";
						}
						recFrame.style.borderTopStyle = "solid";
						recFrame.style.borderTopColor = "rgb(204,204,204)";
					}
					intRecHeight=intBodyHeight-75-DEFAULT_TABS-DEFAULT_COMMANDBAR-DEFAULT_LOADDATA;
				}
				if(m_MblBool == true) {
					var arrFrames=new Array(TOPTOOLBAR_FRAME_NAME,TOOLBAR_FRAME_NAME,SQE_FRAME_NAME,TOOLBARB_FRAME_NAME,SUM_LIST_HEADER_FRAME_NAME,SUMMARY_LIST_FRAME_NAME,
											TABS_FRAME_NAME,RECORD_FRAME_NAME,COMMANDBAR_FRAME_NAME,LOADDATA_FRAME_NAME);
					var arrFrameHeights=new Array(150,DEFAULT_TOOLBAR,0,DEFAULT_TOOLBARB,DEFAULT_SUMLISTHEADER,intSLHeight,
											DEFAULT_TABS,intRecHeight,DEFAULT_COMMANDBAR,DEFAULT_LOADDATA);
				} else {
					var arrFrames=new Array(TOPTOOLBAR_FRAME_NAME,TOOLBAR_FRAME_NAME,SQE_FRAME_NAME,TOOLBARB_FRAME_NAME,SUM_LIST_HEADER_FRAME_NAME,SUMMARY_LIST_FRAME_NAME,
											TABS_FRAME_NAME,RECORD_FRAME_NAME,COMMANDBAR_FRAME_NAME,LOADDATA_FRAME_NAME);
					var arrFrameHeights=new Array(DEFAULT_TOPTOOLBAR,DEFAULT_TOOLBAR,0,DEFAULT_TOOLBARB,DEFAULT_SUMLISTHEADER,intSLHeight,
											DEFAULT_TABS,intRecHeight,DEFAULT_COMMANDBAR,DEFAULT_LOADDATA);
				}
				
				for(var x=0; x<arrFrames.length; x++){
					var objFrame=document.getElementById(arrFrames[x]);
					
					if(objFrame){
						objFrame.style.height=arrFrameHeights[x]+"px";
					}
				}
			
			}
			function SideMenuMobileToggle () {
				if(document.getElementById('mblSideMenu').style.display == "block") {
					document.getElementById('mblSideMenu').style.display = "none";
					document.getElementById('clickDetector').style.display = "none";
				} else {
					document.getElementById('mblSideMenu').style.display = "block";
					document.getElementById('clickDetector').style.display = "block";
				}
			}
			function HideMblMenu() {
				if(document.getElementById('mblSideMenu').style.display == "block") {
					document.getElementById('mblSideMenu').style.display = "none";
					document.getElementById('clickDetector').style.display = "none";
				}
				var m_optMenu = parent.document.getElementById("OptnsDropDown");
				if(m_optMenu.style.display == "table") {
					m_optMenu.style.display = "none";
					document.getElementById('clickDetector').style.display = "none";
				}
			}
		</script>
		
		<!--MqRelPath--><script type="text/javascript" src="../js/customsettings.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/<VIEW_FOLDER>/js/customsettings.js"></script></MqAbsPath-->

	</head>

	<body onload="Frameset_OnLoad()" onunload="objControlsSs.onWindowUnload();" onbeforeunload="return objControlsSs.BeforeExit();" onresize="Frameset_Onresize()">

		<iframe id="ifraPopupCtnr" name="ifraPopupCtnr" src="blank.htm" style="position:absolute;visibility:hidden;width:0px;height:0px;padding:0px;z-index:10;border:2px ridge #BDBECE"></iframe>
		<iframe name="TopToolbar2" id="TopToolbar2" src="TopToolbar.asp?" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width: 100%; padding-top:3px;"></iframe>
		<iframe name="ToolBar" id="ToolBar" src="ToolBar.asp?" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width: 100%;" class="toolBariFrame"></iframe>
		<iframe name="SQE" id="SQE" src="SQE.asp?Simple=1" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width: 100%;"></iframe>
		<iframe name="ToolbarB" id="ToolbarB" src="ToolbarB.htm" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width: 100%; background-color:rgba(255,255,255,0.75)"></iframe>
		<iframe name="SumListHeader" id="SumListHeader" src="Loading.htm" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width: 100%;"></iframe>
		<div id="mbliOSSumList">
			<iframe name="SummaryList" id="SummaryList" src="blank.htm" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width: 100%;" class="iFrameSL"></iframe>
		</div>
		<a class="mblSideMenuBtn" id="mblSideMenuBtn" onclick="SideMenuMobileToggle()"></a>
		<div id="clickDetector" style="width:100%; height:100%; position:absolute; top:0; left:0; display:none;" onclick="HideMblMenu()"></div>
		<div id="mblSideMenu" class="mblSideMenu" style="display:none;"></div>
		<div>
			<table class="optionsMenu" id="OptnsDropDown" name="OptnsDropDown" style="display:none;">
				<WC@SECURED_FEATURE_110>
					<tr width="100%" height="65px">
						<td class="">
							<div class="ToolbarButton" id="cmdHomepage" name="cmdHomepage" onmouseover="this.className = strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="objControlsSs.SwitchView();" style="width:100% !important; padding-top:3px;">
								<table width="100%" border="0">
									<tr>
										<td class="ToolbarButtonImg" width="30%"><img style="width:44px;" src="/connect/theme/images/images/home.png" /></td>
										<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write(g_MqRef.RESX["TTOOLBAR.HOME"]);//CAPTION_OPTIONS_BUTTON);</script></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</WC@SECURED_FEATURE_110>
			
				<WC@SECURED_FEATURE_17>
				<tr width="100%" height="65px" class="mblHide">
					<td class="">
						<div class="ToolbarButton" id="cmdReports" name="cmdReports" onmouseover="this.className=strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="OpenReportViewer(FEATURE_NORMAL_REPORT_VIEWER);" style="width:100% !important; padding-top:3px;" >
							<table width="100%" border="0">
								<tr>
									<td class="ToolbarButtonImg" width="30%"><img style="width:44px;" src="/connect/theme/images/images/reports.png" /></td>
									<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write(CAPTION_REPORTS_BUTTON);</script></td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
				</WC@SECURED_FEATURE_17>
				
				<WC@SECURED_FEATURE_100>
					<tr width="100%" height="65px" class="mblHide">
						<td class="">
							<div class="ToolbarButton" id="cmdEmailQueue" name="cmdEmailQueue" onmouseover="this.className=strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="OpenEmailQueueWindow('wcMailInt.ASP?WCI=wciEmailQueue', 'dlgQueue');" style="width:100% !important; padding-top:3px;">
								<table width="100%" border="0">
									<tr>
										<td class="ToolbarButtonImg" width="30%"><img style="width:44px;" src="/connect/theme/images/images/inbox.png" /></td>
										<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write(CAPTION_QUEUE_BUTTON);</script></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</WC@SECURED_FEATURE_100>
				
				<WC@SECURED_FEATURE_26>
					<tr width="100%" height="65px" class="mblHide">
						<td class="">
							<div class="ToolbarButton" id="cmdPassword" name="cmdPassword" onmouseover="this.className=strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="OpenPasswordWindow('../../admin/Default_Admin/HTML/UsersMgr/WCCMqUserMgr.asp?WCI=ChangePassword','dlgPassword');" style="width:100% !important; padding-top:3px;">
								<table width="100%" border="0">
									<tr>
										<td class="ToolbarButtonImg" width="30%"><img style="width:44px;" src="/connect/theme/images/images/password.png" /></td>
										<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write(CAPTION_PASSWORD_BUTTON);</script></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</WC@SECURED_FEATURE_26>
				
				<WC@SECURED_FEATURE_85>
					<tr width="100%" height="65px" class="mblHide">
						<td class="">
							<div class="ToolbarButton" id="cmdDefaults" name="cmdDefaults" onmouseover="this.className=strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="OpenDefaultValuesWindow('MqDefValues.asp?wci=wciMain','dlgDefaultValues');" style="width:100% !important; padding-top:3px;">
								<table width="100%" border="0">
									<tr>
										<td class="ToolbarButtonImg" width="30%"><img style="width:44px;" src="/connect/theme/images/images/defaults.png" /></td>
										<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write(CAPTION_DEFAULTS_BUTTON);</script></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</WC@SECURED_FEATURE_85>
				
				<WC@SECURED_FEATURE_108>
					<tr width="100%" height="65px" class="mblHide">
						<td class="">
							<div class="ToolbarButton" id="cmdPrefs" name="cmdPrefs" onmouseover="this.className=strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="OpenPrefsWindow('../Prefs/tmplPrefs.htm','dlgPrefs');" style="width:100% !important; padding-top:3px;">
								<table width="100%" border="0">
									<tr>
										<td class="ToolbarButtonImg" width="30%"><img style="width:44px;" src="/connect/theme/images/images/settings.png" /></td>
										<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write("Settings");//CAPTION_OPTIONS_BUTTON);</script></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</WC@SECURED_FEATURE_108>
				
				<tr width="100%" height="65px">
					<td class="">
						<div class="ToolbarButton" id="cmdLogOff" name="cmdLogOff" onmouseover="this.className = strClassToolbarbuttonHover" onmouseout="this.className='ToolbarButton'" onclick="objControlsSs.exit();" style="width:100% !important; padding-top:3px;">
							<table width="100%" border="0">
								<tr>
									<td class="ToolbarButtonImg" width="30%"><img style="width:44px; transform:rotate(180deg);" src="/connect/theme/images/images/exit.png" /></td>
									<td class="ToolbarButton" width="50%"><script type="text/javascript">document.write(g_MqRef.RESX["TTOOLBAR.LOGOFF"]);</script></td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
			</table>
		</div>
		
		<!--Mq_WVF_32-->
		<div id='loadRec' name='loadRec' onload="MobileRecord()" class='<!--!_Mq_WVF_8289-->ui-dialog ui-widget ui-widget-content ui-corner-all PopupRoundedBordersIE ui-draggable <!--/!_Mq_WVF_8289-->MainBackgroundPopup' style='position:absolute;top:0px;left:0px;display:none;overflow:hidden;z-index:1002;'>
			<div id="RecHeader" class="TopToolBarPopup" style="width:99%;margin-right:5px;margin-left:5px;position:absolute;top:0px">
				<table width="100%" class="TopToolBarWizard">
					<tr>
						<td>
							<script type="text/javascript">
								if(typeof(WIZARD_IMG)!="undefined"){
									if(WIZARD_IMG!=""){
										if(m_MblBool == true) {
											document.write('<img src="' + WIZARD_IMG + '" style="height:125px; padding-left:20px;" \/>');
										} else {
											document.write('<img src="' + WIZARD_IMG + '" style="height:42px; margin:0 5px 0 20px;" \/>');
										}
									}
								}
							</script>
						</td>
						<td valign="top" style="padding-top:15px; padding-left:10px" width="100%">
		            		<div class="WizardTitle" id="wizTitle" name="wizTitle"></div>
		            		<div class="WizardDescription" id="wizDesc" name="wizDesc"></div>
							<div class="DlgCloseBtn" onclick="window.frames['CommandBar'].OnClickClose();" style="margin-top:7px; margin-right:13px;"><i class="fas fa-times"></i></div>
		       		 	</td>
						<td>
							<div id="ExistingIssueButtons" name="ExistingIssueButtons" style="display:none; padding-right:30px;">
								<table>
									<tr class="toolbarButtonsMobile">
										<script type="text/javascript">
											if("<Mq_WVA_34>"=="yes"){
												document.write('<td>' + 
																'	<div class="ToolbarButton" id="cmdPrint" name="cmdPrint" onmouseover="this.className=\'ToolbarButton ToolbarButtonHover\'" onmouseout="this.className=\'ToolbarButton\'" onclick="onClickControls(\'Print\');">' + 
																'		<table width="100%" border="0">' + 
																'			<tr>' + 
																'				<td class="ToolbarButtonImg"><img style="width:32px;" src="/connect/theme/images/images/reports.png"></td>' + 
																'			</tr>' + 
																'			<tr>' + 
																'				<td class="ToolbarButton">' + 'Print' + '</td>' + 
																'			</tr>' + 
																'		</table>' + 
																'	</div>' + 
																'</td>');
											}
										</script>

										<WC@SECURED_FEATURE_20>	
										<td>
											<div class="ToolbarButton" id="cmdHistory" name="cmdHistory" onmouseover="this.className='ToolbarButton ToolbarButtonHover'" onmouseout="this.className='ToolbarButton'" onclick="objFrames.GetFrameWindow(TOPTOOLBAR_FRAME_ID).OpenRevHistWindow('wcRevisionHistory.asp?WCI=RevisionHistory','dlgRevHist');">
												<table width="100%" border="0">
													<tr>
														<td class="ToolbarButtonImg"><img style="width:32px;" src="/connect/theme/images/images/history.png" /></td>
													</tr>
													<tr>
														<td class="ToolbarButton"><script type="text/javascript">document.write(CAPTION_HISTORY_BUTTON);</script></td>
													</tr>
												</table>
											</div>
										</td>
										</WC@SECURED_FEATURE_20>	
										<WC@SECURED_FEATURE_86>	
										<td>
											<div class="ToolbarButton" id="cmdEmailIssue" name="cmdEmailIssue" onmouseover="this.className='ToolbarButton ToolbarButtonHover'" onmouseout="this.className='ToolbarButton'" onclick="objFrames.GetFrameWindow(TOPTOOLBAR_FRAME_ID).MailCurrentIssue();">
												<table width="100%" border="0">
													<tr>
														<td class="ToolbarButtonImg"><img style="width:32px;" src="/connect/theme/images/images/inbox.png" /></td>
													</tr>
													<tr>
														<td class="ToolbarButton"><script type="text/javascript">document.write(CAPTION_EMAIL_BUTTON);</script></td>
													</tr>
												</table>
											</div>
										</td>
										</WC@SECURED_FEATURE_86>
										<WC@SECURED_FEATURE_101>	
										<td>
											<div class="ToolbarButton" id="cmdEmailConv" name="cmdEmailConv" onmouseover="this.className='ToolbarButton ToolbarButtonHover'" onmouseout="this.className='ToolbarButton'" onclick="objFrames.GetFrameWindow(TOPTOOLBAR_FRAME_ID).OpenEmailConversationWindow('wcMailInt.ASP?WCI=wciEmailConversation', 'dlgConversation');">
												<table width="100%" border="0">
													<tr>
														<td class="ToolbarButtonImg"><img style="width:32px;" src="/connect/theme/images/images/messages.png" /></td>
													</tr>
													<tr>
														<td class="ToolbarButton"><script type="text/javascript">document.write(CAPTION_CONVERSATION_BUTTON);</script></td>
													</tr>
												</table>
											</div>
										</td>
										</WC@SECURED_FEATURE_101>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			</div>
			<div id="mbliOSTabs" style="width:99%;margin-left:5px;margin-right:5px;position:absolute;top:103px; -webkit-overflow-scrolling: touch !important;">
				<iframe name="Tabs" id="Tabs" src="Tabs.htm" frameBorder="0" marginWidth="0" marginHeight="0" style="width:100%;"></iframe>
			</div>
			<div id="mbliOSRec" scrolling="yes" style="width:99%; top:133px;">
				<iframe name="Record" id="Record" src="wcRecord.asp?" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="yes" style="width:100%; border-radius: 4px; border:1px solid #cccccc; border-top:1px transparent;"></iframe>
			</div>
			<iframe name="CommandBar" id="CommandBar" src="wcCmdBar.asp?WCI=wciCommandBar" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width:99%;margin-left:5px;margin-right:5px;position:absolute;bottom:5px"></iframe>
			<script type="text/javascript">
			
			var reciFrameObjContainer = document.getElementById('mbliOSRec');
			var reciFrameObj = document.getElementById('Record');
			var tabsiFrameObjContainer = document.getElementById('mbliOSTabs');
			var tabsiFrameObj = document.getElementById('Tabs');
			var commBariFrameObj = document.getElementById('CommandBar');
				
			if(tabsiFrameObj && tabsiFrameObjContainer){
				if(m_MblBool) {
					if(reciFrameObjContainer && reciFrameObj && commBariFrameObj){
						if(g_VWS.BrowserCheck.mac){
						//Record iframe container
							reciFrameObjContainer.style.width = "100%";
							reciFrameObjContainer.style.marginBottom = "100%";
							reciFrameObjContainer.style.marginLeft = "0";
							reciFrameObjContainer.style.marginRight = "0";
							reciFrameObjContainer.style.border = "0";
							reciFrameObjContainer.style.borderTop = "0";
							reciFrameObjContainer.style.top = "250px";
							reciFrameObj.style.paddingBottom = "200px";
							reciFrameObjContainer.style.position = "fixed";
						//Tabs iframe container
							tabsiFrameObjContainer.scrolling = "yes";
							tabsiFrameObjContainer.style.overflow = "scroll";
							tabsiFrameObjContainer.style.top = "170px";
							tabsiFrameObjContainer.style.position = "fixed";//new one
						//Tabs iframe
							tabsiFrameObj.scrolling = "yes";
						//Command bar iframe
							commBariFrameObj.style.position = "fixed";
						} else {
							reciFrameObjContainer.style.width = "100%";
							reciFrameObjContainer.style.marginBottom = "100%";
							reciFrameObjContainer.style.marginLeft = "0";
							reciFrameObjContainer.style.marginRight = "0";
							reciFrameObjContainer.style.border = "0";
							reciFrameObjContainer.style.borderTop = "0";
							reciFrameObjContainer.style.top = "250px";
							reciFrameObj.style.position = "fixed";
							tabsiFrameObjContainer.scrolling = "yes";
							tabsiFrameObjContainer.style.overflow = "scroll";
							tabsiFrameObjContainer.style.top = "170px";
							tabsiFrameObj.style.position = "fixed";
							tabsiFrameObj.scrolling = "yes";
							commBariFrameObj.style.position = "fixed";
						}
					}
				}else {
					tabsiFrameObj.scrolling = "no"
					tabsiFrameObjContainer.scrolling = "no";
				}
			}
			</script>
		</div>
		<!--/Mq_WVF_32-->
		
		<!--!_Mq_WVF_32-->
		<iframe name="Tabs" id="Tabs" src="Tabs.htm" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="display:none;width:99%;margin-left:5px;margin-right:5px;"></iframe>
		<iframe name="Record" id="Record" src="wcRecord.asp?" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="<!--Mq_WVF_8257-->yes<!--/Mq_WVF_8257--><!--!_Mq_WVF_8257-->no<!--/!_Mq_WVF_8257-->" style="width:99%;padding-top:20px;margin-bottom:10px;margin-left:5px;margin-right:5px;background-color:#ffffff;border-radius: 4px;border:1px solid #cccccc;overflow:auto;"></iframe>
		<iframe name="CommandBar" id="CommandBar" src="wcCmdBar.asp?WCI=wciCommandBar" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="width:99%;margin-left:5px;margin-right:5px"></iframe>
		<script type="text/javascript">
			if(m_MblBool) {
				var reciFrameObj = document.getElementById('Record');
				reciFrameObj.style.width = "100%";
				reciFrameObj.style.marginBottom = "100%";
				reciFrameObj.style.marginLeft = "0";
				reciFrameObj.style.marginRight = "0";
				reciFrameObj.style.border = "0";
				reciFrameObj.style.borderTop = "0";
				reciFrameObj.style.top = "200px";
				var tabsiFrameObj = document.getElementById('Tabs');
				tabsiFrameObj.scrolling = "yes";
				
			}
		</script>
		<!--/!_Mq_WVF_32-->

		<iframe name="LoadData" id="LoadData" src="blank.htm" frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" style="display:none;width: 100%;"></iframe>			

		
		<script type="text/javascript">
			
			var lngIssueID=-1;
			var strTempID;
			var lngEncIssueID=-1;
			var bsetURL=true;
			
			strTempID=g_MqRef.MqStr.GetQueryStringValue(location.search, "nId");
			if(strTempID!=""){
				lngIssueID=strTempID;
				bsetURL=true;
			}
			
			strTempID=g_MqRef.MqStr.GetQueryStringValue(location.search, "EID");
			if(strTempID!=""){
				lngEncIssueID=strTempID;
				bsetURL=true;
			}
		
			var strTabID=g_MqRef.MqStr.GetQueryStringValue(location.search, "TabID");
			var sLoadDataURL="wcCmdBar.asp?WCI=wciLoadData&nId=" + lngIssueID + "&EID=" + lngEncIssueID + "&ldany=undefined&Tab=" + strTabID;
			if (bsetURL){
				LoadData.location.replace(sLoadDataURL);
			}

			<!--Mq_WVF_32-->
			if(lngIssueID>0){
				objRecord.Load(lngIssueID, null);
			}
			<!--/Mq_WVF_32-->			
		</script>
		
		<div id="loadRecOverlay" class="ui-widget-overlay" style="width:100%;height:100%;z-index:1001;">
			<img src="/connect/theme/images/images/icon_wait.gif" style="position:absolute; left:50%; top:50%;"/>
		</div>
		<script type="text/javascript">
			if(m_MblBool) {
				document.getElementById('loadRecOverlay').getElementsByTagName( 'img' )[0].style.transform = 'scale(3)';
			}
			
			SetFrameHeights();
			
			if(objFeatures.getFeature(FEATURE_WIZARD_VIEW)){
				m_objLoadDataMgr.SetOnAfterLoad("objRecord.Show();", true);
			}
			document.body.className=MAIN_BG_CLASS;

			var m_strValidViewIDs="<WC@VALID_VIEW_IDS></WC@VALID_VIEW_IDS>";
			var m_lngCurrentViewID="<WC@CURRENT_VIEW_ID></WC@CURRENT_VIEW_ID>";		

			if(mblnShowQuickLinks){
				WriteQuickLinksMenu(m_lngCurrentViewID, m_strValidViewIDs, CURRENT_VIEW_TITLE);				
			}
			
			var cenOnLoadActionType_Onboard=1;
			var cenOnLoadActionType_Terminate=2;
			var cenOnLoadActionType_AddNew=3;
			
			var lngOnLoadActionType=0;
			if(g_MqRef.MqStr.GetQueryStringValue(location.search, "Onboard")=="1"){
				lngOnLoadActionType=cenOnLoadActionType_Onboard;
			}
			if(g_MqRef.MqStr.GetQueryStringValue(location.search, "Terminate")=="1"){
				lngOnLoadActionType=cenOnLoadActionType_Terminate;
			}
			if(g_MqRef.MqStr.GetQueryStringValue(location.search, "AddNew")=="1"){
				lngOnLoadActionType=cenOnLoadActionType_AddNew;
			}
						
			if(lngOnLoadActionType>0){
				HandleOnLoadAction(lngOnLoadActionType);
			}
			
			if(g_MqRef.MqStr.GetQueryStringValue(location.search, "CurrentApp")=="1"){
				ShowCurrentAppraisalDialog();
			}
			
			if(g_MqRef.MqStr.GetQueryStringValue(location.search, "TabID")!=""){
				GoToRightTab();
			}

			function ToggleFilterBy()
			{
				var objFilterBox=parent.document.getElementById("filterByBox");
				
				if(objFilterBox){
					if(objFilterBox.style.display=="none"){
						objFilterBox.style.display="";
					}else{
						objFilterBox.style.display="none";
					}
				}
			}
			
			function ToggleFilterUI(blnOver, objFrame)
			{
				if(objFrame){
					var objFilterBox=parent.document.getElementById("filterByBox");
				
					if(objFilterBox){
						if(objFilterBox.style.display=="none"){
							if(blnOver){
								objFrame.className="searchSideBar searchSideBarHover";
							}else{
								objFrame.className="searchSideBar";	
							}
						}else{
							objFrame.className="searchSideBar";					
						}
					}
				}
			}

			function HandleOnLoadAction(lngOnLoadActionType)
			{
				if(lngOnLoadActionType>0){
					if(objFrames){
						var winSummaryList=objFrames.GetFrameWindow(SUMMARY_LIST_FRAME_ID);
				
						if (winSummaryList){
							var fnMethod=null;
							if(lngOnLoadActionType==cenOnLoadActionType_Onboard){
								fnMethod=winSummaryList.AddNewEmployee;
							}
							
							if(lngOnLoadActionType==cenOnLoadActionType_Terminate){
								fnMethod=winSummaryList.TerminateEmployees;
							}
							
							if(lngOnLoadActionType==cenOnLoadActionType_AddNew){
								fnMethod=winSummaryList.AddNewRec;
							}
							if(fnMethod){
								fnMethod();
							}else{
								window.setTimeout("HandleOnLoadAction(lngOnLoadActionType)", 50);
							}
						}else{
							window.setTimeout("HandleOnLoadAction(lngOnLoadActionType)", 50);
						}
					}else{
						window.setTimeout("HandleOnLoadAction(lngOnLoadActionType)", 50);
					}
				}
			}

			function ShowCurrentAppraisalDialog()
			{	
				if(objFrames){
	                var winSummaryList=objFrames.GetFrameWindow(SUMMARY_LIST_FRAME_ID);
	        
	                if (winSummaryList){
						if(winSummaryList.EditAppraisalInfo){
							var lngCurrentAppraisalID=GetCurrentAppraisalID();
							if(lngCurrentAppraisalID>0){
								winSummaryList.EditAppraisalInfo(lngCurrentAppraisalID);
							}
						}else{
							window.setTimeout("ShowCurrentAppraisalDialog()", 50);
						}
					}else{
						window.setTimeout("ShowCurrentAppraisalDialog()", 50);
					}
				}else{
					window.setTimeout("ShowCurrentAppraisalDialog()", 50);
				}
			}
			
			function GetCurrentAppraisalID()
			{
				var lngAppraisalID=0;
				
				var co = objRequest.Get(mstrCurrentLocation + "../ASP/GetCurrentAppraisal.asp?Emp=" + m_strCurrentUserID + "&Days=60");
				if (co!=objRequest.CANCEL_PROCESS){

					var objResponse=objRequest.Response(co);
												
					if (objResponse){
						if (objResponse.HasErrors()){
							objResponse.ProcessErrors("",true,window);
						}else{
							lngAppraisalID=co;
						}
					}
				}
				
				return lngAppraisalID;
			}
			
			function GoToRightTab()
			{		
				if(objTabsMgr){
					if(objFrames){
						var winTabs=objFrames.GetFrameWindow(TABS_FRAME_ID);
						
						if(winTabs){
							var strQSTabID=g_MqRef.MqStr.GetQueryStringValue(location.search, "TabID");
							if(strQSTabID){
								var lngTabID=Number(strQSTabID);
								var objTab=objTabsMgr.GetTabFromID(lngTabID);
								if (objTab){						
									objTabsMgr.OnTabClick(lngTabID);
								}
							}
						}else{
							setTimeout("GoToRightTab()", 50);
						}
					}else{
						setTimeout("GoToRightTab()", 50);
					}
				}
			}
			GetDocumentSize();
			
			
		</script>
		
		<script type="text/javascript">
			document.write('<div class="' + COPYRIGHT_CLASS + '">');
			
			document.write("<div id='dvCopyright' style='display:none'>" + g_MqRef.RESX['MSG_COPYRIGHT'] + '</div>');
				
			document.write("<div id='dvCloseBtn' style='display:none'>");
			m_objMqButton.WriteTextButtonHTML("Close", g_MqRef.RESX["BUTTON_CLOSE"], 'parent.objVNViewLoader.HideView();', "", 32, "", g_MqRef.RESX["BUTTON_CLOSE"], 90);
			document.write('</div>');
			
			document.write("</div>");
		
			function ToggleBottomUI()
			{
				var objCopyright=document.getElementById("dvCopyright");
				var objCloseBtn=document.getElementById("dvCloseBtn");
				if(m_MblBool){
					if(m_MblBool != true) {
						if(objCopyright){
							if(m_blnShowCopyright){
								objCopyright.style.display="";
							}else{
								objCopyright.style.display="none";
							}
						}
					}
				}
				
				if(objCloseBtn){
					if(m_blnShowCloseDlgButton){
						objCloseBtn.style.display="";
					}else{
						objCloseBtn.style.display="none";
					}
				}
			}
			
			ToggleBottomUI();

		</script>
		
		<div id="qryListTop" name="qryListTop" class="queryListTop" style="display:none"><img src="/connect/theme/images/images/menutop.png" /></div>
		<div id="qryListFrame" name="qryListFrame" class="queryListFrame" style="display:none">
			<div id="qryList" name="qryList" class="queryList" style="display:none;"></div>
		</div>

		<div style="display: none" class="ifraMultiChoice">
			<div id="dialog-modal" style="width:100%;height:100%;padding:0px;margin:0px;overflow:hidden">
				<iframe id="dialog-modal-url" width="100%" height="100%" marginWidth="0" marginHeight="0" frameBorder="0" scrolling="no"></iframe>
			</div>
			<div id="dialog-modal-orig-width" name="dialog-modal-orig-width" style="display:none"></div>
			<div id="dialog-modal-orig-height" name="dialog-modal-orig-height" style="display:none"></div>
		</div>

		<div id="dvBanner" name="dvBanner" style="display:none;position:absolute; border:5px solid #666666; -webkit-border-radius:4px 4px 4px 4px;-moz-border-radius:4px 4px 4px 4px;	border-radius:4px 4px 4px 4px;z-index:1010; background:#fafad2; padding-bottom:10px; padding-left: 10px;margin-top:40px" class="NormalText"></div>

		<div id="loadedViews"></div>
	</body>
</html>
