/*
 * 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='2007-12-28 16:05:24';
var mainMapservice = 'isos';
var ovMapservice = 'Continents';
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/isos/layers.xml';

var aboutTheDataUrl = "http://lwf.ncdc.noaa.gov/oa/ncdc.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'; 

viewerTitle = "Integrated Surface Observing System Viewer"; 

var version = "2.0";

//initial map extent
var startLeft   = -180;
var startBottom = -90;
var startRight  =  180;
var startTop    =  90;
var startEnvelope = new EnvelopeFloat(startLeft,startBottom,startRight,startTop);

var limitLeft =   -180;
var limitBottom = -90;
var limitRight =   180;
var limitTop =     90;
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...');
}
*/

