<html>
<head>
	<title></title>
	<meta http-equiv="X-UA-Compatible" content="IE=100" >
	<meta http-equiv="content-type" content="text/html; charset=windows-1252">
	
	<!--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-->
	
	<script type="text/javascript" src="../js/Constants.js"></script>
	<script type="text/javascript" src="tmplreportviewer.js"></script>

	<!--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/window.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/window.js" ></script></MqAbsPath-->
	
	<style>
		#ReportGallery { 
			height:450px; 
			overflow:auto;
			scrollbar-base-color:#AFB8C4;
			scrollbar-darkshadow-color:#000000;
			scrollbar-face-color:#EAECF2;
			scrollbar-track-color:#F7F9FF;
			scrollbar-shadow-color:#A9A9A9;
			scrollbar-highlight-color:#eeeeee;
			scrollbar-arrow-color:#003399;
			scrollbar-3d-light-color:#AFB8C4;
		}
		.ReportItem {
			position:relative;
			display:inline-block;
			width:230px;
			height:70px;
			margin:10px;
			padding:10px;
			background-color:#F0F0F0;
			cursor:default;
			border:1px solid #F0F0F0;
			vertical-align:top;
		}
		.SelectedReportItem {
			border:1px solid #FBCB09;
		}
		.ReportTitle{
			color:#555;
			font-size:12px;
			font-weight:bold;
			font-family:'Open Sans', sans-serif
		}
		#ViewerType {
			font-family:'Open Sans', sans-serif;
		}
		.ReportDescription {
			color:#999;
			font-size:10px;
			font-family:'Open Sans', sans-serif;
			width:170px;
			height:4.4em;
			overflow:hidden;
			text-overflow:ellipsis;
			z-index:initial;
			line-height:1.1em;
		}
	</style>
	
	<script  type="text/javascript">
		var FIELD_SEP = "<WC@FIELD_SEPARATOR></WC@FIELD_SEPARATOR>";
		var ROW_SEP = "<WC@ROW_SEPARATOR></WC@ROW_SEPARATOR>";
		var m_strReports = "<WC@GET_REPORTS></WC@GET_REPORTS>";
		
		var objRef;
		if(parent.opener){
			objRef = parent.opener;
		}else{
			objRef = parent.parent;
		}
		
		var m_objMqButton=new MqButton;
		
		var FEATURE_REPORT_VIEWER=17;

		var m_objReportMgr=objRef.g_VWS.ReportMgr();
		
	    var objSysMsg = new CMqSysMsg();
			
		var loaded=false;
		var initialized=false;
		
		var m_blnShowIssueSelection=(GetFeatureID()==FEATURE_REPORT_VIEWER);	
		
	</script>
</head>

<body onload="onLoad();" topmargin="0" leftmargin="0" marginwidth ="0" marginheight ="0"
	class="ReportsBody" style="margin-left:7px; margin-right:7px; valign:top;"" >
<form	method="get"
		id="frmReportViewer"
		name="frmReportViewer"
		action="wcmqwebreport.asp?wci=viewreport"
		target="_blank">
		
	<table class="toolTip" width="100%" marginwidth="0" cellspacing="0" cellpadding="0" border="0" valign="top" style="height: 450px; border-radius: 3px; behavior: url(../theme/css/border-radius.htc); margin-right: 25px;">		
		<tr>
			<td valign="top" colspan="2" align="left" width="100%" height="100%" style="color:#000000; padding:7px; padding-top: 10px;">
				<div id="ReportGallery"></div>
			</td>
		</tr>
	</table>
	<table width="100%" marginwidth="0" cellspacing="0" cellpadding="0" border="0" valign="top" style="margin-top:8px">
		<tr>
			<td id='ReportIssueSelection' class="AdminNormalTextDarkBG" align="left"  style="display:none; padding-top:20px" width="35%">
				<u translate="yes" data-res="DISPLAY_REPORT_OPTIONS"></u>
				<br>
				<label class="AdminNormalTextDarkBG" for="QueryType1" translate="yes" data-res="DISPLAY_REPORT_OPTIONS_SEL_REP"></label>
				<input type=radio id="QueryType1" name="QueryType" value="1" onclick="OnQuerySelected()" checked >
				<br>
				<label class="AdminNormalTextDarkBG" for="QueryType2" translate="yes" data-res="DISPLAY_REPORT_OPTIONS_SUM_LIST"></label>
				<input type=radio id="QueryType2" name="QueryType" value="2" onclick="OnQuerySelected()">
				<br>
				<label class="AdminNormalTextDarkBG" for="QueryType3" translate="yes" data-res="DISPLAY_REPORT_OPTIONS_CURRENT"></label>			
				<input type=radio id="QueryType3" name="QueryType" value="3" onclick="OnQuerySelected()">
				<br>
			</td>
			<td id='CROptions' width="45%" valign="top">
				<table width="100%" style="margin-top:0; margin-left:15px">
					<tr>
						<td style="display:none">
							<div class="AdminNormalTextDarkBG">Layout:</div>
							<select id="LayoutType" name="LayoutType" onchange="OnChangeOrientation()" style="width:150px" size="1">
								<option value="landscape">Landscape</option>
								<option value="portrait" selected>Portrait</option>
							</select>
						</td>
						<td style="margin-top:0">
							<div class="AdminNormalTextDarkBG" translate='yes' data-res="RPTS.VIEWER_TYPE">:</div>
				
							<select id="ViewerType" name="ViewerType" onchange="OnChangeViewer()" style="width:150px" size="1">
								<option value="activex" title="Interactive Viewer requires Internet Explorer" id="ActiveXOption" translate='yes' data-res="RPTS.VIEWER_TYPE_INTERACTIVE"></option>
								<option value="pdf" selected translate='yes' data-res="RPTS.VIEWER_TYPE_PDF">PDF</option>
								<option value="excel" translate='yes' data-res="RPTS.VIEWER_TYPE_XLS">Excel</option>
								<option value="csv" translate='yes' data-res="RPTS.VIEWER_TYPE_CSV">CSV</option>
							</select>
						</td>
					</tr>
				</table>
			</td>
			<td align="right" width="20%">
				<div style="margin-top:5px;">
				<script type="text/javascript">
					<!--
					m_objMqButton.WriteTextButtonHTML("Close", g_MqRef.RESX["BUTTON_CLOSE"], 'CloseWindow();', "", 32, "", g_MqRef.RESX["BUTTON_CLOSE"], 90);
					//-->
				</script>
				</div>		
			</td>
		</tr>
	</table>
</form>
</body>
</html>