
/*****************************
* CHECKLIST
-	 Logo
		> Should be placed under the /img directory
		> Name should be of the form [client].jpg (yes - that means jpeg)
		> Dimensions of the logo should be 110X44 pixels - no more, no less.
* REQUIRED VARS
 -	Start location
		start_lon
		start_lat
		start_zoom (relative to client_scales array)
 - 	Boolean - Tells the map whether to display these common layers or not
		doVegir
		doOrnefni
		doSveitabaeir
		doGotuheiti
		doHusnumer
- 	Array of OpenLayers.Layer objects
		client_layers - layers that are specific to this client
/******************************
 * OPTIONAL VARS
-	Array of Integers
		client_scales - defaults to all scales
		All scales reference:[1700000,1000000,500000,250000,100000,50000,25000,10000,5000,2000,1000,500,250]
-	AreaJumpers
		Implement areajumper for client - defaults to Nothing
- 	Sveitarfelagsnumer
		For the Search to function locally - defaults to the whole of Iceland

******************************/
var panBounds =  new OpenLayers.Bounds(315500,387100,324200,403500);

var SveitarfelagsNumer = 2503;
var start_lon = 319126; 
var start_lat = 397931; 
var start_zoom =3;
var client_scales = [50000,25000,10000,5000,2000,1000,500,250];

/********************************
* Switches for common layers:
********************************/
var doSvMaski = "2503";
var doVegir = true;
var doOrnefni = true;
var doSveitabaeir = true;
var doGotuheiti = true;
var doHusnumer = true;
var doPOI= true;
var doWFS = false;

var clientNameNefni = "Sandgerðisbær";
var clientNameThol = "Sandgerðisbæ";
var clientNameThagu = "Sandgerðisbæ";
var clientNameEignar = "Sandgerðisbæjar";


/********************************
* Layers particular to client - layers that are potentially common to all clients are defined in ../common.js
********************************/
	
var client_layers = [];

	
/********************************
* Areajumpers - shortcuts to notable areas
********************************/
//jumpArr.push([AreaLabel,lon,lat,zoom]);
jumpArr = [];

var areaJumperHTML = "";//Appended to HTML later on
for(i=0;i<jumpArr.length;i++)
{
	areaJumperHTML+='<a onclick="javascript:zoomTo('+jumpArr[i][1]+', '+jumpArr[i][2]+', '+jumpArr[i][3]+');" href="#">'+jumpArr[i][0]+'</a>';
	if(i!=jumpArr.length-1)
		areaJumperHTML+='<font color="#CCCCCC">&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;</font>';
}


function clientConfig()
{

}
function mapLayerChangedClient(event)
{
	// Insert code here
}
function clientWFS()
{
	// Insert code here
}