	var addPoiCnt = 1;

	WFsEventMan.prototype.OnCreate = function(mapmode) 
	{
		this.mapmode = mapmode;

		if(mapmode == 10) {
			this.CreateNormal();
		} else if(mapmode == 20) {
			this.CreatePrint();
		}
	};
	
	WFsEventMan.prototype.CreateNormal = function( ) 
	{
		WFsOnCreate();	//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	}
	
	WFsEventMan.prototype.CreatePrint = function( ) 
	{
		WFsOnCreatePrint();
	}
	
	WFsEventMan.prototype.OnClickNotify = function(Type, Button, Shift, X, Y, Coord)
	{
		WFsOnClickNotify(Type, Button, Shift, X, Y, Coord);
	};
	WFsEventMan.prototype.OnMapMoved = function(px, py)
	{	
		WFsOnMapMoved();		//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};
	WFsEventMan.prototype.OnError = function(code, message)
	{
	};

	WFsEventMan.prototype.OnLog = function(str)
	{
		//gform.memo.value = gform.memo.value + str + "\r\n";
	};
	
	WFsEventMan.prototype.OnDetailView = function()
	{
		alert("»ó¼¼Á¤º¸ÆäÀÌÁö¸¦ ·ÎµùÇÏ¼¼¿ä");
	};

	WFsEventMan.prototype.OnMapMovIng = function(px, py)
	{
//		this.OnLog("OnMapMovIng:" + px);
	};
	
	WFsEventMan.prototype.OnLevelChanged = function(plevel)
	{
		WFsOnLevelChanged(SETCOURSEID);	//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};
	WFsEventMan.prototype.OnReSized = function(pwidth, pheight)
	{
		try
		{
			WFsOnReSized(pwidth, pheight);
			SetDetailDivPosition();		//»ó¼¼ÆäÀÌÁö ·¹ÀÌ¾î ³ôÀÌ Á¶Àý
			SetDetailFrameDivHeight();	//»ó¼¼ÆäÀÌÁö ÇÁ·¹ÀÓ¾ÈÀÇ ·¹ÀÌ¾î ³ôÀÌ Á¶Àý
			SetDetailLayerBg();	
		}catch(ex){
		}
	};	
	WFsEventMan.prototype.DetailView = function(obj, kind, poiID)
	{
  		WFsDetailView(kind, poiID);		//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};	
	WFsEventMan.prototype.MapView = function(obj, kind, poiID)
	{
		WFsMapView(kind, poiID);		//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};
	
	WFsEventMan.prototype.MapPrint = function(obj, kind, poiID)
	{
		WFsMapPrint(poiID);		//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};

	WFsEventMan.prototype.CourseSelect = function(obj2, obj, poiID)
	{
		WFsCourseSelect(obj);
	};
		
	WFsEventMan.prototype.MailSend = function(obj, kind, poiID)
	{
		WFsMailSend(poiID);
		//WFsMapView(kind, poiID);		//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};
	
	WFsEventMan.prototype.RoadFind = function(obj, fname, lon, lat)
	{
		WFsLoadFind(fname, lon, lat)
		//WFsMapView(kind, poiID);		//ÇØ´ç ÆäÀÌÁö¿¡ ÇÔ¼ö ¼±¾ð
	};
	
	//type = 1 : ÀÎ¼âÇÏ±â, 2: »êÇà±â ÀÛ¼ºÇÏ±â
	WFsEventMan.prototype.OnIndexMapMenuClick = function(type) 
	{
		WFsOnIndexMapMenuClick(type);
	};
	
	WFsEventMan.prototype.CloseCourseInfoBox = function(type) 
	{
		MTMan.UnLoadCourse();
		MTMan.WFsMap.Track_InfoBoxView( null, false);
		WFsUnLoadMountain();
	};
	
	WFsEventMan.prototype.OnPrintReady = function(xpagecnt, ypagecnt) 
	{
		WFsOnPrintReady(xpagecnt, ypagecnt);
	};
	
	
	
	
	
