#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Bilder\ico\Tic Tac Toe.ico
#AutoIt3Wrapper_OutFile=Tic Tac Toe [32 Bit].exe
#AutoIt3Wrapper_OutFile_x64=Tic Tac Toe [64 Bit].exe
#AutoIt3Wrapper_Res_ProductVersion=1.0.0.1
#AutoIt3Wrapper_Res_Fileversion=1.0.0.1

#AutoIt3Wrapper_Add_Constants=n
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_OutFile_Type=exe
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement=n
#AutoIt3Wrapper_Res_Language=3079
#AutoIt3Wrapper_Res_SaveSource=N
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Version=P

#AutoIt3Wrapper_Res_LegalCopyright=Schrotter Christian
#AutoIt3Wrapper_Res_Comment=http://www.schrotter-christian.webnode.at/
#AutoIt3Wrapper_Res_Description=http://www.schrotter-christian.webnode.at/
#AutoIt3Wrapper_Res_Compatibility=Windows7
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0001 [Einstellungen]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
Opt ("CaretCoordMode", 1)
Opt ("ExpandEnvStrings", 0)
Opt ("ExpandVarStrings", 0)
Opt ("GUICloseOnESC", 1)
Opt ("GUICoordMode", 1)
Opt ("GUIDataSeparatorChar", "|")
Opt ("GUIOnEventMode", 0)
Opt ("GUIResizeMode", 0)
Opt ("GUIEventOptions", 0)
Opt ("MouseClickDelay", 10)
Opt ("MouseClickDownDelay", 10)
Opt ("MouseClickDragDelay", 250)
Opt ("MouseCoordMode", 1)
Opt ("MustDeclareVars", 0)
Opt ("PixelCoordMode", 1)
Opt ("SendAttachMode", 0)
Opt ("SendCapslockMode", 1)
Opt ("SendKeyDelay", 5)
Opt ("SendKeyDownDelay", 1)
Opt ("TCPTimeout", 100)
Opt ("TrayAutoPause", 0)
Opt ("TrayIconDebug", 1)
Opt ("TrayIconHide", 0)
Opt ("TrayMenuMode", 3)
Opt ("TrayOnEventMode", 0)
Opt ("WinDetectHiddenText", 0)
Opt ("WinSearchChildren", 1)
Opt ("WinTextMatchMode", 1)
Opt ("WinTitleMatchMode", 1)
Opt ("WinWaitDelay", 250)
;----------------------------------------------------------------------------------------------------
#include <File.au3>
#include <GUIConstantsEx.au3>
#include <GuiListView.au3>
#include <Inet.au3>
#include <ProgressConstants.au3>
#include <SendMessage.au3>
#include <StaticConstants.au3>
#include <String.au3>
#Include <WinAPI.au3>
#include <WindowsConstants.au3>
;#include-once <>
;----------------------------------------------------------------------------------------------------
$Programm_Name = "Tic Tac Toe"
$Programm_Version = "1.0.0.1"
$Programm_Versionnummer = "2"
$Programm_Herstellungsdatum = "15.04.2013"
$Programm_Updatedatum = "16.04.2013"
$Programm_Mitwirkende = "Schrotter|Christian|Idee / Programmierer / Designer|1.0.0.1,-----|-----|-----|-----,Schrotter|Christian|Idee / Programmierer / Designer|1.0.0.0"
$Programm_Updatelog = "Version|1.0.0.1,Hotfix|Statistiken Löschen,Update|KI [Schwer] Änderung,Update|Anzeige wer dran ist,Update|Anzeige gegen wen gespielt wird,Update|Statistiken Geändert,-----|-----,Version|1.0.0.0"
$Programm_SupportEmail = "schrotter.christian@hotmail.com"
$Programm_Homepage = "http://www.schrotter-christian.webnode.at/"
$Information_Lizenz = "Kostenlose Lizenz"
;----------------------------------------------------------------------------------------------------
$Pfad_Ordner___ScriptDir = @ScriptDir & "\"
$Pfad_Ordner___ScriptDir_Bilder = $Pfad_Ordner___ScriptDir & "Bilder\"
$Pfad_Ordner___ScriptDir_Daten = $Pfad_Ordner___ScriptDir & "Daten\"
$Pfad_Ordner___ScriptDir_Bilder_ico = $Pfad_Ordner___ScriptDir_Bilder & "ico\"

$Pfad_Datei___ScriptDir_Daten___Start__config = $Pfad_Ordner___ScriptDir_Daten & "Start.config"
$Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico = $Pfad_Ordner___ScriptDir_Bilder_ico & "Tic Tac Toe.ico"
$Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico = $Pfad_Ordner___ScriptDir_Bilder_ico & "Transparent.ico"
$Pfad_Datei___ScriptDir_Bilder_ico___O__ico = $Pfad_Ordner___ScriptDir_Bilder_ico & "O.ico"
$Pfad_Datei___ScriptDir_Bilder_ico___X__ico = $Pfad_Ordner___ScriptDir_Bilder_ico & "X.ico"
$Pfad_Datei___ScriptDir_Bilder_ico___Daten__ = $Pfad_Ordner___ScriptDir_Daten & "Daten"


$Func__DatenCheckFehler__AlleNamen = ""



$KI_Leicht = "Leicht"
$KI_Mittel = "Mittel"
$KI_Schwer = "Schwer"

$INI_0001_Section_0001 = "Einstellungen"
$INI_0001_Section_0002 = "Statistik-Spieler VS Spieler"
$INI_0001_Section_0003 = "Statistik-Spieler VS KI " & $KI_Leicht
$INI_0001_Section_0004 = "Statistik-Spieler VS KI " & $KI_Mittel
$INI_0001_Section_0005 = "Statistik-Spieler VS KI " & $KI_Schwer
$INI_0001_Section_0001_Schluessel_0001 = "KI Status"
$INI_0001_Section_0001_Schluessel_0002 = "KI Schwierigkeit"
$INI_0001_Section_0002_Schluessel_0001 = "X - Gewonnen"
$INI_0001_Section_0002_Schluessel_0002 = "O - Gewonnen"
$INI_0001_Section_0002_Schluessel_0003 = "Unentschieden"
$INI_0001_Section_0002_Schluessel_0004 = "Letztes Spiel"
$INI_0001_Section_0003_Schluessel_0001 = "Gewonnen"
$INI_0001_Section_0003_Schluessel_0002 = "Verloren"
$INI_0001_Section_0003_Schluessel_0003 = "Unentschieden"
$INI_0001_Section_0003_Schluessel_0004 = "Letztes Spiel"
$INI_0001_Section_0004_Schluessel_0001 = "Gewonnen"
$INI_0001_Section_0004_Schluessel_0002 = "Verloren"
$INI_0001_Section_0004_Schluessel_0003 = "Unentschieden"
$INI_0001_Section_0004_Schluessel_0004 = "Letztes Spiel"
$INI_0001_Section_0005_Schluessel_0001 = "Gewonnen"
$INI_0001_Section_0005_Schluessel_0002 = "Verloren"
$INI_0001_Section_0005_Schluessel_0003 = "Unentschieden"
$INI_0001_Section_0005_Schluessel_0004 = "Letztes Spiel"

$TEMP_SpieleranderReihe = ""
$TEMP_0001 = ""
$TEMP_0002 = ""
$TEMP_0003 = ""
$TEMP_0004 = ""
$TEMP_0005 = ""
$TEMP_0006 = ""
$TEMP_0007 = ""
$TEMP_1_1 = ""
$TEMP_1_2 = ""
$TEMP_1_3 = ""
$TEMP_2_1 = ""
$TEMP_2_2 = ""
$TEMP_2_3 = ""
$TEMP_3_1 = ""
$TEMP_3_2 = ""
$TEMP_3_3 = ""
$TEMP_SpielGewinner = ""
;----------------------------------------------------------------------------------------------------
;Global
;Local
;----------------------------------------------------------------------------------------------------
;Starteinstellungen [#NoTrayIcon, TraySetIcon]

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0002 [Aktion: Dateien Prüfen]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

If FileExists ($Pfad_Ordner___ScriptDir) = 0 Then
	_Func__DatenCheckFehler ("\")
EndIf
If FileExists ($Pfad_Ordner___ScriptDir_Bilder) = 0 Then
	DirCreate ($Pfad_Ordner___ScriptDir_Bilder)
EndIf
If FileExists ($Pfad_Ordner___ScriptDir_Daten) = 0 Then
	DirCreate ($Pfad_Ordner___ScriptDir_Daten)
EndIf
If FileExists ($Pfad_Ordner___ScriptDir_Bilder_ico) = 0 Then
	DirCreate ($Pfad_Ordner___ScriptDir_Bilder_ico)
EndIf
If FileExists ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico) = 0 Then
	_Func__DatenCheckFehler ("Tic Tac Toe.ico")
EndIf
If FileExists ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico) = 0 Then
	_Func__DatenCheckFehler ("O.ico")
EndIf
If FileExists ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico) = 0 Then
	_Func__DatenCheckFehler ("Transparent.ico")
EndIf
If FileExists ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico) = 0 Then
	_Func__DatenCheckFehler ("X.ico")
EndIf

$GUI_OrdnerDateienCheck0001_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Dateien und Ordner Überprüfung", 500, 300, -1, -1, 0x00C00000)
$GUI_OrdnerDateienCheck0001_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 5, 490, 265, 0x01)
$GUI_OrdnerDateienCheck0001_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("", 5, 275, 490, 20)
GUISetState (@SW_HIDE, $GUI_OrdnerDateienCheck0001_GUICreate_0001)

_Func__DatenCheckFehler ("DatenCheckFehler_Ende")

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0003 [Aktion: GUI]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

$GUI_0001_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version, 310, 405, -1, -1, 0x00C00000)
$GUI_0001_GUICtrlCreateIcon_0001 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 10, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0002 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 110, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0003 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 210, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0004 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 10, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0005 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 110, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0006 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 210, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0007 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 10, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0008 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 110, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_0009 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___Transparent__ico, -1, 210, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0001 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 10, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0002 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 110, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0003 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 210, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0004 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 10, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0005 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 110, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0006 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 210, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0007 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 10, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0008 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 110, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_X0009 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___X__ico, -1, 210, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0001 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 10, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0002 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 110, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0003 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 210, 10, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0004 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 10, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0005 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 110, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0006 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 210, 110, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0007 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 10, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0008 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 110, 210, 90, 90)
$GUI_0001_GUICtrlCreateIcon_O0009 = GUICtrlCreateIcon ($Pfad_Datei___ScriptDir_Bilder_ico___O__ico, -1, 210, 210, 90, 90)
$GUI_0001_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Einstellungen", 5, 310, 300, 20)
$GUI_0001_GUICtrlCreateButton_0002 = GUICtrlCreateButton ("Statistik", 5, 335, 147, 20)
$GUI_0001_GUICtrlCreateButton_0003 = GUICtrlCreateButton ("Neu Start", 157, 335, 148, 20)
$GUI_0001_GUICtrlCreateButton_0004 = GUICtrlCreateButton ("Information", 5, 360, 147, 20)
$GUI_0001_GUICtrlCreateButton_0005 = GUICtrlCreateButton ("Beenden", 157, 360, 148, 20)
$GUI_0001_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 385, 147, 20)
$GUI_0001_GUICtrlCreateLabel_0002 = GUICtrlCreateLabel ("", 157, 385, 147, 20, 0x0002)
GUICtrlCreateGraphic (5, 5, 300, 1, $SS_BLACKRECT)
GUICtrlCreateGraphic (5, 105, 300, 1, $SS_BLACKRECT)
GUICtrlCreateGraphic (5, 205, 300, 1, $SS_BLACKRECT)
GUICtrlCreateGraphic (5, 305, 300, 1, $SS_BLACKRECT)
GUICtrlCreateGraphic (5, 5, 1, 300, $SS_BLACKRECT)
GUICtrlCreateGraphic (105, 5, 1, 300, $SS_BLACKRECT)
GUICtrlCreateGraphic (205, 5, 1, 300, $SS_BLACKRECT)
GUICtrlCreateGraphic (305, 5, 1, 300, $SS_BLACKRECT)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_HIDE)
GUISetState (@SW_HIDE, $GUI_0001_GUICreate_0001)

$GUI_0002_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Einstellungen", 215, 85, -1, -1, 0x00C00000)
$GUI_0002_GUICtrlCreateCheckbox_0001 = GUICtrlCreateCheckbox ("KI [Künstliche Intelligenz]", 5, 5, 205, 20)
$GUI_0002_GUICtrlCreateCombo_0001 = GUICtrlCreateCombo ("", 5, 30, 205, 20, 0x0003)
$GUI_0002_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Zurück", 5, 60, 100, 20)
$GUI_0002_GUICtrlCreateButton_0002 = GUICtrlCreateButton ("Speichern", 110, 60, 100, 20)
GUISetState (@SW_HIDE, $GUI_0002_GUICreate_0001)

