	/////*   EkSys POIMan   *///////////////////////////////////////////////////
	WFsPOIMan.prototype.FindItem = function(group,id) 
	{
		return this.WFsMap.POI_FindItem(group, id);
	};

	WFsPOIMan.prototype.POIAdd = function(group, id, lon, lat, symbol, align, caption, contents, pfile) 
	{
		var item = this.FindItem(group, id);
		if (!item) {
			item           = this.WFsMap.POI_NewItem(group, id);
			if(group != 15 && group != 16 && group != 17)
				item.ImgResize = true;
			item.Lon       = lon;
			item.Lat       = lat;
			item.Caption   = caption;
			item.Contents  = contents;
			item.ViewLevel = 4;
			item.Align     = align;
			item.Symbol    = symbol;
			item.InfoBoxFile  = pfile;
			this.WFsMap.Update(item);
		} else {
			//MapMan.CenterItem(item.Lon, item.Lat);
//		  alert('ÇØ´ç POI°¡ Á¸ÀçÇÕ´Ï´Ù');
		}
	};
	
	WFsPOIMan.prototype.POIAddAll = function(POIList)
	{
		this.WFsMap.UpdateList(POIList, POIList.length);
	};
	
	WFsPOIMan.prototype.DeleteGroup = function(group) 
	{
		this.WFsMap.DelGroup(group);
	};
	 
	WFsPOIMan.prototype.DeleteItem = function(group, id) 
	{
		this.WFsMap.DelItem(group, id);
	};
	 
	WFsPOIMan.prototype.InfoBoxView = function(group, id, view) 
	{
		// view°¡ true¸é º¸ÀÌ°í, false¸é ¼û±â±â
		this.WFsMap.POI_InfoBoxView(group, id, view);
		//alert('a')
	};

	WFsPOIMan.prototype.OnPOIClick = function(POIItem, px, py)
	{
/*
		var c = "";
		for(var a in POIItem)
		{
			c += a + ":" + POIItem[a] + "\n" ;
		}
*/
//		alert(c);
		
		//if( POIItem.GroupId == 13 )
		//	return;
		
		//ÀÛÀº Áöµµ¿¡¼­ÀÇ Å¬¸¯ ÀÌº¥Æ® ±¸Çö
		//15 -> »ê, 16 -> ÁöÁ¡, 17 -> »êÇà±â
		if(POIItem.GroupId >= 15 && POIItem.GroupId <= 17)
		{
			switch(POIItem.GroupId)
			{
				case 15:
					// Å×½ºÆ® ÇÊ¿ä
					location.href = "/Scripts/Theme/Mountain/Map/SearchMap.aspx?beginCmd=courseurl&poiid=" + POIItem.Contents;
					break;
				case 16:
					//ÁÂÇ¥°ªÀÌ ÇÃ·¡½Ã »ó´ë ÁÂÇ¥ÀÓ. ¼öÁ¤ ÇÊ¿ä
					location.href = "/Scripts/Theme/Mountain/Map/SearchMap.aspx?beginCmd=mturl&pos=" + POIItem.Lon + "-" + POIItem.Lat;
					break;
				case 17:
					location.href = "/Scripts/Theme/Mountain/Map/SearchMap.aspx?beginCmd=bookurl&cmd=view&bookid=" + POIItem.Contents + "&pos=" + px + "-" + py;
					break;
				default:
					break;
			}
			
		}
		
		POIMan.InfoBoxHideAll();
		
		this.WFsMap.POI_HintBoxView(null, false);
		this.WFsMap.POI_InfoBoxView(POIItem, true);
	};
	
	WFsPOIMan.prototype.OnPOIOver = function(POIItem, px, py)
	{
		if( POIItem.GroupId == 10 )
			this.WFsMap.POI_HintBoxView(1, POIItem, true);
	}
	
	WFsPOIMan.prototype.OnPOIOut = function(POIItem, px, py)
	{
		this.WFsMap.POI_HintBoxView(null, false);
	}

	WFsPOIMan.prototype.InfoBoxHideAll = function()
	{
		this.WFsMap.POI_InfoBoxHideAll();
	}