<Frame name="BF_SlotTemplate">
	<Position width="200" height="20"/>
	<Frames>
		<Frame name="BF__Name" >
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="50" height="14" offsetX="5" offsetY="2" />
			<Text anchor="TAT_Left" font="0" height="14" r="1.0" g="0.988" b="1.0" rb="1.0" gb="0.988" bb="1.0" a="1" sWeight = "1"/>
			<Textures r="1.f" g="0.61f" b="0.091f" a="1.f">
				<TexInfo texture="interface.XYCardList" left="0" top="0" right="1" bottom="1"/>
				<TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
			</Textures>
		</Frame>
		<Frame name="BF__Number" >
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="50" height="14" offsetX="68" offsetY="2"  />
			<Text anchor="TAT_Right" font="0" height="14" r="1.0" g="0.988" b="1.0" rb="1.0" gb="0.988" bb="1.0" a="1" sWeight = "1"/>
			<Textures r="1.f" g="0.61f" b="0.091f" a="1.f">
				<TexInfo texture="interface.XYCardList" left="0" top="0" right="1" bottom="1"/>
				<TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
			</Textures>
		</Frame>
		<Frame name="BF__Persent" >
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="50" height="14" offsetX="98" offsetY="2"  />
			<Text anchor="TAT_Right" font="0" height="14" r="1.0" g="0.988" b="1.0" rb="1.0" gb="0.988" bb="1.0" a="1" sWeight = "1"/>
			<Textures r="1.f" g="0.61f" b="0.091f" a="1.f">
				<TexInfo texture="interface.XYCardList" left="0" top="0" right="1" bottom="1"/>
				<TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
			</Textures>
		</Frame>
		<Frame name="BF__BackGround">
			<Attrib hide="true" alphaMode="CAM_Translucent"/>
			<Position width="150" height="8"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f"/>
		</Frame>
		<Frame name="BF__CurValue">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="155" height="20"/>
			<Frames>
			    <Frame name="BF__CurValue_BG">
			        <Attrib alphaMode="CAM_Translucent"/>
			        <Position width="155" height="10" offsetX="0" offsetY="0" />
			        <Textures r="1.f" g="1.f" b="1.f" a="0.0f">
				        <TexInfo texture="system.whiteTexture" left="1" top="1" right="15"  bottom="10"/>
			        </Textures>
					<Script>
					    <FE_OnLoad>
						    --BF_CombatStat.OnBF_SlotTemplateBGLoad(FRAME_THIS);
		                </FE_OnLoad>
					</Script>
				</Frame>
				<Frame name="BF__CurValue_BG1">
			        <Attrib alphaMode="CAM_Translucent"/>
			        <Position width="155" height="10" offsetX="0" offsetY="0" />
			        <Textures r="1.f" g="1.f" b="1.f" a="1.f">
				        <TexInfo texture="system.whiteTexture" left="1" top="1" right="15"  bottom="10"/>
			        </Textures>
					<Script>
					    <FE_OnLoad>
						    --BF_CombatStat.OnBF_SlotTemplateBGLoad(FRAME_THIS);
		                </FE_OnLoad>
					</Script>
				</Frame>
			    <Frame name="BF__CurValue_Color">
			        <Attrib alphaMode="CAM_Translucent"/>
			        <Position width="155" height="20"/>
			        <Textures r="1.f" g="1.f" b="1.f" a="0.f">
				        <TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
			        </Textures>
					<Script>
					     
					</Script>
				</Frame>
				
			</Frames>
		</Frame>
		<Frame name="BF__MaxValue">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="155" height="20"/>
			<Textures r="1.f" g="1.f" b="1.f" a="0.f">
				<TexInfo texture="interface.XYNewMenu" left="390" top="640" right="514"  bottom="653"/>
			</Textures>
		</Frame>
	</Frames>
</Frame>

<Frame name="BF_ProgressTemplate">
    <Attrib click="true" />
	<Position width="150" height="20"  offsetX="0" offsetY="0"/>
	<Textures r="1.f" g="1.f" b="1.f" a="0.0f">
		<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
	</Textures>
	<Frames>
		<Frame name="BF_ProT_Desc" >
			<Position  width="200" height="16" offsetY="0"/>
			<Text anchor="TAT_Center" font="4" height="16" r="0.3" g="1.0" b="0.3" rb="0.3f" gb="1.0" bb="0.3" a="1"/>
		</Frame>
		<Frame name="BF_ProT_Slot" inherit="BF_SlotTemplate">
			<Position offsetX="0" offsetY="0"/>
			<Text anchor="TAT_Center"/>
		</Frame>
	</Frames>
	<Script>
	    <FE_OnLMClick>
			BF_CombatStat.OnTtemClick(FRAME_THIS);
		</FE_OnLMClick>
		<FE_OnCursorEnter>
			BF_CombatStat.OnTtemEnter(FRAME_THIS)
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			ToolTips_Init()
		</FE_OnCursorLeave>
	</Script>
