var rasterconfCountryCode = null; 
var rasterconfBasepath = null;
var rasterconfIconpath = null;
var rasterconfTransmitterIcon = null;
var rasterconfSUrl = null;
var rasterconfYTileMin = null; 
var rasterconfYTileMax = null;
var rasterconfXTileMin = null; 
var rasterconfXTileMax = null;
var MIN_ZOOM_LEVEL = null; // no 'rasterconf' prefix, for historical reasons...
var MAX_ZOOM_LEVEL = null;

// Now, behavioral config (also per site, therefore this .js file is a good
// place)
var printCompassOutdoor = new Boolean(true);
var printTransmitterLines = new Boolean(true);
var printWhichIsBest = new Boolean(true);
var printReceiverRegion = new Boolean(true); // If enable, also enable
					     // transmitter regions and getting
					     // 3rd bs xml!!!
var printTransmitterRegion = new Boolean(true);
var getXmlThirdBestServer = new Boolean(true);

// end behavioral config

function rasterconfInit() {
    var serverUrl = "http://www.dr.dk/php/drmu/kortoverlay";
    
    // Some path definitions, change according to setup
    rasterconfCommonpath = 
	serverUrl + "/common";
    rasterconfBasepath = 
	serverUrl + "/danmarks_radio";
    rasterconfIconpath = rasterconfBasepath +
	"/images/icons";
        // Create our "tiny" marker icon
    rasterconfTransmitterIcon = new GIcon();
    rasterconfTransmitterIcon.image = rasterconfIconpath + "/towerIcon.png";
    rasterconfTransmitterIcon.iconSize = new GSize(47, 63);
    rasterconfTransmitterIcon.iconAnchor = new GPoint(23, 55);

    rasterconfSUrl = 
	serverUrl + "/danmarks_radio/cgi-bin/danmarks_radio/"
	+ "coverage_analysis.pl";
    rasterconfCountryCode=".dk"; // used to bias the geocoder
    rasterconfLanguage = "danish"; // Used to configure the language
				   // string module

    rasterconfYTileMin = 1227;
    rasterconfYTileMax = 1322; // max Y plus 1 to get bottom edge 
    rasterconfXTileMin = 2122; 
    rasterconfXTileMax = 2248; // max X plus 1 to get right edge
    
    MIN_ZOOM_LEVEL = 6;
    MAX_ZOOM_LEVEL = 12;
    TILE_MAX_ZOOM_LEVEL = 12;
}


