<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
	..\FrameXML\UI.xsd">
	
 	<Frame name="ISync_OptionsFrameGeneral"  toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="ISync_MainFrame">
 		<Size>
 			<AbsDimension x="360" y="450"/>
 		</Size>
 		<Anchors>
 			<Anchor point="TOPLEFT" relativeTo="ISync_MainFrame" relativePoint="TOPRIGHT">
 				<Offset>
 					<AbsDimension x="10" y="0"/>
 				</Offset>
 			</Anchor>
 		</Anchors>
 		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
 			<BackgroundInsets>
 				<AbsInset left="11" right="12" top="12" bottom="11"/>
 			</BackgroundInsets>
 			<TileSize>
 				<AbsValue val="32"/>
 			</TileSize>
 			<EdgeSize>
 				<AbsValue val="32"/>
 			</EdgeSize>
 		</Backdrop>
 		<Layers>
 			<Layer level="ARTWORK">
 				<Texture name="ISync_OptionsFrameGeneralHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
 					<Size>
 						<AbsDimension x="310" y="64"/>
 					</Size>
 					<Anchors>
 						<Anchor point="TOP">
 							<Offset>
 								<AbsDimension x="0" y="12"/>
 							</Offset>
 						</Anchor>
 					</Anchors>
 				</Texture>
 				<FontString inherits="GameFontNormal" text="ISYNC_MAIN_HEADER_OPTIONSGENERAL">
 					<Anchors>
 						<Anchor point="TOP"> 
 							<Offset>
 								<AbsDimension x="0" y="0"/>
 							</Offset>
 						</Anchor>
 					</Anchors>
 				</FontString>
 				
 			</Layer>
 		</Layers>
 		<Frames>



		
			<Frame name="ISYNC_Options_General_MergeDB" inherits="OptionFrameBoxTemplate">
				<Size>
					<AbsDimension x="335" y="40"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="13" y="410"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_SERVER_HEADER1_SUB1">
							<Anchors>
								<Anchor point="TOPLEFT"> 
									<Offset>
										<AbsDimension x="30" y="-10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>

				<Frames>
					<CheckButton name="ISYNC_Options_General_MergeDBCheckButton1" inherits="OptionsCheckButtonTemplate">
						<Size>
							<AbsDimension x="26" y="26"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="5" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
  						<Scripts>
  							<OnClick>
  								if(ISyncOpt and ISyncOpt.SERVER_MergeDB) then
  								
  									if(this:GetChecked()) then
  									
  										StaticPopup_Show("ISYNC_MERGEDB_CONFIRM");
  										

									else
										ISyncOpt.SERVER_MergeDB = 0;
										
  									end
  								
  								end
  							</OnClick>
  						</Scripts>
					</CheckButton>
					
   					<Button name="ISYNC_Options_General_Help16" virtual="true" hidden="false">
   						<Size>
   							<AbsDimension x="18" y="16"/>
   						</Size>
   						<Anchors>
   							<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
   								<Offset>
   									<AbsDimension x="-8" y="-8"/>
   								</Offset>
   							</Anchor>
   						</Anchors>
   						<Layers>
   							<Layer level="OVERLAY">
   								<FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
   									<Anchors>
   										<Anchor point="RIGHT">
   											<Offset>
   												<AbsDimension x="0" y="0"/>
   											</Offset>
   										</Anchor>
   									</Anchors>
   								</FontString>
   							</Layer>
   						</Layers>
   						<Scripts>
   							<OnEnter>
   								getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
   								GameTooltip:SetOwner(this, "ANCHOR_LEFT");
   								GameTooltip:SetText(ISYNC_HELP_SUB16, 1, 0.72, 0, nil, 1);
   								GameTooltip:Show();
   							</OnEnter>
   							<OnLeave>
   								getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
   								GameTooltip:Hide();						
   							</OnLeave>
   						</Scripts>
					</Button>
				</Frames>

				<Scripts>
					<OnLoad>
						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
						this:SetBackdropColor(0.15, 0.15, 0.15);
						getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_SERVER_HEADER1);
					</OnLoad>
				</Scripts>
			</Frame>
			
			
			<Frame name="ISYNC_Options_General_ItemIcon" inherits="OptionFrameBoxTemplate">
 				<Size>
 					<AbsDimension x="335" y="40"/>
 				</Size>
 				<Anchors>
 					<Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral" relativePoint="BOTTOMLEFT">
 						<Offset>
 							<AbsDimension x="13" y="355"/>
 						</Offset>
 					</Anchor>
 				</Anchors>
 				<Layers>
 					<Layer level="BACKGROUND">
 						<FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_CLEAN_HEADER1_SUB1">
 							<Anchors>
 								<Anchor point="TOPLEFT"> 
 									<Offset>
 										<AbsDimension x="30" y="-10"/>
 									</Offset>
 								</Anchor>
 							</Anchors>
 						</FontString>
 					</Layer>
 				</Layers>
 
 				<Frames>
 					<CheckButton name="ISYNC_Options_General_ItemIcon_CheckButton1" inherits="OptionsCheckButtonTemplate">
 						<Size>
 							<AbsDimension x="26" y="26"/>
 						</Size>
 						<Anchors>
 							<Anchor point="TOPLEFT">
 								<Offset>
 									<AbsDimension x="5" y="-5"/>
 								</Offset>
 							</Anchor>
 						</Anchors>
   						<Scripts>
   							<OnClick>
   								if(ISyncOpt and ISyncOpt.CLEAN_ShowItemIcon) then
   								
   									if(this:GetChecked()) then
   									
   										ISyncOpt.CLEAN_ShowItemIcon = 1;
   										
 
 									else
 										ISyncOpt.CLEAN_ShowItemIcon = 0;
 										
   									end
   								
   								end
   							</OnClick>
   						</Scripts>
 					</CheckButton>
 					
    					<Button name="ISync_Options_Regular_Help_Clean19" virtual="true" hidden="false">
    						<Size>
    							<AbsDimension x="18" y="16"/>
    						</Size>
    						<Anchors>
    							<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
    								<Offset>
    									<AbsDimension x="-8" y="-8"/>
    								</Offset>
    							</Anchor>
    						</Anchors>
    						<Layers>
    							<Layer level="OVERLAY">
    								<FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
    									<Anchors>
    										<Anchor point="RIGHT">
    											<Offset>
    												<AbsDimension x="0" y="0"/>
    											</Offset>
    										</Anchor>
    									</Anchors>
    								</FontString>
    							</Layer>
    						</Layers>
    						<Scripts>
    							<OnEnter>
    								getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
    								GameTooltip:SetOwner(this, "ANCHOR_LEFT");
    								GameTooltip:SetText(ISYNC_HELP_SUB19, 1, 0.72, 0, nil, 1);
    								GameTooltip:Show();
    							</OnEnter>
    							<OnLeave>
    								getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
    								GameTooltip:Hide();						
    							</OnLeave>
    						</Scripts>
 					</Button>
 					
 				</Frames>
 
 				<Scripts>
 					<OnLoad>
 						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
 						this:SetBackdropColor(0.15, 0.15, 0.15);
 						getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_CLEAN_HEADER1);
 					</OnLoad>
 				</Scripts>
 			</Frame>
 			
 			
 			
 			
 
 			<Frame name="ISync_Options_General_QualityAlert" inherits="OptionFrameBoxTemplate">
 				<Size>
 					<AbsDimension x="335" y="40"/>
 				</Size>
 				<Anchors>
 					<Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral" relativePoint="BOTTOMLEFT">
 						<Offset>
 							<AbsDimension x="13" y="300"/>
 						</Offset>
 					</Anchor>
 				</Anchors>
 				<Layers>
 					<Layer level="BACKGROUND">
 						<FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER4_SUB1">
 							<Anchors>
 								<Anchor point="TOPLEFT"> 
 									<Offset>
 										<AbsDimension x="30" y="-10"/>
 									</Offset>
 								</Anchor>
 							</Anchors>
 						</FontString>
 					</Layer>
 				</Layers>
 
 				<Frames>
 					<CheckButton name="ISync_Options_General_QualityAlert_CheckButton1" inherits="OptionsCheckButtonTemplate">
 						<Size>
 							<AbsDimension x="26" y="26"/>
 						</Size>
 						<Anchors>
 							<Anchor point="TOPLEFT">
 								<Offset>
 									<AbsDimension x="5" y="-5"/>
 								</Offset>
 							</Anchor>
 						</Anchors>
   						<Scripts>
   							<OnClick>
   								if(ISyncOpt and ISyncOpt.ALERT_Quality) then
   								
   									if(this:GetChecked()) then
   									
   										ISyncOpt.ALERT_Quality = 1;
   										
 
 									else
 										ISyncOpt.ALERT_Quality = 0;
 										
   									end
   								
   								end
   							</OnClick>
   						</Scripts>
 					</CheckButton>
 					
    					<Button name="ISync_Options_Mods_Help13" virtual="true" hidden="false">
    						<Size>
    							<AbsDimension x="18" y="16"/>
    						</Size>
    						<Anchors>
    							<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
    								<Offset>
    									<AbsDimension x="-8" y="-8"/>
    								</Offset>
    							</Anchor>
    						</Anchors>
    						<Layers>
    							<Layer level="OVERLAY">
    								<FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
    									<Anchors>
    										<Anchor point="RIGHT">
    											<Offset>
    												<AbsDimension x="0" y="0"/>
    											</Offset>
    										</Anchor>
    									</Anchors>
    								</FontString>
    							</Layer>
    						</Layers>
    						<Scripts>
    							<OnEnter>
    								getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
    								GameTooltip:SetOwner(this, "ANCHOR_LEFT");
    								GameTooltip:SetText(ISYNC_HELP_SUB13, 1, 0.72, 0, nil, 1);
    								GameTooltip:Show();
    							</OnEnter>
    							<OnLeave>
    								getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
    								GameTooltip:Hide();						
    							</OnLeave>
    						</Scripts>
 					</Button>
 					
 				</Frames>
 
 				<Scripts>
 					<OnLoad>
 						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
 						this:SetBackdropColor(0.15, 0.15, 0.15);
 						getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_MODS_HEADER4);
 					</OnLoad>
 				</Scripts>
 			</Frame>
 			
 			
 			
 			<Frame name="ISync_Options_General_InvalidAlert" inherits="OptionFrameBoxTemplate">
 				<Size>
 					<AbsDimension x="335" y="40"/>
 				</Size>
 				<Anchors>
 					<Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral" relativePoint="BOTTOMLEFT">
 						<Offset>
 							<AbsDimension x="13" y="245"/>
 						</Offset>
 					</Anchor>
 				</Anchors>
 				<Layers>
 					<Layer level="BACKGROUND">
 						<FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER5_SUB1">
 							<Anchors>
 								<Anchor point="TOPLEFT"> 
 									<Offset>
 										<AbsDimension x="30" y="-10"/>
 									</Offset>
 								</Anchor>
 							</Anchors>
 						</FontString>
 					</Layer>
 				</Layers>
 
 				<Frames>
 					<CheckButton name="ISync_Options_General_InvalidAlert_CheckButton1" inherits="OptionsCheckButtonTemplate">
 						<Size>
 							<AbsDimension x="26" y="26"/>
 						</Size>
 						<Anchors>
 							<Anchor point="TOPLEFT">
 								<Offset>
 									<AbsDimension x="5" y="-5"/>
 								</Offset>
 							</Anchor>
 						</Anchors>
   						<Scripts>
   							<OnClick>
   								if(ISyncOpt and ISyncOpt.ALERT_Invalid) then
   								
   									if(this:GetChecked()) then
   									
   										ISyncOpt.ALERT_Invalid = 1;
   										
 
 									else
 										ISyncOpt.ALERT_Invalid = 0;
 										
   									end
   								
   								end
   							</OnClick>
   						</Scripts>
 					</CheckButton>
    					<Button name="ISync_Options_Mods_Help14" virtual="true" hidden="false">
    						<Size>
    							<AbsDimension x="18" y="16"/>
    						</Size>
    						<Anchors>
    							<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
    								<Offset>
    									<AbsDimension x="-8" y="-8"/>
    								</Offset>
    							</Anchor>
    						</Anchors>
    						<Layers>
    							<Layer level="OVERLAY">
    								<FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
    									<Anchors>
    										<Anchor point="RIGHT">
    											<Offset>
    												<AbsDimension x="0" y="0"/>
    											</Offset>
    										</Anchor>
    									</Anchors>
    								</FontString>
    							</Layer>
    						</Layers>
    						<Scripts>
    							<OnEnter>
    								getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
    								GameTooltip:SetOwner(this, "ANCHOR_LEFT");
    								GameTooltip:SetText(ISYNC_HELP_SUB14, 1, 0.72, 0, nil, 1);
    								GameTooltip:Show();
    							</OnEnter>
    							<OnLeave>
    								getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
    								GameTooltip:Hide();						
    							</OnLeave>
    						</Scripts>
 					</Button>
 					
 				</Frames>
 
 				<Scripts>
 					<OnLoad>
 						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
 						this:SetBackdropColor(0.15, 0.15, 0.15);
 						getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_MODS_HEADER5);
 					</OnLoad>
 				</Scripts>
 			</Frame>
 			
 
 
 			<Frame name="ISync_Options_General_EnableTypeLink" inherits="OptionFrameBoxTemplate">
  				<Size>
  					<AbsDimension x="335" y="40"/>
  				</Size>
  				<Anchors>
  					<Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral" relativePoint="BOTTOMLEFT">
  						<Offset>
  							<AbsDimension x="13" y="190"/>
  						</Offset>
  					</Anchor>
  				</Anchors>
  				<Layers>
  					<Layer level="BACKGROUND">
  						<FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_GENERAL_HEADER1_SUB1">
  							<Anchors>
  								<Anchor point="TOPLEFT"> 
  									<Offset>
  										<AbsDimension x="30" y="-10"/>
  									</Offset>
  								</Anchor>
  							</Anchors>
  						</FontString>
  					</Layer>
  				</Layers>
  
  				<Frames>
  					<CheckButton name="ISync_Options_General_EnableTypeLink_CheckButton1" inherits="OptionsCheckButtonTemplate">
  						<Size>
  							<AbsDimension x="26" y="26"/>
  						</Size>
  						<Anchors>
  							<Anchor point="TOPLEFT">
  								<Offset>
  									<AbsDimension x="5" y="-5"/>
  								</Offset>
  							</Anchor>
  						</Anchors>
    						<Scripts>
    							<OnClick>
    								if(ISyncOpt and ISyncOpt.GENERAL_EnableTypeLinks) then
    								
    									if(this:GetChecked()) then
    									
    										ISyncOpt.GENERAL_EnableTypeLinks = 1;
    										
  
  									else
  										ISyncOpt.GENERAL_EnableTypeLinks = 0;
  										
    									end
    								
    								end
    							</OnClick>
    						</Scripts>
  					</CheckButton>
     					<Button name="ISync_Options_Mods_Help_TypeLinks" virtual="true" hidden="false">
     						<Size>
     							<AbsDimension x="18" y="16"/>
     						</Size>
     						<Anchors>
     							<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
     								<Offset>
     									<AbsDimension x="-8" y="-8"/>
     								</Offset>
     							</Anchor>
     						</Anchors>
     						<Layers>
     							<Layer level="OVERLAY">
     								<FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
     									<Anchors>
     										<Anchor point="RIGHT">
     											<Offset>
     												<AbsDimension x="0" y="0"/>
     											</Offset>
     										</Anchor>
     									</Anchors>
     								</FontString>
     							</Layer>
     						</Layers>
     						<Scripts>
     							<OnEnter>
     								getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
     								GameTooltip:SetOwner(this, "ANCHOR_LEFT");
     								GameTooltip:SetText(ISYNC_HELP_SUB20, 1, 0.72, 0, nil, 1);
     								GameTooltip:Show();
     							</OnEnter>
     							<OnLeave>
     								getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
     								GameTooltip:Hide();						
     							</OnLeave>
     						</Scripts>
  					</Button>
  					
  				</Frames>
  
  				<Scripts>
  					<OnLoad>
  						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
  						this:SetBackdropColor(0.15, 0.15, 0.15);
  						getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_GENERAL_HEADER1);
  					</OnLoad>
  				</Scripts>
 			</Frame>
 			
			
					
					<Button name="ISYNC_Options_General_CloseButton" inherits="UIPanelCloseButton">
						<Anchors>
							<Anchor point="TOPRIGHT" relativeTo="ISync_OptionsFrameGeneral" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="-5" y="-7"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					
					
					

	<Frame name="ISyncOptionsGeneralFrame_ButtonFrame" frameStrata="DIALOG" movable="false" enableMouse="false" hidden="false" parent="ISync_OptionsFrameGeneral">
			<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
				<BackgroundInsets>
					<AbsInset left="11" right="12" top="12" bottom="11"/>
				</BackgroundInsets>
				<TileSize>
					<AbsValue val="32"/>
				</TileSize>
				<EdgeSize>
					<AbsValue val="32"/>
				</EdgeSize>
			</Backdrop>
			<Size>
				<AbsDimension x="360" y="50"/>
			</Size>
			<Anchors>
				<Anchor point="BOTTOMLEFT">
					<Offset>
						<AbsDimension x="0" y="-40"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Frames>

				<Button name="ISyncOptionsGeneralFrame_ButtonFrameMainButton" inherits="UIPanelButtonTemplate">
					<Size>
						<AbsDimension x="70" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="15" y="-13"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							this:SetText(ISYNC_BT_MAIN);
						</OnLoad>
						<OnClick>
						
								ShowUIPanel(ISync_OptionsFrame);
								HideUIPanel(ISync_FilterFrame);
								HideUIPanel(ISync_OptionsFrameMods);
								HideUIPanel(ISync_SearchFrame);
								HideUIPanel(ISync_OptionsFrameGeneral);
								HideUIPanel(ISync_OptionsCleanFrame);
						
							
						</OnClick>
					</Scripts>
				</Button>
			</Frames>
	</Frame>
	
	
 					
 		</Frames>
 
 			<Scripts>
 				<OnShow>
 				
 						if(not ISyncOpt) then ISyncOpt = { }; end
 						if( not ISyncOpt.SERVER_MergeDB) then ISyncOpt.SERVER_MergeDB = 0; end
  						if( not ISyncOpt.ALERT_Quality) then ISyncOpt.ALERT_Quality = 1; end
  						if( not ISyncOpt.ALERT_Invalid) then ISyncOpt.ALERT_Invalid = 1; end
  						if( not ISyncOpt.CLEAN_ShowItemIcon) then ISyncOpt.CLEAN_ShowItemIcon = 1; end
 						if( not ISyncOpt.GENERAL_EnableTypeLinks) then ISyncOpt.GENERAL_EnableTypeLinks = 0; end
 						
 						--server merge
 						if(ISyncOpt and ISyncOpt.SERVER_MergeDB and ISyncOpt.SERVER_MergeDB == 1) then
 
 							getglobal("ISYNC_Options_General_MergeDBCheckButton1"):SetChecked(1);
 
 						elseif(ISyncOpt and ISyncOpt.SERVER_MergeDB and ISyncOpt.SERVER_MergeDB == 0) then
 
 							getglobal("ISYNC_Options_General_MergeDBCheckButton1"):SetChecked(0);
						end
						
  						
  						--show item icon on tooltip
  						if(ISyncOpt and ISyncOpt.CLEAN_ShowItemIcon and ISyncOpt.CLEAN_ShowItemIcon == 1) then
  
  							getglobal("ISYNC_Options_General_ItemIcon_CheckButton1"):SetChecked(1);
  
  						elseif(ISyncOpt and ISyncOpt.CLEAN_ShowItemIcon and ISyncOpt.CLEAN_ShowItemIcon == 0) then
  
  							getglobal("ISYNC_Options_General_ItemIcon_CheckButton1"):SetChecked(0);
  						end
  						
  						--quality alert
  						if(ISyncOpt and ISyncOpt.ALERT_Quality and ISyncOpt.ALERT_Quality == 1) then
  
  							getglobal("ISync_Options_General_QualityAlert_CheckButton1"):SetChecked(1);
  
  						elseif(ISyncOpt and ISyncOpt.ALERT_Quality and ISyncOpt.ALERT_Quality == 0) then
  
  							getglobal("ISync_Options_General_QualityAlert_CheckButton1"):SetChecked(0);
  						end
  						
  						
  						--invalid alert
  						if(ISyncOpt and ISyncOpt.ALERT_Invalid and ISyncOpt.ALERT_Invalid == 1) then
  
  							getglobal("ISync_Options_General_InvalidAlert_CheckButton1"):SetChecked(1);
  
  						elseif(ISyncOpt and ISyncOpt.ALERT_Invalid and ISyncOpt.ALERT_Invalid == 0) then
  
  							getglobal("ISync_Options_General_InvalidAlert_CheckButton1"):SetChecked(0);
  						end
 		
   						--type links
   						if(ISyncOpt and ISyncOpt.GENERAL_EnableTypeLinks and ISyncOpt.GENERAL_EnableTypeLinks == 1) then
   
   							getglobal("ISync_Options_General_EnableTypeLink_CheckButton1"):SetChecked(1);
   
   						elseif(ISyncOpt and ISyncOpt.GENERAL_EnableTypeLinks and ISyncOpt.GENERAL_EnableTypeLinks == 0) then
   
   							getglobal("ISync_Options_General_EnableTypeLink_CheckButton1"):SetChecked(0);
  						end
 						


 				</OnShow>

 				<OnHide>
 				</OnHide>
 			</Scripts>
	</Frame>
	


</Ui>
