<font size=2 face="sans-serif">Hi -</font>
<br>
<br><font size=2 face="sans-serif">I've looked on line and don't see what
I'm doing wrong. This is my debug info... with error code.</font>
<br>
<br><font size=2 face="sans-serif"> URL:</font>
<br><font size=2 face="sans-serif"> </font><a href="http://maps1.arcgisonline.com/ArcGIS/rest/services/NGA_US_National_Grid/MapServer/5/export?LAYERS=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C28&SRS=4269&ISBASELAYER=true&VISIBILITY=true&FORMAT=png&BBOX=-81.5625%2C39.375%2C-78.75%2C42.1875&SIZE=256%2C256&F=image&BBOXSR=4326&IMAGESR=4326"><font size=2 face="sans-serif">http://maps1.arcgisonline.com/ArcGIS/rest/services/NGA_US_National_Grid/MapServer/5/export?LAYERS=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C28&SRS=4269&ISBASELAYER=true&VISIBILITY=true&FORMAT=png&BBOX=-81.5625%2C39.375%2C-78.75%2C42.1875&SIZE=256%2C256&F=image&BBOXSR=4326&IMAGESR=4326</font></a>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> Request Method:</font>
<br><font size=2 face="sans-serif"> GET</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> Status Code:</font>
<br><font size=2 face="sans-serif"> HTTP/1.1 400 Bad Request</font>
<br>
<br><font size=2 face="sans-serif">And this is my test program.</font>
<br>
<br><font size=2 face="sans-serif"><!DOCTYPE html></font>
<br><font size=2 face="sans-serif"><html></font>
<br><font size=2 face="sans-serif"> <head></font>
<br><font size=2 face="sans-serif"> <meta http-equiv="Content-Type"
content="text/html; charset=utf-8"></font>
<br><font size=2 face="sans-serif"> <meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
user-scalable=0"></font>
<br><font size=2 face="sans-serif"> <meta name="apple-mobile-web-app-capable"
content="yes"></font>
<br><font size=2 face="sans-serif"> <title>OpenLayers
Basic Single WMS Example</title></font>
<br><font size=2 face="sans-serif"> <link rel="stylesheet"
href="../theme/default/style.css" type="text/css"></font>
<br><font size=2 face="sans-serif"> <link rel="stylesheet"
href="style.css" type="text/css"></font>
<br><font size=2 face="sans-serif"> <script src="OpenLayers.js"></script></font>
<br><font size=2 face="sans-serif"> <script type="text/javascript"></font>
<br><font size=2 face="sans-serif"> var map,
layer;</font>
<br><font size=2 face="sans-serif"> function
init(){</font>
<br><font size=2 face="sans-serif">
map = new OpenLayers.Map( 'map' );</font>
<br><font size=2 face="sans-serif">
layer
= new OpenLayers.Layer.WMS( "OpenLayers WMS",</font>
<br><font size=2 face="sans-serif">
"</font><a href=http://imselev.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?><font size=2 face="sans-serif">http://imselev.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?</font></a><font size=2 face="sans-serif">",</font>
<br><font size=2 face="sans-serif">
{layers: 'NED.CONUS_NED', srs: "4326",
format: "image/png"} );</font>
<br><font size=2 face="sans-serif">
//map.addLayer(layer);</font>
<br><font size=2 face="sans-serif">
//map.zoomToMaxExtent();</font>
<br><font size=2 face="sans-serif"> //"</font><a href=http://maps1.arcgisonline.com/ArcGIS/rest/services/NGA_US_National_Grid/MapServer/5/export><font size=2 face="sans-serif">http://maps1.arcgisonline.com/ArcGIS/rest/services/NGA_US_National_Grid/MapServer/5/export</font></a><font size=2 face="sans-serif">",
</font>
<br><font size=2 face="sans-serif">
var layer2
= new OpenLayers.Layer.ArcGIS93Rest( "ArcGIS Server Layer",
</font>
<br><font size=2 face="sans-serif">
"</font><a href=http://maps1.arcgisonline.com/ArcGIS/rest/services/NGA_US_National_Grid/MapServer/5/export><font size=2 face="sans-serif">http://maps1.arcgisonline.com/ArcGIS/rest/services/NGA_US_National_Grid/MapServer/5/export</font></a><font size=2 face="sans-serif">",
</font>
<br><font size=2 face="sans-serif">
{layers: "show:0,1,2,3,4,5,6,7,8,9,10,11,12,28",
srs: "4269", isBaseLayer: true, visibility: true});</font>
<br><font size=2 face="sans-serif">
layer2.isBaseLayer = true;</font>
<br><font size=2 face="sans-serif">
layer2.wrapDateLine
= true;</font>
<br><font size=2 face="sans-serif">
map.addLayer(layer2);</font>
<br><font size=2 face="sans-serif">
map.zoomToMaxExtent();</font>
<br><font size=2 face="sans-serif">
map.setCenter(new
OpenLayers.LonLat(lon=-77.44555646516,lat=39.500732399862), 7); </font>
<br><font size=2 face="sans-serif"> }</font>
<br><font size=2 face="sans-serif"> </script></font>
<br><font size=2 face="sans-serif"> </head></font>
<br><font size=2 face="sans-serif"> <body onload="init()"></font>
<br><font size=2 face="sans-serif"> <h1 id="title">Basic
Single WMS Example</h1></font>
<br>
<br><font size=2 face="sans-serif"> <div id="tags"></font>
<br><font size=2 face="sans-serif"> basic, simple,
minimal, cleanup</font>
<br><font size=2 face="sans-serif"> </div></font>
<br>
<br><font size=2 face="sans-serif"> <div id="shortdesc">Show
a Simple Map</div></font>
<br>
<br><font size=2 face="sans-serif"> <div id="map"
class="smallmap" style="border:1px solid blue;width:512px;height:256px;"></></div></font>
<br>
<br><font size=2 face="sans-serif"> <div id="docs"></font>
<br><font size=2 face="sans-serif"> <p>This
example shows a very simple layout with minimal controls.</font>
<br><font size=2 face="sans-serif"> This example
uses a single WMS base layer.</p></font>
<br><font size=2 face="sans-serif"> </div></font>
<br><font size=2 face="sans-serif"> </body></font>
<br><font size=2 face="sans-serif"></html></font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Douglas Kunzman<br>
12201 Sunrise Valley Drive<br>
Reston, VA 20192<br>
dkunzman@usgs.gov<br>
</font>