	function InfoLayer(id, name, projectURL) {
		this.id = id;
		this.name = name;
		this.p_id = '';
		this.projectURL = projectURL;
	}
	
	InfoLayer.prototype.show = function(e, content, p_id) {
		if (e) {
			Event.stop(e);
		}
		if (!$(this.id)) {
			var d = document.createElement('div');
			d.setAttribute('id', this.id);
			d.className = 'info_layer';
			/*d.innerHTML = '<div class="info_layer_close"><a href="javascript:' + this.name + '.hide()"><img src="' + this.projectURL + 'images/close.gif" alt="Close" width="12" height="12" border="0"></a></div><div id="' + this.id + '_c"></div>';*/
			d.innerHTML = '<div class="info_layer_close"><a href="javascript:' + this.name + '.hide()"><img src="' + '/images/icon_close.gif" alt="Close" width="12" height="12" border="0"></a></div><div id="' + this.id + '_c" class="info_layer_text"></div>';
			document.body.appendChild(d);
		}
		$(this.id + '_c').innerHTML = content;
		/*$(this.id).innerHTML = content;*/
		$(this.id).show();
		if (p_id) {
			this.p_id = p_id;
			Position.clone($(p_id), $(this.id), {setWidth: false, setHeight: false});
		}
		/*Event.observe($(this.id), 'mouseout', this.onMouseOut.bindAsEventListener(this));*/
	}
	
	InfoLayer.prototype.hide = function() {
		$(this.id).hide();
	}
	
	/*InfoLayer.prototype.onMouseOut = function(e) {
		if (this.p_id == '' || Position.within($(this.p_id), Event.pointerX(e), Event.pointerY(e)) == false)
			this.hide();
	}*/