</Frame>

<Frame name="BF_BigButtonTemplate" inherit="Font19">
	<Attrib click="true" alphaMode="CAM_Translucent" cursor="interface.UIHand"/>
	<Position width="45" height="18"/>
	<Textures r="1.f" g="1.f" b="1.f" a="0.f">
		<TexInfo texture="interface.CommonUse" left="365" top="884" right="435" bottom="913"/>
	</Textures>
	<Frames>
		<Frame name="BF_BigButtonTemplate_Icon" >
			<Position width="18" height="18"  offsetX="0" offsetY="0"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="interface.CommonUse" left="365" top="884" right="435" bottom="913"/>
			</Textures>
		</Frame>
		<Frame name="BF_BigButtonTemplate_Text">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="19" offsetY="2" width="27" height="16"/>
			<Text font="0" height="16" r="0.33" g="0.31" b="0.55" rb="0.33" gb="0.31" bb="0.55" a="1"/>
		</Frame>
	</Frames>
	<Script>
	    <FE_OnLoad>
			BF_CombatStat.ButtonTemplate_OnLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnCursorEnter>
			BF_CombatStat.ButtonTemplate_OnCursorEnter(FRAME_THIS)
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			BF_CombatStat.ButtonTemplate_OnCursorLeave(FRAME_THIS)
		</FE_OnCursorLeave>
		<FE_OnLMDown>
			BF_CombatStat.ButtonTemplate_OnMDown(FRAME_THIS)
		</FE_OnLMDown>
		<FE_OnLMUp>
			BF_CombatStat.ButtonTemplate_OnMUp(FRAME_THIS)
		</FE_OnLMUp>
	</Script>
</Frame>

<Frame name="BF_ShowDetailedTemplate" >
    <Attrib click="true" alphaMode="CAM_Translucent"/>
	<Position self="FAT_Top" rel="FAT_Top" width="445" height="32"/>
	<Textures r="1.f" g="1.0f" b="1.0f" a="1.f">
	    <TexInfo texture="interface.CommonUse" left="0" top="0" right="1" bottom="1"/>
	    <TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
	</Textures>
	<Frames>
		<Frame name="BF_ShowDetailedTemplate_T0">
			<Position  width="30" height="32" offsetX="0" offsetY="0"/>
			<Text anchor="TAT_Left" offsetY="-10" font="1" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1" sWeight = "2" />
		</Frame>
		<Frame name="BF_ShowDetailedTemplate_T1" >
			<Position  width="30" height="32" offsetX="60" offsetY="0"/>
			<Text anchor="TAT_Right" offsetY="-10" font="1" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedTemplate_T2" >
			<Position  width="50"  height="32" offsetX="110" offsetY="0"/>
			<Text anchor="TAT_Right" offsetY="-10" font="1" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedTemplate_T3" >
			<Position  width="50"  height="32" offsetX="210" offsetY="0"/>
			<Text anchor="TAT_Center" offsetY="-10" font="1" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedTemplate_T4" >
			<Position  width="45"  height="32" offsetX="300" offsetY="0"/>
			<Text anchor="TAT_Center" offsetY="-10" font="1" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedTemplate_T5" >
			<Position  width="52" height="32" offsetX="390" offsetY="0"/>
			<Text anchor="TAT_Left" offsetY="-10" font="1" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
	</Frames>
    <Script>		
		<FE_OnCursorEnter>
			BF_CombatStat.OnShowDetailedTtemEnter(FRAME_THIS)
			System.playSound("uisound.MouseOverMenuItem")
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			BF_CombatStat.OnShowDetailedTtemLeave(FRAME_THIS)
		</FE_OnCursorLeave>
		<FE_OnLMClick>
			BF_CombatStat.OnShowDetailedTtemClick(FRAME_THIS)
		</FE_OnLMClick>
	</Script>
</Frame>