$GUI_0003_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Statistik", 500, 585, -1, -1, 0x00C00000)
GUICtrlCreateLabel ("Spieler VS Spieler:", 5, 5, 490, 20)
GUICtrlCreateLabel ("X - Gewonnen:", 5, 35, 120, 20)
GUICtrlCreateLabel ("O - Gewonnen:", 5, 60, 120, 20)
GUICtrlCreateLabel ("Unentschieden:", 5, 85, 120, 20)
GUICtrlCreateLabel ("Letztes Spiel:", 5, 110, 120, 20)
GUICtrlCreateLabel ("Spieler VS KI [" & $KI_Leicht & "]:", 5, 145, 490, 20)
GUICtrlCreateLabel ("Gewonnen:", 5, 175, 120, 20)
GUICtrlCreateLabel ("Verloren:", 5, 200, 120, 20)
GUICtrlCreateLabel ("Unentschieden:", 5, 225, 120, 20)
GUICtrlCreateLabel ("Letztes Spiel:", 5, 250, 120, 20)
GUICtrlCreateLabel ("Spieler VS KI [" & $KI_Mittel & "]:", 5, 285, 490, 20)
GUICtrlCreateLabel ("Gewonnen:", 5, 310, 120, 20)
GUICtrlCreateLabel ("Verloren:", 5, 335, 120, 20)
GUICtrlCreateLabel ("Unentschieden:", 5, 360, 120, 20)
GUICtrlCreateLabel ("Letztes Spiel:", 5, 385, 120, 20)
GUICtrlCreateLabel ("Spieler VS KI [" & $KI_Schwer & "]:", 5, 425, 490, 20)
GUICtrlCreateLabel ("Gewonnen:", 5, 450, 120, 20)
GUICtrlCreateLabel ("Verloren:", 5, 475, 120, 20)
GUICtrlCreateLabel ("Unentschieden:", 5, 500, 120, 20)
GUICtrlCreateLabel ("Letztes Spiel:", 5, 525, 120, 20)
$GUI_0003_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 130, 35, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0002 = GUICtrlCreateLabel ("", 130, 60, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0003 = GUICtrlCreateLabel ("", 130, 85, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0004 = GUICtrlCreateLabel ("", 130, 110, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0005 = GUICtrlCreateLabel ("", 130, 175, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0006 = GUICtrlCreateLabel ("", 130, 200, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0007 = GUICtrlCreateLabel ("", 130, 225, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0008 = GUICtrlCreateLabel ("", 130, 250, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0009 = GUICtrlCreateLabel ("", 130, 310, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0010 = GUICtrlCreateLabel ("", 130, 335, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0011 = GUICtrlCreateLabel ("", 130, 360, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0012 = GUICtrlCreateLabel ("", 130, 385, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0013 = GUICtrlCreateLabel ("", 130, 450, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0014 = GUICtrlCreateLabel ("", 130, 475, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0015 = GUICtrlCreateLabel ("", 130, 500, 365, 20)
$GUI_0003_GUICtrlCreateLabel_0016 = GUICtrlCreateLabel ("", 130, 525, 365, 20)
$GUI_0003_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Löschen", 5, 560, 242, 20)
$GUI_0003_GUICtrlCreateButton_0002 = GUICtrlCreateButton ("Zurück", 252, 560, 243, 20)
GUISetState (@SW_HIDE, $GUI_0003_GUICreate_0001)

$GUI_0004_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Erster Programmstart", 500, 105, -1, -1, 0x00C00000)
GUICtrlCreateLabel ("Hallo," & @CRLF & "Sie haben ein Kostenloses Programm gestartet." & @CRLF & "Wann Ihnen die Programme gefallen können Sie auf der Homepage auch als ein kleines Danke Spenden." & @CRLF & "Die Homepage finden Sie im Programm unter Informationen und Support.", 5, 5, 490, 70, 0x01)
$GUI_0004_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Weiter", 5, 80, 490, 20)
GUISetState (@SW_HIDE, $GUI_0004_GUICreate_0001)

$GUI_0005_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Meldung", 500, 300, -1, -1, 0x00C00000)
$GUI_0005_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 5, 490, 265, 0x01)
$GUI_0005_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("", 5, 275, 160, 20)
$GUI_0005_GUICtrlCreateButton_0002 = GUICtrlCreateButton ("", 170, 275, 160, 20)
$GUI_0005_GUICtrlCreateButton_0003 = GUICtrlCreateButton ("", 335, 275, 160, 20)
GUISetState (@SW_HIDE, $GUI_0005_GUICreate_0001)

$GUI_0006_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Informationen", 500, 300, -1, -1, 0x00C00000)
$GUI_0006_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Computerinformationen", 5, 5, 490, 20)
$GUI_0006_GUICtrlCreateButton_0002 = GUICtrlCreateButton ("Programminformationen", 5, 30, 490, 20)
$GUI_0006_GUICtrlCreateButton_0003 = GUICtrlCreateButton ("Mitwirkende", 5, 55, 490, 20)
$GUI_0006_GUICtrlCreateButton_0004 = GUICtrlCreateButton ("Nutzungsbedingungen", 5, 80, 490, 20)
$GUI_0006_GUICtrlCreateButton_0005 = GUICtrlCreateButton ("Lizenzinformationen", 5, 105, 490, 20)
$GUI_0006_GUICtrlCreateButton_0006 = GUICtrlCreateButton ("Updatelog", 5, 130, 490, 20)
$GUI_0006_GUICtrlCreateButton_0007 = GUICtrlCreateButton ("Support", 5, 155, 490, 20)
$GUI_0006_GUICtrlCreateButton_0008 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)

$GUI_0007_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Computerinformationen", 500, 300, -1, -1, 0x00C00000)
$GUI_0007_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 5, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0002 = GUICtrlCreateLabel ("", 5, 30, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0003 = GUICtrlCreateLabel ("", 5, 55, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0004 = GUICtrlCreateLabel ("", 5, 80, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0005 = GUICtrlCreateLabel ("", 5, 105, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0006 = GUICtrlCreateLabel ("", 5, 130, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0007 = GUICtrlCreateLabel ("", 5, 155, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0008 = GUICtrlCreateLabel ("", 5, 180, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0009 = GUICtrlCreateLabel ("", 5, 205, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0010 = GUICtrlCreateLabel ("", 5, 230, 490, 20)
$GUI_0007_GUICtrlCreateLabel_0011 = GUICtrlCreateLabel ("", 5, 255, 490, 20)
$GUI_0007_GUICtrlCreateButton_0007 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
GUISetState (@SW_HIDE, $GUI_0007_GUICreate_0001)

$GUI_0008_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Programminformationen", 500, 300, -1, -1, 0x00C00000)
$GUI_0008_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 5, 490, 20)
$GUI_0008_GUICtrlCreateLabel_0002 = GUICtrlCreateLabel ("", 5, 30, 490, 20)
$GUI_0008_GUICtrlCreateLabel_0003 = GUICtrlCreateLabel ("", 5, 55, 490, 20)
$GUI_0008_GUICtrlCreateLabel_0004 = GUICtrlCreateLabel ("", 5, 80, 490, 20)
$GUI_0008_GUICtrlCreateLabel_0005 = GUICtrlCreateLabel ("", 5, 105, 490, 20)
$GUI_0008_GUICtrlCreateButton_0007 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
GUISetState (@SW_HIDE, $GUI_0008_GUICreate_0001)

$GUI_0009_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Mitwirkende", 500, 300, -1, -1, 0x00C00000)
$GUI_0009_GUICtrlCreateListView_0001 = GUICtrlCreateListView ("Nachname|Vorname|Art des Mitwirkens|Version", 5, 5, 490, 265)
$GUI_0009_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
$GUI_0009_GUICtrlGetHandle_0001 = GUICtrlGetHandle ($GUI_0009_GUICtrlCreateListView_0001)
_GUICtrlListView_SetColumnWidth ($GUI_0009_GUICtrlGetHandle_0001, 0, 80)
_GUICtrlListView_SetColumnWidth ($GUI_0009_GUICtrlGetHandle_0001, 1, 80)
_GUICtrlListView_SetColumnWidth ($GUI_0009_GUICtrlGetHandle_0001, 2, 220)
_GUICtrlListView_SetColumnWidth ($GUI_0009_GUICtrlGetHandle_0001, 3, 80)
$GUI_0009_StringSplit_0001 = StringSplit ($Programm_Mitwirkende, ",")
For $GUI_0009_Anzahl_0001 = 1 To $GUI_0009_StringSplit_0001[0] Step 1
	GUICtrlCreateListViewItem ($GUI_0009_StringSplit_0001[$GUI_0009_Anzahl_0001], $GUI_0009_GUICtrlCreateListView_0001)
Next
GUISetState (@SW_HIDE, $GUI_0009_GUICreate_0001)

$GUI_0010_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Nutzungsbedingungen", 500, 300, -1, -1, 0x00C00000)
GUICtrlCreateLabel ("Der-Die Hersteller-Autor(en) der Programme übernimmt in keiner Weise Haftung für Schäden jeder Art, die im Zusammenhang mit der Installation, der Benutzung oder dem Download des Programmes entstehen." & @CRLF & "Sie tragen bei dem Download, der Installation und der Verwendung das volle und alleinige Risiko, selbst wenn der Fehler nicht auf fehlerhafte Benutzung Ihrerseits, sondern durch eine mangehalfte Programmierung zurückzuführen ist!" & @CRLF & @CRLF & "Die Software darf nur im Herstellerzustand weitergegeben werden!" & @CRLF & "Lizenzen dürfen nicht an Dritte weitergegeben werden!" & @CRLF & "Bearbeitung eines Programmes darf ohne die Erlaubnis von Dem-Der Hersteller-Autor(en) nicht bearbeitet werden!" & @CRLF & @CRLF & @CRLF & "© Schrotter Christian [Stand: 21.03.2013 19:53]", 5, 5, 490, 265)
$GUI_0010_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
GUISetState (@SW_HIDE, $GUI_0010_GUICreate_0001)

$GUI_0011_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Lizenzinformationen", 500, 300, -1, -1, 0x00C00000)
$GUI_0011_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 5, 490, 20)
$GUI_0011_GUICtrlCreateLabel_0002 = GUICtrlCreateLabel ("", 5, 30, 490, 20)
$GUI_0011_GUICtrlCreateLabel_0003 = GUICtrlCreateLabel ("", 5, 55, 490, 20)
$GUI_0011_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
GUISetState (@SW_HIDE, $GUI_0011_GUICreate_0001)

$GUI_0012_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Updatelog", 500, 300, -1, -1, 0x00C00000)
$GUI_0012_GUICtrlCreateListView_0001 = GUICtrlCreateListView ("Updateart|Beschreibung", 5, 5, 490, 265)
$GUI_0012_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
$GUI_0012_GUICtrlGetHandle_0001 = GUICtrlGetHandle ($GUI_0012_GUICtrlCreateListView_0001)
_GUICtrlListView_SetColumnWidth ($GUI_0012_GUICtrlGetHandle_0001, 0, 140)
_GUICtrlListView_SetColumnWidth ($GUI_0012_GUICtrlGetHandle_0001, 1, 320)
$GUI_0012_StringSplit_0001 = StringSplit ($Programm_Updatelog, ",")
For $GUI_0012_Anzahl_0001 = 1 To $GUI_0012_StringSplit_0001[0] Step 1
	GUICtrlCreateListViewItem ($GUI_0012_StringSplit_0001[$GUI_0012_Anzahl_0001], $GUI_0012_GUICtrlCreateListView_0001)
Next
GUISetState (@SW_HIDE, $GUI_0012_GUICreate_0001)

$GUI_0013_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Support", 500, 300, -1, -1, 0x00C00000)
GUICtrlCreateLabel ("Homepage:", 5, 5, 140, 20)
GUICtrlCreateLabel ("E-Mail:", 5, 30, 140, 20)
$GUI_0013_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 168, 5, 300, 20)
$GUI_0013_GUICtrlCreateLabel_0002 = GUICtrlCreateLabel ("", 168, 30, 300, 20)
$GUI_0013_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Zurück", 5, 275, 490, 20)
GUICtrlSetColor ($GUI_0013_GUICtrlCreateLabel_0001, 0x0000FF)
GUICtrlSetColor ($GUI_0013_GUICtrlCreateLabel_0002, 0x0000FF)
GUICtrlSetFont ($GUI_0013_GUICtrlCreateLabel_0001, "", "", 4)
GUICtrlSetFont ($GUI_0013_GUICtrlCreateLabel_0002, "", "", 4)
GUISetState (@SW_HIDE, $GUI_0013_GUICreate_0001)

$GUI_0014_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Abmelden / Beenden", 500, 100, -1, -1, 0x00C00000)
$GUI_0014_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel (@CRLF & "Programmname: " & $Programm_Name & @CRLF & @CRLF & "Programmversion: " & $Programm_Version, 5, 5, 490, 65, 0x01)
$GUI_0014_GUICtrlCreateButton_0001 = GUICtrlCreateButton ("Abmelden", 5, 75, 160, 20)
$GUI_0014_GUICtrlCreateButton_0002 = GUICtrlCreateButton ("Beenden", 170, 75, 160, 20)
$GUI_0014_GUICtrlCreateButton_0003 = GUICtrlCreateButton ("Zurück", 335, 75, 160, 20)
GUICtrlSetState ($GUI_0014_GUICtrlCreateButton_0001, $GUI_DISABLE)
GUISetState (@SW_HIDE, $GUI_0014_GUICreate_0001)

$GUI_0015_GUICreate_0001 = GUICreate ($Programm_Name & " - " & $Programm_Version & " __ Bitte Warten ...", 500, 100, -1, -1, 0x00C00000, $WS_EX_TOPMOST)
GUICtrlCreateLabel ("Bitte Warten ...", 5, 30, 490, 20, 0x0201)
$GUI_0015_GUICtrlCreateLabel_0001 = GUICtrlCreateLabel ("", 5, 50, 490, 20, 0x0201)
$GUI_0015_GUICtrlCreateProgress_0001 = GUICtrlCreateProgress (5, 5, 490, 20, $PBS_MARQUEE)
$GUI_0015_GUICtrlCreateProgress_0002 = GUICtrlCreateProgress (5, 75, 490, 20, $PBS_MARQUEE)
$GUI_0015_GUICtrlGetHandle_0001 = GUICtrlGetHandle ($GUI_0015_GUICtrlCreateProgress_0001)
$GUI_0015_GUICtrlGetHandle_0002 = GUICtrlGetHandle ($GUI_0015_GUICtrlCreateProgress_0002)
_SendMessage ($GUI_0015_GUICtrlGetHandle_0001, $PBM_SETMARQUEE, True, 15)
_SendMessage ($GUI_0015_GUICtrlGetHandle_0002, $PBM_SETMARQUEE, True, 60)
GUISetCursor (15, 1, $GUI_0015_GUICreate_0001)
GUISetState (@SW_HIDE, $GUI_0015_GUICreate_0001)

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0004 [Aktion: Traymenü]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

;kein Traymenü

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0005 [Aktion: Programmicon setzen]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

TraySetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0001_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0002_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0003_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0004_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0005_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0006_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0007_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0008_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0009_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0010_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0011_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0012_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0013_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0014_GUICreate_0001)
GUISetIcon ($Pfad_Datei___ScriptDir_Bilder_ico___TicTacToe__ico, -1, $GUI_0015_GUICreate_0001)

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0006 [Aktion: Lizenz]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

;Kostenlose Lizenz
If FileExists ($Pfad_Datei___ScriptDir_Daten___Start__config) = 0 Then
	GUISetState (@SW_SHOW, $GUI_0004_GUICreate_0001)
	While True
		Switch GUIGetMsg ()
			Case $GUI_0004_GUICtrlCreateButton_0001
				_FileCreate ($Pfad_Datei___ScriptDir_Daten___Start__config)
				ExitLoop

		EndSwitch
	WEnd
	GUISetState (@SW_HIDE, $GUI_0004_GUICreate_0001)
EndIf
;Kostenlose Lizenz

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0007 [Aktion: Login]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

;kein Login

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0008 [Aktion: Programm]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

GUISetState (@SW_SHOW, $GUI_0015_GUICreate_0001)
_Func__EinstellungenLaden ()
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_SHOW)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_HIDE)
GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_HIDE)
$TEMP_SpieleranderReihe = "X"
$TEMP_SpielGewinner = ""
$TEMP_1_1 = ""
$TEMP_1_2 = ""
$TEMP_1_3 = ""
$TEMP_2_1 = ""
$TEMP_2_2 = ""
$TEMP_2_3 = ""
$TEMP_3_1 = ""
$TEMP_3_2 = ""
$TEMP_3_3 = ""
GUISetState (@SW_HIDE, $GUI_0015_GUICreate_0001)
GUISetState (@SW_SHOW, $GUI_0001_GUICreate_0001)
While True
	Switch GUIGetMsg ()
		Case $GUI_0001_GUICtrlCreateIcon_0001
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_1_1 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_SHOW)
					$TEMP_1_1 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_1_1 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
						$TEMP_1_1 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0002
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_1_2 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_SHOW)
					$TEMP_1_2 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_1_2 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
						$TEMP_1_2 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0003
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_1_3 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_SHOW)
					$TEMP_1_3 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_1_3 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
						$TEMP_1_3 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0004
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_2_1 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_SHOW)
					$TEMP_2_1 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_2_1 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
						$TEMP_2_1 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0005
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_2_2 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_SHOW)
					$TEMP_2_2 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_2_2 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
						$TEMP_2_2 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0006
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_2_3 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_SHOW)
					$TEMP_2_3 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_2_3 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
						$TEMP_2_3 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0007
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_3_1 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_SHOW)
					$TEMP_3_1 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_3_1 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
						$TEMP_3_1 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0008
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_3_2 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_SHOW)
					$TEMP_3_2 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_3_2 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
						$TEMP_3_2 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateIcon_0009
			If $TEMP_SpieleranderReihe = "X" Then
				If $TEMP_3_3 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_SHOW)
					$TEMP_3_3 = "X"
					$TEMP_SpieleranderReihe = "O"
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
					If $TEMP_3_3 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
						$TEMP_3_3 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			EndIf

		Case $GUI_0001_GUICtrlCreateButton_0001
			GUISetState (@SW_HIDE, $GUI_0001_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0015_GUICreate_0001)
			_Func__EinstellungenLaden ()
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_HIDE)
			$GUICtrlCreateButton_00010001__Random_0001 = Random (0, 1, 1)
			If $GUICtrlCreateButton_00010001__Random_0001 = 0 Then
				$TEMP_SpieleranderReihe = "X"
			Else
				$TEMP_SpieleranderReihe = "O"
			EndIf
			$TEMP_SpielGewinner = ""
			$TEMP_1_1 = ""
			$TEMP_1_2 = ""
			$TEMP_1_3 = ""
			$TEMP_2_1 = ""
			$TEMP_2_2 = ""
			$TEMP_2_3 = ""
			$TEMP_3_1 = ""
			$TEMP_3_2 = ""
			$TEMP_3_3 = ""
			GUISetState (@SW_HIDE, $GUI_0015_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0002_GUICreate_0001)
			While True
				Switch GUIGetMsg ()
					Case $GUI_0002_GUICtrlCreateButton_0001
						ExitLoop

					Case $GUI_0002_GUICtrlCreateButton_0002
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, $INI_0001_Section_0001_Schluessel_0001, GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001))
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, $INI_0001_Section_0001_Schluessel_0002, GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001))
						ExitLoop

					Case $GUI_0002_GUICtrlCreateCheckbox_0001
						If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 4 Then
							GUICtrlSetState ($GUI_0002_GUICtrlCreateCombo_0001, $GUI_DISABLE)
						Else
							If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 1 Then
								GUICtrlSetState ($GUI_0002_GUICtrlCreateCombo_0001, $GUI_ENABLE)
							EndIf
						EndIf

				EndSwitch
			WEnd
			GUISetState (@SW_HIDE, $GUI_0002_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0015_GUICreate_0001)
			_Func__EinstellungenLaden ()
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_HIDE)
			$TEMP_SpieleranderReihe = "X"
			$TEMP_SpielGewinner = ""
			$TEMP_1_1 = ""
			$TEMP_1_2 = ""
			$TEMP_1_3 = ""
			$TEMP_2_1 = ""
			$TEMP_2_2 = ""
			$TEMP_2_3 = ""
			$TEMP_3_1 = ""
			$TEMP_3_2 = ""
			$TEMP_3_3 = ""
			GUISetState (@SW_HIDE, $GUI_0015_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0001_GUICreate_0001)

		Case $GUI_0001_GUICtrlCreateButton_0002
			GUISetState (@SW_HIDE, $GUI_0001_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0015_GUICreate_0001)
			_Func__SpielStatistikAuslesen ()
			GUISetState (@SW_HIDE, $GUI_0015_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0003_GUICreate_0001)
			While True
				Switch GUIGetMsg ()
					Case $GUI_0003_GUICtrlCreateButton_0001
						GUICtrlSetData ($GUI_0005_GUICtrlCreateLabel_0001, "Spielstatistiken wirklich Löschen?")
						GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0001, "Ja")
						GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0002, "Nein")
						GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0003, "")
						GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0001, $GUI_ENABLE)
						GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0002, $GUI_ENABLE)
						GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0003, $GUI_DISABLE)
						GUISetState (@SW_HIDE, $GUI_0003_GUICreate_0001)
						GUISetState (@SW_SHOW, $GUI_0005_GUICreate_0001)
						While True
							Switch GUIGetMsg ()
								Case $GUI_0005_GUICtrlCreateButton_0001
									GUISetState (@SW_HIDE, $GUI_0005_GUICreate_0001)
									GUISetState (@SW_SHOW, $GUI_0015_GUICreate_0001)
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0001, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0002, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0004, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0001, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0002, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0004, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0001, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0002, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0004, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0001, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0002, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, "0")
									IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0004, "0")
									_Func__SpielStatistikAuslesen ()
									GUISetState (@SW_HIDE, $GUI_0015_GUICreate_0001)
									GUISetState (@SW_SHOW, $GUI_0003_GUICreate_0001)
									ExitLoop

								Case $GUI_0005_GUICtrlCreateButton_0002
									GUISetState (@SW_HIDE, $GUI_0005_GUICreate_0001)
									GUISetState (@SW_SHOW, $GUI_0003_GUICreate_0001)
									ExitLoop

							EndSwitch
						WEnd

					Case $GUI_0003_GUICtrlCreateButton_0002
						ExitLoop

				EndSwitch
			WEnd
			GUISetState (@SW_HIDE, $GUI_0003_GUICreate_0001)
			GUISetState (@SW_SHOW, $GUI_0001_GUICreate_0001)

		Case $GUI_0001_GUICtrlCreateButton_0003
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_SHOW)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_HIDE)
			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_HIDE)
			$TEMP_0001 = ""
			If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 1 Then
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Leicht Then
					$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, "ERROR")
					If $TEMP_0001 = "ERROR" Then
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, 1)
					Else
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, $TEMP_0001 + 1)
					EndIf
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
				Else
					If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Mittel Then
						$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, "ERROR")
						If $TEMP_0001 = "ERROR" Then
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, 1)
						Else
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, $TEMP_0001 + 1)
						EndIf
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
					Else
						If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Schwer Then
							$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, "ERROR")
							If $TEMP_0001 = "ERROR" Then
								IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, 1)
							Else
								IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, $TEMP_0001 + 1)
							EndIf
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
						EndIf
					EndIf
				EndIf
			Else
				$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, "ERROR")
				If $TEMP_0001 = "ERROR" Then
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, 1)
				Else
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, $TEMP_0001 + 1)
				EndIf
				IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
			EndIf
			$GUICtrlCreateButton_00010003__Random_0001 = Random (0, 1, 1)
			If $GUICtrlCreateButton_00010003__Random_0001 = 0 Then
				$TEMP_SpieleranderReihe = "X"
			Else
				$TEMP_SpieleranderReihe = "O"
			EndIf
			$TEMP_SpielGewinner = ""
			$TEMP_1_1 = ""
			$TEMP_1_2 = ""
			$TEMP_1_3 = ""
			$TEMP_2_1 = ""
			$TEMP_2_2 = ""
			$TEMP_2_3 = ""
			$TEMP_3_1 = ""
			$TEMP_3_2 = ""
			$TEMP_3_3 = ""

		Case $GUI_0001_GUICtrlCreateButton_0004
			_Func__Information ($GUI_0001_GUICreate_0001)

		Case $GUI_0001_GUICtrlCreateButton_0005
			_Func__AbmeldenBeenden ($GUI_0001_GUICreate_0001)

	EndSwitch
	_Func__SpielAuslesen ()
	If $TEMP_SpieleranderReihe = "X" Then
		If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0002) = "Spieler X an der Reihe." Then
		Else
			GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0002, "Spieler X an der Reihe.")
		EndIf
	Else
		If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0002) = "Spieler O an der Reihe." Then
		Else
			GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0002, "Spieler O an der Reihe.")
		EndIf
	EndIf
	If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 1 Then
		If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Leicht Then
			If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0001) = "Spieler VS KI [Leicht]" Then
			Else
				GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0001, "Spieler VS KI [Leicht]")
			EndIf
		Else
			If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Mittel Then
				If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0001) = "Spieler VS KI [Mittel]" Then
				Else
					GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0001, "Spieler VS KI [Mittel]")
				EndIf
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Schwer Then
					If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0001) = "Spieler VS KI [Schwer]" Then
					Else
						GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0001, "Spieler VS KI [Schwer]")
					EndIf
				Else
					If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0001) = "Spieler VS KI [?]" Then
					Else
						GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0001, "Spieler VS KI [?]")
					EndIf
				EndIf
			EndIf
		EndIf
		If $TEMP_SpieleranderReihe = "O" Then
			_Func__KIanderReihe (GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001))
		EndIf
	Else
		If GUICtrlRead ($GUI_0001_GUICtrlCreateLabel_0001) = "Spieler VS Spieler" Then
		Else
			GUICtrlSetData ($GUI_0001_GUICtrlCreateLabel_0001, "Spieler VS Spieler")
		EndIf
	EndIf
