/*
 * ArcIMSparam.js
 *
 * settings particular to this viewer. These values generally change
 * with each instance.
 * 
 * This file should only be loaded by viewer.htm and therefore should be 
 * available to all frames  
 *
 * WARNING: this file should not be edited directly.  Instead make changes
 * to ArcIMSparamTemplate.js  
 */

var buildDate='2009-06-05 10:28:05';
var mainMapservice = 'nos_hydro';
var ovMapservice = 'continents_yellow_pac';
var mainMapserviceHost = 'map.ngdc.noaa.gov';
var ovMapserviceHost = 'map.ngdc.noaa.gov';

//NGDC ServletConnector proxy
var proxyUrl = 'http://map.ngdc.noaa.gov/arcimsProxy/arcimsproxy?';

//layers configuration file
//var configUrl = 'http://map.ngdc.noaa.gov/website/mgg/nos_hydro/layers.xml';

var aboutTheDataUrl = "http://www.ngdc.noaa.gov/mgg/bathymetry/hydro.html";

//values for "breadcrumb" links in top.htm
var breadcrumbs = new Object();
breadcrumbs['NOAA'] = 'http://www.noaa.gov'; 
breadcrumbs['NESDIS'] = 'http://www.nesdis.noaa.gov'; 
breadcrumbs['NGDC'] = 'http://www.ngdc.noaa.gov/ngdc.html'; 
breadcrumbs['Maps'] = 'http://www.ngdc.noaa.gov/maps/interactivemaps.html'; 

var version = "2.0";

//initial map extent
var startLeft   =  -1258388;
var startRight  =  14446587;
var startTop    =   9067565;
var startBottom =    833498;
var startEnvelope = new EnvelopeFloat(startLeft,startBottom,startRight,startTop);

var limitLeft =   -20015077;
var limitRight =   20015077;
var limitTop =     10007538;
var limitBottom = -10007538; 
var limitEnvelope = new EnvelopeFloat(limitLeft,limitBottom,limitRight,limitTop);


/******************************************************************************
 everything below here is deprecated
******************************************************************************/
// setup test for Nav 4.0
var isIE = false;
var isNav = (navigator.appName.indexOf("Netscape")>=0);
var isNav4 = false;
var isIE4 = false;
var is5up = false;
//alert(navigator.appVersion);
if (isNav) {
	
	if (parseFloat(navigator.appVersion)<5) {
		isNav4=true;
		//alert("Netscape 4.x or older");
	} else {
		is5up = true;
	}
} else {
	isIE4=true;
	isIE=true;
	if ((navigator.appVersion.indexOf("MSIE 5")>0) || (navigator.appVersion.indexOf("MSIE 6")>0)) {
		isIE4 = false;
		is5up = true;
		//alert("IE5");
	}
}	
