/*
 * 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 09:55:28';
var mainMapservice = 'dart';
var ovMapservice = 'continents_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/dart/layers.xml';

var aboutTheDataUrl = "http://www.ngdc.noaa.gov/hazard/DARTData.shtml";

//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'; 

viewerTitle = "Deep-ocean Assessment and Reporting of Tsunamis (DART)";

var version = "2.0";

//initial map extent
var startLeft   = -12000000;
var startRight  =  15000000;
var startTop    =  8390498;
var startBottom = -6000000;
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
******************************************************************************/
/*
var hostName = document.location.host;
var esriBlurb = "/servlet/com.esri.esrimap.Esrimap?ServiceName=";
// make URL for getting mapservice catalog
var catURL = "http://" + hostName + esriBlurb + "catalog";
var serverURL  = "http://" + hostName + esriBlurb;

//legacy variables - still used during transition by Authorize.htm, aimsPrint.js
var imsURL = 'http://mapdevel.ngdc.noaa.gov/servlet/com.esri.esrimap.Esrimap?ServiceName=basicworld';
var imsOVURL =  'http://mapdevel.ngdc.noaa.gov/servlet/com.esri.esrimap.Esrimap?ServiceName=basicworld';
var imsQueryURL= imsURL + "&CustomService=Query";
*/

// 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");
	}
}	
		


/*
if (parent.log) {
   log.debug('ArcIMSparam.js finished loading...');
}
*/