WEnd

;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;Teil 0009 [Aktion: Func]
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------

Func _Func__KIanderReihe ($Func_KIanderReihe__Schwierigkeit)
	If $Func_KIanderReihe__Schwierigkeit = $KI_Leicht Then
		If $TEMP_SpieleranderReihe = "O" Then
			If $TEMP_1_1 = "O" And $TEMP_1_2 = "" And $TEMP_1_3 = "" Then
				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
				$TEMP_1_2 = "O"
				$TEMP_SpieleranderReihe = "X"
			Else
				If $TEMP_1_1 = "" And $TEMP_1_2 = "O" And $TEMP_1_3 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
					$TEMP_1_1 = "O"
					$TEMP_SpieleranderReihe = "X"
				Else
					If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "O" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
						$TEMP_1_1 = "O"
						$TEMP_SpieleranderReihe = "X"
					Else
						If $TEMP_1_1 = "O" And $TEMP_1_2 = "O" And $TEMP_1_3 = "" Then
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
							$TEMP_1_3 = "O"
							$TEMP_SpieleranderReihe = "X"
						Else
							If $TEMP_1_1 = "O" And $TEMP_1_2 = "" And $TEMP_1_3 = "O" Then
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
								$TEMP_1_2 = "O"
								$TEMP_SpieleranderReihe = "X"
							Else
								If $TEMP_1_1 = "" And $TEMP_1_2 = "O" And $TEMP_1_3 = "O" Then
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
									$TEMP_1_1 = "O"
									$TEMP_SpieleranderReihe = "X"
								Else
									If $TEMP_2_1 = "O" And $TEMP_2_2 = "" And $TEMP_2_3 = "" Then
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
										$TEMP_2_2 = "O"
										$TEMP_SpieleranderReihe = "X"
									Else
										If $TEMP_2_1 = "" And $TEMP_2_2 = "O" And $TEMP_2_3 = "" Then
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
											$TEMP_2_1 = "O"
											$TEMP_SpieleranderReihe = "X"
										Else
											If $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "O" Then
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
												$TEMP_2_1 = "O"
												$TEMP_SpieleranderReihe = "X"
											Else
												If $TEMP_2_1 = "O" And $TEMP_2_2 = "O" And $TEMP_2_3 = "" Then
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
													$TEMP_2_3 = "O"
													$TEMP_SpieleranderReihe = "X"
												Else
													If $TEMP_2_1 = "O" And $TEMP_2_2 = "" And $TEMP_2_3 = "O" Then
														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
														$TEMP_2_2 = "O"
														$TEMP_SpieleranderReihe = "X"
													Else
														If $TEMP_2_1 = "" And $TEMP_2_2 = "O" And $TEMP_2_3 = "O" Then
															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
															$TEMP_2_1 = "O"
															$TEMP_SpieleranderReihe = "X"
														Else
															If $TEMP_3_1 = "O" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																$TEMP_3_2 = "O"
																$TEMP_SpieleranderReihe = "X"
															Else
																If $TEMP_3_1 = "" And $TEMP_3_2 = "O" And $TEMP_3_3 = "" Then
																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																	$TEMP_3_1 = "O"
																	$TEMP_SpieleranderReihe = "X"
																Else
																	If $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "O" Then
																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																		$TEMP_3_1 = "O"
																		$TEMP_SpieleranderReihe = "X"
																	Else
																		If $TEMP_3_1 = "O" And $TEMP_3_2 = "O" And $TEMP_3_3 = "" Then
																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																			$TEMP_3_3 = "O"
																			$TEMP_SpieleranderReihe = "X"
																		Else
																			If $TEMP_3_1 = "O" And $TEMP_3_2 = "" And $TEMP_3_3 = "O" Then
																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																				$TEMP_3_2 = "O"
																				$TEMP_SpieleranderReihe = "X"
																			Else
																				If $TEMP_3_1 = "" And $TEMP_3_2 = "O" And $TEMP_3_3 = "O" Then
																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																					$TEMP_3_1 = "O"
																					$TEMP_SpieleranderReihe = "X"
																				Else
																					If $TEMP_1_1 = "O" And $TEMP_2_1 = "" And $TEMP_3_1 = "" Then
																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																						$TEMP_2_1 = "O"
																						$TEMP_SpieleranderReihe = "X"
																					Else
																						If $TEMP_1_1 = "" And $TEMP_2_1 = "O" And $TEMP_3_1 = "" Then
																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																							$TEMP_1_1 = "O"
																							$TEMP_SpieleranderReihe = "X"
																						Else
																							If $TEMP_1_1 = "" And $TEMP_2_1 = "" And $TEMP_3_1 = "O" Then
																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																								$TEMP_1_1 = "O"
																								$TEMP_SpieleranderReihe = "X"
																							Else
																								If $TEMP_1_1 = "O" And $TEMP_2_1 = "O" And $TEMP_3_1 = "" Then
																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																									$TEMP_3_1 = "O"
																									$TEMP_SpieleranderReihe = "X"
																								Else
																									If $TEMP_1_1 = "O" And $TEMP_2_1 = "" And $TEMP_3_1 = "O" Then
																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																										$TEMP_2_1 = "O"
																										$TEMP_SpieleranderReihe = "X"
																									Else
																										If $TEMP_1_1 = "" And $TEMP_2_1 = "O" And $TEMP_3_1 = "O" Then
																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																											$TEMP_1_1 = "O"
																											$TEMP_SpieleranderReihe = "X"
																										Else
																											If $TEMP_1_2 = "O" And $TEMP_2_2 = "" And $TEMP_3_2 = "" Then
																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																												$TEMP_2_2 = "O"
																												$TEMP_SpieleranderReihe = "X"
																											Else
																												If $TEMP_1_2 = "" And $TEMP_2_2 = "O" And $TEMP_3_2 = "" Then
																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																													$TEMP_1_2 = "O"
																													$TEMP_SpieleranderReihe = "X"
																												Else
																													If $TEMP_1_2 = "" And $TEMP_2_2 = "" And $TEMP_3_2 = "O" Then
																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																														$TEMP_1_2 = "O"
																														$TEMP_SpieleranderReihe = "X"
																													Else
																														If $TEMP_1_2 = "O" And $TEMP_2_2 = "O" And $TEMP_3_2 = "" Then
																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																															$TEMP_3_2 = "O"
																															$TEMP_SpieleranderReihe = "X"
																														Else
																															If $TEMP_1_2 = "O" And $TEMP_2_2 = "" And $TEMP_3_2 = "O" Then
																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																$TEMP_2_2 = "O"
																																$TEMP_SpieleranderReihe = "X"
																															Else
																																If $TEMP_1_2 = "" And $TEMP_2_2 = "O" And $TEMP_3_2 = "O" Then
																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																	$TEMP_1_2 = "O"
																																	$TEMP_SpieleranderReihe = "X"
																																Else
																																	If $TEMP_1_3 = "O" And $TEMP_2_3 = "" And $TEMP_3_3 = "" Then
																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																		$TEMP_2_3 = "O"
																																		$TEMP_SpieleranderReihe = "X"
																																	Else
																																		If $TEMP_1_3 = "" And $TEMP_2_3 = "O" And $TEMP_3_3 = "" Then
																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																			$TEMP_1_3 = "O"
																																			$TEMP_SpieleranderReihe = "X"
																																		Else
																																			If $TEMP_1_3 = "" And $TEMP_2_3 = "" And $TEMP_3_3 = "O" Then
																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																				$TEMP_1_3 = "O"
																																				$TEMP_SpieleranderReihe = "X"
																																			Else
																																				If $TEMP_1_3 = "O" And $TEMP_2_3 = "O" And $TEMP_3_3 = "" Then
																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																					$TEMP_3_3 = "O"
																																					$TEMP_SpieleranderReihe = "X"
																																				Else
																																					If $TEMP_1_3 = "O" And $TEMP_2_3 = "" And $TEMP_3_3 = "O" Then
																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																						$TEMP_2_3 = "O"
																																						$TEMP_SpieleranderReihe = "X"
																																					Else
																																						If $TEMP_1_3 = "" And $TEMP_2_3 = "O" And $TEMP_3_3 = "O" Then
																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																							$TEMP_1_3 = "O"
																																							$TEMP_SpieleranderReihe = "X"
																																						Else
																																							If $TEMP_1_1 = "O" And $TEMP_2_2 = "" And $TEMP_3_3 = "" Then
																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																								$TEMP_2_2 = "O"
																																								$TEMP_SpieleranderReihe = "X"
																																							Else
																																								If $TEMP_1_1 = "" And $TEMP_2_2 = "O" And $TEMP_3_3 = "" Then
																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																									$TEMP_1_1 = "O"
																																									$TEMP_SpieleranderReihe = "X"
																																								Else
																																									If $TEMP_1_1 = "" And $TEMP_2_2 = "" And $TEMP_3_3 = "O" Then
																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																										$TEMP_1_1 = "O"
																																										$TEMP_SpieleranderReihe = "X"
																																									Else
																																										If $TEMP_1_1 = "O" And $TEMP_2_2 = "O" And $TEMP_3_3 = "" Then
																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																											$TEMP_3_3 = "O"
																																											$TEMP_SpieleranderReihe = "X"
																																										Else
																																											If $TEMP_1_1 = "O" And $TEMP_2_2 = "" And $TEMP_3_3 = "O" Then
																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																												$TEMP_2_2 = "O"
																																												$TEMP_SpieleranderReihe = "X"
																																											Else
																																												If $TEMP_1_1 = "" And $TEMP_2_2 = "O" And $TEMP_3_3 = "O" Then
																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																													$TEMP_1_1 = "O"
																																													$TEMP_SpieleranderReihe = "X"
																																												Else
																																													If $TEMP_1_3 = "O" And $TEMP_2_2 = "" And $TEMP_3_1 = "" Then
																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																														$TEMP_2_2 = "O"
																																														$TEMP_SpieleranderReihe = "X"
																																													Else
																																														If $TEMP_1_3 = "" And $TEMP_2_2 = "O" And $TEMP_3_1 = "" Then
																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																															$TEMP_1_3 = "O"
																																															$TEMP_SpieleranderReihe = "X"
																																														Else
																																															If $TEMP_1_3 = "" And $TEMP_2_2 = "" And $TEMP_3_1 = "O" Then
																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																$TEMP_1_3 = "O"
																																																$TEMP_SpieleranderReihe = "X"
																																															Else
																																																If $TEMP_1_3 = "O" And $TEMP_2_2 = "O" And $TEMP_3_1 = "" Then
																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																	$TEMP_3_1 = "O"
																																																	$TEMP_SpieleranderReihe = "X"
																																																Else
																																																	If $TEMP_1_3 = "O" And $TEMP_2_2 = "" And $TEMP_3_1 = "O" Then
																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																		$TEMP_2_2 = "O"
																																																		$TEMP_SpieleranderReihe = "X"
																																																	Else
																																																		If $TEMP_1_3 = "" And $TEMP_2_2 = "O" And $TEMP_3_1 = "O" Then
																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																			$TEMP_1_3 = "O"
																																																			$TEMP_SpieleranderReihe = "X"
																																																		Else
																																																			_Func__KIZug ()
																																																		EndIf
																																																	EndIf
																																																EndIf
																																															EndIf
																																														EndIf
																																													EndIf
																																												EndIf
																																											EndIf
																																										EndIf
																																									EndIf
																																								EndIf
																																							EndIf
																																						EndIf
																																					EndIf
																																				EndIf
																																			EndIf
																																		EndIf
																																	EndIf
																																EndIf
																															EndIf
																														EndIf
																													EndIf
																												EndIf
																											EndIf
																										EndIf
																									EndIf
																								EndIf
																							EndIf
																						EndIf
																					EndIf
																				EndIf
																			EndIf
																		EndIf
																	EndIf
																EndIf
															EndIf
														EndIf
													EndIf
												EndIf
											EndIf
										EndIf
									EndIf
								EndIf
							EndIf
						EndIf
					EndIf
				EndIf
			EndIf
		EndIf
	Else
		If $Func_KIanderReihe__Schwierigkeit = $KI_Mittel Then
						If $TEMP_1_1 = "O" And $TEMP_1_2 = "O" And $TEMP_1_3 = "" Then
				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
				$TEMP_1_3 = "O"
				$TEMP_SpieleranderReihe = "X"
			Else
				If $TEMP_1_1 = "O" And $TEMP_1_2 = "" And $TEMP_1_3 = "O" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
					$TEMP_1_2 = "O"
					$TEMP_SpieleranderReihe = "X"
				Else
					If $TEMP_1_1 = "" And $TEMP_1_2 = "O" And $TEMP_1_3 = "O" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
						$TEMP_1_1 = "O"
						$TEMP_SpieleranderReihe = "X"
					Else
						If $TEMP_2_1 = "O" And $TEMP_2_2 = "O" And $TEMP_2_3 = "" Then
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
							$TEMP_2_3 = "O"
							$TEMP_SpieleranderReihe = "X"
						Else
							If $TEMP_2_1 = "O" And $TEMP_2_2 = "" And $TEMP_2_3 = "O" Then
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
								$TEMP_2_2 = "O"
								$TEMP_SpieleranderReihe = "X"
							Else
								If $TEMP_2_1 = "" And $TEMP_2_2 = "O" And $TEMP_2_3 = "O" Then
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
									$TEMP_2_1 = "O"
									$TEMP_SpieleranderReihe = "X"
								Else
									If $TEMP_3_1 = "O" And $TEMP_3_2 = "O" And $TEMP_3_3 = "" Then
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
										$TEMP_3_3 = "O"
										$TEMP_SpieleranderReihe = "X"
									Else
										If $TEMP_3_1 = "O" And $TEMP_3_2 = "" And $TEMP_3_3 = "O" Then
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
											$TEMP_3_2 = "O"
											$TEMP_SpieleranderReihe = "X"
										Else
											If $TEMP_3_1 = "" And $TEMP_3_2 = "O" And $TEMP_3_3 = "O" Then
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
												$TEMP_3_1 = "O"
												$TEMP_SpieleranderReihe = "X"
											Else
												If $TEMP_1_1 = "O" And $TEMP_2_1 = "O" And $TEMP_3_1 = "" Then
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
													$TEMP_3_1 = "O"
													$TEMP_SpieleranderReihe = "X"
												Else
													If $TEMP_1_1 = "O" And $TEMP_2_1 = "" And $TEMP_3_1 = "O" Then
														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
														$TEMP_2_1 = "O"
														$TEMP_SpieleranderReihe = "X"
													Else
														If $TEMP_1_1 = "" And $TEMP_2_1 = "O" And $TEMP_3_1 = "O" Then
															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
															$TEMP_1_1 = "O"
															$TEMP_SpieleranderReihe = "X"
														Else
															If $TEMP_1_2 = "O" And $TEMP_2_2 = "O" And $TEMP_3_2 = "" Then
																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																$TEMP_3_2 = "O"
																$TEMP_SpieleranderReihe = "X"
															Else
																If $TEMP_1_2 = "O" And $TEMP_2_2 = "" And $TEMP_3_2 = "O" Then
																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																	$TEMP_2_2 = "O"
																	$TEMP_SpieleranderReihe = "X"
																Else
																	If $TEMP_1_2 = "" And $TEMP_2_2 = "O" And $TEMP_3_2 = "O" Then
																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																		$TEMP_1_2 = "O"
																		$TEMP_SpieleranderReihe = "X"
																	Else
																		If $TEMP_1_3 = "O" And $TEMP_2_3 = "O" And $TEMP_3_3 = "" Then
																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																			$TEMP_3_3 = "O"
																			$TEMP_SpieleranderReihe = "X"
																		Else
																			If $TEMP_1_3 = "O" And $TEMP_2_3 = "" And $TEMP_3_3 = "O" Then
																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																				$TEMP_2_3 = "O"
																				$TEMP_SpieleranderReihe = "X"
																			Else
																				If $TEMP_1_3 = "" And $TEMP_2_3 = "O" And $TEMP_3_3 = "O" Then
																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																					$TEMP_1_3 = "O"
																					$TEMP_SpieleranderReihe = "X"
																				Else
																					If $TEMP_1_1 = "O" And $TEMP_2_2 = "O" And $TEMP_3_3 = "" Then
																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																						$TEMP_3_3 = "O"
																						$TEMP_SpieleranderReihe = "X"
																					Else
																						If $TEMP_1_1 = "O" And $TEMP_2_2 = "" And $TEMP_3_3 = "O" Then
																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																							$TEMP_2_2 = "O"
																							$TEMP_SpieleranderReihe = "X"
																						Else
																							If $TEMP_1_1 = "" And $TEMP_2_2 = "O" And $TEMP_3_3 = "O" Then
																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																								$TEMP_1_1 = "O"
																								$TEMP_SpieleranderReihe = "X"
																							Else
																								If $TEMP_1_3 = "O" And $TEMP_2_2 = "O" And $TEMP_3_1 = "" Then
																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																									$TEMP_3_1 = "O"
																									$TEMP_SpieleranderReihe = "X"
																								Else
																									If $TEMP_1_3 = "O" And $TEMP_2_2 = "" And $TEMP_3_1 = "O" Then
																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																										$TEMP_2_2 = "O"
																										$TEMP_SpieleranderReihe = "X"
																									Else
																										If $TEMP_1_3 = "" And $TEMP_2_2 = "O" And $TEMP_3_1 = "O" Then
																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																											$TEMP_1_3 = "O"
																											$TEMP_SpieleranderReihe = "X"
																										Else
																											If $TEMP_1_1 = "X" And $TEMP_1_2 = "X" And $TEMP_1_3 = "" Then
																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																												$TEMP_1_3 = "O"
																												$TEMP_SpieleranderReihe = "X"
																											Else
																												If $TEMP_1_1 = "X" And $TEMP_1_2 = "" And $TEMP_1_3 = "X" Then
																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																													$TEMP_1_2 = "O"
																													$TEMP_SpieleranderReihe = "X"
																												Else
																													If $TEMP_1_1 = "" And $TEMP_1_2 = "X" And $TEMP_1_3 = "X" Then
																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																														$TEMP_1_1 = "O"
																														$TEMP_SpieleranderReihe = "X"
																													Else
																														If $TEMP_2_1 = "X" And $TEMP_2_2 = "X" And $TEMP_2_3 = "" Then
																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																															$TEMP_2_3 = "O"
																															$TEMP_SpieleranderReihe = "X"
																														Else
																															If $TEMP_2_1 = "X" And $TEMP_2_2 = "" And $TEMP_2_3 = "X" Then
																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																$TEMP_2_2 = "O"
																																$TEMP_SpieleranderReihe = "X"
																															Else
																																If $TEMP_2_1 = "" And $TEMP_2_2 = "X" And $TEMP_2_3 = "X" Then
																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																	$TEMP_2_1 = "O"
																																	$TEMP_SpieleranderReihe = "X"
																																Else
																																	If $TEMP_3_1 = "X" And $TEMP_3_2 = "X" And $TEMP_3_3 = "" Then
																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																		$TEMP_3_3 = "O"
																																		$TEMP_SpieleranderReihe = "X"
																																	Else
																																		If $TEMP_3_1 = "X" And $TEMP_3_2 = "" And $TEMP_3_3 = "X" Then
																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																			$TEMP_3_2 = "O"
																																			$TEMP_SpieleranderReihe = "X"
																																		Else
																																			If $TEMP_3_1 = "" And $TEMP_3_2 = "X" And $TEMP_3_3 = "X" Then
																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																				$TEMP_3_1 = "O"
																																				$TEMP_SpieleranderReihe = "X"
																																			Else
																																				If $TEMP_1_1 = "X" And $TEMP_2_1 = "X" And $TEMP_3_1 = "" Then
																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																					$TEMP_3_1 = "O"
																																					$TEMP_SpieleranderReihe = "X"
																																				Else
																																					If $TEMP_1_1 = "X" And $TEMP_2_1 = "" And $TEMP_3_1 = "X" Then
																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																						$TEMP_2_1 = "O"
																																						$TEMP_SpieleranderReihe = "X"
																																					Else
																																						If $TEMP_1_1 = "" And $TEMP_2_1 = "X" And $TEMP_3_1 = "X" Then
																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																							$TEMP_1_1 = "O"
																																							$TEMP_SpieleranderReihe = "X"
																																						Else
																																							If $TEMP_1_2 = "X" And $TEMP_2_2 = "X" And $TEMP_3_2 = "" Then
																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																								$TEMP_3_2 = "O"
																																								$TEMP_SpieleranderReihe = "X"
																																							Else
																																								If $TEMP_1_2 = "X" And $TEMP_2_2 = "" And $TEMP_3_2 = "X" Then
																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																									$TEMP_2_2 = "O"
																																									$TEMP_SpieleranderReihe = "X"
																																								Else
																																									If $TEMP_1_2 = "" And $TEMP_2_2 = "X" And $TEMP_3_2 = "X" Then
																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																										$TEMP_1_2 = "O"
																																										$TEMP_SpieleranderReihe = "X"
																																									Else
																																										If $TEMP_1_3 = "X" And $TEMP_2_3 = "X" And $TEMP_3_3 = "" Then
																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																											$TEMP_3_3 = "O"
																																											$TEMP_SpieleranderReihe = "X"
																																										Else
																																											If $TEMP_1_3 = "X" And $TEMP_2_3 = "" And $TEMP_3_3 = "X" Then
																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																												$TEMP_2_3 = "O"
																																												$TEMP_SpieleranderReihe = "X"
																																											Else
																																												If $TEMP_1_3 = "" And $TEMP_2_3 = "X" And $TEMP_3_3 = "X" Then
																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																													$TEMP_1_3 = "O"
																																													$TEMP_SpieleranderReihe = "X"
																																												Else
																																													If $TEMP_1_1 = "X" And $TEMP_2_2 = "X" And $TEMP_3_3 = "" Then
																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																														$TEMP_3_3 = "O"
																																														$TEMP_SpieleranderReihe = "X"
																																													Else
																																														If $TEMP_1_1 = "X" And $TEMP_2_2 = "" And $TEMP_3_3 = "X" Then
																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																															$TEMP_2_2 = "O"
																																															$TEMP_SpieleranderReihe = "X"
																																														Else
																																															If $TEMP_1_1 = "" And $TEMP_2_2 = "X" And $TEMP_3_3 = "X" Then
																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																$TEMP_1_1 = "O"
																																																$TEMP_SpieleranderReihe = "X"
																																															Else
																																																If $TEMP_1_3 = "X" And $TEMP_2_2 = "X" And $TEMP_3_1 = "" Then
																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																	$TEMP_3_1 = "O"
																																																	$TEMP_SpieleranderReihe = "X"
																																																Else
																																																	If $TEMP_1_3 = "X" And $TEMP_2_2 = "" And $TEMP_3_1 = "X" Then
																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																		$TEMP_2_2 = "O"
																																																		$TEMP_SpieleranderReihe = "X"
																																																	Else
																																																		If $TEMP_1_3 = "" And $TEMP_2_2 = "X" And $TEMP_3_1 = "X" Then
																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																			$TEMP_1_3 = "O"
																																																			$TEMP_SpieleranderReihe = "X"
																																																		Else
																																																			If $TEMP_1_1 = "O" And $TEMP_1_2 = "" And $TEMP_1_3 = "" Then
																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																				$TEMP_1_2 = "O"
																																																				$TEMP_SpieleranderReihe = "X"
																																																			Else
																																																				If $TEMP_1_1 = "" And $TEMP_1_2 = "O" And $TEMP_1_3 = "" Then
																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																					$TEMP_1_1 = "O"
																																																					$TEMP_SpieleranderReihe = "X"
																																																				Else
																																																					If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "O" Then
																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																						$TEMP_1_1 = "O"
																																																						$TEMP_SpieleranderReihe = "X"
																																																					Else
																																																						If $TEMP_2_1 = "O" And $TEMP_2_2 = "" And $TEMP_2_3 = "" Then
																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																							$TEMP_2_2 = "O"
																																																							$TEMP_SpieleranderReihe = "X"
																																																						Else
																																																							If $TEMP_2_1 = "" And $TEMP_2_2 = "O" And $TEMP_2_3 = "" Then
																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																								$TEMP_2_1 = "O"
																																																								$TEMP_SpieleranderReihe = "X"
																																																							Else
																																																								If $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "O" Then
																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																									$TEMP_2_1 = "O"
																																																									$TEMP_SpieleranderReihe = "X"
																																																								Else
																																																									If $TEMP_3_1 = "O" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																																										$TEMP_3_2 = "O"
																																																										$TEMP_SpieleranderReihe = "X"
																																																									Else
																																																										If $TEMP_3_1 = "" And $TEMP_3_2 = "O" And $TEMP_3_3 = "" Then
																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																											$TEMP_3_1 = "O"
																																																											$TEMP_SpieleranderReihe = "X"
																																																										Else
																																																											If $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "O" Then
																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																												$TEMP_3_1 = "O"
																																																												$TEMP_SpieleranderReihe = "X"
																																																											Else
																																																												If $TEMP_1_1 = "O" And $TEMP_2_1 = "" And $TEMP_3_1 = "" Then
																																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																													$TEMP_2_1 = "O"
																																																													$TEMP_SpieleranderReihe = "X"
																																																												Else
																																																													If $TEMP_1_1 = "" And $TEMP_2_1 = "O" And $TEMP_3_1 = "" Then
																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																														$TEMP_1_1 = "O"
																																																														$TEMP_SpieleranderReihe = "X"
																																																													Else
																																																														If $TEMP_1_1 = "" And $TEMP_2_1 = "" And $TEMP_3_1 = "O" Then
																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																															$TEMP_1_1 = "O"
																																																															$TEMP_SpieleranderReihe = "X"
																																																														Else
																																																															If $TEMP_1_2 = "O" And $TEMP_2_2 = "" And $TEMP_3_2 = "" Then
																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																$TEMP_2_2 = "O"
																																																																$TEMP_SpieleranderReihe = "X"
																																																															Else
																																																																If $TEMP_1_2 = "" And $TEMP_2_2 = "O" And $TEMP_3_2 = "" Then
																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																																	$TEMP_1_2 = "O"
																																																																	$TEMP_SpieleranderReihe = "X"
																																																																Else
																																																																	If $TEMP_1_2 = "" And $TEMP_2_2 = "" And $TEMP_3_2 = "O" Then
																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																																		$TEMP_1_2 = "O"
																																																																		$TEMP_SpieleranderReihe = "X"
																																																																	Else
																																																																		If $TEMP_1_3 = "O" And $TEMP_2_3 = "" And $TEMP_3_3 = "" Then
																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																																																			$TEMP_2_3 = "O"
																																																																			$TEMP_SpieleranderReihe = "X"
																																																																		Else
																																																																			If $TEMP_1_3 = "" And $TEMP_2_3 = "O" And $TEMP_3_3 = "" Then
																																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																				$TEMP_1_3 = "O"
																																																																				$TEMP_SpieleranderReihe = "X"
																																																																			Else
																																																																				If $TEMP_1_3 = "" And $TEMP_2_3 = "" And $TEMP_3_3 = "O" Then
																																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																					$TEMP_1_3 = "O"
																																																																					$TEMP_SpieleranderReihe = "X"
																																																																				Else
																																																																					If $TEMP_1_1 = "O" And $TEMP_2_2 = "" And $TEMP_3_3 = "" Then
																																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																						$TEMP_2_2 = "O"
																																																																						$TEMP_SpieleranderReihe = "X"
																																																																					Else
																																																																						If $TEMP_1_1 = "" And $TEMP_2_2 = "O" And $TEMP_3_3 = "" Then
																																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																							$TEMP_1_1 = "O"
																																																																							$TEMP_SpieleranderReihe = "X"
																																																																						Else
																																																																							If $TEMP_1_1 = "" And $TEMP_2_2 = "" And $TEMP_3_3 = "O" Then
																																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																								$TEMP_1_1 = "O"
																																																																								$TEMP_SpieleranderReihe = "X"
																																																																							Else
																																																																								If $TEMP_1_3 = "O" And $TEMP_2_2 = "" And $TEMP_3_1 = "" Then
																																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																									$TEMP_2_2 = "O"
																																																																									$TEMP_SpieleranderReihe = "X"
																																																																								Else
																																																																									If $TEMP_1_3 = "" And $TEMP_2_2 = "O" And $TEMP_3_1 = "" Then
																																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																										$TEMP_1_3 = "O"
																																																																										$TEMP_SpieleranderReihe = "X"
																																																																									Else
																																																																										If $TEMP_1_3 = "" And $TEMP_2_2 = "" And $TEMP_3_1 = "O" Then
																																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																											$TEMP_1_3 = "O"
																																																																											$TEMP_SpieleranderReihe = "X"
																																																																										Else
																																																																											_Func__KIZug ()
																																																																										EndIf
																																																																									EndIf
																																																																								EndIf
																																																																							EndIf
																																																																						EndIf
																																																																					EndIf
																																																																				EndIf
																																																																			EndIf
																																																																		EndIf
																																																																	EndIf
																																																																EndIf
																																																															EndIf
																																																														EndIf
																																																													EndIf
																																																												EndIf
																																																											EndIf
																																																										EndIf
																																																									EndIf
																																																								EndIf
																																																							EndIf
																																																						EndIf
																																																					EndIf
																																																				EndIf
																																																			EndIf
																																																		EndIf
																																																	EndIf
																																																EndIf
																																															EndIf
																																														EndIf
																																													EndIf
																																												EndIf
																																											EndIf
																																										EndIf
																																									EndIf
																																								EndIf
																																							EndIf
																																						EndIf
																																					EndIf
																																				EndIf
																																			EndIf
																																		EndIf
																																	EndIf
																																EndIf
																															EndIf
																														EndIf
																													EndIf
																												EndIf
																											EndIf
																										EndIf
																									EndIf
																								EndIf
																							EndIf
																						EndIf
																					EndIf
																				EndIf
																			EndIf
																		EndIf
																	EndIf
																EndIf
															EndIf
														EndIf
													EndIf
												EndIf
											EndIf
										EndIf
									EndIf
								EndIf
							EndIf
						EndIf
					EndIf
				EndIf
			EndIf
		Else
			If $Func_KIanderReihe__Schwierigkeit = $KI_Schwer Then
				If $TEMP_1_1 = "O" And $TEMP_1_2 = "O" And $TEMP_1_3 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
					$TEMP_1_3 = "O"
					$TEMP_SpieleranderReihe = "X"
				Else
					If $TEMP_1_1 = "O" And $TEMP_1_2 = "" And $TEMP_1_3 = "O" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
						$TEMP_1_2 = "O"
						$TEMP_SpieleranderReihe = "X"
					Else
						If $TEMP_1_1 = "" And $TEMP_1_2 = "O" And $TEMP_1_3 = "O" Then
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
							$TEMP_1_1 = "O"
							$TEMP_SpieleranderReihe = "X"
						Else
							If $TEMP_2_1 = "O" And $TEMP_2_2 = "O" And $TEMP_2_3 = "" Then
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
								$TEMP_2_3 = "O"
								$TEMP_SpieleranderReihe = "X"
							Else
								If $TEMP_2_1 = "O" And $TEMP_2_2 = "" And $TEMP_2_3 = "O" Then
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
									$TEMP_2_2 = "O"
									$TEMP_SpieleranderReihe = "X"
								Else
									If $TEMP_2_1 = "" And $TEMP_2_2 = "O" And $TEMP_2_3 = "O" Then
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
										$TEMP_2_1 = "O"
										$TEMP_SpieleranderReihe = "X"
									Else
										If $TEMP_3_1 = "O" And $TEMP_3_2 = "O" And $TEMP_3_3 = "" Then
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
											$TEMP_3_3 = "O"
											$TEMP_SpieleranderReihe = "X"
										Else
											If $TEMP_3_1 = "O" And $TEMP_3_2 = "" And $TEMP_3_3 = "O" Then
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
												$TEMP_3_2 = "O"
												$TEMP_SpieleranderReihe = "X"
											Else
												If $TEMP_3_1 = "" And $TEMP_3_2 = "O" And $TEMP_3_3 = "O" Then
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
													$TEMP_3_1 = "O"
													$TEMP_SpieleranderReihe = "X"
												Else
													If $TEMP_1_1 = "O" And $TEMP_2_1 = "O" And $TEMP_3_1 = "" Then
														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
														$TEMP_3_1 = "O"
														$TEMP_SpieleranderReihe = "X"
													Else
														If $TEMP_1_1 = "O" And $TEMP_2_1 = "" And $TEMP_3_1 = "O" Then
															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
															$TEMP_2_1 = "O"
															$TEMP_SpieleranderReihe = "X"
														Else
															If $TEMP_1_1 = "" And $TEMP_2_1 = "O" And $TEMP_3_1 = "O" Then
																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																$TEMP_1_1 = "O"
																$TEMP_SpieleranderReihe = "X"
															Else
																If $TEMP_1_2 = "O" And $TEMP_2_2 = "O" And $TEMP_3_2 = "" Then
																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																	$TEMP_3_2 = "O"
																	$TEMP_SpieleranderReihe = "X"
																Else
																	If $TEMP_1_2 = "O" And $TEMP_2_2 = "" And $TEMP_3_2 = "O" Then
																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																		$TEMP_2_2 = "O"
																		$TEMP_SpieleranderReihe = "X"
																	Else
																		If $TEMP_1_2 = "" And $TEMP_2_2 = "O" And $TEMP_3_2 = "O" Then
																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																			$TEMP_1_2 = "O"
																			$TEMP_SpieleranderReihe = "X"
																		Else
																			If $TEMP_1_3 = "O" And $TEMP_2_3 = "O" And $TEMP_3_3 = "" Then
																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																				$TEMP_3_3 = "O"
																				$TEMP_SpieleranderReihe = "X"
																			Else
																				If $TEMP_1_3 = "O" And $TEMP_2_3 = "" And $TEMP_3_3 = "O" Then
																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																					$TEMP_2_3 = "O"
																					$TEMP_SpieleranderReihe = "X"
																				Else
																					If $TEMP_1_3 = "" And $TEMP_2_3 = "O" And $TEMP_3_3 = "O" Then
																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																						$TEMP_1_3 = "O"
																						$TEMP_SpieleranderReihe = "X"
																					Else
																						If $TEMP_1_1 = "O" And $TEMP_2_2 = "O" And $TEMP_3_3 = "" Then
																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																							$TEMP_3_3 = "O"
																							$TEMP_SpieleranderReihe = "X"
																						Else
																							If $TEMP_1_1 = "O" And $TEMP_2_2 = "" And $TEMP_3_3 = "O" Then
																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																								$TEMP_2_2 = "O"
																								$TEMP_SpieleranderReihe = "X"
																							Else
																								If $TEMP_1_1 = "" And $TEMP_2_2 = "O" And $TEMP_3_3 = "O" Then
																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																									$TEMP_1_1 = "O"
																									$TEMP_SpieleranderReihe = "X"
																								Else
																									If $TEMP_1_3 = "O" And $TEMP_2_2 = "O" And $TEMP_3_1 = "" Then
																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																										$TEMP_3_1 = "O"
																										$TEMP_SpieleranderReihe = "X"
																									Else
																										If $TEMP_1_3 = "O" And $TEMP_2_2 = "" And $TEMP_3_1 = "O" Then
																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																											$TEMP_2_2 = "O"
																											$TEMP_SpieleranderReihe = "X"
																										Else
																											If $TEMP_1_3 = "" And $TEMP_2_2 = "O" And $TEMP_3_1 = "O" Then
																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																												$TEMP_1_3 = "O"
																												$TEMP_SpieleranderReihe = "X"
																											Else
																												If $TEMP_1_1 = "X" And $TEMP_1_2 = "X" And $TEMP_1_3 = "" Then
																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																													$TEMP_1_3 = "O"
																													$TEMP_SpieleranderReihe = "X"
																												Else
																													If $TEMP_1_1 = "X" And $TEMP_1_2 = "" And $TEMP_1_3 = "X" Then
																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																														$TEMP_1_2 = "O"
																														$TEMP_SpieleranderReihe = "X"
																													Else
																														If $TEMP_1_1 = "" And $TEMP_1_2 = "X" And $TEMP_1_3 = "X" Then
																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																															$TEMP_1_1 = "O"
																															$TEMP_SpieleranderReihe = "X"
																														Else
																															If $TEMP_2_1 = "X" And $TEMP_2_2 = "X" And $TEMP_2_3 = "" Then
																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																$TEMP_2_3 = "O"
																																$TEMP_SpieleranderReihe = "X"
																															Else
																																If $TEMP_2_1 = "X" And $TEMP_2_2 = "" And $TEMP_2_3 = "X" Then
																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																	$TEMP_2_2 = "O"
																																	$TEMP_SpieleranderReihe = "X"
																																Else
																																	If $TEMP_2_1 = "" And $TEMP_2_2 = "X" And $TEMP_2_3 = "X" Then
																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																		$TEMP_2_1 = "O"
																																		$TEMP_SpieleranderReihe = "X"
																																	Else
																																		If $TEMP_3_1 = "X" And $TEMP_3_2 = "X" And $TEMP_3_3 = "" Then
																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																			$TEMP_3_3 = "O"
																																			$TEMP_SpieleranderReihe = "X"
																																		Else
																																			If $TEMP_3_1 = "X" And $TEMP_3_2 = "" And $TEMP_3_3 = "X" Then
																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																				$TEMP_3_2 = "O"
																																				$TEMP_SpieleranderReihe = "X"
																																			Else
																																				If $TEMP_3_1 = "" And $TEMP_3_2 = "X" And $TEMP_3_3 = "X" Then
																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																					$TEMP_3_1 = "O"
																																					$TEMP_SpieleranderReihe = "X"
																																				Else
																																					If $TEMP_1_1 = "X" And $TEMP_2_1 = "X" And $TEMP_3_1 = "" Then
																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																						$TEMP_3_1 = "O"
																																						$TEMP_SpieleranderReihe = "X"
																																					Else
																																						If $TEMP_1_1 = "X" And $TEMP_2_1 = "" And $TEMP_3_1 = "X" Then
																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																							$TEMP_2_1 = "O"
																																							$TEMP_SpieleranderReihe = "X"
																																						Else
																																							If $TEMP_1_1 = "" And $TEMP_2_1 = "X" And $TEMP_3_1 = "X" Then
																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																								$TEMP_1_1 = "O"
																																								$TEMP_SpieleranderReihe = "X"
																																							Else
																																								If $TEMP_1_2 = "X" And $TEMP_2_2 = "X" And $TEMP_3_2 = "" Then
																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																									$TEMP_3_2 = "O"
																																									$TEMP_SpieleranderReihe = "X"
																																								Else
																																									If $TEMP_1_2 = "X" And $TEMP_2_2 = "" And $TEMP_3_2 = "X" Then
																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																										$TEMP_2_2 = "O"
																																										$TEMP_SpieleranderReihe = "X"
																																									Else
																																										If $TEMP_1_2 = "" And $TEMP_2_2 = "X" And $TEMP_3_2 = "X" Then
																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																											$TEMP_1_2 = "O"
																																											$TEMP_SpieleranderReihe = "X"
																																										Else
																																											If $TEMP_1_3 = "X" And $TEMP_2_3 = "X" And $TEMP_3_3 = "" Then
																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																												$TEMP_3_3 = "O"
																																												$TEMP_SpieleranderReihe = "X"
																																											Else
																																												If $TEMP_1_3 = "X" And $TEMP_2_3 = "" And $TEMP_3_3 = "X" Then
																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																													$TEMP_2_3 = "O"
																																													$TEMP_SpieleranderReihe = "X"
																																												Else
																																													If $TEMP_1_3 = "" And $TEMP_2_3 = "X" And $TEMP_3_3 = "X" Then
																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																														$TEMP_1_3 = "O"
																																														$TEMP_SpieleranderReihe = "X"
																																													Else
																																														If $TEMP_1_1 = "X" And $TEMP_2_2 = "X" And $TEMP_3_3 = "" Then
																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																															$TEMP_3_3 = "O"
																																															$TEMP_SpieleranderReihe = "X"
																																														Else
																																															If $TEMP_1_1 = "X" And $TEMP_2_2 = "" And $TEMP_3_3 = "X" Then
																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																$TEMP_2_2 = "O"
																																																$TEMP_SpieleranderReihe = "X"
																																															Else
																																																If $TEMP_1_1 = "" And $TEMP_2_2 = "X" And $TEMP_3_3 = "X" Then
																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																	$TEMP_1_1 = "O"
																																																	$TEMP_SpieleranderReihe = "X"
																																																Else
																																																	If $TEMP_1_3 = "X" And $TEMP_2_2 = "X" And $TEMP_3_1 = "" Then
																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																		$TEMP_3_1 = "O"
																																																		$TEMP_SpieleranderReihe = "X"
																																																	Else
																																																		If $TEMP_1_3 = "X" And $TEMP_2_2 = "" And $TEMP_3_1 = "X" Then
																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																			$TEMP_2_2 = "O"
																																																			$TEMP_SpieleranderReihe = "X"
																																																		Else
																																																			If $TEMP_1_3 = "" And $TEMP_2_2 = "X" And $TEMP_3_1 = "X" Then
																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																				$TEMP_1_3 = "O"
																																																				$TEMP_SpieleranderReihe = "X"
																																																			Else
																																																				If $TEMP_1_1 = "X" And $TEMP_3_3 = "X" And $TEMP_3_1 = "" Then
																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																					$TEMP_2_1 = "O"
																																																					$TEMP_SpieleranderReihe = "X"
																																																				Else
																																																					If $TEMP_1_1 = "X" And $TEMP_3_3 = "X" And $TEMP_1_3 = "" Then
																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																																						$TEMP_2_3 = "O"
																																																						$TEMP_SpieleranderReihe = "X"
																																																					Else
																																																						If $TEMP_1_3 = "X" And $TEMP_3_1 = "X" And $TEMP_1_2 = "" Then
																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																							$TEMP_1_2 = "O"
																																																							$TEMP_SpieleranderReihe = "X"
																																																						Else
																																																							If $TEMP_1_3 = "X" And $TEMP_3_1 = "X" And $TEMP_3_3 = "" Then
																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																																								$TEMP_3_2 = "O"
																																																								$TEMP_SpieleranderReihe = "X"
																																																							Else
																																																								If $TEMP_1_1 = "X" And $TEMP_2_2 = "X" And $TEMP_1_2 = "" Then
																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																									$TEMP_1_2 = "O"
																																																									$TEMP_SpieleranderReihe = "X"
																																																								Else
																																																									If $TEMP_1_1 = "X" And $TEMP_2_2 = "X" And $TEMP_2_1 = "" Then
																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																										$TEMP_2_1 = "O"
																																																										$TEMP_SpieleranderReihe = "X"
																																																									Else
																																																										If $TEMP_1_3 = "X" And $TEMP_2_2 = "X" And $TEMP_1_2 = "" Then
																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																											$TEMP_1_2 = "O"
																																																											$TEMP_SpieleranderReihe = "X"
																																																										Else
																																																											If $TEMP_1_3 = "X" And $TEMP_2_2 = "X" And $TEMP_2_3 = "" Then
																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																																												$TEMP_2_3 = "O"
																																																												$TEMP_SpieleranderReihe = "X"
																																																											Else
																																																												If $TEMP_3_1 = "X" And $TEMP_2_2 = "X" And $TEMP_2_1 = "" Then
																																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																													$TEMP_2_1 = "O"
																																																													$TEMP_SpieleranderReihe = "X"
																																																												Else
																																																													If $TEMP_3_1 = "X" And $TEMP_2_2 = "X" And $TEMP_3_2 = "" Then
																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																																														$TEMP_3_2 = "O"
																																																														$TEMP_SpieleranderReihe = "X"
																																																													Else
																																																														If $TEMP_3_3 = "X" And $TEMP_2_2 = "X" And $TEMP_3_2 = "" Then
																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																																															$TEMP_3_2 = "O"
																																																															$TEMP_SpieleranderReihe = "X"
																																																														Else
																																																															If $TEMP_3_3 = "X" And $TEMP_2_2 = "X" And $TEMP_2_3 = "" Then
																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																																																$TEMP_2_3 = "O"
																																																																$TEMP_SpieleranderReihe = "X"
																																																															Else
																																																																If $TEMP_1_1 = "O" And $TEMP_1_2 = "" And $TEMP_1_3 = "" Then
																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																																	$TEMP_1_2 = "O"
																																																																	$TEMP_SpieleranderReihe = "X"
																																																																Else
																																																																	If $TEMP_1_1 = "" And $TEMP_1_2 = "O" And $TEMP_1_3 = "" Then
																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																		$TEMP_1_1 = "O"
																																																																		$TEMP_SpieleranderReihe = "X"
																																																																	Else
																																																																		If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "O" Then
																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																			$TEMP_1_1 = "O"
																																																																			$TEMP_SpieleranderReihe = "X"
																																																																		Else
																																																																			If $TEMP_2_1 = "O" And $TEMP_2_2 = "" And $TEMP_2_3 = "" Then
																																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																				$TEMP_2_2 = "O"
																																																																				$TEMP_SpieleranderReihe = "X"
																																																																			Else
																																																																				If $TEMP_2_1 = "" And $TEMP_2_2 = "O" And $TEMP_2_3 = "" Then
																																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																																					$TEMP_2_1 = "O"
																																																																					$TEMP_SpieleranderReihe = "X"
																																																																				Else
																																																																					If $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "O" Then
																																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																																						$TEMP_2_1 = "O"
																																																																						$TEMP_SpieleranderReihe = "X"
																																																																					Else
																																																																						If $TEMP_3_1 = "O" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
																																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
																																																																							$TEMP_3_2 = "O"
																																																																							$TEMP_SpieleranderReihe = "X"
																																																																						Else
																																																																							If $TEMP_3_1 = "" And $TEMP_3_2 = "O" And $TEMP_3_3 = "" Then
																																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																																								$TEMP_3_1 = "O"
																																																																								$TEMP_SpieleranderReihe = "X"
																																																																							Else
																																																																								If $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "O" Then
																																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																																									$TEMP_3_1 = "O"
																																																																									$TEMP_SpieleranderReihe = "X"
																																																																								Else
																																																																									If $TEMP_1_1 = "O" And $TEMP_2_1 = "" And $TEMP_3_1 = "" Then
																																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
																																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
																																																																										$TEMP_2_1 = "O"
																																																																										$TEMP_SpieleranderReihe = "X"
																																																																									Else
																																																																										If $TEMP_1_1 = "" And $TEMP_2_1 = "O" And $TEMP_3_1 = "" Then
																																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																											$TEMP_1_1 = "O"
																																																																											$TEMP_SpieleranderReihe = "X"
																																																																										Else
																																																																											If $TEMP_1_1 = "" And $TEMP_2_1 = "" And $TEMP_3_1 = "O" Then
																																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																												$TEMP_1_1 = "O"
																																																																												$TEMP_SpieleranderReihe = "X"
																																																																											Else
																																																																												If $TEMP_1_2 = "O" And $TEMP_2_2 = "" And $TEMP_3_2 = "" Then
																																																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																													$TEMP_2_2 = "O"
																																																																													$TEMP_SpieleranderReihe = "X"
																																																																												Else
																																																																													If $TEMP_1_2 = "" And $TEMP_2_2 = "O" And $TEMP_3_2 = "" Then
																																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																																														$TEMP_1_2 = "O"
																																																																														$TEMP_SpieleranderReihe = "X"
																																																																													Else
																																																																														If $TEMP_1_2 = "" And $TEMP_2_2 = "" And $TEMP_3_2 = "O" Then
																																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
																																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
																																																																															$TEMP_1_2 = "O"
																																																																															$TEMP_SpieleranderReihe = "X"
																																																																														Else
																																																																															If $TEMP_1_3 = "O" And $TEMP_2_3 = "" And $TEMP_3_3 = "" Then
																																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
																																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
																																																																																$TEMP_2_3 = "O"
																																																																																$TEMP_SpieleranderReihe = "X"
																																																																															Else
																																																																																If $TEMP_1_3 = "" And $TEMP_2_3 = "O" And $TEMP_3_3 = "" Then
																																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																																	$TEMP_1_3 = "O"
																																																																																	$TEMP_SpieleranderReihe = "X"
																																																																																Else
																																																																																	If $TEMP_1_3 = "" And $TEMP_2_3 = "" And $TEMP_3_3 = "O" Then
																																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																																		$TEMP_1_3 = "O"
																																																																																		$TEMP_SpieleranderReihe = "X"
																																																																																	Else
																																																																																		If $TEMP_1_1 = "O" And $TEMP_2_2 = "" And $TEMP_3_3 = "" Then
																																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																			$TEMP_2_2 = "O"
																																																																																			$TEMP_SpieleranderReihe = "X"
																																																																																		Else
																																																																																			If $TEMP_1_1 = "" And $TEMP_2_2 = "O" And $TEMP_3_3 = "" Then
																																																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																																				GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																																				$TEMP_1_1 = "O"
																																																																																				$TEMP_SpieleranderReihe = "X"
																																																																																			Else
																																																																																				If $TEMP_1_1 = "" And $TEMP_2_2 = "" And $TEMP_3_3 = "O" Then
																																																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																																					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																																					$TEMP_1_1 = "O"
																																																																																					$TEMP_SpieleranderReihe = "X"
																																																																																				Else
																																																																																					If $TEMP_1_3 = "O" And $TEMP_2_2 = "" And $TEMP_3_1 = "" Then
																																																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																						$TEMP_2_2 = "O"
																																																																																						$TEMP_SpieleranderReihe = "X"
																																																																																					Else
																																																																																						If $TEMP_1_3 = "" And $TEMP_2_2 = "O" And $TEMP_3_1 = "" Then
																																																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																																							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																																							$TEMP_1_3 = "O"
																																																																																							$TEMP_SpieleranderReihe = "X"
																																																																																						Else
																																																																																							If $TEMP_1_3 = "" And $TEMP_2_2 = "" And $TEMP_3_1 = "O" Then
																																																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																																								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																																								$TEMP_1_3 = "O"
																																																																																								$TEMP_SpieleranderReihe = "X"
																																																																																							Else
																																																																																								If $TEMP_1_1 = "X" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																									$TEMP_2_2 = "O"
																																																																																									$TEMP_SpieleranderReihe = "X"
																																																																																								Else
																																																																																									If $TEMP_1_1 = "" And $TEMP_1_2 = "X" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																										$TEMP_2_2 = "O"
																																																																																										$TEMP_SpieleranderReihe = "X"
																																																																																									Else
																																																																																										If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "X" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																											$TEMP_2_2 = "O"
																																																																																											$TEMP_SpieleranderReihe = "X"
																																																																																										Else
																																																																																											If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "X" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																												$TEMP_2_2 = "O"
																																																																																												$TEMP_SpieleranderReihe = "X"
																																																																																											Else
																																																																																												If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "X" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																													While True
																																																																																														$TEMP_0001 = ""
																																																																																														$TEMP_0001 = Random (1, 4, 1)
																																																																																														If $TEMP_0001 = 1 Then
																																																																																															If $TEMP_1_1 = "" Then
																																																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
																																																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
																																																																																																$TEMP_1_1 = "O"
																																																																																																$TEMP_SpieleranderReihe = "X"
																																																																																															EndIf
																																																																																														Else
																																																																																															If $TEMP_0001 = 2 Then
																																																																																																If $TEMP_1_3 = "" Then
																																																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
																																																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
																																																																																																	$TEMP_1_3 = "O"
																																																																																																	$TEMP_SpieleranderReihe = "X"
																																																																																																EndIf
																																																																																															Else
																																																																																																If $TEMP_0001 = 3 Then
																																																																																																	If $TEMP_3_1 = "" Then
																																																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
																																																																																																		GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
																																																																																																		$TEMP_3_1 = "O"
																																																																																																		$TEMP_SpieleranderReihe = "X"
																																																																																																	EndIf
																																																																																																Else
																																																																																																	If $TEMP_0001 = 4 Then
																																																																																																		If $TEMP_3_3 = "" Then
																																																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
																																																																																																			GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
																																																																																																			$TEMP_3_3 = "O"
																																																																																																			$TEMP_SpieleranderReihe = "X"
																																																																																																		EndIf
																																																																																																	EndIf
																																																																																																EndIf
																																																																																															EndIf
																																																																																														EndIf
																																																																																														If $TEMP_SpieleranderReihe = "X" Then
																																																																																															ExitLoop
																																																																																														EndIf
																																																																																													WEnd
																																																																																												Else
																																																																																													If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "X" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																														GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																														$TEMP_2_2 = "O"
																																																																																														$TEMP_SpieleranderReihe = "X"
																																																																																													Else
																																																																																														If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "X" And $TEMP_3_2 = "" And $TEMP_3_3 = "" Then
																																																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																															GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																															$TEMP_2_2 = "O"
																																																																																															$TEMP_SpieleranderReihe = "X"
																																																																																														Else
																																																																																															If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "X" And $TEMP_3_3 = "" Then
																																																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																																GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																																$TEMP_2_2 = "O"
																																																																																																$TEMP_SpieleranderReihe = "X"
																																																																																															Else
																																																																																																If $TEMP_1_1 = "" And $TEMP_1_2 = "" And $TEMP_1_3 = "" And $TEMP_2_1 = "" And $TEMP_2_2 = "" And $TEMP_2_3 = "" And $TEMP_3_1 = "" And $TEMP_3_2 = "" And $TEMP_3_3 = "X" Then
																																																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
																																																																																																	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
																																																																																																	$TEMP_2_2 = "O"
																																																																																																	$TEMP_SpieleranderReihe = "X"
																																																																																																Else
																																																																																																	_Func__KIZug ()
																																																																																																EndIf
																																																																																															EndIf
																																																																																														EndIf
																																																																																													EndIf
																																																																																												EndIf
																																																																																											EndIf
																																																																																										EndIf
																																																																																									EndIf
																																																																																								EndIf
																																																																																							EndIf
																																																																																						EndIf
																																																																																					EndIf
																																																																																				EndIf
																																																																																			EndIf
																																																																																		EndIf
																																																																																	EndIf
																																																																																EndIf
																																																																															EndIf
																																																																														EndIf
																																																																													EndIf
																																																																												EndIf
																																																																											EndIf
																																																																										EndIf
																																																																									EndIf
																																																																								EndIf
																																																																							EndIf
																																																																						EndIf
																																																																					EndIf
																																																																				EndIf
																																																																			EndIf
																																																																		EndIf
																																																																	EndIf
																																																																EndIf
																																																															EndIf
																																																														EndIf
																																																													EndIf
																																																												EndIf
																																																											EndIf
																																																										EndIf
																																																									EndIf
																																																								EndIf
																																																							EndIf
																																																						EndIf
																																																					EndIf
																																																				EndIf
																																																			EndIf
																																																		EndIf
																																																	EndIf
																																																EndIf
																																															EndIf
																																														EndIf
																																													EndIf
																																												EndIf
																																											EndIf
																																										EndIf
																																									EndIf
																																								EndIf
																																							EndIf
																																						EndIf
																																					EndIf
																																				EndIf
																																			EndIf
																																		EndIf
																																	EndIf
																																EndIf
																															EndIf
																														EndIf
																													EndIf
																												EndIf
																											EndIf
																										EndIf
																									EndIf
																								EndIf
																							EndIf
																						EndIf
																					EndIf
																				EndIf
																			EndIf
																		EndIf
																	EndIf
																EndIf
															EndIf
														EndIf
													EndIf
												EndIf
											EndIf
										EndIf
									EndIf
								EndIf
							EndIf
						EndIf
					EndIf
				EndIf
			EndIf
		EndIf
	EndIf
