<%@ Page language="c#" Codebehind="Images.aspx.cs" AutoEventWireup="false" Inherits="edu.jhu.Cas.Web.Images" %>
<%@ Import Namespace="System.IO" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<html>
  <head>
    <title>Images</title>
		<%
string text = Request.Params["lmessage"];
if (null == text)  text = "";
Server.Execute("top.aspx?message=Welcome to SDSS Query Service");
%>    
  </head>
  <body>
	<p><i>Images provided by the <a href="http://skyservice.pha.jhu.edu/dr1/ImgCutout/">Image Cutout Service</a></i></p>
	<li><i>A 'scale' column in your table will override the value set here</i></li>
    <form id="Images" method="post" runat="server">
		<table>
		<tr><td>
		<table>
			<tr>
				<td>
					<table cellpadding="6">
						<tr><td align="right">
							<b>Width</b> (px)&nbsp;&nbsp;<asp:textBox class="button" columns="4" id="WidthB" runat="server"/>
						</td></tr>
						<tr/>
						<tr><td align="right">										
							<b>Height</b> (px)&nbsp;&nbsp;<asp:textBox class="button" columns="4" id="HeightB" runat="server"/>
						</td></tr>
						<tr/>
						<tr><td align="right">										
							<b>Scale</b>&nbsp;&nbsp;<asp:textBox class="button" columns="4" id="ScaleB" runat="server"/>
						</td></tr>
					</table>
				</td>
				<td>
					<table>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Grid" id="GB" runat="server"/>
						</td>
							<td>Draw a N-S E-W grid through the center</td>
						</tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Label" id="LB" runat="server"/>
						</td><td>Draw the name, scale, ra, and dec on image</td>
						</tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="PhotoObjs" id="PB" runat="server"/>
						</td><td>Draw a small cicle around each primary photoObj</td>
						</tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="SpecObjs" id="SB" runat="server"/>
						</td><td>Draw a small square around each specObj</td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Targets" id="TB" runat="server"/>
						</td><td>Draw a small square around each Target</td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Outline" id="OB" runat="server"/>
						</td><td>Draw the outline of each photoObj </td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="BoundingBox" id="BB" runat="server"/>
						</td><td>Draw the bounding box of each photoObj </td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Fields" id="FB" runat="server"/>
						</td><td>Draw the outline of each field </td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Masks" id="MB" runat="server"/>
						</td><td>Draw the outline of each mask considered to be important </td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="Plates" id="PlB" runat="server"/>
						</td><td>Draw the outline of each plate </td></tr>
						<tr><td>
							<asp:CheckBox class="checkbox" text="InvertImage" id="IB" runat="server"/>
						</td><td>Invert the image (B on W)</td></tr>
					</table>
				</td>
			</tr>
		</table>
		
		<p>
		<asp:Button align="right" class="button" ToolTip="Click to Extract" id="Button1" onClick="Fetch" text="Fetch" runat="server" />
		</p>
	</form>
		<p class="tiny">
				<a href="mailto:nli@pha.jhu.edu">Nolan Li</a>
				<br>
				Last Modified:
				<script>
        document.writeln(document.lastModified);
	</script>
				$Name$ $Revision: 111295 $
			</p>
<%
	string page = Request.Params["PATH_TRANSLATED"];
	string htmlRevision = "";
	if (null !=page) {

		FileInfo f = new FileInfo(page);
		htmlRevision = f.LastWriteTime.ToLongDateString() + " at " + f.LastWriteTime.ToLongTimeString();
	}


%>
<p class="tiny">
	<a href="mailto:nli@pha.jhu.edu">
	Nolan Li
	</a>	
	<br/>
	Last Modified :<%=htmlRevision%>
	, $Name$, $Revision: 111295 $	
</p>

  </body>
</html>