<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=071363223-10112005><FONT face=Arial color=#0000ff size=2>Check 
your webserver logs and look at the URL it's submitting...Copy that and in a 
browse use it changing mode=browse to mode=map...If nothing displays then you 
most likely have your projection or extents wrong. This is how I initially 
figured out how to debug what was going on in the dhtml 
example.</FONT></SPAN></DIV>
<DIV><SPAN class=071363223-10112005></SPAN>&nbsp;</DIV>
<DIV><SPAN class=071363223-10112005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=071363223-10112005><FONT face=Arial color=#0000ff 
size=2>-e</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Jennifer 
  A Bennett<BR><B>Sent:</B> Thursday, November 10, 2005 2:57 PM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] DHTML 
  rubber-band box<BR><BR></FONT></DIV><BR><FONT face=sans-serif color=#4141ff 
  size=3>I am trying to copy the code for the DHTML rubber-band box from the 
  Itasca Demo and cannot get it to show my map.</FONT> <BR><FONT face=sans-serif 
  color=#4141ff size=3>I am wondering what other code I must copy or change to 
  make this work?</FONT> <BR><FONT face=sans-serif color=#4141ff size=3>I am 
  able to get the gist of the Javascript code, but I am not familiar enough to 
  write new code.</FONT> <BR><BR><FONT face=sans-serif color=#4141ff size=3>So 
  far I have copied the Javascript folder and most of the graphics from the 
  Graphics folder into my drive.</FONT> <BR><FONT face=sans-serif color=#4141ff 
  size=3>I have copied and inserted the portion of code below from the (Itasca) 
  index.html into my index.html file.</FONT> <BR><BR><FONT face=sans-serif 
  size=3>&lt;!-- EDIT THE FORM ACTION --&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;form name="watershed_main" method="GET" 
  action="/cgi-bin/mapserv.exe"&gt;</FONT> <BR><BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &lt;input type="hidden" name="layer" 
  value="major_basins"&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &lt;input type="hidden" name="layer" value="county"&gt;</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;input type="hidden" 
  name="layer" value="MajRds"&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &lt;input type="hidden" name="zoomsize" value=2&gt;</FONT> 
  <BR><BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;!-- EDIT THESE 
  HIDDEN VARIABLES --&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &lt;input type="hidden" name="map" 
  value="d:/webData/watershed/major_basins.map"&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;input type="hidden" 
  name="program" value="/cgi-bin/mapserv.exe"&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;input type="hidden" 
  name="root" value="http://sr08dmnspl/watershed"&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;input type="hidden" 
  name="map_web_imagepath" value="./tmp/"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &lt;input type="hidden" name="map_web_imageurl" 
  value="http://sr08dmnspl/watershed/tmp/"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &lt;input type="submit" value="Start 
  Application"&gt;&lt;/center&gt;</FONT> <BR><BR><BR><FONT face=sans-serif 
  color=#4141ff size=3>I have also copied the code below from the 
  itasca_adds_dhtml.html file and placed it into my file called 
  watershed_main.html</FONT> <BR><BR><FONT face=sans-serif color=#4141ff 
  size=3>Here is my watershed_main.html code</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&lt;!-- watershed_main.html</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp;This is the start of the interactive major 
  watershed map. --&gt;</FONT> <BR><BR><FONT face=sans-serif 
  size=3>&lt;html&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;head&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;title&gt;Interactive Major (HUC Level 4) Web 
  Page&lt;/title&gt;</FONT> <BR><BR><BR><BR><FONT face=sans-serif size=3>&lt;!-- 
  the DHTML JavaScript library includes --&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;script type="text/javascript" 
  src="../watershed/javascript/cbe/cbe_core.js"&gt;&lt;/script&gt;</FONT> 
  <BR><FONT face=sans-serif size=3>&lt;script type="text/javascript" 
  src="../watershed/javascript/cbe/cbe_event.js"&gt;&lt;/script&gt;</FONT> 
  <BR><BR><FONT face=sans-serif size=3>&lt;!-- MapServer specific JavaScript 
  library includes --&gt;</FONT> <BR><FONT face=sans-serif size=3>&lt;script 
  language="javascript" 
  src="../watershed/javascript/mapserv.js"&gt;&lt;/script&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&lt;script language="JavaScript" 
  src="../watershed/javascript/dbox.js"&gt;&lt;/script&gt;</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&lt;!-- utility library --&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&lt;script language="JavaScript" 
  src="../watershed/javascript/utils.js"&gt;&lt;/script&gt;</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&lt;!-- scripting specific to the application 
  --&gt;</FONT> <BR><FONT face=sans-serif size=3>&lt;script 
  language="javascript"&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; // 
  first, nab any arguments passed to this page (so we don't have to edit the 
  page)</FONT> <BR><FONT face=sans-serif size=3>&nbsp; var args = 
  getargs();</FONT> <BR><BR><FONT face=sans-serif size=3>&nbsp; // the DHTML 
  main mapping window (note the significance of the name "main" here and with 
  the Mapserv object)</FONT> <BR><FONT face=sans-serif size=3>&nbsp; var main = 
  new dBox("main",600, 600, "#FF0000", 2);</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; // main.verbose = true;</FONT> <BR><BR><FONT face=sans-serif 
  size=3>&nbsp; // the DHTML reference map window</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; var reference = new dBox("reference", 120, 120, 
  "#989898", 1);</FONT> <BR><FONT face=sans-serif size=3>&nbsp; reference.box = 
  false;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; reference.cursorsize = 
  0;</FONT> <BR><BR><FONT face=sans-serif size=3>&nbsp; // mapserv.js global 
  variables</FONT> <BR><FONT face=sans-serif size=3>&nbsp; var MapServer = 
  args.program;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; var QueryServer = 
  MapServer;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; var Interface = 
  "dhtml";</FONT> <BR><BR><FONT face=sans-serif size=3>&nbsp; // create the 
  Mapserv object</FONT> <BR><FONT face=sans-serif size=3>&nbsp; var ms = new 
  Mapserv("main", args.map, 149599, 4782069, 767075, 5483304, 600, 600);</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; ms.minscale = 1000;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; ms.maxscale = 1550000;</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&nbsp; // layer definitions</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; ms.layers[ms.layes.length] = new layer 
  ('major_basins','Major Basins','layers',true, null, null)</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; ms.layers[ms.layers.length] = new 
  Layer('county', 'Counties', 'layers', false, null, null);</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; ms.layers[ms.layers.length] = new 
  Layer('MajRds', 'Major Roads', 'layers', false, null, null);</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; ms.buildlayers();</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&nbsp; // add the reference map</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; ms.referencemap = new Mapserv("reference", 
  args.map, 393234.393701263, 5205405.16440722, 495769.579718949, 
  5307959.02579127, 120, 120);</FONT> <BR><BR><FONT face=sans-serif 
  size=3>&nbsp; //</FONT> <BR><FONT face=sans-serif size=3>&nbsp; // Extensions 
  to Mapserv.draw(): this allows you to exend the capabilties of</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; // of the default draw method. There 
  are post and pre draw functions available.</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; //</FONT> <BR><FONT face=sans-serif size=3>&nbsp; function 
  predraw() {</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; // clear any 
  query results</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  top.query_frame.location.href='watershed_main.html';</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; // update the scalebars</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; document.scalebar_miles.src = MapServer + 
  "?map=" + ms.mapfile + "&amp;mode=scalebar&amp;mapext=0+0+" + (ms.extent[2] - 
  ms.extent[0]) + "+" + (ms.extent[3] - ms.extent[1]) + "&amp;mapsize=" + 
  ms.width + "+" + ms.height;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; document.scalebar_kilometers.src = MapServer + "?map=" + ms.mapfile + 
  "&amp;map_scalebar_units=kilometers&amp;mode=scalebar&amp;mapext=0+0+" + 
  (ms.extent[2] - ms.extent[0]) + "+" + (ms.extent[3] - ms.extent[1]) + 
  "&amp;mapsize=" + ms.width + "+" + ms.height;</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; // update the legend</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; document.legend.src = MapServer + "?map=" 
  + ms.mapfile + "&amp;mode=legend&amp;layers=" + ms.layerlist;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; reference.sync();</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; }</FONT> <BR><BR><FONT face=sans-serif 
  size=3>&nbsp; //</FONT> <BR><FONT face=sans-serif size=3>&nbsp; // Functions 
  that are called by the jBox applet or the dBox javascript code:</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; // basically these provide the gateway 
  from the applet/layers to the rest of</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; // the application. Note that they are the same regardless of 
  implementation.</FONT> <BR><FONT face=sans-serif size=3>&nbsp; //</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; // Bottom line: you may want to swipe 
  some of this code.</FONT> <BR><FONT face=sans-serif size=3>&nbsp; //</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; // jBox/dBox errors are passed to the 
  browser via this function</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  function seterror_handler(name, message) { alert("Component " + name + " 
  error: " + message); }</FONT> <BR><BR><FONT face=sans-serif size=3>&nbsp; // 
  allows jBox/dBox to reset without redrawing</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; function reset_handler(name, minx, miny, maxx, maxy) { }</FONT> 
  <BR><BR><FONT face=sans-serif size=3>&nbsp; // called from jBox/dBox when the 
  user initiates change</FONT> <BR><FONT face=sans-serif size=3>&nbsp; function 
  setbox_handler(name, minx, miny, maxx, maxy) {</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; if(name == 'reference') {</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; ms.applyreference(minx, 
  miny);</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; 
  ms.draw();</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; } else 
  {</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; if(ms.mode == 
  'map') {</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; 
  if(minx != maxx &amp;&amp; miny != maxy)</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ms.applybox(minx, miny, maxx, 
  maxy);</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; 
  else</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; ms.applyzoom(minx, miny);</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &nbsp; ms.draw();</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; } else if(ms.mode != 'map') {</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; ms.applyquerybox(minx, 
  miny, maxx, maxy); // these just set members</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &nbsp; ms.applyquerypoint(minx, miny); &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &nbsp; ms.query(); // builds query URL</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; 
  top.query_frame.location.href = ms.url;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; }</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; }</FONT> <BR><FONT face=sans-serif size=3>&nbsp; }</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  </FONT><BR><FONT face=sans-serif size=3>&nbsp; // various event handlers 
  called by jBox/dBox</FONT> <BR><FONT face=sans-serif size=3>&nbsp; function 
  mousemove_handler(name, x, y) {</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; window.status = "UTM Coordinates: x=" + Math.round(Number(ms.extent[0] 
  + x*ms.cellsize)) + " and y=" + Math.round(Number(ms.extent[3] - 
  y*ms.cellsize));</FONT> <BR><FONT face=sans-serif size=3>&nbsp; }</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; function mouseexit_handler(name) { 
  window.status = ""; }</FONT> <BR><FONT face=sans-serif size=3>&nbsp; function 
  mouseenter_handler(name) { window.status = ""; }</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&nbsp; // page initialization function</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; function windowOnload() {</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; main.initialize();</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; reference.initialize();</FONT> 
  <BR><BR><FONT face=sans-serif size=3>&nbsp; &nbsp; ms.zoomdir=1;</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; ms.draw();</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; }</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;/script&gt;</FONT> <BR><BR><BR><FONT face=sans-serif size=3>&lt;p 
  align="center"&gt;Interactive Major (HUC Level 4) Web Page&lt;/p&gt;</FONT> 
  <BR><FONT face=sans-serif size=3>&lt;/b&gt;&lt;/font&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&lt;hr&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;table border=0 cellpadding=5&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;tr&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &lt;td 
  align=center valign="top"&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &lt;table width="390" border="0" cellspacing="0" cellpadding="0" 
  align="center" bgcolor="#666666"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;tr&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &lt;td align="right" width="18"&gt;&lt;a 
  href="javascript:ms.pan('nw')"&gt;&lt;img src="../watershed/images/nw.gif" 
  width="18" height="18" border="0" alt="pan 
  northwest"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &lt;td align="center"&gt;&lt;a 
  href="javascript:ms.pan('n')"&gt;&lt;img src="../watershed/images/n.gif" 
  width="23" height="18" border="0" alt="pan 
  north"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &lt;td align="left" width="18"&gt;&lt;a 
  href="javascript:ms.pan('ne')"&gt;&lt;img src="../watershed/images/ne.gif" 
  width="18" height="18" border="0" alt="pan 
  northeast"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;/tr&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;tr&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &lt;td align="right" width="18"&gt;&lt;a 
  href="javascript:ms.pan('w')"&gt;&lt;img src="../watershed/images/w.gif" 
  width="18" height="23" border="0" alt="pan 
  west"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &lt;td align="center" bgcolor="#cccccc"&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- this is the holding 
  spot (the anchor) for the map --&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &nbsp; &lt;DIV id="main_anchor" 
  style="position:relative; visibility:visible; width:100%; height:100%; 
  left:0px; top:0px;"&gt;&lt;IMG src="../watershed/images/red_pixel.gif" 
  height="600" width="600"&gt;&lt;/DIV&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- absolutely positioned layer to hold 
  the map --&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; 
  &nbsp; &lt;DIV id="main" style="position:absolute; visibility:visible; 
  width:100%; height:100%; clip:rect(100%,100%,100%,100%); 
  background:transparent;"&gt;&lt;IMG name="main" 
  src="../watershed/images/transparent_pixel.gif" height="600" 
  width="600"&gt;&lt;/DIV&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &lt;td align="left" width="18"&gt;&lt;a 
  href="javascript:ms.pan('e')"&gt;&lt;img src="../watershed/images/e.gif" 
  width="18" height="23" border="0" alt="pan 
  east"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &lt;/tr&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &lt;tr&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;td 
  align="right" width="18"&gt;&lt;a href="javascript:ms.pan('sw')"&gt;&lt;img 
  src="../watershed/images/sw.gif" width="18" height="18" border="0" alt="pan 
  southwest"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &lt;td align="center"&gt;&lt;a 
  href="javascript:ms.pan('s')"&gt;&lt;img src="../watershed/images/s.gif" 
  width="23" height="18" border="0" alt="pan 
  south"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &lt;td align="left" width="18"&gt;&lt;a 
  href="javascript:ms.pan('se')"&gt;&lt;img src="../watershed/images/se.gif" 
  width="18" height="18" border="0" alt="pan 
  southeast"&gt;&lt;/a&gt;&lt;/td&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;/tr&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;tr&gt;&lt;td bgcolor="#666666" colspan="3"&gt;</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;img 
  name="scalebar_kilometers" align="right" title="scalebar (km)" alt="scalebar 
  (km)" src="../watershed/images/white_pixel.gif"&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &lt;img name="scalebar_miles" 
  title="scalebar (mi)" alt="scalebar (mi)" 
  src="../watershed/images/white_pixel.gif"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;/td&gt;&lt;/tr&gt;</FONT> <BR><BR><FONT 
  face=sans-serif size=3>&lt;/table&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &lt;td valign=top&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;p align="left"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;font size=+2 face=arial,helvetica&gt;&lt;b&gt;MAP 
  CONTROLS&lt;/b&gt;&lt;/font&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &lt;hr&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &lt;!-- Note 
  that we don't have a submit action for this form, we only need the form for 
  some controls --&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &lt;form name="mapserv" action="javascript:void(0)"&gt;</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; 
  &lt;p&gt;&lt;b&gt;Choose an Action: &lt;/b&gt;&lt;br&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &nbsp; &nbsp; &lt;input 
  onClick="ms.mode='map'" type="radio" name="mode" checked&gt; Browse 
  map&lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; 
  &nbsp; &lt;input onClick="ms.mode='query'" type="radio" name="mode"&gt; Query 
  feature&lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; 
  &nbsp; &lt;input onClick="ms.mode='nquery'" type="radio" name="mode"&gt; Query 
  multiple features</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &nbsp; 
  &nbsp; </FONT><BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &lt;!--&lt;font 
  size=+1 face=arial,helvetica&gt;Layers&lt;/font&gt;--&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &lt;br&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &lt;p&gt;&lt;b&gt;Select Layers to 
  Display: &lt;/b&gt;&lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &lt;select multiple name="layers" size=3 
  onChange="ms.togglelayers(this)"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;option value="county"&gt; Counties </FONT><BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; &lt;option value="MajRds"&gt; Major Roads 
  </FONT><BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &lt;/select&gt;</FONT> 
  <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; &lt;br&gt;</FONT> <BR><FONT 
  face=sans-serif size=3>&nbsp; &nbsp; </FONT><BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &nbsp; &nbsp;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &nbsp; &lt;p&gt;&lt;b&gt;Zoom Controls: 
  &lt;/b&gt;&lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &nbsp; &lt;input onClick="ms.zoomdir=1" type=radio name=zoomdir 
  checked&gt;Zoom In&lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &nbsp; &lt;input onClick="ms.zoomdir=0" type=radio 
  name=zoomdir&gt;Pan&lt;br&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; 
  &nbsp; &nbsp; &nbsp; &lt;input onClick="ms.zoomdir=-1" type=radio 
  name=zoomdir&gt;Zoom Out</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &nbsp; &lt;p&gt;</FONT> <BR><FONT face=sans-serif size=3>&nbsp; &nbsp; 
  &nbsp; &nbsp; Zoom Size &lt;input type=text name=zoomsize size=4 value=2 
  onChange="ms.zoomsize=this.value"&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&nbsp; &lt;/td&gt;</FONT> <BR><FONT face=sans-serif 
  size=3>&lt;/tr&gt;&lt;/table&gt;</FONT> <BR></BLOCKQUOTE></BODY></HTML>