EndFunc

Func _Func__SpielStatistikAuslesen ()
	$Func_SpielStatistikAuslesen__IniRead_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0001, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0002 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0002, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0003 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0004 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0004, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0005 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0001, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0006 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0002, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0007 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0008 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0004, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0009 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0001, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0010 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0002, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0011 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0012 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0004, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0013 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0001, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0014 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0002, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0015 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, "Konnte nicht Ausgelesen werden!")
	$Func_SpielStatistikAuslesen__IniRead_0016 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0004, "Konnte nicht Ausgelesen werden!")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0001, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0002, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0003, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0004, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0005, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0006, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0007, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0008, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0009, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0010, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0011, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0012, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0013, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0014, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0015, "")
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0016, "")
	If $Func_SpielStatistikAuslesen__IniRead_0001 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0002 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0003 = "Konnte nicht Ausgelesen werden!" Then
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0001, $Func_SpielStatistikAuslesen__IniRead_0001)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0002, $Func_SpielStatistikAuslesen__IniRead_0002)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0003, $Func_SpielStatistikAuslesen__IniRead_0003)
	Else
		$TEMP_0001 = ""
		$TEMP_0002 = ""
		$TEMP_0003 = ""
		$TEMP_0004 = ""
		$TEMP_0005 = ""
		$TEMP_0006 = ""
		$TEMP_0007 = ""
		$TEMP_0001 = $Func_SpielStatistikAuslesen__IniRead_0001 + $Func_SpielStatistikAuslesen__IniRead_0002 + $Func_SpielStatistikAuslesen__IniRead_0003
		$TEMP_0002 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0001
		$TEMP_0003 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0002
		$TEMP_0004 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0003
		If $Func_SpielStatistikAuslesen__IniRead_0001 = "0" Then
			$TEMP_0002 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0002 = "0" Then
			$TEMP_0003 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0003 = "0" Then
			$TEMP_0004 = "0"
		EndIf
		$TEMP_0005 = StringSplit ($TEMP_0002, ".")
		$TEMP_0006 = StringSplit ($TEMP_0003, ".")
		$TEMP_0007 = StringSplit ($TEMP_0004, ".")
		If $TEMP_0005 = @error Then
		Else
			If $TEMP_0005[0] > 1 Then
				$TEMP_0002 = $TEMP_0005[1]
			EndIf
		EndIf
		If $TEMP_0006 = @error Then
		Else
			If $TEMP_0006[0] > 1 Then
				$TEMP_0003 = $TEMP_0006[1]
			EndIf
		EndIf
		If $TEMP_0007 = @error Then
		Else
			If $TEMP_0007[0] > 1 Then
				$TEMP_0004 = 100 - $TEMP_0002 - $TEMP_0003
			EndIf
		EndIf
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0001, $Func_SpielStatistikAuslesen__IniRead_0001 & @TAB & "(" & $TEMP_0002 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0002, $Func_SpielStatistikAuslesen__IniRead_0002 & @TAB & "(" & $TEMP_0003 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0003, $Func_SpielStatistikAuslesen__IniRead_0003 & @TAB & "(" & $TEMP_0004 & " %)")
	EndIf
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0004, $Func_SpielStatistikAuslesen__IniRead_0004)
	If $Func_SpielStatistikAuslesen__IniRead_0005 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0006 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0007 = "Konnte nicht Ausgelesen werden!" Then
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0005, $Func_SpielStatistikAuslesen__IniRead_0005)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0006, $Func_SpielStatistikAuslesen__IniRead_0006)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0007, $Func_SpielStatistikAuslesen__IniRead_0007)
	Else
		$TEMP_0001 = ""
		$TEMP_0002 = ""
		$TEMP_0003 = ""
		$TEMP_0004 = ""
		$TEMP_0005 = ""
		$TEMP_0006 = ""
		$TEMP_0007 = ""
		$TEMP_0001 = $Func_SpielStatistikAuslesen__IniRead_0005 + $Func_SpielStatistikAuslesen__IniRead_0006 + $Func_SpielStatistikAuslesen__IniRead_0007
		$TEMP_0002 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0005
		$TEMP_0003 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0006
		$TEMP_0004 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0007
		If $Func_SpielStatistikAuslesen__IniRead_0005 = "0" Then
			$TEMP_0002 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0006 = "0" Then
			$TEMP_0003 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0007 = "0" Then
			$TEMP_0004 = "0"
		EndIf
		$TEMP_0005 = StringSplit ($TEMP_0002, ".")
		$TEMP_0006 = StringSplit ($TEMP_0003, ".")
		$TEMP_0007 = StringSplit ($TEMP_0004, ".")
		If $TEMP_0005 = @error Then
		Else
			If $TEMP_0005[0] > 1 Then
				$TEMP_0002 = $TEMP_0005[1]
			EndIf
		EndIf
		If $TEMP_0006 = @error Then
		Else
			If $TEMP_0006[0] > 1 Then
				$TEMP_0003 = $TEMP_0006[1]
			EndIf
		EndIf
		If $TEMP_0007 = @error Then
		Else
			If $TEMP_0007[0] > 1 Then
				$TEMP_0004 = 100 - $TEMP_0002 - $TEMP_0003
			EndIf
		EndIf
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0005, $Func_SpielStatistikAuslesen__IniRead_0005 & @TAB & "(" & $TEMP_0002 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0006, $Func_SpielStatistikAuslesen__IniRead_0006 & @TAB & "(" & $TEMP_0003 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0007, $Func_SpielStatistikAuslesen__IniRead_0007 & @TAB & "(" & $TEMP_0004 & " %)")
	EndIf
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0008, $Func_SpielStatistikAuslesen__IniRead_0008)
	If $Func_SpielStatistikAuslesen__IniRead_0009 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0010 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0011 = "Konnte nicht Ausgelesen werden!" Then
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0009, $Func_SpielStatistikAuslesen__IniRead_0009)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0010, $Func_SpielStatistikAuslesen__IniRead_0010)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0011, $Func_SpielStatistikAuslesen__IniRead_0011)
	Else
		$TEMP_0001 = ""
		$TEMP_0002 = ""
		$TEMP_0003 = ""
		$TEMP_0004 = ""
		$TEMP_0005 = ""
		$TEMP_0006 = ""
		$TEMP_0007 = ""
		$TEMP_0001 = $Func_SpielStatistikAuslesen__IniRead_0009 + $Func_SpielStatistikAuslesen__IniRead_0010 + $Func_SpielStatistikAuslesen__IniRead_0011
		$TEMP_0002 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0009
		$TEMP_0003 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0010
		$TEMP_0004 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0011
		If $Func_SpielStatistikAuslesen__IniRead_0009 = "0" Then
			$TEMP_0002 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0010 = "0" Then
			$TEMP_0003 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0011 = "0" Then
			$TEMP_0004 = "0"
		EndIf
		$TEMP_0005 = StringSplit ($TEMP_0002, ".")
		$TEMP_0006 = StringSplit ($TEMP_0003, ".")
		$TEMP_0007 = StringSplit ($TEMP_0004, ".")
		If $TEMP_0005 = @error Then
		Else
			If $TEMP_0005[0] > 1 Then
				$TEMP_0002 = $TEMP_0005[1]
			EndIf
		EndIf
		If $TEMP_0006 = @error Then
		Else
			If $TEMP_0006[0] > 1 Then
				$TEMP_0003 = $TEMP_0006[1]
			EndIf
		EndIf
		If $TEMP_0007 = @error Then
		Else
			If $TEMP_0007[0] > 1 Then
				$TEMP_0004 = 100 - $TEMP_0002 - $TEMP_0003
			EndIf
		EndIf
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0009, $Func_SpielStatistikAuslesen__IniRead_0009 & @TAB & "(" & $TEMP_0002 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0010, $Func_SpielStatistikAuslesen__IniRead_0010 & @TAB & "(" & $TEMP_0003 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0011, $Func_SpielStatistikAuslesen__IniRead_0011 & @TAB & "(" & $TEMP_0004 & " %)")
	EndIf
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0012, $Func_SpielStatistikAuslesen__IniRead_0012)
	If $Func_SpielStatistikAuslesen__IniRead_0013 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0014 = "Konnte nicht Ausgelesen werden!" Or $Func_SpielStatistikAuslesen__IniRead_0015 = "Konnte nicht Ausgelesen werden!" Then
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0013, $Func_SpielStatistikAuslesen__IniRead_0001)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0014, $Func_SpielStatistikAuslesen__IniRead_0002)
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0015, $Func_SpielStatistikAuslesen__IniRead_0003)
	Else
		$TEMP_0001 = ""
		$TEMP_0002 = ""
		$TEMP_0003 = ""
		$TEMP_0004 = ""
		$TEMP_0005 = ""
		$TEMP_0006 = ""
		$TEMP_0007 = ""
		$TEMP_0001 = $Func_SpielStatistikAuslesen__IniRead_0013 + $Func_SpielStatistikAuslesen__IniRead_0014 + $Func_SpielStatistikAuslesen__IniRead_0015
		$TEMP_0002 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0013
		$TEMP_0003 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0014
		$TEMP_0004 = 100 / $TEMP_0001 * $Func_SpielStatistikAuslesen__IniRead_0015
		If $Func_SpielStatistikAuslesen__IniRead_0013 = "0" Then
			$TEMP_0002 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0014 = "0" Then
			$TEMP_0003 = "0"
		EndIf
		If $Func_SpielStatistikAuslesen__IniRead_0015 = "0" Then
			$TEMP_0004 = "0"
		EndIf
		$TEMP_0005 = StringSplit ($TEMP_0002, ".")
		$TEMP_0006 = StringSplit ($TEMP_0003, ".")
		$TEMP_0007 = StringSplit ($TEMP_0004, ".")
		If $TEMP_0005 = @error Then
		Else
			If $TEMP_0005[0] > 1 Then
				$TEMP_0002 = $TEMP_0005[1]
			EndIf
		EndIf
		If $TEMP_0006 = @error Then
		Else
			If $TEMP_0006[0] > 1 Then
				$TEMP_0003 = $TEMP_0006[1]
			EndIf
		EndIf
		If $TEMP_0007 = @error Then
		Else
			If $TEMP_0007[0] > 1 Then
				$TEMP_0004 = 100 - $TEMP_0002 - $TEMP_0003
			EndIf
		EndIf
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0013, $Func_SpielStatistikAuslesen__IniRead_0013 & @TAB & "(" & $TEMP_0002 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0014, $Func_SpielStatistikAuslesen__IniRead_0014 & @TAB & "(" & $TEMP_0003 & " %)")
		GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0015, $Func_SpielStatistikAuslesen__IniRead_0015 & @TAB & "(" & $TEMP_0004 & " %)")
	EndIf
	GUICtrlSetData ($GUI_0003_GUICtrlCreateLabel_0016, $Func_SpielStatistikAuslesen__IniRead_0016)
