<Frame name="BF_RMF_Mail" inherit="ButtonTemplate" parent="RadarMapFrame" >
	<Attrib hide="flase" click="true"/>
	<Position width="16" height="16" offsetX="220" offsetY="126"/>
	<Textures r="1.f" g="1.f" b="1.f" a="0.f">
				<TexInfo texture="interface.XYtestMenu" left="437" top="141" right="453" bottom="157"/>
				<TexInfo texture="interface.XYtestMenu" left="437" top="103" right="453" bottom="119"/>	
				<TexInfo texture="interface.XYtestMenu" left="437" top="122" right="453" bottom="138"/>
				<TexInfo texture="interface.XYtestMenu" left="437" top="87" right="453" bottom="103"/>
	</Textures>
	<Script>
		<FE_OnCursorEnter>
			Frame.setTexInfoId(RMF_Mail,2);
			Frame_OpenFlash(RMF_Mail, 0);
			Frame.setTexAlpha(RMF_Mail,1);
			Frame_ShowToolstip(RMF_Mail)
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			Frame.setTexInfoId(RMF_Mail,0);
			ToolTips_Init()	
		</FE_OnCursorLeave>

		<FE_OnLoad>
			Frame.moveToTop(FRAME_THIS) 
		</FE_OnLoad>
		<FE_OnLMClick>
			BF_MailHelp.OnOpenMailButtonDown(FRAME_THIS);
		</FE_OnLMClick>
	</Script>
</Frame>


<Frame name="BF_MailHelp_NECF_ALLLootBtn" inherit="NewButtonTemplate0" parent="MailReciveListFrame" >
	<Position width="85" height="25" self="FAT_RightBottom" rel="FAT_RightBottom" offsetX="-124" offsetY="-60"/>
	<Script>
	    <FE_OnLoad>
	        BF_MailHelp.OnAllLootButtonLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnLMClick>
			BF_MailHelp.OnALLLootButtonDown(FRAME_THIS);
		</FE_OnLMClick>
	</Script>
</Frame>

<Frame name="BF_MailHelp_NECF_ALLDelBtn" inherit="NewButtonTemplate0" parent="MailReciveListFrame" >
	<Position width="85" height="25" self="FAT_RightBottom" rel="FAT_RightBottom" offsetX="-24" offsetY="-60"/>
	<Script>
	    <FE_OnLoad>
	        BF_MailHelp.OnAllDelButtonLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnLMClick>
			BF_MailHelp.OnALLDelButtonDown(FRAME_THIS);
		</FE_OnLMClick>
	</Script>
</Frame>

<Frame name = "BF_MailHelp_Fram"  parent = "FRAME_ROOT">
    <Script file="InterFace\MailHelp\MailHelp.l">
		<FE_OnLoad>
			BF_MailHelp.OnLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnTick>
			BF_MailHelp.OnTick(FRAME_THIS);
		</FE_OnTick>
		<FE_OnGameEvent>
			BF_MailHelp.OnGameEvent(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1,FRAME_ARG2,FRAME_ARG3,FRAME_ARG4)
		</FE_OnGameEvent>
	</Script>
</Frame>