<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html style="overflow:hidden">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title><WC@TITLE>%1 / %2 [%3]</WC@TITLE> Default Values</title>
	<!--MqRelPath--><link rel="stylesheet" type="text/css" href="../../theme/css/censusmain.css"/><!--/MqRelPath--><!--MqAbsPath><link rel="stylesheet" type="text/css" href="<BASE_VD>/theme/css/censusmain.css"/></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqsysutils.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqsysutils.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="../../js/constantstimeout.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/constantstimeout.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../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/cmqsysmsg.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqsysmsg.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqformelements.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqformelements.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="../../js/dependentfields.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/dependentfields.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqrecordset.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqrecordset.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/xml.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/xml.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqloaddata.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqloaddata.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="../../js/censusmain.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/censusmain.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/tmpldefvalmain.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/tmpldefvalmain.js" ></script></MqAbsPath-->	
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqlist.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqlist.js"></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/window.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/window.js"></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/cmqfilteredlist.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqfilteredlist.js" ></script></MqAbsPath-->				
	<!--MqRelPath--><script type="text/javascript" src="../../js/cmqhttprequest.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqhttprequest.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqattachments.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqattachments.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/cmqlookupitemint.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqlookupitemint.js"></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/initlookupitemint.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/initlookupitemint.js"></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/frameconstants.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/frameconstants.js"></script></MqAbsPath-->
	
	<!--MqRelPath--><link rel="stylesheet" href="../../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="../../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="../../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="../../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="../../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="../../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="../../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="../../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="../../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="../../js/jquery/jquery.ui.dialog.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/jquery/jquery.ui.dialog.js"></script></MqAbsPath-->

	<script type="text/javascript">
		// always define this object for the system messages
		var objSysMsg = new CMqSysMsg();
		var m_varDefVals;
		var winMain;
		if (window.dialogArguments ){
		    winMain=window.dialogArguments;
		}else{
		    winMain=window.parent;
		}
		if(winMain.m_objDefVals){
			m_varDefVals= winMain.m_objDefVals.GetDefVals();
		}else{	
			m_varDefVals=new Array();
		}
		var m_strTheme="../../theme/css/CensusMain.css";
	</script>
	<script type="text/javascript" src="../Users/<WC@USRDEFVAL></WC@USRDEFVAL>/MqDefaultValues.js"></script>
	<script type="text/javascript">	
		var m_objMqButton ;
		var objCustomCode;
		var objRequest;
		var m_strCurrentLocation;
		var m_objDisplayElements;
		var objTabsMgr;		
		var objFeatures;		
		var m_objLoadDataViewActions;
		var m_objWorkFlow;
		var m_objViewFields;
		var m_objLoadDataMgr;
		var m_objLookupItemInfoColl=new Array();
		var APPLY_BUTTON_NAME ="Apply";
		var CANCEL_BUTTON_NAME ="Cancel"
		var m_strNumVisibleTabs="8";
		var g_VWS;
		var objFrames;

		var CLEAR_VALUE_BUTTON_CAPTION="Clear Value";

		InitVar();
		function InitVar()
		{
			if (winMain){
				g_VWS=winMain.g_VWS;
				objFrames=winMain.objFrames;
				m_objMqButton = new MqButton();
				objCustomCode=winMain.objCustomCode;
				objRequest=winMain.objRequest;
				m_strCurrentLocation=winMain.mstrCurrentLocation;
				m_objDisplayElements=winMain.m_objDisplayElements;				
				objTabsMgr=new CMqTabsMgr();
				var objOpenerTabsMgr=winMain.objTabsMgr;
				if (objOpenerTabsMgr){
					objTabsMgr.SetIsSharedTabSource(objOpenerTabsMgr.GetIsSharedTabSource());
					objTabsMgr.SetDisplayExceptionTabs(objOpenerTabsMgr.GetDisplayExceptionTabs());
				}
				objFeatures=winMain.objFeatures;
				m_objWorkFlow=new CMqWorkFlowRules();
				m_objViewFields=winMain.m_objViewFields;
				m_objLoadDataMgr=new CMqLoadDataMgr(m_objViewFields);
				m_objLoadDataMgr.SetUnescapeData(true);
				m_objLoadDataMgr.OnBeforeLoad=OnBeforeLoadData
				m_objLoadDataMgr.OnAfterLoad=OnAfterLoadData;
			}
		}
		function OnBeforeLoadData()
		{
			if(m_objWorkFlow && m_objLoadDataMgr){
				m_objWorkFlow.Initialize(m_objViewFields,m_objLoadDataMgr.GetDataHTMLDocument(),m_MqAutoList);
			}
			return true;
		}
		
		function OnAfterLoadData()
		{
			if(m_objWorkFlow){
				m_objWorkFlow.OnLoad();
			}
			if(m_objLoadDataMgr){
				m_objLoadDataMgr.Reset();
			}
			if(m_objLoadDataViewActions){
				m_objLoadDataViewActions.Reset();
			}
			return true;
		}
	</script>
</head>
<body id="DefValMain" class="SummaryListBody" leftmargin="0" rightmargin="0" onload="OnLoad();" onbeforeunload="OnBeforeUnload();" bottommargin="0" scroll="no">

	<table width="100%" height="100%" marginwidth="0" cellpadding="0" cellspacing="0" border="0">	
		<tr height="30" valign="top">
			<td width="20"></td>
			<td class="BoldDialogLabel">
				Set the default values for new issues
			</td>
		</tr>
		<tr height="40" valign="top">
			<td width="20"></td>
			<td class="DialogLabel">
				If you often set a field to the same value, you can make that value the default value. <br/>Every time you create a new issue, the field will be set to that value.
			</td>
		</tr>
		<tr height="30"><td colspan="2">
			<iframe  name="Tabs" id= "Tabs" src="tabs.htm?TabsJs=DefValTabs.js" 	border="0" 
				frameborder="0" width="100%" height="30"  marginheight="0" marginwidth="0" scrolling="no">
			</iframe></td>
		</tr>
		<tr height="100%"><td colspan="2">	
			<iframe  name="Record" id= "Record" src="wcRecord.asp?" 	border="0" 
				frameborder="0" width="100%" height="100%"  marginheight="0" marginwidth="0" scrolling="auto">
			</iframe>
			</td>
		</tr>
		<tr height="30">
			<td colspan="2">
				<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td align="right">				
							<table cellpadding="0" cellspacing="0" border="0">
								<tr valign="top">
									<td style="padding-right:5px">
										<script type="text/javascript">
											m_objMqButton.WriteTextButtonHTML(APPLY_BUTTON_NAME, g_MqRef.RESX["BUTTON_APPLY"], 'Apply()', "", 32, "", g_MqRef.RESX["BUTTON_APPLY"], 90);
										</script>
									</td>
									<td style="padding-right:5px">
										<script type="text/javascript">
											m_objMqButton.WriteTextButtonHTML(CANCEL_BUTTON_NAME, g_MqRef.RESX["BUTTON_CANCEL"], 'Cancel()', "", 32, "", g_MqRef.RESX["BUTTON_CANCEL"], 90);
										</script>
									</td>
									<td style="padding-right:5px">
										<script type="text/javascript">
											m_objMqButton.WriteTextButtonHTML("Close", g_MqRef.RESX["BUTTON_CLOSE"], 'Exit()', "", 32, "", g_MqRef.RESX["BUTTON_CLOSE"], 90);
										</script>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<div style="visibility: hidden;display:none">
		<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="auto"></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>
</body>
</html>