EndFunc

Func _Func__KIZug ()
	While True
		If $TEMP_SpieleranderReihe = "X" Then
			ExitLoop
		EndIf
		$Func_KIersterZug__Random_0001 = Random (1, 9, 1)
		If $Func_KIersterZug__Random_0001 = 1 Then
			If $TEMP_SpieleranderReihe = "O" Then
				If $TEMP_1_1 = "" Then
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_HIDE)
					GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_SHOW)
					$TEMP_1_1 = "O"
					$TEMP_SpieleranderReihe = "X"
				EndIf
			EndIf
		Else
			If $Func_KIersterZug__Random_0001 = 2 Then
				If $TEMP_SpieleranderReihe = "O" Then
					If $TEMP_1_2 = "" Then
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_HIDE)
						GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_SHOW)
						$TEMP_1_2 = "O"
						$TEMP_SpieleranderReihe = "X"
					EndIf
				EndIf
			Else
				If $Func_KIersterZug__Random_0001 = 3 Then
					If $TEMP_SpieleranderReihe = "O" Then
						If $TEMP_1_3 = "" Then
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_HIDE)
							GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_SHOW)
							$TEMP_1_3 = "O"
							$TEMP_SpieleranderReihe = "X"
						EndIf
					EndIf
				Else
					If $Func_KIersterZug__Random_0001 = 4 Then
						If $TEMP_SpieleranderReihe = "O" Then
							If $TEMP_2_1 = "" Then
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_HIDE)
								GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_SHOW)
								$TEMP_2_1 = "O"
								$TEMP_SpieleranderReihe = "X"
							EndIf
						EndIf
					Else
						If $Func_KIersterZug__Random_0001 = 5 Then
							If $TEMP_SpieleranderReihe = "O" Then
								If $TEMP_2_2 = "" Then
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_HIDE)
									GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_SHOW)
									$TEMP_2_2 = "O"
									$TEMP_SpieleranderReihe = "X"
								EndIf
							EndIf
						Else
							If $Func_KIersterZug__Random_0001 = 6 Then
								If $TEMP_SpieleranderReihe = "O" Then
									If $TEMP_2_3 = "" Then
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_HIDE)
										GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_SHOW)
										$TEMP_2_3 = "O"
										$TEMP_SpieleranderReihe = "X"
									EndIf
								EndIf
							Else
								If $Func_KIersterZug__Random_0001 = 7 Then
									If $TEMP_SpieleranderReihe = "O" Then
										If $TEMP_3_1 = "" Then
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_HIDE)
											GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_SHOW)
											$TEMP_3_1 = "O"
											$TEMP_SpieleranderReihe = "X"
										EndIf
									EndIf
								Else
									If $Func_KIersterZug__Random_0001 = 8 Then
										If $TEMP_SpieleranderReihe = "O" Then
											If $TEMP_3_2 = "" Then
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_HIDE)
												GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_SHOW)
												$TEMP_3_2 = "O"
												$TEMP_SpieleranderReihe = "X"
											EndIf
										EndIf
									Else
										If $Func_KIersterZug__Random_0001 = 9 Then
											If $TEMP_SpieleranderReihe = "O" Then
												If $TEMP_3_3 = "" Then
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_HIDE)
													GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_SHOW)
													$TEMP_3_3 = "O"
													$TEMP_SpieleranderReihe = "X"
												EndIf
											EndIf
										EndIf
									EndIf
								EndIf
							EndIf
						EndIf
					EndIf
				EndIf
			EndIf
		EndIf
	WEnd
