/**
 *	Copyright 2002-2007 by Earth Resource Mapping Ltd.  All rights reserved.
 *	Image Integration Framework generated pages may only be served by organizations that have
 *	a license for the Image Integration Framework product. Image Integration Framework may only be used by
 *	Application Service Providers (ASPs) with a license for the Image Integration Framework ASP Edition product.
 *
 *  @fileoverview DoL Spatial Information eXchange configuration file.
 *	This file contains:
 *	- ECWP URLs
 *	- ArcIMS / SOAP server paths
 *	- CAPTCHA configuration parameters
 *	- URLs for Clip N Ship, Data Order and Spot 5 Scene Order systems
 */

var IIFConfig = new Object();

IIFConfig.bAuthorisationRequired = false;

IIFConfig.LOGO_LINK_URL = "http://www.oregonexplorer.info";

IIFConfig.ECWP_SERVER = document.location.host;
//IIFConfig.ARCXML_SERVER = "vaduz.library.oregonstate.edu:8080";

//IIFConfig.ARCXML_SERVER = "arcims.oregonexplorer.info";
IIFConfig.ARCXML_SERVER = "isoleucine.library.oregonstate.edu:8080";
IIFConfig.ARCXML_SERVICE = "ImagerySearch";
IIFConfig.ARCXML_LEGEND_EXCLUDE_LAYERS = [];
IIFConfig.ARCIMS_HIDECOLORS = ["#FEFFFF"];
IIFConfig.ARCXML_ZOOM_TO_FEATURE_DELTA = 7; 

IIFConfig.SOAP_SERVICE = "http://www.oregonexplorer.info/MapTools/Geocode.aspx";
IIFConfig.ADDRESS_SEARCH_SCALE_FACTORS = [-1, 1500, 560, 20, 10, 10, 1, 0.5, -1]; 

//IIFConfig.SENTINEL_ARCXML_SERVER = "sentinel.ga.gov.au";
IIFConfig.LOGO_GRAPHIC = "./images/North.png";
IIFConfig.OVERVIEW_MAP = "http://isoleucine.library.oregonstate.edu:8080/wmsconnector/com.esri.wms.Esrimap?SRS=EPSG:4326&Layers=6,3,1,0,2,4,7,8,9,11,12,13,15,&version=1.1.1&service=WMS&FORMAT=JPEG&TRANSPARENT=FALSE&request=getmap&ServiceName=Overview";
IIFConfig.OVERVIEW_MAP_WIDTH = 307;
IIFConfig.OVERVIEW_MAP_HEIGHT = 123;
IIFConfig.OVERVIEW_PADDING = 0.6;
IIFConfig.OVERVIEW_ERRORTIMEOUT = 10000;

IIFConfig.STARTING_EXTENTS = [-127.185236, 48.507540, -115.264340, 39.396943];
IIFConfig.ECW_BLANK_WGS84_GEODETIC	= "ecwp://" + document.location.host + "/ecwimages/blank/WGS84-GEO.ecw";

/************************** Image Extraction *************************/
IIFConfig.IEE_SUBMISSION 			= "./RSubmitExtractionPopup.htm";
IIFConfig.IEE_SUBSYSTEM             = "http://imageextractor.oregonexplorer.info/imageextractionexamples/RequestSubmission.aspx";
IIFConfig.MAX_SIZE_PER_EXTRACTION = "100MB";
IIFConfig.MAX_SIZE_PER_DAY = "2000MB";

/************************** Image Catalog *************************/
IIFConfig.CALENDAR_URL                  = "./RCalendarPopup.htm"
IIFConfig.IMAGE_CATALOG_FILTER_IMAGES   = "./IIFService.asmx/filterImages";
IIFConfig.IMAGE_CATALOG_ALL_IMAGES      = "./IIFService.asmx/getAllImages";
IIFConfig.IMAGE_CATALOG_ALL_SENSORS     = "./IIFService.asmx/getAllSensorTypes";
IIFConfig.IMAGE_CATALOG_ALL_PLATFORMS   = "./IIFService.asmx/getAllPlatformTypes";

IIFConfig.HELP_CLOUD_CONTENT = ["Find a specific place or area of interest by selecting from the list of options (e.g., address, county name or signed route milepost), and then typing location-specific information into the Search box.",
                                "<p class='helpCloudParagraph'>Turn other map layers on and off by clicking the box next to each data layer.</p><p class='helpCloudParagraph'>For example, by clicking the box next to the \"Major cities\" data layer, you can overlay this data layer on the imagery source.</p><p class='helpCloudParagraph'>These data layers are designed to help you navigate and visualize the imagery data.</p><p class='helpCloudParagraph'>You cannot extract these data layers and they will not be visible in any extracted imagery.</p>",
                                "<p class='helpCloudParagraph'>From the list of images available for the zoom region or area of interest, select an imagery source to display.</p><p class='helpCloudParagraph'>The list of available imagery can be filtered by keyword, date, resolution, sensor type or positional accuracy by typing the parameter of interest into the Search box.</p><p class='helpCloudParagraph'>When you choose one of the extract and download options below, you can extract from all of images in the list even if they are not currently visible/turned on.</p>",
                                "Extract imagery from the source data and download this product.  Data may be extracted by either:<ol style='margin-top:5px;margin-bottom:5px;'><li class='helpCloudParagraph'>Defining a specific area of interest in the imagery source shown on the screen and extracting this.</li><li class='helpCloudParagraph'>Extracting the entire current view of the imagery source that is shown on the screen.</li></ol>"];

IIFConfig.SUPPORTED_SRS = [["32026", "NAD27/OR State Plane N (ft)"],
                           ["32027", "NAD27/OR State Plane S (ft)"],
                           ["26710", "NAD27/UTM Zone 10N"],
                           ["26711", "NAD27/UTM Zone 11N"],
                           ["2992", "NAD83/OR Lambert (ft)"],
                           ["2994", "HARN/OR Lambert (ft)"],
                           ["2269", "NAD83/OR State Plane N (ft)"],
                           ["2913", "HARN/OR State Plane N (ft)"],
                           ["2270", "NAD83/OR State Plane S (ft)"],
                           ["2914", "HARN/OR State Plane S (ft)"],
                           ["26910", "NAD83/UTM Zone 10N"],
                           ["26911", "NAD83/UTM Zone 11N"],
                           ["4326", "WGS84"]];
                           


                           
