legend = {

	view : function (event, cechy){
		
		
		cechy = this.przygotujCechy(cechy);
		
		under_mouse.showText(event, cechy);
	
	},
	
	
	przygotujCechy : function (cechy){
	
		sBuffor = "<div class=info3><table style='font-size: inherit'>";
		
		aCechy = cechy.split(",");
		
		for (var i = 0; i < aCechy.length; i++){
			if(typeof  o_cechy_legend[aCechy[i]] != "undefined") sBuffor += "<tr><td width=10><img src='gfx/img/cechy1/s_" + aCechy[i] + ".gif' /></td><td>" + o_cechy_legend[aCechy[i]] + "</td></tr>";
		}
		
		sBuffor += "</table></div>";
		
		return sBuffor;
	},
	
	hide : function () {
		under_mouse.hide();
	},
	
	move : function (event){
		under_mouse.move(event);
	}



};