EndFunc

Func _Func__EinstellungenLaden ()
	If FileExists ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__) = 0 Then
		_FileCreate ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__)
		IniWriteSection ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, "", "")
		IniWriteSection ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, "", "")
		IniWriteSection ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, "", "")
		IniWriteSection ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, "", "")
		IniWriteSection ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, "", "")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, $INI_0001_Section_0001_Schluessel_0001, "4")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, $INI_0001_Section_0001_Schluessel_0002, $KI_Leicht)
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0001, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0002, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0004, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0001, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0002, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0004, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0001, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0002, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0004, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0001, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0002, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, "0")
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0004, "0")
	EndIf
	$Func_EinstellungenLaden__IniRead_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, $INI_0001_Section_0001_Schluessel_0001, "4")
	If $Func_EinstellungenLaden__IniRead_0001 = 4 Then
		GUICtrlSetState ($GUI_0002_GUICtrlCreateCheckbox_0001, $GUI_UNCHECKED)
		GUICtrlSetState ($GUI_0002_GUICtrlCreateCombo_0001, $GUI_DISABLE)
	Else
		If $Func_EinstellungenLaden__IniRead_0001 = 1 Then
			GUICtrlSetState ($GUI_0002_GUICtrlCreateCheckbox_0001, $GUI_CHECKED)
			GUICtrlSetState ($GUI_0002_GUICtrlCreateCombo_0001, $GUI_ENABLE)
		Else
			GUICtrlSetState ($GUI_0002_GUICtrlCreateCheckbox_0001, $GUI_UNCHECKED)
			GUICtrlSetState ($GUI_0002_GUICtrlCreateCombo_0001, $GUI_DISABLE)
		EndIf
	EndIf
	$Func_EinstellungenLaden__IniRead_0002 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0001, $INI_0001_Section_0001_Schluessel_0002, $KI_Leicht)
	If $Func_EinstellungenLaden__IniRead_0002 = $KI_Leicht Then
		GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, "")
		GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, $KI_Leicht & "|" & $KI_Mittel & "|" & $KI_Schwer, $KI_Leicht)
	Else
		If $Func_EinstellungenLaden__IniRead_0002 = $KI_Mittel Then
			GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, "")
			GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, $KI_Leicht & "|" & $KI_Mittel & "|" & $KI_Schwer, $KI_Mittel)
		Else
			If $Func_EinstellungenLaden__IniRead_0002 = $KI_Schwer Then
				GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, "")
				GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, $KI_Leicht & "|" & $KI_Mittel & "|" & $KI_Schwer, $KI_Schwer)
			Else
				GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, "")
				GUICtrlSetData ($GUI_0002_GUICtrlCreateCombo_0001, $KI_Leicht & "|" & $KI_Mittel & "|" & $KI_Schwer, $KI_Leicht)
			EndIf
		EndIf
	EndIf
