//--- OBJECT WRITE BEGIN ---
new GuiBitmapButtonCtrl(mainJournalScreen) {
   profile = "GuiDefaultProfile";
   horizSizing = "right";
   vertSizing = "bottom";
   position = "0 0";
   extent = "800 600";
   minExtent = "8 2";
   visible = "1";
   alpha = "1";
   lockMouse = "0";
      useVariable = "0";
      tile = "0";
      wrap = "0";

   new GuiBitmapCtrl(journalBackdrop) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "0 0";
      extent = "800 600";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      bitmap = "./images/journalScreenBackdrop_lab.jpg";
      wrap = "0";
   };
   new GuiBitmapCtrl(journal_CustomTab) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "0 0";
      extent = "632 601";
      minExtent = "8 2";
      visible = "0";
      alpha = "1";
      wrap = "0";

      new GuiScrollCtrl(JR_experimentList) {
         profile = "GuiScrollProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "68 331";
         extent = "464 188";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         willFirstRespond = "1";
         hScrollBar = "alwaysOff";
         vScrollBar = "dynamic";
         constantThumbHeight = "0";
         childMargin = "0 0";

         new GuiTextListCtrl(JR_puzzlePack_PuzzleList) {
            profile = "GuiTextListProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "0 0";
            extent = "9 2";
            minExtent = "8 2";
            visible = "1";
            alpha = "1";
            enumerate = "0";
            resizeCell = "1";
            columns = "0";
            fitParentWidth = "0";
            clipColumnText = "1";
         };
      };
      new GuiScrollCtrl(JR_experimentPakList_Scroll) {
         profile = "GuiScrollProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "288 80";
         extent = "236 141";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         willFirstRespond = "1";
         hScrollBar = "alwaysOff";
         vScrollBar = "dynamic";
         constantThumbHeight = "0";
         childMargin = "0 0";

         new GuiTextListCtrl(JR_experimentPakList) {
            profile = "GuiTextListProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "0 0";
            extent = "236 2";
            minExtent = "8 2";
            visible = "1";
            alpha = "1";
            enumerate = "0";
            resizeCell = "1";
            columns = "0";
            fitParentWidth = "1";
            clipColumnText = "1";
         };
      };
      new GuiBitmapButtonCtrl(JR_loadPakButton) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "286 218";
         extent = "69 24";
         minExtent = "8 2";
         visible = "1";
         command = "listPackContentsInGUI();";
         alpha = "1";
         lockMouse = "0";
            wrap = "0";
      };
      new GuiBitmapButtonCtrl(JR_createNewPak) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "376 218";
         extent = "75 24";
         minExtent = "8 2";
         visible = "1";
         command = "canvas.pushDialog(createNewExperimentPak);";
         alpha = "1";
         lockMouse = "0";
            wrap = "0";
      };
   };
   new GuiBitmapCtrl(MainJournalScreen_MenuPanel) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "582 117";
      extent = "252 485";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      bitmap = "./images/journal_menu";
      wrap = "0";

      new GuiBitmapButtonCtrl(JR_customPuzzleButton) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "53 260";
         extent = "159 127";
         minExtent = "8 2";
         visible = "1";
         command = "showCustomPuzzleUI();";
         alpha = "1";
         lockMouse = "0";
         bitmap = "language/english/images/customExperimentsButton_normal.jpg";
         HighlightBitmap = "language/english/images/customExperimentsButton_hover.jpg";
         PressedBitmap = "language/english/images/customExperimentsButton_down.jpg";
            wrap = "0";
      };
      new GuiBitmapButtonCtrl(JR_OptionsButton) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "53 144";
         extent = "160 113";
         minExtent = "8 2";
         visible = "1";
         command = "canvas.pushDialog( optionsDlg );";
         alpha = "1";
         lockMouse = "0";
         bitmap = "language/english/images/journalOptions_normal.jpg";
         HighlightBitmap = "language/english/images/journalOptions_hover.jpg";
         PressedBitmap = "language/english/images/journalOptions_down.jpg";
            wrap = "0";
      };
      new GuiBitmapButtonCtrl(closeCustomControlPage) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "53 260";
         extent = "159 127";
         minExtent = "8 2";
         visible = "0";
         command = "showCustomPuzzleUI();";
         alpha = "1";
         lockMouse = "0";
         bitmap = "language/english/images/backToJournalButton_normal.jpg";
         HighlightBitmap = "language/english/images/backToJournalButton_hover.jpg";
         PressedBitmap = "language/english/images/backToJournalButton_down.jpg";
            wrap = "0";
      };
      new GuiBitmapButtonCtrl(JR_ReturnToPuzzle) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "54 59";
         extent = "166 86";
         minExtent = "8 2";
         visible = "0";
         command = "$jukebox.fadeOutAudioType(Song,0,0,0,1); $jukebox.schedule(2000,playSound,TTPlay_Music,1); canvas.setContentWithFade( playGui ); ";
         alpha = "1";
         lockMouse = "0";
         bitmap = "language/english/images/journal_return_normal.jpg";
         HighlightBitmap = "language/english/images/journal_return_hover.jpg";
         PressedBitmap = "language/english/images/journal_return_down.jpg";
            wrap = "0";
      };
      new GuiBitmapButtonCtrl(quitGameButton) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "52 390";
         extent = "157 79";
         minExtent = "8 2";
         visible = "1";
         command = "MM_Quit();";
         alpha = "1";
         lockMouse = "0";
         bitmap = "language/english/images/quitButton_Normal.jpg";
         HighlightBitmap = "language/english/images/quitButton_Hover.jpg";
         PressedBitmap = "language/english/images/quitButton_down.jpg";
            wrap = "0";
      };
      new GuiBitmapCtrl(JR_ReturnToPuzzle_Inactive) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "54 59";
         extent = "166 86";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         bitmap = "./images/journal_return_inactive.jpg";
         wrap = "0";
      };
   };
   new GuiBitmapCtrl(JR_journalBackdrop) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "0 7";
      extent = "620 588";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      bitmap = "./images/journalScreen_journalBookBackdrop";
      wrap = "0";
   };
   new GuiControl(tabButtons) {
      profile = "GuiModelessDialogProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "550 3";
      extent = "100 587";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";

      new GuiControl(tabButtons_Message) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "3 141";
         extent = "69 131";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";

         new GuiBitmapButtonCtrl(DiscoveryTab_Button) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "29 9";
            extent = "34 110";
            minExtent = "8 2";
            visible = "1";
            command = "toggleJournalTab(DiscoveryTab);";
            alpha = "1";
            lockMouse = "0";
            bitmap = "language/english/images/journalTab_Tute_Normal.jpg";
            HighlightBitmap = "language/english/images/journalTab_Tute_Hover.jpg";
            PressedBitmap = "language/english/images/journalTab_Tute_Down.jpg";
               wrap = "0";
         };
         new GuiBitmapCtrl(DiscoveryTab_Active) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "22 9";
            extent = "34 110";
            minExtent = "8 2";
            visible = "0";
            alpha = "1";
            bitmap = "language/english/images/journalTab_Tute_Active.jpg";
            wrap = "0";
         };
      };
      new GuiControl(tabButtons_Experiments) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "0 13";
         extent = "80 123";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";

         new GuiBitmapButtonCtrl(experimentsTab_button) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "37 8";
            extent = "34 110";
            minExtent = "8 2";
            visible = "1";
            command = "toggleJournalTab(experimentsTab);";
            alpha = "1";
            lockMouse = "0";
            bitmap = "language/english/images/journalTab_Exp_Normal.jpg";
            HighlightBitmap = "language/english/images/journalTab_Exp_Hover.jpg";
            PressedBitmap = "language/english/images/journalTab_Exp_Down.jpg";
               wrap = "0";
         };
         new GuiBitmapCtrl(experimentsTab_active) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "25 8";
            extent = "34 110";
            minExtent = "8 2";
            visible = "0";
            alpha = "1";
            bitmap = "language/english/images/journalTab_Exp_Active.jpg";
            wrap = "0";
         };
      };
      new GuiControl(tabButtons_Help) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "10 423";
         extent = "77 139";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";

         new GuiBitmapButtonCtrl(helpTab_button) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "36 6";
            extent = "34 110";
            minExtent = "8 2";
            visible = "0";
            command = "toggleJournalTab(helpTab);";
            alpha = "1";
            lockMouse = "0";
            bitmap = "language/english/images/journalTab_Help_Normal.jpg";
            HighlightBitmap = "language/english/images/journalTab_Help_Hover.jpg";
            PressedBitmap = "language/english/images/journalTab_Help_Down.jpg";
               wrap = "0";
         };
         new GuiBitmapCtrl(helpTab_Active) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "15 6";
            extent = "34 110";
            minExtent = "8 2";
            visible = "1";
            alpha = "1";
            bitmap = "language/english/images/journalTab_Help_Active.jpg";
            wrap = "0";
         };
      };
      new GuiControl(tabButtons_Dictionary) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "12 277";
         extent = "86 140";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";

         new GuiBitmapButtonCtrl(dictionaryTab_button) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "18 16";
            extent = "34 110";
            minExtent = "8 2";
            visible = "1";
            command = "toggleJournalTab(dictionaryTab);";
            alpha = "1";
            lockMouse = "0";
            bitmap = "language/english/images/journalTab_Dict_Normal.jpg";
            HighlightBitmap = "language/english/images/journalTab_Dict_Hover.jpg";
            PressedBitmap = "language/english/images/journalTab_Dict_Down.jpg";
               wrap = "0";
         };
         new GuiBitmapCtrl(dictionaryTab_Active) {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "13 15";
            extent = "34 110";
            minExtent = "8 2";
            visible = "0";
            alpha = "1";
            bitmap = "language/english/images/journalTab_Dict_Active.jpg";
            wrap = "0";
         };
      };
   };
   new GuiTextCtrl(MM_Version) {
      profile = "GuiVersionTextProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "743 580";
      extent = "64 29";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      text = "Version: Beta 2";
      maxLength = "255";
   };
   new GuiBitmapCtrl(MJ_BuyMe) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "640 0";
      extent = "163 179";
      minExtent = "8 2";
      visible = "0";
      alpha = "1";
      bitmap = "./images/buyMe_background";
      wrap = "0";

      new GuiBitmapButtonCtrl(MJ_BuyMe_OkButton) {
         profile = "GuiPaperButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "45 129";
         extent = "109 32";
         minExtent = "8 2";
         visible = "1";
         command = "MM_WhyBuy();";
         accelerator = "return";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/paperButton_normal.png";
         HighlightBitmap = "./images/buttons/paperButton_hover.png";
         PressedBitmap = "./images/buttons/paperButton_down.png";
         text = "Buy Now!";
            percentHeight = "65";
            fontBitmap = "./images/buttons/paperButton_font.png";
            charspacing = "0.5";
            percentWidth = "50";
            charaspect = "1";
            wrap = "0";
      };
      new GuiObjectView(demoObjectModel) {
         profile = "GuiTextProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "12 0";
         extent = "163 106";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         cameraZRot = "0";
         forceFOV = "0";
         lightDirection = "0 0 -25.9552";
         lightColor = "0.600000 0.580000 0.500000 1.000000";
         ambientColor = "0.300000 0.300000 0.300000 1.000000";
      };
   };
   //new GuiButtonCtrl(BETABUTT) {
      //profile = "GuiButtonProfile";
      //horizSizing = "relative";
      //vertSizing = "relative";
      //position = "620 571";
      //extent = "51 26";
      //minExtent = "8 2";
      //visible = "1";
      //command = "canvas.pushDialog(betaTestDialog);";
      //alpha = "1";
      //text = "Beta";
      //groupNum = "-1";
      //buttonType = "PushButton";
   //};
};
//--- OBJECT WRITE END ---

