function launch(){
H = screen.height;
W = screen.width;
var win = window.open("manigomap/index.htm","_blank","resizable=yes, menubar=no, height="+H+" width="+W);
win.moveTo(0,0);
win.resizeTo(W,H);
}

var hidden = true;
var helphtml = "<style type='text/css'>a{color:#336666;}a:hover{text-decoration:none;color:#669999;}</style>" +
"<p><em>- You must have Javascript and pop-ups allowed in order to view the map and all it's content. If your browser shows an alert regarding blocked content, allow it for the site.<br>"+
"- The map is best viewed in at least <b>1024x768</b> screen resolution. Lower settings do not provide sufficient space to view all the information. If you find it difficult to view the map, increase your resolution.</em><br>" +
"<br>" +
"- Clicking and dragging on the map pans around. Using the mouse wheel changes zoom. If you don't have a mouse wheel, use the zoom slider on the left. Clicking a point, trail, or fire area opens a window with more information. Clicking the X in the corner or clicking outside the pop-up window closes it.<br>" +
"- The map is fully loaded when the water is drawn on top of the existing satellite image. If the 'Map Loading' message does not disappear from the top after a period of time, try reloading the page. If that doesn't work, your browser may not fully support the map.<br>" +
"- For slower connections and older browsers, turning on too many points and layers may cause a dramatic loss of speed and long load times. Try reducing the number of things displayed at once.<br>" +
"- Turning on a point type in the legend will create a 2 column list of all the points of that type below the map. Clicking the name of the point will open its call out box.<br>" +
"- At very high zoom levels, the background satellite image will disappear due to its resolution (image is provided by Google, not EcoNet).<br>" +
"- If, upon changing zooms, that the water no longer &quot;sits&quot; correctly on the satellite image, change zooms again. If that doesn't work, reload the map.<br>" +
"- Currently, the water layer blocks out islands in the river. This will be fixed at a later date, but you can see islands by turning the water off.<br>" +
"- Any PDFs or websites you view that are linked from the map will open in a new window so that you don't lose your spot.<br>" +
"- Clicking on an image thumbnail in an info-window will open the full size image in a view panel. The panel changes size depending on the size of your browser window. If you can't see the whole image you can scroll around. Clicking anywhere inside the panel closes it.<br>" +
"- Clicking on the layer name in the Overlay legend will display a key for that layer. This also allows you to download the KML files for viewing in Google Earth.<br/>" +
"- <em><b>Internet Explorer users:</b></em><br>" +
"<b>There are known bugs that slow down the displaying of points on the map. A fix is being worked on, but for now know that showing and hiding points from the legend (especially clicking \"show all\") may take several seconds. In the mean time, <u>it is highly recommended that you try a different browser</u>...</b></p>"+
"<b>Fully compatable browsers: <a href='http://www.mozilla.com' target='_blank'>Firefox</a>, <a href='http://www.opera.com' target='_blank'>Opera</a>, or <a href='http://www.apple.com/safari/download/' target='_blank'>Safari</a>" +
"<br>" +
"If you are having trouble with the map, or have any comments about it, use the comment form on the left of the main window.";

function toggle(){
if (hidden)
showdiv();
else
hidediv();

hidden = !hidden;

}

function showfeedback(){	//opens comment form in new window.
		var commentwin = window.open('manigomap/feedback.htm','','height=350,width=700,resizable=no');
	}

function hidediv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideShow').style.visibility = 'hidden';
document.getElementById('hideShow').innerHTML = "";
}
else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'hidden';
document.hideShow.innerHTML = ""
}
else { // IE 4
document.all.hideShow.style.visibility = 'hidden';
document.all.hideShow.innerHTML = "";
}
}
}

function showdiv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideShow').style.visibility = 'visible';
document.getElementById('hideShow').innerHTML = helphtml;
}
else {
if (document.layers) { // Netscape 4
document.hideShow.visibility = 'visible';
document.hideShow.innerHTML = document.hideShow.innerHTML = helphtml;
}
else { // IE 4
document.all.hideShow.style.visibility = 'visible';
document.all.hideShow.innerHTML = helphtml;
}
}
}