EndFunc

Func _Func__SpielAuslesen ()
	If $TEMP_1_1 = "X" And $TEMP_1_2 = "X" And $TEMP_1_3 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_2_1 = "X" And $TEMP_2_2 = "X" And $TEMP_2_3 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_3_1 = "X" And $TEMP_3_2 = "X" And $TEMP_3_3 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_1_1 = "X" And $TEMP_2_1 = "X" And $TEMP_3_1 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_1_2 = "X" And $TEMP_2_2 = "X" And $TEMP_3_2 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_1_3 = "X" And $TEMP_2_3 = "X" And $TEMP_3_3 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_1_1 = "X" And $TEMP_2_2 = "X" And $TEMP_3_3 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_1_3 = "X" And $TEMP_2_2 = "X" And $TEMP_3_1 = "X" Then
		If $TEMP_SpielGewinner = "X" Then
		Else
			_Func__SpielGewinner ("X")
		EndIf
	EndIf
	If $TEMP_1_1 = "O" And $TEMP_1_2 = "O" And $TEMP_1_3 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_2_1 = "O" And $TEMP_2_2 = "O" And $TEMP_2_3 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_3_1 = "O" And $TEMP_3_2 = "O" And $TEMP_3_3 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_1_1 = "O" And $TEMP_2_1 = "O" And $TEMP_3_1 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_1_2 = "O" And $TEMP_2_2 = "O" And $TEMP_3_2 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_1_3 = "O" And $TEMP_2_3 = "O" And $TEMP_3_3 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_1_1 = "O" And $TEMP_2_2 = "O" And $TEMP_3_3 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_1_3 = "O" And $TEMP_2_2 = "O" And $TEMP_3_1 = "O" Then
		If $TEMP_SpielGewinner = "O" Then
		Else
			_Func__SpielGewinner ("O")
		EndIf
	EndIf
	If $TEMP_1_1 = Not "" And $TEMP_1_2 = Not "" And $TEMP_1_3 = Not "" And $TEMP_2_1 = Not "" And $TEMP_2_2 = Not "" And $TEMP_2_3 = Not "" And $TEMP_3_1 = Not "" And $TEMP_3_2 = Not "" And $TEMP_3_3 = Not "" Then
		If $TEMP_SpielGewinner = "" Then
			_Func__SpielGewinner ("Unentschieden")
		EndIf
	EndIf
EndFunc

Func _Func__SpielGewinner ($Func__SpielGewinner_OX)
	$TEMP_SpielGewinner = $Func__SpielGewinner_OX
	If GUICtrlRead ($GUI_0002_GUICtrlCreateCheckbox_0001) = 1 Then
		If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Leicht Then
			$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0001, "ERROR")
			$TEMP_0002 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0002, "ERROR")
			$TEMP_0003 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, "ERROR")
			If $Func__SpielGewinner_OX = "X" Then
				If $TEMP_0001 = "ERROR" Then
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0001, 1)
				Else
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0001, $TEMP_0001 + 1)
				EndIf
			Else
				If $Func__SpielGewinner_OX = "O" Then
					If $TEMP_0002 = "ERROR" Then
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0002, 1)
					Else
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0002, $TEMP_0002 + 1)
					EndIf
				Else
					If $TEMP_0003 = "ERROR" Then
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, 1)
					Else
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0003, $TEMP_0003 + 1)
					EndIf
				EndIf
			EndIf
			IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0003, $INI_0001_Section_0003_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
		Else
			If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Mittel Then
				$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0001, "ERROR")
				$TEMP_0002 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0002, "ERROR")
				$TEMP_0003 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, "ERROR")
				If $Func__SpielGewinner_OX = "X" Then
					If $TEMP_0001 = "ERROR" Then
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0001, 1)
					Else
						IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0001, $TEMP_0001 + 1)
					EndIf
				Else
					If $Func__SpielGewinner_OX = "O" Then
						If $TEMP_0002 = "ERROR" Then
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0002, 1)
						Else
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0002, $TEMP_0002 + 1)
						EndIf
					Else
						If $TEMP_0003 = "ERROR" Then
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, 1)
						Else
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0003, $TEMP_0003 + 1)
						EndIf
					EndIf
				EndIf
				IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0004, $INI_0001_Section_0004_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
			Else
				If GUICtrlRead ($GUI_0002_GUICtrlCreateCombo_0001) = $KI_Schwer Then
					$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0001, "ERROR")
					$TEMP_0002 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0002, "ERROR")
					$TEMP_0003 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, "ERROR")
					If $Func__SpielGewinner_OX = "X" Then
						If $TEMP_0001 = "ERROR" Then
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0001, 1)
						Else
							IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0001, $TEMP_0001 + 1)
						EndIf
					Else
						If $Func__SpielGewinner_OX = "O" Then
							If $TEMP_0002 = "ERROR" Then
								IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0002, 1)
							Else
								IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0002, $TEMP_0002 + 1)
							EndIf
						Else
							If $TEMP_0003 = "ERROR" Then
								IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, 1)
							Else
								IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0003, $TEMP_0003 + 1)
							EndIf
						EndIf
					EndIf
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0005, $INI_0001_Section_0005_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
				EndIf
			EndIf
		EndIf
	Else
		$TEMP_0001 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0001, "ERROR")
		$TEMP_0002 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0002, "ERROR")
		$TEMP_0003 = IniRead ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, "ERROR")
		If $Func__SpielGewinner_OX = "X" Then
			If $TEMP_0001 = "ERROR" Then
				IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0001, 1)
			Else
				IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0001, $TEMP_0001 + 1)
			EndIf
		Else
			If $Func__SpielGewinner_OX = "O" Then
				If $TEMP_0002 = "ERROR" Then
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0002, 1)
				Else
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0002, $TEMP_0002 + 1)
				EndIf
			Else
				If $TEMP_0003 = "ERROR" Then
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, 1)
				Else
					IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0003, $TEMP_0003 + 1)
				EndIf
			EndIf
		EndIf
		IniWrite ($Pfad_Datei___ScriptDir_Bilder_ico___Daten__, $INI_0001_Section_0002, $INI_0001_Section_0002_Schluessel_0004, @MDAY & "." & @MON & "." & @YEAR & @TAB & @HOUR & ":" & @MIN & ":" & @SEC)
	EndIf
	If $Func__SpielGewinner_OX = "X" Or $Func__SpielGewinner_OX = "O" Then
		GUICtrlSetData ($GUI_0005_GUICtrlCreateLabel_0001, "Spielbeendet." & @CRLF & @CRLF & $Func__SpielGewinner_OX & " hat gewonnen!")
	Else
		GUICtrlSetData ($GUI_0005_GUICtrlCreateLabel_0001, "Spielbeendet." & @CRLF & @CRLF & $Func__SpielGewinner_OX & "!")
	EndIf
	GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0001, "")
	GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0002, "OK")
	GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0003, "")
	GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0001, $GUI_DISABLE)
	GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0002, $GUI_ENABLE)
	GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0003, $GUI_DISABLE)
	GUISetState (@SW_SHOW, $GUI_0005_GUICreate_0001)
	While True
		Switch GUIGetMsg ()
			Case $GUI_0005_GUICtrlCreateButton_0002
				GUISetState (@SW_HIDE, $GUI_0005_GUICreate_0001)
				ExitLoop

		EndSwitch
	WEnd
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0001, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0002, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0003, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0004, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0005, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0006, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0007, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0008, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_0009, $GUI_SHOW)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0001, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0002, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0003, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0004, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0005, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0006, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0007, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0008, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_O0009, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0001, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0002, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0003, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0004, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0005, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0006, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0007, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0008, $GUI_HIDE)
	GUICtrlSetState ($GUI_0001_GUICtrlCreateIcon_X0009, $GUI_HIDE)
	$GUICtrlCreateButton_00010001__Random_0001 = Random (0, 1, 1)
	If $GUICtrlCreateButton_00010001__Random_0001 = 0 Then
		$TEMP_SpieleranderReihe = "X"
	Else
		$TEMP_SpieleranderReihe = "O"
	EndIf
	$TEMP_SpielGewinner = ""
	$TEMP_1_1 = ""
	$TEMP_1_2 = ""
	$TEMP_1_3 = ""
	$TEMP_2_1 = ""
	$TEMP_2_2 = ""
	$TEMP_2_3 = ""
	$TEMP_3_1 = ""
	$TEMP_3_2 = ""
	$TEMP_3_3 = ""