<Frame name="BF_ShowDetailedType_Template" >
    <Attrib click="true" alphaMode="CAM_Translucent"/>
	<Position self="FAT_Top" rel="FAT_Top" width="445" height="32"/>
	<Textures r="1.f" g="1.0f" b="1.0f" a="1.f">
	    <TexInfo texture="interface.CommonUse" left="0" top="0" right="1" bottom="1"/>
	    <TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
	</Textures>
	<Frames>
		<Frame name="BF_ShowDetailedType_Template_T0">
			<Position  width="30" height="32" offsetX="0" offsetY="0"/>
			<Text anchor="TAT_Left" offsetY="-7"  font="2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1" sWeight = "2" />
		</Frame>
		<Frame name="BF_ShowDetailedType_Template_T1" >
			<Position  width="30" height="32" offsetX="50" offsetY="0"/>
			<Text anchor="TAT_Right" offsetY="-7" font="2" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedType_Template_T2" >
			<Position  width="50"  height="32" offsetX="90" offsetY="0"/>
			<Text anchor="TAT_Right" offsetY="-7" font="2" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedType_Template_T3" >
			<Position  width="50"  height="32" offsetX="200" offsetY="0"/>
			<Text anchor="TAT_Center" offsetY="-7" font="2" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedType_Template_T4" >
			<Position  width="45"  height="32" offsetX="290" offsetY="0"/>
			<Text anchor="TAT_Center" offsetY="-7" font="2" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
		<Frame name="BF_ShowDetailedType_Template_T5" >
			<Position  width="52" height="32" offsetX="385" offsetY="0"/>
			<Text anchor="TAT_Left" offsetY="-7" font="2" sWeight = "2" r="0.98" g="0.98" b="0.98" rb="0.98f" gb="0.98" bb="0.98" a="1"/>
		</Frame>
	</Frames>
    <Script>		
	</Script>
</Frame>

<Frame name = "CombatStat_ConfigFrame_Ok_Btn_Template"  >
	<Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="62" height="24" offsetX="81" offsetY="189" />
	<Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
		<TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
	</Textures>
	<Text anchor="TAT_Center" font="1" offsetX="3" offsetY="0" width="40" height="17" r="0.98" g="0.98" b="0.98" rb="0.98" gb="0.98" bb="0.98" a="1" sWeight = "2"/>
	<Script>
		<FE_OnLoad>
			BF_CombatStat.OnConfigFrameOkBtnLoad(FRAME_THIS)      
		</FE_OnLoad>
		<FE_OnLMClick>
			BF_CombatStat.OnConfigFrameOkBtnClick(FRAME_THIS);
		</FE_OnLMClick>
		<FE_OnCursorEnter>
			BF_CombatStat.OnConfigFrameOkBtnEnter(FRAME_THIS);
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>	
			BF_CombatStat.OnConfigFrameOkBtnLeave(FRAME_THIS);
		</FE_OnCursorLeave>
		<FE_OnLMDown>
			BF_CombatStat.OnConfigFrameOkBtnDown(FRAME_THIS);
		</FE_OnLMDown>
	</Script>
</Frame>

<Frame name = "CombatStat_ConfigFrame_Cancel_Btn_Template"  >
	<Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="62" height="24" offsetX="152" offsetY="189" />
	<Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
		<TexInfo texture="interface.CommonUse" left="753" top="188" right="998" bottom="210"/>
	</Textures>
	<Text anchor="TAT_Center"  font="1" offsetX="3" offsetY="0" width="40" height="17" r="0.98" g="0.98" b="0.98" rb="0.98" gb="0.98" bb="0.98" a="1" sWeight = "2"/>
	<Script>
		<FE_OnLoad>
			BF_CombatStat.OnConfigFrameOkBtnLoad(FRAME_THIS)      
		</FE_OnLoad>
		<FE_OnLMClick>
			BF_CombatStat.OnConfigFrameOkBtnClick(FRAME_THIS);
		</FE_OnLMClick>
		<FE_OnCursorEnter>
			BF_CombatStat.OnConfigFrameOkBtnEnter(FRAME_THIS);
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>	
			BF_CombatStat.OnConfigFrameOkBtnLeave(FRAME_THIS);
		</FE_OnCursorLeave>
		<FE_OnLMDown>
			BF_CombatStat.OnConfigFrameOkBtnDown(FRAME_THIS);
		</FE_OnLMDown>
	</Script>
</Frame>
		
		

