<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title></title>
   	<link rel="stylesheet" href="../../../theme/css/censusmain.css" type="text/css" />
	<script  src="../../../js/images.js" type="text/javascript"></script>
	<script  src="../../../js/files.js" type="text/javascript"></script>
	<script  src="../../../js/strings.js" type="text/javascript"></script>
	<script  src="../../../js/cmqtableapplet.js" type="text/javascript"></script>
	<script  src="../../js/tabs/tabs.js" type="text/javascript"></script>
	<script  src="../../js/tabs/tabconstants.js" type="text/javascript"></script>
	<script  src="../../../js/window.js" type="text/javascript"></script>
	<script  src="../../../js/mqsysutils.js" type="text/javascript"></script>
	<script  src="../../../js/cmqsysmsg.js" type="text/javascript"></script>
	<script  src="../../../js/cmqstring.js" type="text/javascript"></script>
	
	<script type="text/javascript" src="../../../js/codebasegrid/dhtmlxcommon.js"></script>
	<script type="text/javascript" src="../../../js/codebasegrid/dhtmlxgrid.js"></script>
	<script type="text/javascript" src="../../../js/codebasegrid/dhtmlxgridcell.js"></script>
	<link rel="stylesheet" type="text/css" href="../../../js/codebasegrid/dhtmlxgrid.css">
	<link rel="stylesheet" type="text/css" href="../../../js/codebasegrid/skins/dhtmlxgrid_dhx_skyblue.css">
	
<style type="text/css">
 div.gridbox_dhx_skyblue table.obj tr.rowselected td{
	background-color:#FFF1CC;
 }
 
 div.gridbox_dhx_skyblue table.obj tr.rowselected td.cellselected {
	background-color:#FFF1CC;
}
</style>


	<script type="text/javascript">
		//always define this object for the system messages
		var objSysMsg = new CMqSysMsg;
		var initialized=true;
		var objString = new CMqString;
		var File= new MqFiles;		
		var m_blnShowProjList=false;
		var TableListSeparator="<WC@TABLE_LIST_SEPARATOR></WC@TABLE_LIST_SEPARATOR>";
		var RowSeparator="<WC@ROW_SEPARATOR></WC@ROW_SEPARATOR>";
		
		var tabsGrid;
	</script>

</head>
<body marginheight="0" onload="onLoadForm()" onunload="OnBeforeNavigate();" marginwidth="0" topmargin="0" leftmargin="0" onresize="ResizeGrid()">
	<form name="frmTabs">
		<table width="100%" cellpadding="0" cellspacing="0" border="0" height="100%">
			<tr>
				<td width="80%">
					<div id="ProjList" style="display:none">
						<table width="520" cellpadding="0" cellspacing="0" border="0">
						    <tr>
							<td width="14" align="center" height="42"></td>
							<td width="80" align="left" height="42"><font class="DialogLabel">Project:</font> </td>
							<td width="200" align="left" height="42">
							    <select size="1" name="lstProjects" onchange="GetTabsListByProject()" onkeypress="GetTabsListByProject()" width="220">
									<WC@PROJECTS></WC@PROJECTS>
						    	</select>
							</td>
							<td width="50" align="center" height="42"><script type="text/javascript">document.write(writeImageAlt("refresh","../../../Theme/images/buttons/","js:RefreshWindow();",16,16,false,"Refresh"));</script></TD>
							<td width="150" align="center" height="42"></td>
							<td width="22"></td>
						    </tr>
						</table>
					</div>
					
					<table cellpadding="0" cellspacing="0" border="0" >
									
						<!--Box Top Border -->
						<tr height="20" >
							<td width="14" ><div class="BoxTLeft"></div></td>
							<td class="BoxTCenter">&nbsp;</td>
							<td width="14" ><div class="BoxTRight"></div></td>
						</tr>
						<!--End of Box Top Border -->
						<!--Box Middle w/table-->
						<tr>
							<td width="14" class="BoxMLeft">&nbsp;</td>
							<td width="100%">
								<table class="BoxMCenter" name="BoxMCenterContents" id="BoxMCenterContents" style="table-layout:fixed;display: table" width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" >
								<!-- Contents -->
									<tr>
										<td width="80" align="left" valign="top"><br/><font class="DialogLabel">Tabs:</font> </td>
										<td width="100%" valign="top">
											<div id="tabs_grid" style="width:100%;height:290px; background-color:white;border:1px solid #666666; border-radius: 4px; "></div>
						
											
											<script type="text/javascript">
												<!--
												WriteTabsGrid();
												//-->
											</script>
										</td>
										<td width="10">&nbsp;</td>
										<td width="35" align="left" valign="top">
											<br/><br/>
											<script type="text/javascript">
												var strImgs;
											
												strImgs=writeImageAlt("new","../../../Theme/images/buttons/","js:Open_Add_Tab_Win();",16,16,false,"Add tab") + "<br/><br/>";
												strImgs+=writeImageAlt("rename","../../../Theme/images/buttons/","js:Open_Rename_Tab_Win();",16,16,false,"Rename tab") + "<br/><br/>";
												strImgs+=writeImageAlt("delete","../../../Theme/images/buttons/","js:Open_Remove_Tab_Win();",16,16,false,"Delete tab") + "<br/><br/>";
												//strImgs+=writeImageAlt("up","../../../Theme/images/buttons/","js:MoveSelectedTabUp();",16,16,false,"Increase tab order by one") + "<br/><br/>";
												//strImgs+=writeImageAlt("down","../../../Theme/images/buttons/","js:MoveSelectedTabDown();",16,16,false,"Decrease tab order by one");
											
												document.write(strImgs);
											</script>
										</td>
									</tr>



								<!-- End of Contents -->
								</table>
							</td>
							<td width="14" class="BoxMRight">&nbsp;</td>
						</tr>
						<!--End of Box Middle w/table-->

						<!--Box Bottom Border -->
						<tr height="20" >
							<td width="14" ><div class="BoxBLeft"></div></td>
							<td class="BoxBCenter">&nbsp;</td>
							<td width="14" ><div class="BoxBRight"></div></td>
						</tr>
						<!--End of Box Bottom Border -->
						
					</table>
				</td>
				<td width="20">
					&nbsp;
				</td>
				<td width="220">
					<font class="BoldDialogLabel">Note: </font><font class="DialogLabel" >To apply your changes to an existing Web view for this project, you must regenerate the Web view.</font>
				</td>
			</tr>
		</table>

		<script type="text/javascript">
			function onLoadForm(){
				initialize();
				SetAll();
				var objProjList=document.getElementById("ProjList");
				
				if(objProjList){
					if(!m_blnShowProjList){
						GetTabsListByProject();
						objProjList.style.display="none";
					}else{
						objProjList.style.display="";
					}
				}
			}

		</script>
	</form>
</body>
</html>
