function Map(name){
	if(typeof(name) == "undefined"){
		name = "FEC Map";
	}
	this.name = name;
	this.cssClass = "";
	this.color = "#ff0000";
	
	this.width = 480; 
	this.height = 330;
	this.top = 0;
	this.left = 0;
	
	this.zoomFactor = parseFloat(.55);
}

Map.prototype.initMap = function(canvas){
	if(typeof(canvas)=="undefined" || document.getElementById(canvas)==null){
		alert("Undefined canvas element!");
		return;
	}
	
	this.canvas = document.getElementById(canvas);
	
	switch(getBrowser()){
		case "Explorer":{
			this.canvas.style.position = "relative";
			this.canvas.style.width = this.width + "px";
			this.canvas.style.height = this.height + "px";
			this.canvas.style.top = this.top;
			this.canvas.style.left = this.left;
			
			if(typeof(document.namespaces) != 'undefined' && document.namespaces != null) {
				if(document.namespaces['v'] == null) {
					var style = document.createStyleSheet();
					style.addRule("v\\:*", "behavior: url(#default#VML); antialias: true;"); 
					document.namespaces.add("v", "urn:schemas-microsoft-com:vml"); 
				}
			}
			
			break;
		}default:{
			this.canvas.setAttribute("style", "position:relative; " + 
					"left:" + this.left + "px; " +
					"top:" + this.top + "px; " + 
					"width:" + this.width + "px; " +
					"height:" + this.height + "px; "
			);
		    
			break;
		}
	}
}