<Frame name="BF_CombatStat_ConfigFrame" inherit="Drag_FrameTemplate"  parent = "FRAME_ROOT" >
    <Attrib hide="true" click="true" alphaMode="CAM_Translucent"/>
	<Position width="236" height="233" offsetX="440" offsetY="220"/>
	<Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="interface.XYLoot" left="0" top="41" right="219" bottom="337"/>
	</Textures>
	<Frames>
		<Frame name="CombatStat_ConfigFrame_ConfigSpeakCheckBox1" inherit="BF_ConfigPanel_FRAME_ConfigCheckBox_Template">
			<Position width="50" offsetX="20" offsetY="75"/>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnConfigCheckBoxLoad(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnConfigCheckBoxCheck(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
		
		<Frame name="CombatStat_ConfigFrame_ConfigSpeakCheckBox2" inherit="BF_ConfigPanel_FRAME_ConfigCheckBox_Template">
			<Position width="50" offsetX="80" offsetY="75"/>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnConfigCheckBoxLoad(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnConfigCheckBoxCheck(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
		
		<Frame name="CombatStat_ConfigFrame_ConfigSpeakCheckBox3" inherit="BF_ConfigPanel_FRAME_ConfigCheckBox_Template">
			<Position width="50" offsetX="140" offsetY="75"/>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnConfigCheckBoxLoad(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnConfigCheckBoxCheck(FRAME_THIS);
				</FE_OnLMClick>

			</Script>
		</Frame>
		
		<Frame name="CombatStat_ConfigFrame_ConfigCheckBox1" inherit="BF_ConfigPanel_FRAME_ConfigCheckBox_Template">
			<Position width="70" offsetX="34" offsetY="149"/>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnConfigCheckBoxLoad(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnConfigCheckBoxCheck(FRAME_THIS);
				</FE_OnLMClick>		
			</Script>
		</Frame>
		
		<Frame name="CombatStat_ConfigFrame_ConfigCheckBox2" inherit="BF_ConfigPanel_FRAME_ConfigCheckBox_Template">
			<Position width="70" offsetX="130" offsetY="149"/>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnConfigCheckBoxLoad(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnConfigCheckBoxCheck(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
		
		<Frame name = "CombatStat_ConfigFrame_Ok_Btn" inherit="CombatStat_ConfigFrame_Ok_Btn_Template" >		 
			<Position width="62" height="24" offsetX="81" offsetY="189" />
		</Frame>
				
		<Frame name = "CombatStat_ConfigFrame_Cancel_Btn"  inherit="CombatStat_ConfigFrame_Cancel_Btn_Template" >		 
			<Position width="62" height="24" offsetX="152" offsetY="189" />		 
		</Frame>
		
		
	 </Frames>
	 <Script>
	    <FE_OnLoad>
			BF_CombatStat.OnConfigFrameLoad(FRAME_THIS)      
		</FE_OnLoad>
		<FE_OnTick>
			BF_CombatStat.OnConfigFrameTick(FRAME_THIS)
		</FE_OnTick>
		<FE_OnShow>
		    BF_CombatStat.OnConfigFrameShow(FRAME_THIS) 
		</FE_OnShow>
	    <FE_OnLMClick>
		    
		</FE_OnLMClick>
	
	</Script>
</Frame>

<Frame name="BF_CombatStatShowDetailed" inherit="Drag_FrameTemplate"  parent = "FRAME_ROOT" >
     <Attrib hide="true" click="true" alphaMode="CAM_Translucent"/>
	 <Position self="FAT_leftTop" rel="FAT_leftTop" width="501" height="519" offsetX="200" offsetY="100"/>
     <Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="interface.XYLoot" left="-1" top="40" right="221" bottom="337"/>
	</Textures>
	<Frames>
		<Frame name="BF_CombatStatShowDetailed_CloseBtn" inherit="BF_ConfigPanel_FRAME_CloseButton_Template">
			<Position self="FAT_RightTop" rel="FAT_RightTop" offsetX="-15" offsetY="15"/>
			<Script>
			    <FE_OnLoad>			        
		        </FE_OnLoad>
				<FE_OnLMClick>
					BF_ConfigPanel_FRAME.OnCloseBtnClick(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
	    <Frame name = "BF_CombatStatShowDetailed_Tilte" inherit="Font1">
			<Position self="FAT_leftTop" rel="FAT_leftTop" width="420" height = "5" offsetX="0" offsetY="35"/>
			<Text anchor="TAT_Center" offsetY="-7" font="2" sWeight = "1" r="0.98" g="0.98" b="0.1" rb="0.98f" gb="0.98" bb="0.1" a="1"/>
		</Frame>
		<Frame name = "BF_CombatStatShowDetailed_Type" inherit="BF_ShowDetailedType_Template" >
			<Position self="FAT_leftTop" rel="FAT_leftTop" offsetX="5" offsetY="60"/>
			<Text anchor="TAT_Center"/>
		</Frame>

		<Frame name="CombatStatShowDetailed0" inherit="BF_ShowDetailedTemplate" >
		    <Position self="FAT_leftTop" rel="FAT_leftTop"  offsetX="5" offsetY="110"/>		
		</Frame>		
		<Frame name="CombatStatShowDetailed1" inherit="BF_ShowDetailedTemplate" >
		    <Position self="FAT_leftTop" rel="FAT_leftTop"  offsetX="5" offsetY="140"/>
		</Frame>
		<Frame name="CombatStatShowDetailed2" inherit="BF_ShowDetailedTemplate" >
		   <Position self="FAT_leftTop" rel="FAT_leftTop"  offsetX="5" offsetY="170"/>
		</Frame>
		<Frame name="CombatStatShowDetailed3" inherit="BF_ShowDetailedTemplate">
		   <Position self="FAT_leftTop" rel="FAT_leftTop" offsetX="5" offsetY="200"/>
		</Frame>
		<Frame name="CombatStatShowDetailed4" inherit="BF_ShowDetailedTemplate">
		    <Position self="FAT_leftTop" rel="FAT_leftTop"  offsetX="5" offsetY="230"/>
		</Frame>
		<Frame name="CombatStatShowDetailed5" inherit="BF_ShowDetailedTemplate">
		    <Position self="FAT_leftTop" rel="FAT_leftTop"   offsetX="5" offsetY="260"/> 
		</Frame>
		
		<Frame name = "BF_CombatStatShowDetailed_Tilte1" >
			<Position self="FAT_leftTop" rel="FAT_leftTop" width="430" height = "5" offsetY="320"/>
			<Text anchor="TAT_Center" offsetX="-56" offsetY="-7" font="2" sWeight = "1" r="0.98" g="0.98" b="0.36" rb="0.98f" gb="0.98" bb="0.36" a="1"/>
		</Frame>
		<Frame name="CombatStatShowDetailed_0" inherit="BF_ShowDetailedTemplate" >
		    <Position self="FAT_leftTop" rel="FAT_leftTop"   offsetX="5" offsetY="360"/>		
		</Frame>		
		<Frame name="CombatStatShowDetailed_1" inherit="BF_ShowDetailedTemplate" >
		    <Position self="FAT_leftTop" rel="FAT_leftTop"   offsetX="5" offsetY="390"/>
		</Frame>
		<Frame name="CombatStatShowDetailed_2" inherit="BF_ShowDetailedTemplate" >
		   <Position self="FAT_leftTop" rel="FAT_leftTop"   offsetX="5" offsetY="420"/>
		</Frame>
		<Frame name="CombatStatShowDetailed_3" inherit="BF_ShowDetailedTemplate">
		   <Position self="FAT_leftTop" rel="FAT_leftTop"  offsetX="5" offsetY="450"/>
		</Frame>
		
	</Frames>
	<Script>
	    <FE_OnLoad>
			BF_CombatStat.OnShowDetailedFarmLoad(FRAME_THIS)      
		</FE_OnLoad>
		<FE_OnTick>
			BF_CombatStat.OnShowDetailedFarmTick(FRAME_THIS)
		</FE_OnTick>
	    <FE_OnLMClick>
		    
		</FE_OnLMClick>
	</Script>
</Frame>

<Frame name = "BF_CombatStat_SmallFarm" inherit = "Drag_FrameTemplate" parent = "FRAME_ROOT">
    <Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="185" height="44" offsetX="200" offsetY="200"/>
	<Textures r="1.f" g="1.f" b="1.f" a="1.f">
		<TexInfo texture="system.whiteTexture" left="63" top="89" right="83" bottom="109"/>
	</Textures>
	<Frames>
	    <Frame name = "BF_CombatStat_SmallFarm_Title" inherit ="Font1">
			<Position self="FAT_Top" rel="FAT_Top" width="68" height = "20" offsetX="0" offsetY="10"/>
			<Text anchor = "TAT_Left"  offsetY="0" r="1.0" g="0.964" b="0.0" rb="0.984" gb="0.278" bb="0.0" a="1" />
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="interface.XYNewMenu" left="232" top="372" right="414" bottom="385"/>
				<TexInfo texture="interface.XYMenu" left="830" top="161" right="1000" bottom="184"/>
			</Textures>
		</Frame>
		
	    <Frame name = "BF_CombatStat_SmallFarm_HideBtn">
			<Attrib click="true"  alphaMode="CAM_Translucent"/>
			<Position self="FAT_LeftTop" rel="FAT_LeftTop" width="27" height="27" offsetX="149" offsetY="6"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
			    <TexInfo texture="interface.XYNewMenu" left="249" top="281" right="269" bottom="301"/>
				<TexInfo texture="interface.XYNewMenu" left="303" top="281" right="323" bottom="301"/>
				<TexInfo texture="interface.XYNewMenu" left="249" top="333" right="269" bottom="353"/>
				<TexInfo texture="interface.XYNewMenu" left="303" top="333" right="323" bottom="353"/>
				<TexInfo texture="interface.XYNewMenu" left="249" top="306" right="269" bottom="326"/>
				<TexInfo texture="interface.XYNewMenu" left="303" top="306" right="323" bottom="326"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.SmallFarm_Btn_OnCursorLeave(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.SmallFarm_Btn_OnClick(FRAME_THIS);
				</FE_OnLMClick>
				<FE_OnCursorEnter>
					BF_CombatStat.SmallFarm_Btn_OnCursorEnter(FRAME_THIS);
				</FE_OnCursorEnter>
				<FE_OnCursorLeave>
					BF_CombatStat.SmallFarm_Btn_OnCursorLeave(FRAME_THIS);
				</FE_OnCursorLeave>
				<FE_OnLMDown>
					BF_CombatStat.SmallFarm_Btn_OnMDown(FRAME_THIS);
				</FE_OnLMDown>
			</Script>
		</Frame>
		
		<Frame name = "BF_CombatStat_SmallFarm_BG">
			<Attrib click="false"  alphaMode="CAM_Translucent"/>
			<Position  width="170" height="13" offsetX="18" offsetY="7"/>
			<Text anchor = "TAT_Left"/>
			<Textures r="1.f" g="1.f" b="1.f" a="0.f">
				<TexInfo texture="interface.XYNewMenu" left="232" top="372" right="414" bottom="385"/>
				<TexInfo texture="interface.XYMenu" left="830" top="161" right="1000" bottom="184"/>
			</Textures>
		</Frame>
		
	</Frames>
	<Script>
	    <FE_OnLoad>
			BF_CombatStat.SmallFarmOnLoad(FRAME_THIS);
		</FE_OnLoad>
	    <FE_OnTick>
			BF_CombatStat.SmallFarmOnTick(FRAME_THIS);
		</FE_OnTick>
		<FE_OnRMClick>
		    BF_CombatStat.SmallFarmRButtonDown(FRAME_THIS);
		</FE_OnRMClick>
	</Script>
</Frame>

<Frame name = "BF_CombatStat" inherit="Drag_FrameTemplate"  parent = "FRAME_ROOT">
    <Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="185" height="199" offsetX="200" offsetY="200"/>
	<Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="interface.XYLoot" left="0" top="41" right="219" bottom="337"/>
	</Textures>
	<Frames>
	    <Frame name = "CombatStat_Tilte" inherit="Font1">
			<Position self="FAT_Top" rel="FAT_Top" width="68" height = "20" offsetX="0" offsetY="10"/>
			<Text anchor="TAT_Center"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="interface.XYNewMenu" left="249" top="281" right="269" bottom="301"/>
			</Textures>
		</Frame>
		
		<Frame name = "BF_CombatStat_HideBtn">
			<Attrib click="true"  alphaMode="CAM_Translucent"/>
			<Position self="FAT_LeftTop" rel="FAT_LeftTop" width="27" height="27" offsetX="153" offsetY="6"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="interface.XYNewMenu" left="249" top="281" right="269" bottom="301"/>
				<TexInfo texture="interface.XYNewMenu" left="303" top="281" right="323" bottom="301"/>
				<TexInfo texture="interface.XYNewMenu" left="249" top="333" right="269" bottom="353"/>
				<TexInfo texture="interface.XYNewMenu" left="303" top="333" right="323" bottom="353"/>
				<TexInfo texture="interface.XYNewMenu" left="249" top="306" right="269" bottom="326"/>
				<TexInfo texture="interface.XYNewMenu" left="303" top="306" right="323" bottom="326"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.SmallFarm_Btn_OnLoad(FRAME_THIS);
				</FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.SmallFarm_Btn_OnClick(FRAME_THIS);
				</FE_OnLMClick>
				<FE_OnCursorEnter>
					BF_CombatStat.SmallFarm_Btn_OnCursorEnter(FRAME_THIS);
				</FE_OnCursorEnter>
				<FE_OnCursorLeave>
					BF_CombatStat.SmallFarm_Btn_OnCursorLeave(FRAME_THIS);
				</FE_OnCursorLeave>
				<FE_OnLMDown>
					BF_CombatStat.SmallFarm_Btn_OnMDown(FRAME_THIS);
				</FE_OnLMDown>
			</Script>
		</Frame>
		
		<Frame name="CombatStat_ClearBtn" inherit="BF_BigButtonTemplate">	
			<Position width="45" height="18" self="FAT_RightTop" rel="FAT_RightTop" offsetX="-15" offsetY="175"/>
			<Script>
			    <FE_OnLoad>
		        </FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnClearBtnClick(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
		
		<Frame name="CombatStat_ConfigBtn" inherit="BF_BigButtonTemplate">	
			<Position width="45" height="18" self="FAT_RightTop" rel="FAT_RightTop" offsetX="-72" offsetY="175"/>
			<Script>
				<FE_OnLMClick>
					 BF_CombatStat.OnConfigBtnClick(FRAME_THIS);
				 </FE_OnLMClick>
			  </Script>
		</Frame>
					
		<Frame name="CombatStat_SpeakBtn" inherit="BF_BigButtonTemplate">	
			<Position width="45" height="18" self="FAT_LeftTop" rel="FAT_LeftTop" offsetX="10" offsetY="175"/>
			<Script>
			    <FE_OnLoad>
		        </FE_OnLoad>
				<FE_OnLMClick>
					BF_CombatStat.OnSpeakBtnClick(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
	
		<Frame name="CombatStat_LeftButton" >
		    <Position width="17" height="17" offsetX="38" offsetY="12"/>
			<Attrib click="true" alphaMode="CAM_Translucent"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">	
				<TexInfo texture="interface.XYNewGuildCreate" left="380" top="39" right="412" bottom="65"/>
				<TexInfo texture="interface.XYNewGuildCreate" left="380" top="7" right="412" bottom="33"/>
				<TexInfo texture="interface.XYNewGuildCreate" left="515" top="37" right="547" bottom="63"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnLeftButtonLoad(FRAME_THIS)
				</FE_OnLoad>
				<FE_OnCursorEnter>
					BF_CombatStat.OnLeftButtonCursorEnter(FRAME_THIS)
				</FE_OnCursorEnter>
				<FE_OnCursorLeave>
					BF_CombatStat.OnLeftButtonCursorLeave(FRAME_THIS)
				</FE_OnCursorLeave>
				<FE_OnLMDown>
					BF_CombatStat.OnLeftButtonMDown(FRAME_THIS)
				</FE_OnLMDown>
				<FE_OnLMUp>
					BF_CombatStat.OnLeftButtonMUp(FRAME_THIS)
				</FE_OnLMUp>
				<FE_OnLMClick>
					BF_CombatStat.OnLeftButtonClick(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
		
		<Frame name="CombatStat_RightButton" >
		    <Position width="17" height="17" offsetX="135" offsetY="12"/>
			<Attrib click="true" alphaMode="CAM_Translucent"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">	
				<TexInfo texture="interface.XYNewGuildCreate" left="380" top="39" right="412" bottom="65"/>
				<TexInfo texture="interface.XYNewGuildCreate" left="380" top="7" right="412" bottom="33"/>
				<TexInfo texture="interface.XYNewGuildCreate" left="515" top="37" right="547" bottom="63"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_CombatStat.OnRightButtonLoad(FRAME_THIS)
				</FE_OnLoad>
				<FE_OnCursorEnter>
					BF_CombatStat.OnRightButtonCursorEnter(FRAME_THIS)
				</FE_OnCursorEnter>
				<FE_OnCursorLeave>
					BF_CombatStat.OnRightButtonCursorLeave(FRAME_THIS)
				</FE_OnCursorLeave>
				<FE_OnLMDown>
					BF_CombatStat.OnRightButtonMDown(FRAME_THIS)
				</FE_OnLMDown>
				<FE_OnLMUp>
					BF_CombatStat.OnRightButtonMUp(FRAME_THIS)
				</FE_OnLMUp>
				<FE_OnLMClick>
					 BF_CombatStat.OnRightButtonClick(FRAME_THIS);
				</FE_OnLMClick>
			 
				<FE_OnLMClick>
					BF_CombatStat.OnRightButtonClick(FRAME_THIS);
				</FE_OnLMClick>
			</Script>
		</Frame>
		
		<Frame name="BF_CombatStat_ItemList">
			<Attrib click="true" wheel="true"/>
			<Position width="163" height="120" offsetX="12" offsetY="40"/>
			<Textures r="1.f" g="1.f" b="1.f" a="0.f">
				<TexInfo texture="system.whiteTexture" left="12" top="11" right="307" bottom="503"/>
			</Textures>
			<Tags tag1="5" tag2="0" tag3="0" tag4="1"/>
			<Frames>
				<Frame name="CombatStat_Progress0" inherit="BF_ProgressTemplate"/>			   
		        <Frame name="CombatStat_Progress1" inherit="BF_ProgressTemplate"/>	    
		        <Frame name="CombatStat_Progress2" inherit="BF_ProgressTemplate"/>	   
		        <Frame name="CombatStat_Progress3" inherit="BF_ProgressTemplate"/>	  
		        <Frame name="CombatStat_Progress4" inherit="BF_ProgressTemplate"/>		 
				<Frame name="BF_CombatStat_UpBtn" inherit="ListBox_UpButton">
					<Script>
						<FE_OnLoad>
							BF_CombatStat.UpArrowBtn_OnUp(FRAME_THIS)
						</FE_OnLoad>
						<FE_OnLMDown>
							BF_CombatStat.UpArrowBtn_OnDown(FRAME_THIS)
						</FE_OnLMDown>
						<FE_OnLMUp>
							BF_CombatStat.UpArrowBtn_OnUp(FRAME_THIS)
						</FE_OnLMUp>
						<FE_OnCursorEnter>
							BF_CombatStat.UpArrowBtn_OnCursorEnter(FRAME_THIS)
						</FE_OnCursorEnter>
						<FE_OnCursorLeave>
							BF_CombatStat.UpArrowBtn_OnUp(FRAME_THIS)
						</FE_OnCursorLeave>
						<FE_OnMHLMUp>
							BF_CombatStat.UpArrowBtn_OnUp(FRAME_THIS)
						</FE_OnMHLMUp>
						<FE_OnCursorLeave>
							BF_CombatStat.UpArrowBtn_OnUp(FRAME_THIS)
						</FE_OnCursorLeave>
						<FE_OnLMClick>
							ListBox_UpBtn_OnClick(BF_CombatStat_UpBtn)
							Frame.setOffset(BF_CombatStat_MidBtn_LB_Thumb,3,0)
						</FE_OnLMClick>
					</Script>
				</Frame>
				<Frame name="BF_CombatStat_MidBtn" inherit="ListBox_MidButton" >
					<Position self="FAT_RightTop" rel="FAT_RightTop" height="88" width="15" offsetY="17" offsetX="-1"/>
					<Script>
						<FE_OnLoad>	 
							--BF_CombatStat.OnBF_CombatStat_MidBtnLoad(FRAME_THIS)
							--Set_Thumb_ChildTexInfoId(BF_CombatStat_MidBtn_LB_Thumb, 0)
						</FE_OnLoad>
					</Script>
				</Frame>
				<Frame name="BF_CombatStat_DownBtn" inherit="ListBox_DownButton">
					<Script>
						<FE_OnLoad>
							BF_CombatStat.DownArrowBtn_OnUp(FRAME_THIS)
						</FE_OnLoad>
						<FE_OnLMDown>
							BF_CombatStat.DownArrowBtn_OnDown(FRAME_THIS)
						</FE_OnLMDown>
						<FE_OnLMUp>
							BF_CombatStat.DownArrowBtn_OnUp(FRAME_THIS)
						</FE_OnLMUp>
						<FE_OnCursorEnter>
							BF_CombatStat.DownArrowBtn_OnCursorEnter(FRAME_THIS)
						</FE_OnCursorEnter>
						<FE_OnCursorLeave>
							BF_CombatStat.DownArrowBtn_OnUp(FRAME_THIS)
						</FE_OnCursorLeave>
						<FE_OnMHLMUp>
							BF_CombatStat.DownArrowBtn_OnUp(FRAME_THIS)
						</FE_OnMHLMUp>
						<FE_OnCursorLeave>
							BF_CombatStat.DownArrowBtn_OnUp(FRAME_THIS)
						</FE_OnCursorLeave>
					</Script>
				</Frame>
			</Frames>
			<Script>
				<FE_OnWheelUp>
					ListBox_UpBtn_OnClick(BF_CombatStat_UpBtn)
					Frame.setOffset(BF_CombatStat_MidBtn_LB_Thumb,3,0)
				</FE_OnWheelUp>
				<FE_OnWheelDown>
					ListBox_DownBtn_OnClick(BF_CombatStat_DownBtn)
				</FE_OnWheelDown>
			</Script>
		</Frame>
		
		<Frame name="BF__CombatStat__BGTop">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="0" offsetY="-4" width="185" height="25"/>
			<Textures r="1.f" g="1.f" b="1.f" a="0.f">
				<TexInfo texture="interface.XYNewMenu" left="390" top="640" right="514"  bottom="653"/>
			</Textures>
		</Frame>
		
        <Frame name="BF__CombatStat__BG">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="0" offsetY="11" width="185" height="159"/>
			<Textures r="1.f" g="1.f" b="1.f" a="0.f">
				<TexInfo texture="interface.XYNewMenu" left="390" top="640" right="514"  bottom="653"/>
			</Textures>
		</Frame>		
	</Frames>
    <Script file="InterFace\CombatStat\CombatStat.l">
		<FE_OnLoad>
			BF_CombatStat.OnLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnTick>
			BF_CombatStat.OnTick(FRAME_THIS)
		</FE_OnTick>
		<FE_OnGameEvent>
			BF_CombatStat.OnGameEvent(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1,FRAME_ARG2,FRAME_ARG3,FRAME_ARG4)
		</FE_OnGameEvent>
	</Script>
</Frame>