EndFunc

Func _Func__DatenCheckFehler ($Func__DatenCheckFehler__Name)
	If $Func__DatenCheckFehler__Name = "DatenCheckFehler_Ende" Then
		If $Func__DatenCheckFehler__AlleNamen = "" Then
		Else
			$Func__DatenCheckFehler__StringSplit_0001 = StringSplit ($Func__DatenCheckFehler__AlleNamen, "|")
			For $Func__DatenCheckFehler__Anzahl_0001 = 1 To $Func__DatenCheckFehler__StringSplit_0001[0] Step 1
				If $Func__DatenCheckFehler__Anzahl_0001 = $Func__DatenCheckFehler__StringSplit_0001[0] Then
					GUICtrlSetData ($GUI_OrdnerDateienCheck0001_GUICtrlCreateLabel_0001, "Es Fehlt die Datei '" & $Func__DatenCheckFehler__StringSplit_0001[$Func__DatenCheckFehler__Anzahl_0001] & "'!" & @CRLF & @CRLF & @CRLF & "Fehlerbehebung:" & @CRLF & @CRLF & "1.1.) Programm Neustarten"  & @CRLF & "1.2.) Falls das Problem weiter besteht weiter zu 2.)" & @CRLF & @CRLF & "2.1.) Den Ordner Daten im Programm Ordner Absichern" & @CRLF & "2.2.) Das Programm DeInstallieren" & @CRLF & "2.3.) Das Programm Neu Installieren" & @CRLF & "2.4.) Den Ordner Daten wieder in den Ordnerpfad einfügen" & @CRLF & "2.5.) Falls das Problem weiter besteht weiter zu 3.)" & @CRLF & @CRLF & "3.1.) Support Kontaktieren (via E-Mail oder Homepage)")
					GUICtrlSetData ($GUI_OrdnerDateienCheck0001_GUICtrlCreateButton_0001, "Programm Beenden")
					GUISetState (@SW_SHOW, $GUI_OrdnerDateienCheck0001_GUICreate_0001)
					While True
						Switch GUIGetMsg ()
							Case $GUI_OrdnerDateienCheck0001_GUICtrlCreateButton_0001
								ExitLoop

						EndSwitch
					WEnd
					GUISetState (@SW_HIDE , $GUI_OrdnerDateienCheck0001_GUICreate_0001)
				Else
					GUICtrlSetData ($GUI_OrdnerDateienCheck0001_GUICtrlCreateLabel_0001, "Es Fehlt die Datei '" & $Func__DatenCheckFehler__StringSplit_0001[$Func__DatenCheckFehler__Anzahl_0001] & "'!" & @CRLF & @CRLF & @CRLF & "Fehlerbehebung:" & @CRLF & @CRLF & "1.1.) Programm Neustarten"  & @CRLF & "1.2.) Falls das Problem weiter besteht weiter zu 2.)" & @CRLF & @CRLF & "2.1.) Den Ordner Daten im Programm Ordner Absichern" & @CRLF & "2.2.) Das Programm DeInstallieren" & @CRLF & "2.3.) Das Programm Neu Installieren" & @CRLF & "2.4.) Den Ordner Daten wieder in den Ordnerpfad einfügen" & @CRLF & "2.5.) Falls das Problem weiter besteht weiter zu 3.)" & @CRLF & @CRLF & "3.1.) Support Kontaktieren (via E-Mail oder Homepage)")
					GUICtrlSetData ($GUI_OrdnerDateienCheck0001_GUICtrlCreateButton_0001, "Weiter zur nächsten Fehlermeldung")
					GUISetState (@SW_SHOW, $GUI_OrdnerDateienCheck0001_GUICreate_0001)
					While True
						Switch GUIGetMsg ()
							Case $GUI_OrdnerDateienCheck0001_GUICtrlCreateButton_0001
								ExitLoop

						EndSwitch
					WEnd
					GUISetState (@SW_HIDE , $GUI_OrdnerDateienCheck0001_GUICreate_0001)
				EndIf
			Next
			Exit
		EndIf
	Else
		If $Func__DatenCheckFehler__AlleNamen = "" Then
			$Func__DatenCheckFehler__AlleNamen = $Func__DatenCheckFehler__Name
		Else
			$Func__DatenCheckFehler__AlleNamen = $Func__DatenCheckFehler__AlleNamen & "|" & $Func__DatenCheckFehler__Name
		EndIf
	EndIf
EndFunc

Func _Func__Information ($Func__Information__GUIName)
	GUISetState (@SW_HIDE, $Func__Information__GUIName)
	GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)
	While True
		Switch GUIGetMsg ()
			Case $GUI_0006_GUICtrlCreateButton_0001
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0007_GUICreate_0001)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0001, "Username: " & @TAB & @TAB & @TAB & @UserName)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0002, "Computername: " & @TAB & @TAB & @TAB & @ComputerName)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0003, "Datum/Uhrzeit: " & @TAB & @TAB & @TAB & @MDAY & "." & @MON & "." & @YEAR & "/" & @HOUR & ":" & @MIN & ":" & @SEC)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0004, "Auflösung: " & @TAB & @TAB & @TAB & "Länge/Höhe: " &  @DesktopWidth& "/" & @DesktopHeight  & "    Farbtiefe: " & @DesktopDepth & "    Bildwiederholrate: " & @DesktopRefresh)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0005, "OS Version - BIT: " & @TAB & @TAB & @OSVersion & " - " & @CPUArch)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0006, "OS ServicePack: " & @TAB & @TAB & @OSServicePack)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0007, "OS Type: " & @TAB & @TAB & @TAB & @OSType)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0008, "IP-Adresse (1): " & @TAB & @TAB & @TAB & @IPAddress1)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0009, "IP-Adresse (2): " & @TAB & @TAB & @TAB & @IPAddress2)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0010, "IP-Adresse (3): " & @TAB & @TAB & @TAB & @IPAddress3)
				GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0011, "IP-Adresse (4): " & @TAB & @TAB & @TAB & @IPAddress4)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0007_GUICtrlCreateButton_0007
							ExitLoop

				EndSwitch
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0001) = "Username: " & @TAB & @TAB & @TAB & @UserName Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0001, "Username: " & @TAB & @TAB & @TAB & @UserName)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0002) = "Computername: " & @TAB & @TAB & @TAB & @ComputerName Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0002, "Computername: " & @TAB & @TAB & @TAB & @ComputerName)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0003) = "Datum/Uhrzeit: " & @TAB & @TAB & @TAB & @MDAY & "." & @MON & "." & @YEAR & "/" & @HOUR & ":" & @MIN & ":" & @SEC Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0003, "Datum/Uhrzeit: " & @TAB & @TAB & @TAB & @MDAY & "." & @MON & "." & @YEAR & "/" & @HOUR & ":" & @MIN & ":" & @SEC)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0004) = "Auflösung: " & @TAB & @TAB & @TAB & "Länge/Höhe: " &  @DesktopWidth& "/" & @DesktopHeight  & "    Farbtiefe: " & @DesktopDepth & "    Bildwiederholrate: " & @DesktopRefresh Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0004, "Auflösung: " & @TAB & @TAB & @TAB & "Länge/Höhe: " &  @DesktopWidth& "/" & @DesktopHeight  & "    Farbtiefe: " & @DesktopDepth & "    Bildwiederholrate: " & @DesktopRefresh)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0005) = "OS Version - BIT: " & @TAB & @TAB & @OSVersion & " - " & @CPUArch Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0005, "OS Version - BIT: " & @TAB & @TAB & @OSVersion & " - " & @CPUArch)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0006) = "OS ServicePack: " & @TAB & @TAB & @OSServicePack Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0006, "OS ServicePack: " & @TAB & @TAB & @OSServicePack)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0007) = "OS Type: " & @TAB & @TAB & @TAB & @OSType Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0007, "OS Type: " & @TAB & @TAB & @TAB & @OSType)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0008) = "IP-Adresse (1): " & @TAB & @TAB & @TAB & @IPAddress1 Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0008, "IP-Adresse (1): " & @TAB & @TAB & @TAB & @IPAddress1)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0009) = "IP-Adresse (2): " & @TAB & @TAB & @TAB & @IPAddress2 Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0009, "IP-Adresse (2): " & @TAB & @TAB & @TAB & @IPAddress2)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0010) = "IP-Adresse (3): " & @TAB & @TAB & @TAB & @IPAddress3 Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0010, "IP-Adresse (3): " & @TAB & @TAB & @TAB & @IPAddress3)
				EndIf
				If GUICtrlRead ($GUI_0007_GUICtrlCreateLabel_0011) = "IP-Adresse (4): " & @TAB & @TAB & @TAB & @IPAddress4 Then
				Else
					GUICtrlSetData ($GUI_0007_GUICtrlCreateLabel_0011, "IP-Adresse (4): " & @TAB & @TAB & @TAB & @IPAddress4)
				EndIf
				WEnd
				GUISetState (@SW_HIDE, $GUI_0007_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0002
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0008_GUICreate_0001)
				GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0001, "Programmname: " & @TAB & @TAB & @TAB & $Programm_Name)
				GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0002, "Programmversion: " & @TAB & @TAB & $Programm_Version)
				GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0003, "Versionnummer: " & @TAB & @TAB & @TAB & $Programm_Versionnummer)
				GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0004, "Herstellungsdatum: " & @TAB & @TAB & $Programm_Herstellungsdatum)
				GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0005, "Updatedatum: " & @TAB & @TAB & @TAB & $Programm_Updatedatum)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0008_GUICtrlCreateButton_0007
							ExitLoop

				EndSwitch
				If GUICtrlRead ($GUI_0008_GUICtrlCreateLabel_0001) = "Programmname: " & @TAB & @TAB & @TAB & $Programm_Name Then
				Else
					GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0001, "Programmname: " & @TAB & @TAB & @TAB & $Programm_Name)
				EndIf
				If GUICtrlRead ($GUI_0008_GUICtrlCreateLabel_0002) = "Programmversion: " & @TAB & @TAB & $Programm_Version Then
				Else
					GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0002, "Programmversion: " & @TAB & @TAB & $Programm_Version)
				EndIf
				If GUICtrlRead ($GUI_0008_GUICtrlCreateLabel_0003) = "Versionnummer: " & @TAB & @TAB & @TAB & $Programm_Versionnummer Then
				Else
					GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0003, "Versionnummer: " & @TAB & @TAB & @TAB & $Programm_Versionnummer)
				EndIf
				If GUICtrlRead ($GUI_0008_GUICtrlCreateLabel_0004) = "Herstellungsdatum: " & @TAB & @TAB & $Programm_Herstellungsdatum Then
				Else
					GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0004, "Herstellungsdatum: " & @TAB & @TAB & $Programm_Herstellungsdatum)
				EndIf
				If GUICtrlRead ($GUI_0008_GUICtrlCreateLabel_0005) = "Updatedatum: " & @TAB & @TAB & @TAB & $Programm_Updatedatum Then
				Else
					GUICtrlSetData ($GUI_0008_GUICtrlCreateLabel_0005, "Updatedatum: " & @TAB & @TAB & @TAB & $Programm_Updatedatum)
				EndIf
				WEnd
				GUISetState (@SW_HIDE, $GUI_0008_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0003
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0009_GUICreate_0001)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0009_GUICtrlCreateButton_0001
							ExitLoop

					EndSwitch
				WEnd
				GUISetState (@SW_HIDE, $GUI_0009_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0004
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0010_GUICreate_0001)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0010_GUICtrlCreateButton_0001
							ExitLoop

					EndSwitch
				WEnd
				GUISetState (@SW_HIDE, $GUI_0010_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0005
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0011_GUICreate_0001)
				GUICtrlSetData ($GUI_0011_GUICtrlCreateLabel_0001, $Information_Lizenz)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0011_GUICtrlCreateButton_0001
							ExitLoop

					EndSwitch
				WEnd
				GUISetState (@SW_HIDE, $GUI_0011_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0006
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0012_GUICreate_0001)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0012_GUICtrlCreateButton_0001
							ExitLoop

					EndSwitch
				WEnd
				GUISetState (@SW_HIDE, $GUI_0012_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0007
				GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0013_GUICreate_0001)
				GUICtrlSetData ($GUI_0013_GUICtrlCreateLabel_0001, $Programm_Homepage)
				GUICtrlSetData ($GUI_0013_GUICtrlCreateLabel_0002, $Programm_SupportEmail)
				While True
					Switch GUIGetMsg ()
						Case $GUI_0013_GUICtrlCreateButton_0001
							ExitLoop

						Case $GUI_0013_GUICtrlCreateLabel_0001
							ShellExecute ($Programm_Homepage)

						Case $GUI_0013_GUICtrlCreateLabel_0002
							_INetMail ($Programm_SupportEmail, $Programm_Name & " - " & $Programm_Version, "")

					EndSwitch
				WEnd
				GUISetState (@SW_HIDE, $GUI_0013_GUICreate_0001)
				GUISetState (@SW_SHOW, $GUI_0006_GUICreate_0001)

			Case $GUI_0006_GUICtrlCreateButton_0008
				ExitLoop

		EndSwitch
	WEnd
	GUISetState (@SW_HIDE, $GUI_0006_GUICreate_0001)
	GUISetState (@SW_SHOW, $Func__Information__GUIName)
EndFunc

Func _Func__AbmeldenBeenden ($Func__AbmeldenBeenden__GUIName)
	GUISetState (@SW_HIDE, $Func__AbmeldenBeenden__GUIName)
	GUISetState (@SW_SHOW, $GUI_0014_GUICreate_0001)
	While True
		Switch GUIGetMsg ()
			Case $GUI_0014_GUICtrlCreateButton_0001
				If @Compiled = 0 Then
					GUICtrlSetData ($GUI_0005_GUICtrlCreateLabel_0001, "Das Programm ist nicht Compiliert!" & @CRLF & "Programm wird nur Beendet!")
					GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0001, "")
					GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0002, "OK")
					GUICtrlSetData ($GUI_0005_GUICtrlCreateButton_0003, "")
					GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0001, $GUI_DISABLE)
					GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0002, $GUI_ENABLE)
					GUICtrlSetState ($GUI_0005_GUICtrlCreateButton_0003, $GUI_DISABLE)
					GUISetState (@SW_HIDE, $GUI_0014_GUICreate_0001)
					GUISetState (@SW_SHOW, $GUI_0005_GUICreate_0001)
					While True
						Switch GUIGetMsg ()
							Case $GUI_0005_GUICtrlCreateButton_0002
								Exit
						EndSwitch
					WEnd
					GUISetState (@SW_HIDE, $GUI_0005_GUICreate_0001)
				EndIf
				ShellExecute (@ScriptFullPath)
				Exit

			Case $GUI_0014_GUICtrlCreateButton_0002
				Exit

			Case $GUI_0014_GUICtrlCreateButton_0003
				ExitLoop

		EndSwitch
	WEnd
	GUISetState (@SW_HIDE, $GUI_0014_GUICreate_0001)
	GUISetState (@SW_SHOW, $Func__AbmeldenBeenden__GUIName)
EndFunc