//+------------------------------------------------------------------+
//|                                       Forex Market Hours GMT.mq4 |
//|                      Copyright ? 2008, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2008, MetaQuotes Software Corp.; Mods by B. D'Rion 2016"
#property link      "http: //www.metaquotes.net, 4XLA.org"

#property indicator_chart_window
#import "kernel32.dll"
int GetTimeZoneInformation(int& a0[]);
#import

extern int Shift_X             = 0; // -158; //700;
extern int Shift_Y             = 40; //-165; //400;
extern string rect = "The following 4 settings are in case adjustment needed.";
extern int RectWidth           = 390;  // RectWidth
extern int RectHeight          = 116;  // RectHeight
extern int RectX               = 0;
extern int RectY               = 0;

int        companion;

//input 
string                 InpName      = "RectLabel";       // Label name
input color            InpBackColor = clrDimGray;        //clrSkyBlue;     // Background color
input ENUM_BORDER_TYPE InpBorder    = BORDER_FLAT;       // Border type
input ENUM_BASE_CORNER InpCorner    = CORNER_LEFT_UPPER; // Chart corner for anchoring
extern string          corn         = "Coded for upper corners only.";
input color            InpColor     = clrDarkBlue;       // Flat border color (Flat)
input ENUM_LINE_STYLE  InpStyle     = STYLE_SOLID;       // Flat border style (Flat)
input int              InpLineWidth = 2;                 // Flat border width (Flat)
input bool             InpBack      = false;             // Background object 

extern string Note1 = "Every session time may not always be correct.";
extern string Note2 = "Mods by B. D'Rion 2016, 4XLA in Meetup or 4xlosangeles club";

//input 
bool             InpSelection = false;              // Highlight to move //true;
//input 
bool             InpHidden    = false;              // Hidden in the object list //true;
//input 
long             InpZOrder    = 0;                 // Priority for mouse click

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
{
//----
    if (IsDllsAllowed() == false)
    {
        Alert("DLL call is not allowed. Indicator cannot run. Please enable DLL in MT4");
        return(0);
    }
    
    deinit();
//----    
        companion = WindowFind("session_companion");
        if (companion == -1)
            companion = 0;
                
        RectX = RectX + Shift_X;
        if(InpCorner == CORNER_RIGHT_UPPER) RectX += RectWidth;
        RectY = RectY + Shift_Y;
        Shift_X -=158;
        Shift_Y -=195;
      //  Comment(" Shift_X ",Shift_X, " Shift_Y ",Shift_Y);   
      
        RectLabelCreate(0, InpName, 0, RectX, RectY, RectWidth, RectHeight, InpBackColor, InpBorder, InpCorner,
                        InpColor, InpStyle, InpLineWidth, InpBack, InpSelection, InpHidden, InpZOrder);

       
            trading_session();
            timer();
            market_hours_box();
            market_hours_box2();
            market_hours_box3();
            market_hours_box4();
            market_hours_box5();       
//----
    return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
{
//----
    objectdelete();
    RectLabelDelete(0,InpName);
//----
    return(0);
}


//+------------------------------------------------------------------+
//| Create rectangle label                                           |
//+------------------------------------------------------------------+
bool RectLabelCreate(const long chart_ID = 0,                           // chart's ID
                     const string name = "RectLabel",                   // label name
                     const int sub_window = 0,                          // subwindow index
                     int x = 50,                                        // X coordinate
                     int y = 130,                                       // Y coordinate
                     int width = 307,                                   // RectWidth
                     int height = 150,                                  // RectHeight
                     color back_clr = C'236,233,216',                  // background color
                     const ENUM_BORDER_TYPE border = BORDER_SUNKEN,     // border type
                     const ENUM_BASE_CORNER corner = CORNER_LEFT_UPPER, // chart corner for anchoring
                     color clr = clrRed,                                // flat border color (Flat)
                     const ENUM_LINE_STYLE style = STYLE_SOLID,         // flat border style
                     const int line_width = 1,                          // flat border width
                     const bool back = TRUE,                            //false,       // in the background
                     const bool selection = false,                      // highlight to move
                     const bool hidden = false,                         //true,      // hidden in the object list
                     const long z_order = 0)                            // priority for mouse click
{
//--- reset the error value
    ResetLastError();
//--- create a rectangle label
    if (!ObjectCreate(chart_ID, name, OBJ_RECTANGLE_LABEL, sub_window, 0, 0))
    {
        Print(__FUNCTION__,
              ": failed to create a rectangle label! Error code = ", GetLastError());
        return(false);
    }
//--- set label coordinates
    ObjectSetInteger(chart_ID, name, OBJPROP_XDISTANCE, x);
    ObjectSetInteger(chart_ID, name, OBJPROP_YDISTANCE, y);
//--- set label size
    ObjectSetInteger(chart_ID, name, OBJPROP_XSIZE, width);
    ObjectSetInteger(chart_ID, name, OBJPROP_YSIZE, height);
//--- set background color
    ObjectSetInteger(chart_ID, name, OBJPROP_BGCOLOR, back_clr);
//--- set border type
    ObjectSetInteger(chart_ID, name, OBJPROP_BORDER_TYPE, border);
//--- set the chart's corner, relative to which point coordinates are defined
    ObjectSetInteger(chart_ID, name, OBJPROP_CORNER, corner);
//--- set flat border color (in Flat mode)
    ObjectSetInteger(chart_ID, name, OBJPROP_COLOR, clr);
//--- set flat border line style
    ObjectSetInteger(chart_ID, name, OBJPROP_STYLE, style);
//--- set flat border width
    ObjectSetInteger(chart_ID, name, OBJPROP_WIDTH, line_width);
//--- display in the foreground (false) or background (true)
    ObjectSetInteger(chart_ID, name, OBJPROP_BACK, back);
//--- enable (true) or disable (false) the mode of moving the label by mouse
    ObjectSetInteger(chart_ID, name, OBJPROP_SELECTABLE, selection);
    ObjectSetInteger(chart_ID, name, OBJPROP_SELECTED, selection);
//--- hide (true) or display (false) graphical object name in the object list
    ObjectSetInteger(chart_ID, name, OBJPROP_HIDDEN, hidden);
//--- set the priority for receiving the event of a mouse click in the chart
    ObjectSetInteger(chart_ID, name, OBJPROP_ZORDER, z_order);
//--- successful execution
    return(true);
}
//+------------------------------------------------------------------+ 
//| Delete the rectangle label                                       | 
//+------------------------------------------------------------------+ 
bool RectLabelDelete(const long   chart_ID=0,       // chart's ID 
                     const string name="RectLabel") // label name 
  { 
//--- reset the error value 
   ResetLastError(); 
//--- delete the label 
   if(!ObjectDelete(chart_ID,name)) 
     { 
      Print(__FUNCTION__, 
            ": failed to delete a rectangle label! Error code = ",GetLastError()); 
      return(false); 
     } 
//--- successful execution 
   return(true); 
  } 


//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
{
    if (IsDllsAllowed() == true)
    {
       timer();
    }
    return(0);
}


//+------------------------------------------------------------------+
void trading_session()
{
/*
   if (ObjectFind("session_time_london_9") == -1 )
   {
   ObjectCreate("session_time_london_9", OBJ_LABEL, companion, 0, 0);
   ObjectSet("session_time_london_9", OBJPROP_BACK, 0);
   ObjectSet("session_time_london_9", OBJPROP_CORNER, InpCorner);
   ObjectSet("session_time_london_9", OBJPROP_XDISTANCE, 320+Shift_X);
   ObjectSet("session_time_london_9", OBJPROP_YDISTANCE, 217+Shift_Y);
   ObjectSetText("session_time_london_9","London GMT", 8,"Tahoma",White);
   }

   if (ObjectFind("session_time_ny") == -1 )
   {
   ObjectCreate("session_time_ny", OBJ_LABEL, companion, 0, 0);
   ObjectSet("session_time_ny", OBJPROP_BACK, 0);
   ObjectSet("session_time_ny", OBJPROP_CORNER, InpCorner);}
   ObjectSet("session_time_ny", OBJPROP_XDISTANCE, 392+Shift_X);
   ObjectSet("session_time_ny", OBJPROP_YDISTANCE, 232+Shift_Y);
   ObjectSetText("session_time_ny","New York GMT", 8,"Tahoma",White);

   if (ObjectFind("session_time_sydney") == -1 )
   {
   ObjectCreate("session_time_sydney", OBJ_LABEL, companion, 0, 0);
   ObjectSet("session_time_sydney", OBJPROP_BACK, 0);
   ObjectSet("session_time_sydney", OBJPROP_CORNER, InpCorner);}
   ObjectSet("session_time_sydney", OBJPROP_XDISTANCE, 179+Shift_X);
   ObjectSet("session_time_sydney", OBJPROP_YDISTANCE, 245+Shift_Y);
   ObjectSetText("session_time_sydney","Sydney GMT", 8,"Tahoma",White);

   if (ObjectFind("session_time_tokyo") == -1 )
   {
   ObjectCreate("session_time_tokyo", OBJ_LABEL, companion, 0, 0);
   ObjectSet("session_time_tokyo", OBJPROP_BACK, 0);
   ObjectSet("session_time_tokyo", OBJPROP_CORNER, InpCorner);}
   ObjectSet("session_time_tokyo", OBJPROP_XDISTANCE, 195+Shift_X);
   ObjectSet("session_time_tokyo", OBJPROP_YDISTANCE, 260+Shift_Y);
   ObjectSetText("session_time_tokyo","Tokyo GMT", 8,"Tahoma",White);

   if (ObjectFind("session_time_frankfurt") == -1 )
   {
   ObjectCreate("session_time_frankfurt", OBJ_LABEL, companion, 0, 0);
   ObjectSet("session_time_frankfurt", OBJPROP_BACK, 0);
   ObjectSet("session_time_frankfurt", OBJPROP_CORNER, InpCorner);}
   ObjectSet("session_time_frankfurt", OBJPROP_XDISTANCE, 308+Shift_X);
   ObjectSet("session_time_frankfurt", OBJPROP_YDISTANCE, 276+Shift_Y);
   ObjectSetText("session_time_frankfurt","Frankfurt GMT", 8,"Tahoma",White);
 */
    if (ObjectFind("session_time_tokyo2_1") == -1)
    {
        ObjectCreate("session_time_tokyo2_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_1", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_1", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("session_time_tokyo2_1", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo2_2") == -1)
    {
        ObjectCreate("session_time_tokyo2_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_2", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_2", OBJPROP_YDISTANCE, 251 + Shift_Y);
    ObjectSetText("session_time_tokyo2_2", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo2_3") == -1)
    {
        ObjectCreate("session_time_tokyo2_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_3", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_3", OBJPROP_YDISTANCE, 253 + Shift_Y);
    ObjectSetText("session_time_tokyo2_3", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo2_4") == -1)
    {
        ObjectCreate("session_time_tokyo2_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_4", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_4", OBJPROP_YDISTANCE, 255 + Shift_Y);
    ObjectSetText("session_time_tokyo2_4", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo2_5") == -1)
    {
        ObjectCreate("session_time_tokyo2_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_5", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_5", OBJPROP_YDISTANCE, 257 + Shift_Y);
    ObjectSetText("session_time_tokyo2_5", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo2_6") == -1)
    {
        ObjectCreate("session_time_tokyo2_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_6", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_6", OBJPROP_YDISTANCE, 259 + Shift_Y);
    ObjectSetText("session_time_tokyo2_6", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo2_7") == -1)
    {
        ObjectCreate("session_time_tokyo2_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo2_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo2_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo2_7", OBJPROP_XDISTANCE, 169 + Shift_X);
    ObjectSet("session_time_tokyo2_7", OBJPROP_YDISTANCE, 261 + Shift_Y);
    ObjectSetText("session_time_tokyo2_7", "______________________", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo3_1") == -1)
    {
        ObjectCreate("session_time_tokyo3_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_1", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_1", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("session_time_tokyo3_1", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo3_2") == -1)
    {
        ObjectCreate("session_time_tokyo3_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_2", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_2", OBJPROP_YDISTANCE, 251 + Shift_Y);
    ObjectSetText("session_time_tokyo3_2", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo3_3") == -1)
    {
        ObjectCreate("session_time_tokyo3_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_3", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_3", OBJPROP_YDISTANCE, 253 + Shift_Y);
    ObjectSetText("session_time_tokyo3_3", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_sydney_4") == -1)
    {
        ObjectCreate("session_time_tokyo3_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_4", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_4", OBJPROP_YDISTANCE, 255 + Shift_Y);
    ObjectSetText("session_time_tokyo3_4", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo3_5") == -1)
    {
        ObjectCreate("session_time_tokyo3_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_5", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_5", OBJPROP_YDISTANCE, 257 + Shift_Y);
    ObjectSetText("session_time_tokyo3_5", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_sydney_6") == -1)
    {
        ObjectCreate("session_time_tokyo3_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_6", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_6", OBJPROP_YDISTANCE, 259 + Shift_Y);
    ObjectSetText("session_time_tokyo3_6", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo3_7") == -1)
    {
        ObjectCreate("session_time_tokyo3_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo3_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo3_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo3_7", OBJPROP_XDISTANCE, 516 + Shift_X);
    ObjectSet("session_time_tokyo3_7", OBJPROP_YDISTANCE, 261 + Shift_Y);
    ObjectSetText("session_time_tokyo3_7", "___", 8, "Times New Roman", Magenta);

    if (ObjectFind("session_time_tokyo") == -1)
    {
        ObjectCreate("session_time_tokyo", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_tokyo", OBJPROP_BACK, 0);
        ObjectSet("session_time_tokyo", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_tokyo", OBJPROP_XDISTANCE, 195 + Shift_X);
    ObjectSet("session_time_tokyo", OBJPROP_YDISTANCE, 260 + Shift_Y);
    ObjectSetText("session_time_tokyo", "Tokyo GMT", 8, "Tahoma", White);

//////////////////



    if (ObjectFind("session_time_frankfurt2_1") == -1)
    {
        ObjectCreate("session_time_frankfurt2_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_1", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_1", OBJPROP_YDISTANCE, 277 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_1", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt2_2") == -1)
    {
        ObjectCreate("session_time_frankfurt2_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_2", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_2", OBJPROP_YDISTANCE, 275 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_2", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt2_3") == -1)
    {
        ObjectCreate("session_time_frankfurt2_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_3", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_3", OBJPROP_YDISTANCE, 273 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_3", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt2_4") == -1)
    {
        ObjectCreate("session_time_frankfurt2_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_4", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_4", OBJPROP_YDISTANCE, 271 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_4", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt2_5") == -1)
    {
        ObjectCreate("session_time_frankfurt2_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_5", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_5", OBJPROP_YDISTANCE, 269 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_5", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt2_6") == -1)
    {
        ObjectCreate("session_time_frankfurt2_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_6", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_6", OBJPROP_YDISTANCE, 267 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_6", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt2_7") == -1)
    {
        ObjectCreate("session_time_frankfurt2_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt2_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt2_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt2_7", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("session_time_frankfurt2_7", OBJPROP_YDISTANCE, 265 + Shift_Y);
    ObjectSetText("session_time_frankfurt2_7", "________________________", 8, "Times New Roman", RoyalBlue);

    if (ObjectFind("session_time_frankfurt") == -1)
    {
        ObjectCreate("session_time_frankfurt", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_frankfurt", OBJPROP_BACK, 0);
        ObjectSet("session_time_frankfurt", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_frankfurt", OBJPROP_XDISTANCE, 308 + Shift_X);
    ObjectSet("session_time_frankfurt", OBJPROP_YDISTANCE, 276 + Shift_Y);
    ObjectSetText("session_time_frankfurt", "Frankfurt GMT", 8, "Tahoma", White);

////////////////////

///////////////////
    if (ObjectFind("session_time_london_1") == -1)
    {
        ObjectCreate("session_time_london_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_1", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_1", OBJPROP_YDISTANCE, 207 + Shift_Y);
    ObjectSetText("session_time_london_1", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_2") == -1)
    {
        ObjectCreate("session_time_london_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_2", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_2", OBJPROP_YDISTANCE, 209 + Shift_Y);
    ObjectSetText("session_time_london_2", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_3") == -1)
    {
        ObjectCreate("session_time_london_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_3", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_3", OBJPROP_YDISTANCE, 211 + Shift_Y);
    ObjectSetText("session_time_london_3", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_4") == -1)
    {
        ObjectCreate("session_time_london_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_4", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_4", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("session_time_london_4", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_5") == -1)
    {
        ObjectCreate("session_time_london_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_5", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_5", OBJPROP_YDISTANCE, 215 + Shift_Y);
    ObjectSetText("session_time_london_5", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_6") == -1)
    {
        ObjectCreate("session_time_london_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_6", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_6", OBJPROP_YDISTANCE, 217 + Shift_Y);
    ObjectSetText("session_time_london_6", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_7") == -1)
    {
        ObjectCreate("session_time_london_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_london_7", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("session_time_london_7", OBJPROP_YDISTANCE, 219 + Shift_Y);
    ObjectSetText("session_time_london_7", "________________________", 8, "Times New Roman", Lime);

    if (ObjectFind("session_time_london_0") == -1)
    {
        ObjectCreate("session_time_london_0", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_london_0", OBJPROP_BACK, 0);
        ObjectSet("session_time_london_0", OBJPROP_CORNER, InpCorner);
        ObjectSet("session_time_london_0", OBJPROP_XDISTANCE, 320 + Shift_X);
        ObjectSet("session_time_london_0", OBJPROP_YDISTANCE, 217 + Shift_Y);
        ObjectSetText("session_time_london_0", "London GMT", 8, "Tahoma", White);
    }

///////////////////
    if (ObjectFind("session_time_ny_1") == -1)
    {
        ObjectCreate("session_time_ny_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_1", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_1", OBJPROP_YDISTANCE, 221 + Shift_Y);
    ObjectSetText("session_time_ny_1", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny_2") == -1)
    {
        ObjectCreate("session_time_ny_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_2", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_2", OBJPROP_YDISTANCE, 223 + Shift_Y);
    ObjectSetText("session_time_ny_2", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny_3") == -1)
    {
        ObjectCreate("session_time_ny_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_3", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_3", OBJPROP_YDISTANCE, 225 + Shift_Y);
    ObjectSetText("session_time_ny_3", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny_4") == -1)
    {
        ObjectCreate("session_time_ny_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_4", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_4", OBJPROP_YDISTANCE, 227 + Shift_Y);
    ObjectSetText("session_time_ny_4", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny_5") == -1)
    {
        ObjectCreate("session_time_ny_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_5", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_5", OBJPROP_YDISTANCE, 229 + Shift_Y);
    ObjectSetText("session_time_ny_5", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny_6") == -1)
    {
        ObjectCreate("session_time_ny_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_6", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_6", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("session_time_ny_6", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny_7") == -1)
    {
        ObjectCreate("session_time_ny_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny_7", OBJPROP_XDISTANCE, 365 + Shift_X);
    ObjectSet("session_time_ny_7", OBJPROP_YDISTANCE, 233 + Shift_Y);
    ObjectSetText("session_time_ny_7", "________________________", 8, "Times New Roman", Red);

    if (ObjectFind("session_time_ny") == -1)
    {
        ObjectCreate("session_time_ny", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_ny", OBJPROP_BACK, 0);
        ObjectSet("session_time_ny", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_ny", OBJPROP_XDISTANCE, 392 + Shift_X);
    ObjectSet("session_time_ny", OBJPROP_YDISTANCE, 232 + Shift_Y);
    ObjectSetText("session_time_ny", "New York GMT", 8, "Tahoma", White);

///////////////////
    if (ObjectFind("session_time_sydney_1") == -1)
    {
        ObjectCreate("session_time_sydney_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_1", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_1", OBJPROP_YDISTANCE, 235 + Shift_Y);
    ObjectSetText("session_time_sydney_1", "_________", 8, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney_2") == -1)
    {
        ObjectCreate("session_time_sydney_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_2", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_2", OBJPROP_YDISTANCE, 237 + Shift_Y);
    ObjectSetText("session_time_sydney_2", "_________", 8, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney_3") == -1)
    {
        ObjectCreate("session_time_sydney_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_3", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_3", OBJPROP_YDISTANCE, 239 + Shift_Y);
    ObjectSetText("session_time_sydney_3", "_________", 8, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney_4") == -1)
    {
        ObjectCreate("session_time_sydney_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_4", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_4", OBJPROP_YDISTANCE, 241 + Shift_Y);
    ObjectSetText("session_time_sydney_4", "_________", 8, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney_5") == -1)
    {
        ObjectCreate("session_time_sydney_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_5", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_5", OBJPROP_YDISTANCE, 243 + Shift_Y);
    ObjectSetText("session_time_sydney_5", "_________", 8, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney_6") == -1)
    {
        ObjectCreate("session_time_sydney_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_6", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_6", OBJPROP_YDISTANCE, 245 + Shift_Y);
    ObjectSetText("session_time_sydney_6", "_________", 8, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney_7") == -1)
    {
        ObjectCreate("session_time_sydney_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney_7", OBJPROP_XDISTANCE, 485 + Shift_X);
    ObjectSet("session_time_sydney_7", OBJPROP_YDISTANCE, 247 + Shift_Y);
    ObjectSetText("session_time_sydney_7", "_________", 8, "Times New Roman", Aqua);

///////////////////
    if (ObjectFind("ssession_time_sydney_1") == -1)
    {
        ObjectCreate("ssession_time_sydney_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_1", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_1", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_1", OBJPROP_YDISTANCE, 218 + Shift_Y);
    ObjectSetText("ssession_time_sydney_1", "______", 20, "Times New Roman", Aqua);

    if (ObjectFind("ssession_time_sydney_2") == -1)
    {
        ObjectCreate("ssession_time_sydney_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_2", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_2", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_2", OBJPROP_YDISTANCE, 220 + Shift_Y);
    ObjectSetText("ssession_time_sydney_2", "______", 20, "Times New Roman", Aqua);

    if (ObjectFind("ssession_time_sydney_3") == -1)
    {
        ObjectCreate("ssession_time_sydney_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_3", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_3", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_3", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("ssession_time_sydney_3", "______", 20, "Times New Roman", Aqua);

    if (ObjectFind("ssession_time_sydney_4") == -1)
    {
        ObjectCreate("ssession_time_sydney_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_4", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_4", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_4", OBJPROP_YDISTANCE, 224 + Shift_Y);
    ObjectSetText("ssession_time_sydney_4", "______", 20, "Times New Roman", Aqua);

    if (ObjectFind("ssession_time_sydney_5") == -1)
    {
        ObjectCreate("ssession_time_sydney_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_5", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_5", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_5", OBJPROP_YDISTANCE, 226 + Shift_Y);
    ObjectSetText("ssession_time_sydney_5", "______", 20, "Times New Roman", Aqua);

    if (ObjectFind("ssession_time_sydney_6") == -1)
    {
        ObjectCreate("ssession_time_sydney_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_6", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_6", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_6", OBJPROP_YDISTANCE, 228 + Shift_Y);
    ObjectSetText("ssession_time_sydney_6", "______", 20, "Times New Roman", Aqua);

    if (ObjectFind("ssession_time_sydney_7") == -1)
    {
        ObjectCreate("ssession_time_sydney_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("ssession_time_sydney_7", OBJPROP_BACK, 0);
        ObjectSet("ssession_time_sydney_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("ssession_time_sydney_7", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("ssession_time_sydney_7", OBJPROP_YDISTANCE, 230 + Shift_Y);
    ObjectSetText("ssession_time_sydney_7", "_______", 20, "Times New Roman", Aqua);

    if (ObjectFind("session_time_sydney") == -1)
    {
        ObjectCreate("session_time_sydney", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_sydney", OBJPROP_BACK, 0);
        ObjectSet("session_time_sydney", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_sydney", OBJPROP_XDISTANCE, 179 + Shift_X);
    ObjectSet("session_time_sydney", OBJPROP_YDISTANCE, 245 + Shift_Y);
    ObjectSetText("session_time_sydney", "Sydney GMT", 8, "Tahoma", White);


    if (ObjectFind("session_time_hour_0") == -1)
    {
        ObjectCreate("session_time_hour_0", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_0", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_0", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_0", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("session_time_hour_0", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_0", "0", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_1") == -1)
    {
        ObjectCreate("session_time_hour_1", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_1", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_1", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_1", OBJPROP_XDISTANCE, 185 + Shift_X);
    ObjectSet("session_time_hour_1", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_1", "1", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_2") == -1)
    {
        ObjectCreate("session_time_hour_2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_2", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_2", OBJPROP_XDISTANCE, 200 + Shift_X);
    ObjectSet("session_time_hour_2", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_2", "2", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_3") == -1)
    {
        ObjectCreate("session_time_hour_3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_3", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_3", OBJPROP_XDISTANCE, 215 + Shift_X);
    ObjectSet("session_time_hour_3", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_3", "3", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_4") == -1)
    {
        ObjectCreate("session_time_hour_4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_4", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_4", OBJPROP_XDISTANCE, 230 + Shift_X);
    ObjectSet("session_time_hour_4", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_4", "4", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_5") == -1)
    {
        ObjectCreate("session_time_hour_5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_5", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_5", OBJPROP_XDISTANCE, 245 + Shift_X);
    ObjectSet("session_time_hour_5", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_5", "5", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_6") == -1)
    {
        ObjectCreate("session_time_hour_6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_6", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_6", OBJPROP_XDISTANCE, 260 + Shift_X);
    ObjectSet("session_time_hour_6", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_6", "6", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_7") == -1)
    {
        ObjectCreate("session_time_hour_7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_7", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_7", OBJPROP_XDISTANCE, 275 + Shift_X);
    ObjectSet("session_time_hour_7", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_7", "7", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_8") == -1)
    {
        ObjectCreate("session_time_hour_8", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_8", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_8", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_8", OBJPROP_XDISTANCE, 290 + Shift_X);
    ObjectSet("session_time_hour_8", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_8", "8", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_9") == -1)
    {
        ObjectCreate("session_time_hour_9", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_9", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_9", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_9", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("session_time_hour_9", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_9", "9", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_10") == -1)
    {
        ObjectCreate("session_time_hour_10", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_10", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_10", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_10", OBJPROP_XDISTANCE, 315 + Shift_X);
    ObjectSet("session_time_hour_10", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_10", "10", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_11") == -1)
    {
        ObjectCreate("session_time_hour_11", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_11", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_11", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_11", OBJPROP_XDISTANCE, 330 + Shift_X);
    ObjectSet("session_time_hour_11", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_11", "11", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_12") == -1)
    {
        ObjectCreate("session_time_hour_12", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_12", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_12", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_12", OBJPROP_XDISTANCE, 345 + Shift_X);
    ObjectSet("session_time_hour_12", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_12", "12", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_13") == -1)
    {
        ObjectCreate("session_time_hour_13", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_13", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_13", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_13", OBJPROP_XDISTANCE, 360 + Shift_X);
    ObjectSet("session_time_hour_13", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_13", "13", 8, "Times New Roman", Gainsboro);


    if (ObjectFind("session_time_hour_14") == -1)
    {
        ObjectCreate("session_time_hour_14", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_14", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_14", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_14", OBJPROP_XDISTANCE, 375 + Shift_X);
    ObjectSet("session_time_hour_14", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_14", "14", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_15") == -1)
    {
        ObjectCreate("session_time_hour_15", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_15", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_15", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_15", OBJPROP_XDISTANCE, 390 + Shift_X);
    ObjectSet("session_time_hour_15", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_15", "15", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_16") == -1)
    {
        ObjectCreate("session_time_hour_16", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_16", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_16", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_16", OBJPROP_XDISTANCE, 405 + Shift_X);
    ObjectSet("session_time_hour_16", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_16", "16", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_17") == -1)
    {
        ObjectCreate("session_time_hour_17", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_17", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_17", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_17", OBJPROP_XDISTANCE, 420 + Shift_X);
    ObjectSet("session_time_hour_17", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_17", "17", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_18") == -1)
    {
        ObjectCreate("session_time_hour_18", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_18", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_18", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_18", OBJPROP_XDISTANCE, 435 + Shift_X);
    ObjectSet("session_time_hour_18", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_18", "18", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_19") == -1)
    {
        ObjectCreate("session_time_hour_19", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_19", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_19", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_19", OBJPROP_XDISTANCE, 450 + Shift_X);
    ObjectSet("session_time_hour_19", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_19", "19", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_20") == -1)
    {
        ObjectCreate("session_time_hour_20", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_20", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_20", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_20", OBJPROP_XDISTANCE, 465 + Shift_X);
    ObjectSet("session_time_hour_20", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_20", "20", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_21") == -1)
    {
        ObjectCreate("session_time_hour_21", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_21", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_21", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_21", OBJPROP_XDISTANCE, 480 + Shift_X);
    ObjectSet("session_time_hour_21", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_21", "21", 8, "Times New Roman", Gainsboro);


    if (ObjectFind("session_time_hour_22") == -1)
    {
        ObjectCreate("session_time_hour_22", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_22", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_22", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_22", OBJPROP_XDISTANCE, 495 + Shift_X);
    ObjectSet("session_time_hour_22", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_22", "22", 8, "Times New Roman", Gainsboro);

    if (ObjectFind("session_time_hour_23") == -1)
    {
        ObjectCreate("session_time_hour_23", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_hour_23", OBJPROP_BACK, 0);
        ObjectSet("session_time_hour_23", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_hour_23", OBJPROP_XDISTANCE, 510 + Shift_X);
    ObjectSet("session_time_hour_23", OBJPROP_YDISTANCE, 200 + Shift_Y);
    ObjectSetText("session_time_hour_23", "23", 8, "Times New Roman", Gainsboro);
}

void timer()
{
    if (ObjectFind("session_time_current") == -1)
    {
        ObjectCreate("session_time_current", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_current", OBJPROP_BACK, 0);
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 345 + Shift_X);
        ObjectSet("session_time_current", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_current", OBJPROP_YDISTANCE, 207 + Shift_Y);
    ObjectSetText("session_time_current", "|", 34, "Times New Roman", Red);

    if (ObjectFind("session_time_current2") == -1)
    {
        ObjectCreate("session_time_current2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("session_time_current2", OBJPROP_BACK, 0);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 345 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("session_time_current2", OBJPROP_YDISTANCE, 241 + Shift_Y);
    ObjectSetText("session_time_current2", "|", 34, "Times New Roman", Red);

    if (ObjectFind("time2") == -1)
    {
        ObjectCreate("time2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("time2", OBJPROP_XDISTANCE, 350 + Shift_X);
        ObjectSet("time2", OBJPROP_BACK, 0);
    }
    ObjectSet("time2", OBJPROP_YDISTANCE, 294 + Shift_Y);
    ObjectSet("time2", OBJPROP_CORNER, InpCorner);

    string GMTtime = TimeToStr(TimeGMT(), TIME_MINUTES | TIME_SECONDS);
    int    GMTm    = TimeMinute(TimeGMT() );
    int    GMTh    = TimeHour(TimeGMT() );
        
    ObjectSetText("time2", "" + GMTtime + "", 8, "Times New Roman", Gainsboro);
        //Comment(" GMTtime ",GMTtime, " GMTh ", GMTh, " GMTm ",GMTm);

    // Shift_X = -158 default //
    int PixelRange = 358;
    double gmtm = GMTm; double gmth = GMTh;
    
    double TimeX;
    
    TimeX =  10 + Shift_X+158 + ((gmth+ (gmtm/60)+.1 )/24) * PixelRange; // .1 IS A FUDGE FACTOR
    int TimeX2 = TimeX;
    if(GMTh >= 22) TimeX2 = 10+ Shift_X+158 + (22/24) * PixelRange;
    
        //Comment(" Shift_X ",Shift_X," GMTh ", gmth/24, " GMTm ",gmtm/60," TimeX ",TimeX, " TimeX2 ",TimeX2); 

    ObjectSet("session_time_current", OBJPROP_XDISTANCE, TimeX);
    ObjectSet("session_time_current2", OBJPROP_XDISTANCE, TimeX);
    ObjectSet("time2", OBJPROP_XDISTANCE, TimeX2);
}

/*
//if (Hour()==23 && Minute()<=30 && Minute()<15){
    if (GMTh == 23 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 512 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 512 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 515 + Shift_X);
    }
    if (GMTh == 23 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 519 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 519 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 522 + Shift_X);
    }

    if (GMTh == 22 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 497 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 497 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 500 + Shift_X);
    }
    if (GMTh == 22 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 504 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 504 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 507 + Shift_X);
    }

    if (GMTh == 21 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 482 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 482 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 485 + Shift_X);
    }
    if (GMTh == 21 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 489 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 489 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 492 + Shift_X);
    }

    if (GMTh == 20 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 465 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 465 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 468 + Shift_X);
    }
    if (GMTh == 20 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 474 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 474 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 477 + Shift_X);
    }

    if (GMTh == 19 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 451 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 451 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 454 + Shift_X);
    }
    if (GMTh == 19 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 458 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 458 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 461 + Shift_X);
    }

    if (GMTh == 18 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 436 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 436 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 439 + Shift_X);
    }
    if (GMTh == 18 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 443 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 443 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 446 + Shift_X);
    }

    if (GMTh == 17 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 421 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 421 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 424 + Shift_X);
    }
    if (GMTh == 17 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 428 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 428 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 431 + Shift_X);
    }

    if (GMTh == 16 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 406 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 406 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 409 + Shift_X);
    }
    if (GMTh == 16 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 413 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 413 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 416 + Shift_X);
    }

    if (GMTh == 15 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 392 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 392 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 395 + Shift_X);
    }
    if (GMTh == 15 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 399 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 399 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 402 + Shift_X);
    }

    if (GMTh == 14 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 377 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 377 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 380 + Shift_X);
    }
    if (GMTh == 14 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 384 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 384 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 387 + Shift_X);
    }

    if (GMTh == 13 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 363 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 363 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 366 + Shift_X);
    }
    if (GMTh == 13 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 370 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 370 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 373 + Shift_X);
    }

    if (GMTh == 12 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 339 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 339 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 342 + Shift_X);
    }
    if (GMTh == 12 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 356 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 356 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 359 + Shift_X);
    }

    if (GMTh == 11 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 332 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 332 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 335 + Shift_X);
    }
    if (GMTh == 11 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 339 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 339 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 342 + Shift_X);
    }

    if (GMTh == 10 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 322 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 322 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 321 + Shift_X);
    }
    if (GMTh == 10 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 325 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 325 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 328 + Shift_X);
    }

    if (GMTh == 9 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 304 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 304 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 307 + Shift_X);
    }
    if (GMTh == 9 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 311 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 311 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 314 + Shift_X);
    }

    if (GMTh == 8 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 289 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 289 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 292 + Shift_X);
    }
    if (GMTh == 8 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 297 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 297 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 307 + Shift_X);
    }

    if (GMTh == 7 && GMTm <= 30 && GMTm > 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 273 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 273 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 276 + Shift_X);
    }
    if (GMTh == 7 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 282 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 282 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 285 + Shift_X);
    }

    if (GMTh == 6 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 258 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 258 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 261 + Shift_X);
    }
    if (GMTh == 6 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 267 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 267 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 270 + Shift_X);
    }

    if (GMTh == 5 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 244 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 244 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 247 + Shift_X);
    }
    if (GMTh == 5 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 251 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 251 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 254 + Shift_X);
    }

    if (GMTh == 4 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 229 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 229 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 232 + Shift_X);
    }
    if (GMTh == 4 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 236 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 236 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 239 + Shift_X);
    }

    if (GMTh == 3 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 213 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 213 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 216 + Shift_X);
    }
    if (GMTh == 3 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 220 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 220 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 223 + Shift_X);
    }

    if (GMTh == 2 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 198 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 198 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 201 + Shift_X);
    }
    if (GMTh == 2 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 205 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 205 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 208 + Shift_X);
    }

    if (GMTh == 1 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 184 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 184 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 187 + Shift_X);
    }
    if (GMTh == 1 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 191 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 191 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 194 + Shift_X);
    }

    if (GMTh == 24 && GMTm <= 30 && GMTm < 15)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 167 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 167 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 170 + Shift_X);
    }
    if (GMTh == 24 && GMTm >= 30 && GMTm < 45)
    {
        ObjectSet("session_time_current", OBJPROP_XDISTANCE, 174 + Shift_X);
        ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 174 + Shift_X);
        ObjectSet("time2", OBJPROP_XDISTANCE, 177 + Shift_X);
    }
}
*/

void market_hours_box()
{
    if (ObjectFind("market_hours_box_top") == -1)
    {
        ObjectCreate("market_hours_box_top", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_top", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_top", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_top", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("market_hours_box_top", OBJPROP_YDISTANCE, 205 + Shift_Y);
    ObjectSetText("market_hours_box_top", "______________________________________________________________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_top2") == -1)
    {
        ObjectCreate("market_hours_box_top2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_top2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_top2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_top2", OBJPROP_XDISTANCE, 475 + Shift_X);
    ObjectSet("market_hours_box_top2", OBJPROP_YDISTANCE, 205 + Shift_Y);
    ObjectSetText("market_hours_box_top2", "___________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_bottom") == -1)
    {
        ObjectCreate("market_hours_box_bottom", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_bottom", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_bottom", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_bottom", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("market_hours_box_bottom", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_bottom", "______________________________________________________________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_bottom2") == -1)
    {
        ObjectCreate("market_hours_box_bottom2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_bottom2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_bottom2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_bottom2", OBJPROP_XDISTANCE, 475 + Shift_X);
    ObjectSet("market_hours_box_bottom2", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_bottom2", "___________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_bottom3") == -1)
    {
        ObjectCreate("market_hours_box_bottom3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_bottom3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_bottom3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_bottom3", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("market_hours_box_bottom3", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_bottom3", "______________________________________________________________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_bottom3a") == -1)
    {
        ObjectCreate("market_hours_box_bottom3a", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_bottom3a", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_bottom3a", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_bottom3a", OBJPROP_XDISTANCE, 475 + Shift_X);
    ObjectSet("market_hours_box_bottom3a", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_bottom3a", "___________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_level") == -1)
    {
        ObjectCreate("market_hours_box_level", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_level", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_level", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_level", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("market_hours_box_level", OBJPROP_YDISTANCE, 247 + Shift_Y);
    ObjectSetText("market_hours_box_level", "______________________________________________________________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_levelb") == -1)
    {
        ObjectCreate("market_hours_box_levelb", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_levelb", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_levelb", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_levelb", OBJPROP_XDISTANCE, 475 + Shift_X);
    ObjectSet("market_hours_box_levelb", OBJPROP_YDISTANCE, 247 + Shift_Y);
    ObjectSetText("market_hours_box_levelb", "___________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_level2") == -1)
    {
        ObjectCreate("market_hours_box_level2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_level2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_level2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_level2", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("market_hours_box_level2", OBJPROP_YDISTANCE, 233 + Shift_Y);
    ObjectSetText("market_hours_box_level2", "______________________________________________________________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_level2b") == -1)
    {
        ObjectCreate("market_hours_box_level2b", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_level2b", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_level2b", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_level2b", OBJPROP_XDISTANCE, 475 + Shift_X);
    ObjectSet("market_hours_box_level2b", OBJPROP_YDISTANCE, 233 + Shift_Y);
    ObjectSetText("market_hours_box_level2b", "___________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_level3") == -1)
    {
        ObjectCreate("market_hours_box_level3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_level3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_level3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_level3", OBJPROP_XDISTANCE, 170 + Shift_X);
    ObjectSet("market_hours_box_level3", OBJPROP_YDISTANCE, 219 + Shift_Y);
    ObjectSetText("market_hours_box_level3", "______________________________________________________________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_level3b") == -1)
    {
        ObjectCreate("market_hours_box_level3b", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_level3b", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_level3b", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_level3b", OBJPROP_XDISTANCE, 475 + Shift_X);
    ObjectSet("market_hours_box_level3b", OBJPROP_YDISTANCE, 219 + Shift_Y);
    ObjectSetText("market_hours_box_level3b", "___________", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left") == -1)
    {
        ObjectCreate("market_hours_box_left", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left", OBJPROP_XDISTANCE, 171 + Shift_X);// 168
    ObjectSet("market_hours_box_left", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_left", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left2") == -1)
    {
        ObjectCreate("market_hours_box_left2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left2", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_left2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_left2", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left3") == -1)
    {
        ObjectCreate("market_hours_box_left3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left3", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_left3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_left3", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left4") == -1)
    {
        ObjectCreate("market_hours_box_left4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left4", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_left4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_left4", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left5") == -1)
    {
        ObjectCreate("market_hours_box_left5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left5", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_left5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_left5", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left6") == -1)
    {
        ObjectCreate("market_hours_box_left6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left6", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_left6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_left6", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_left7") == -1)
    {
        ObjectCreate("market_hours_box_left7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_left7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_left7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_left7", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_left7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_left7", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right") == -1)
    {
        ObjectCreate("market_hours_box_right", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_right", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right2") == -1)
    {
        ObjectCreate("market_hours_box_right2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right2", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_right2", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right3") == -1)
    {
        ObjectCreate("market_hours_box_right3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right3", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_right3", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right4") == -1)
    {
        ObjectCreate("market_hours_box_right4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right4", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_right4", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right5") == -1)
    {
        ObjectCreate("market_hours_box_right5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right5", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_right5", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right6") == -1)
    {
        ObjectCreate("market_hours_box_right6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right6", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_right6", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_right7") == -1)
    {
        ObjectCreate("market_hours_box_right7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_right7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_right7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_right7", OBJPROP_XDISTANCE, 529 + Shift_X);
    ObjectSet("market_hours_box_right7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_right7", "|", 8, "Times New Roman", Silver);

    if (ObjectFind("market_hours_box_vert") == -1)
    {
        ObjectCreate("market_hours_box_vert", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vert", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vert2") == -1)
    {
        ObjectCreate("market_hours_box_vert2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert2", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vert2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vert3") == -1)
    {
        ObjectCreate("market_hours_box_vert3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert3", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vert3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vert4") == -1)
    {
        ObjectCreate("market_hours_box_vert4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert4", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vert4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vert5") == -1)
    {
        ObjectCreate("market_hours_box_vert5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert5", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vert5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vert6") == -1)
    {
        ObjectCreate("market_hours_box_vert6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert6", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vert6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vert7") == -1)
    {
        ObjectCreate("market_hours_box_vert7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vert7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vert7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vert7", OBJPROP_XDISTANCE, 514 + Shift_X);
    ObjectSet("market_hours_box_vert7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vert7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb") == -1)
    {
        ObjectCreate("market_hours_box_vertb", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertb", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb2") == -1)
    {
        ObjectCreate("market_hours_box_vertb2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb2", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertb2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb3") == -1)
    {
        ObjectCreate("market_hours_box_vertb3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb3", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertb3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb4") == -1)
    {
        ObjectCreate("market_hours_box_vertb4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb4", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertb4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb5") == -1)
    {
        ObjectCreate("market_hours_box_vertb5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb5", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertb5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb6") == -1)
    {
        ObjectCreate("market_hours_box_vertb6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb6", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertb6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertb7") == -1)
    {
        ObjectCreate("market_hours_box_vertb7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertb7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertb7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertb7", OBJPROP_XDISTANCE, 499 + Shift_X);
    ObjectSet("market_hours_box_vertb7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertb7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc") == -1)
    {
        ObjectCreate("market_hours_box_vertc", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertc", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc2") == -1)
    {
        ObjectCreate("market_hours_box_vertc2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc2", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertc2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc3") == -1)
    {
        ObjectCreate("market_hours_box_vertc3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc3", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertc3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc4") == -1)
    {
        ObjectCreate("market_hours_box_vertc4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc4", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertc4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc5") == -1)
    {
        ObjectCreate("market_hours_box_vertc5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc5", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertc5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc6") == -1)
    {
        ObjectCreate("market_hours_box_vertc6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc6", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertc6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertc7") == -1)
    {
        ObjectCreate("market_hours_box_vertc7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertc7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertc7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertc7", OBJPROP_XDISTANCE, 484 + Shift_X);
    ObjectSet("market_hours_box_vertc7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertc7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd") == -1)
    {
        ObjectCreate("market_hours_box_vertd", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertd", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd2") == -1)
    {
        ObjectCreate("market_hours_box_vertd2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd2", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertd2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd3") == -1)
    {
        ObjectCreate("market_hours_box_vertd3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd3", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertd3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd4") == -1)
    {
        ObjectCreate("market_hours_box_vertd4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd4", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertd4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd5") == -1)
    {
        ObjectCreate("market_hours_box_vertd5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd5", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertd5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd6") == -1)
    {
        ObjectCreate("market_hours_box_vertd6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd6", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertd6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertd7") == -1)
    {
        ObjectCreate("market_hours_box_vertd7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertd7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertd7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertd7", OBJPROP_XDISTANCE, 468 + Shift_X);
    ObjectSet("market_hours_box_vertd7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertd7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte") == -1)
    {
        ObjectCreate("market_hours_box_verte", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_verte", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte2") == -1)
    {
        ObjectCreate("market_hours_box_verte2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte2", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_verte2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte3") == -1)
    {
        ObjectCreate("market_hours_box_verte3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte3", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_verte3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte4") == -1)
    {
        ObjectCreate("market_hours_box_verte4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte4", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_verte4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte5") == -1)
    {
        ObjectCreate("market_hours_box_verte5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte5", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_verte5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte6") == -1)
    {
        ObjectCreate("market_hours_box_verte6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte6", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_verte6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verte7") == -1)
    {
        ObjectCreate("market_hours_box_verte7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verte7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verte7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verte7", OBJPROP_XDISTANCE, 453 + Shift_X);
    ObjectSet("market_hours_box_verte7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_verte7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf") == -1)
    {
        ObjectCreate("market_hours_box_vertf", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertf", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf2") == -1)
    {
        ObjectCreate("market_hours_box_vertf2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf2", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertf2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf3") == -1)
    {
        ObjectCreate("market_hours_box_vertf3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf3", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertf3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf4") == -1)
    {
        ObjectCreate("market_hours_box_vertf4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf4", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertf4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf5") == -1)
    {
        ObjectCreate("market_hours_box_vertf5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf5", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertf5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf6") == -1)
    {
        ObjectCreate("market_hours_box_vertf6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf6", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertf6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertf7") == -1)
    {
        ObjectCreate("market_hours_box_vertf7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertf7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertf7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertf7", OBJPROP_XDISTANCE, 438 + Shift_X);
    ObjectSet("market_hours_box_vertf7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertf7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg") == -1)
    {
        ObjectCreate("market_hours_box_vertg", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertg", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg2") == -1)
    {
        ObjectCreate("market_hours_box_vertg2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg2", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertg2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg3") == -1)
    {
        ObjectCreate("market_hours_box_vertg3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg3", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertg3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg4") == -1)
    {
        ObjectCreate("market_hours_box_vertg4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg4", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertg4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg5") == -1)
    {
        ObjectCreate("market_hours_box_vertg5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg5", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertg5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg6") == -1)
    {
        ObjectCreate("market_hours_box_vertg6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg6", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertg6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertg7") == -1)
    {
        ObjectCreate("market_hours_box_vertg7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertg7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertg7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertg7", OBJPROP_XDISTANCE, 423 + Shift_X);
    ObjectSet("market_hours_box_vertg7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertg7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth") == -1)
    {
        ObjectCreate("market_hours_box_verth", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_verth", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth2") == -1)
    {
        ObjectCreate("market_hours_box_verth2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth2", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_verth2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth3") == -1)
    {
        ObjectCreate("market_hours_box_verth3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth3", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_verth3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth4") == -1)
    {
        ObjectCreate("market_hours_box_verth4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth4", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_verth4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth5") == -1)
    {
        ObjectCreate("market_hours_box_verth5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth5", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_verth5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth6") == -1)
    {
        ObjectCreate("market_hours_box_verth6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth6", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_verth6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verth7") == -1)
    {
        ObjectCreate("market_hours_box_verth7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verth7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verth7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verth7", OBJPROP_XDISTANCE, 408 + Shift_X);
    ObjectSet("market_hours_box_verth7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_verth7", "|", 8, "Times New Roman", DarkGray);
}
void market_hours_box2()
{
    if (ObjectFind("market_hours_box_verti") == -1)
    {
        ObjectCreate("market_hours_box_verti", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_verti", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verti2") == -1)
    {
        ObjectCreate("market_hours_box_verti2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti2", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_verti2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verti3") == -1)
    {
        ObjectCreate("market_hours_box_verti3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti3", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_verti3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verti4") == -1)
    {
        ObjectCreate("market_hours_box_verti4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti4", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_verti4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verti5") == -1)
    {
        ObjectCreate("market_hours_box_verti5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti5", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_verti5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verti6") == -1)
    {
        ObjectCreate("market_hours_box_verti6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti6", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_verti6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verti7") == -1)
    {
        ObjectCreate("market_hours_box_verti7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verti7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verti7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verti7", OBJPROP_XDISTANCE, 393 + Shift_X);
    ObjectSet("market_hours_box_verti7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_verti7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj") == -1)
    {
        ObjectCreate("market_hours_box_vertj", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertj", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj2") == -1)
    {
        ObjectCreate("market_hours_box_vertj2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj2", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertj2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj3") == -1)
    {
        ObjectCreate("market_hours_box_vertj3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj3", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertj3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj4") == -1)
    {
        ObjectCreate("market_hours_box_vertj4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj4", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertj4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj5") == -1)
    {
        ObjectCreate("market_hours_box_vertj5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj5", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertj5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj6") == -1)
    {
        ObjectCreate("market_hours_box_vertj6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj6", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertj6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertj7") == -1)
    {
        ObjectCreate("market_hours_box_vertj7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertj7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertj7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertj7", OBJPROP_XDISTANCE, 378 + Shift_X);
    ObjectSet("market_hours_box_vertj7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertj7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk") == -1)
    {
        ObjectCreate("market_hours_box_vertk", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertk", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk2") == -1)
    {
        ObjectCreate("market_hours_box_vertk2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk2", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertk2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk3") == -1)
    {
        ObjectCreate("market_hours_box_vertk3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk3", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertk3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk4") == -1)
    {
        ObjectCreate("market_hours_box_vertk4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk4", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertk4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk5") == -1)
    {
        ObjectCreate("market_hours_box_vertk5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk5", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertk5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk6") == -1)
    {
        ObjectCreate("market_hours_box_vertk6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk6", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertk6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertk7") == -1)
    {
        ObjectCreate("market_hours_box_vertk7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertk7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertk7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertk7", OBJPROP_XDISTANCE, 363 + Shift_X);
    ObjectSet("market_hours_box_vertk7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertk7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl") == -1)
    {
        ObjectCreate("market_hours_box_vertl", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertl", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl2") == -1)
    {
        ObjectCreate("market_hours_box_vertl2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl2", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertl2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl3") == -1)
    {
        ObjectCreate("market_hours_box_vertl3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl3", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertl3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl4") == -1)
    {
        ObjectCreate("market_hours_box_vertl4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl4", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertl4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl5") == -1)
    {
        ObjectCreate("market_hours_box_vertl5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl5", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertl5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl6") == -1)
    {
        ObjectCreate("market_hours_box_vertl6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl6", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertl6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertl7") == -1)
    {
        ObjectCreate("market_hours_box_vertl7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertl7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertl7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertl7", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_vertl7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertl7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm") == -1)
    {
        ObjectCreate("market_hours_box_vertm", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertm", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm2") == -1)
    {
        ObjectCreate("market_hours_box_vertm2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm2", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertm2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm3") == -1)
    {
        ObjectCreate("market_hours_box_vertm3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm3", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertm3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm4") == -1)
    {
        ObjectCreate("market_hours_box_vertm4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm4", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertm4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm5") == -1)
    {
        ObjectCreate("market_hours_box_vertm5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm5", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertm5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm6") == -1)
    {
        ObjectCreate("market_hours_box_vertm6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm6", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertm6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertm7") == -1)
    {
        ObjectCreate("market_hours_box_vertm7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertm7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertm7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertm7", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_vertm7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertm7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn") == -1)
    {
        ObjectCreate("market_hours_box_vertn", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertn", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn2") == -1)
    {
        ObjectCreate("market_hours_box_vertn2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn2", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertn2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn3") == -1)
    {
        ObjectCreate("market_hours_box_vertn3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn3", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertn3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn4") == -1)
    {
        ObjectCreate("market_hours_box_vertn4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn4", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertn4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn5") == -1)
    {
        ObjectCreate("market_hours_box_vertn5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn5", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertn5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn6") == -1)
    {
        ObjectCreate("market_hours_box_vertn6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn6", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertn6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertn7") == -1)
    {
        ObjectCreate("market_hours_box_vertn7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertn7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertn7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertn7", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_vertn7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertn7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto") == -1)
    {
        ObjectCreate("market_hours_box_verto", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_verto", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto2") == -1)
    {
        ObjectCreate("market_hours_box_verto2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto2", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_verto2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto3") == -1)
    {
        ObjectCreate("market_hours_box_verto3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto3", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_verto3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto4") == -1)
    {
        ObjectCreate("market_hours_box_verto4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto4", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_verto4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto5") == -1)
    {
        ObjectCreate("market_hours_box_verto5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto5", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_verto5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto6") == -1)
    {
        ObjectCreate("market_hours_box_verto6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto6", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_verto6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verto7") == -1)
    {
        ObjectCreate("market_hours_box_verto7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verto7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verto7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verto7", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verto7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_verto7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp") == -1)
    {
        ObjectCreate("market_hours_box_vertp", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertp", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp2") == -1)
    {
        ObjectCreate("market_hours_box_vertp2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp2", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertp2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp3") == -1)
    {
        ObjectCreate("market_hours_box_vertp3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp3", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertp3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp4") == -1)
    {
        ObjectCreate("market_hours_box_vertp4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp4", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertp4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp5") == -1)
    {
        ObjectCreate("market_hours_box_vertp5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp5", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertp5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp6") == -1)
    {
        ObjectCreate("market_hours_box_vertp6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp6", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertp6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertp7") == -1)
    {
        ObjectCreate("market_hours_box_vertp7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertp7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertp7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertp7", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_vertp7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertp7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq") == -1)
    {
        ObjectCreate("market_hours_box_vertq", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertq", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq2") == -1)
    {
        ObjectCreate("market_hours_box_vertq2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq2", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertq2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq3") == -1)
    {
        ObjectCreate("market_hours_box_vertq3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq3", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertq3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq4") == -1)
    {
        ObjectCreate("market_hours_box_vertq4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq4", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertq4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq5") == -1)
    {
        ObjectCreate("market_hours_box_vertq5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq5", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertq5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq6") == -1)
    {
        ObjectCreate("market_hours_box_vertq6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq6", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertq6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertq7") == -1)
    {
        ObjectCreate("market_hours_box_vertq7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertq7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertq7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertq7", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_vertq7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertq7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu") == -1)
    {
        ObjectCreate("market_hours_box_vertu", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertu", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu2") == -1)
    {
        ObjectCreate("market_hours_box_vertu2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu2", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertu2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu3") == -1)
    {
        ObjectCreate("market_hours_box_vertu3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu3", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertu3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu4") == -1)
    {
        ObjectCreate("market_hours_box_vertu4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu4", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertu4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu5") == -1)
    {
        ObjectCreate("market_hours_box_vertu5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu5", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertu5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu6") == -1)
    {
        ObjectCreate("market_hours_box_vertu6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu6", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertu6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertu7") == -1)
    {
        ObjectCreate("market_hours_box_vertu7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertu7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertu7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertu7", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertu7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertu7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv") == -1)
    {
        ObjectCreate("market_hours_box_vertv", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertv", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv2") == -1)
    {
        ObjectCreate("market_hours_box_vertv2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv2", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertv2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv3") == -1)
    {
        ObjectCreate("market_hours_box_vertv3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv3", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertv3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv4") == -1)
    {
        ObjectCreate("market_hours_box_vertv4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv4", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertv4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv5") == -1)
    {
        ObjectCreate("market_hours_box_vertv5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv5", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertv5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv6") == -1)
    {
        ObjectCreate("market_hours_box_vertv6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv6", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertv6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertv7") == -1)
    {
        ObjectCreate("market_hours_box_vertv7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertv7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertv7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertv7", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertv7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertv7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw") == -1)
    {
        ObjectCreate("market_hours_box_vertw", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertw", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw2") == -1)
    {
        ObjectCreate("market_hours_box_vertw2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw2", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertw2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw3") == -1)
    {
        ObjectCreate("market_hours_box_vertw3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw3", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertw3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw4") == -1)
    {
        ObjectCreate("market_hours_box_vertw4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw4", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertw4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw5") == -1)
    {
        ObjectCreate("market_hours_box_vertw5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw5", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertw5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw6") == -1)
    {
        ObjectCreate("market_hours_box_vertw6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw6", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertw6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertw7") == -1)
    {
        ObjectCreate("market_hours_box_vertw7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertw7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertw7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertw7", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertw7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertw7", "|", 8, "Times New Roman", DarkGray);
}

void market_hours_box3()
{
    if (ObjectFind("market_hours_box_vertx") == -1)
    {
        ObjectCreate("market_hours_box_vertx", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertx", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx2") == -1)
    {
        ObjectCreate("market_hours_box_vertx2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx2", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertx2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx3") == -1)
    {
        ObjectCreate("market_hours_box_vertx3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx3", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertx3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx4") == -1)
    {
        ObjectCreate("market_hours_box_vertx4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx4", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertx4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx5") == -1)
    {
        ObjectCreate("market_hours_box_vertx5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx5", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertx5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx6") == -1)
    {
        ObjectCreate("market_hours_box_vertx6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx6", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertx6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx7") == -1)
    {
        ObjectCreate("market_hours_box_vertx7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx7", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertx7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty") == -1)
    {
        ObjectCreate("market_hours_box_verty", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_verty", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty2") == -1)
    {
        ObjectCreate("market_hours_box_verty2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty2", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_verty2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty3") == -1)
    {
        ObjectCreate("market_hours_box_verty3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty3", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_verty3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty4") == -1)
    {
        ObjectCreate("market_hours_box_verty4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty4", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_verty4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty5") == -1)
    {
        ObjectCreate("market_hours_box_verty5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty5", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_verty5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty6") == -1)
    {
        ObjectCreate("market_hours_box_verty6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty6", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_verty6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty7") == -1)
    {
        ObjectCreate("market_hours_box_verty7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty7", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_verty7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_verty7", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz") == -1)
    {
        ObjectCreate("market_hours_box_vertz", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz", OBJPROP_YDISTANCE, 213 + Shift_Y);
    ObjectSetText("market_hours_box_vertz", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz2") == -1)
    {
        ObjectCreate("market_hours_box_vertz2", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz2", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz2", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz2", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz2", OBJPROP_YDISTANCE, 222 + Shift_Y);
    ObjectSetText("market_hours_box_vertz2", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz3") == -1)
    {
        ObjectCreate("market_hours_box_vertz3", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz3", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz3", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz3", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz3", OBJPROP_YDISTANCE, 231 + Shift_Y);
    ObjectSetText("market_hours_box_vertz3", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz4") == -1)
    {
        ObjectCreate("market_hours_box_vertz4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz4", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz4", OBJPROP_YDISTANCE, 240 + Shift_Y);
    ObjectSetText("market_hours_box_vertz4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz5") == -1)
    {
        ObjectCreate("market_hours_box_vertz5", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz5", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz5", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz5", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz5", OBJPROP_YDISTANCE, 249 + Shift_Y);
    ObjectSetText("market_hours_box_vertz5", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz6") == -1)
    {
        ObjectCreate("market_hours_box_vertz6", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz6", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz6", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz6", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz6", OBJPROP_YDISTANCE, 258 + Shift_Y);
    ObjectSetText("market_hours_box_vertz6", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz7") == -1)
    {
        ObjectCreate("market_hours_box_vertz7", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz7", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz7", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz7", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertz7", OBJPROP_YDISTANCE, 263 + Shift_Y);
    ObjectSetText("market_hours_box_vertz7", "|", 8, "Times New Roman", DarkGray);
}



void market_hours_box4()
{
    if (ObjectFind("market_hours_box_vertx41") == -1)
    {
        ObjectCreate("market_hours_box_vertx41", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx41", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx41", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx41", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_vertx41", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx41", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx241") == -1)
    {
        ObjectCreate("market_hours_box_vertx241", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx241", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx241", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx241", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertx241", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx241", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx341") == -1)
    {
        ObjectCreate("market_hours_box_vertx341", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx341", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx341", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx341", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_vertx341", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx341", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx441") == -1)
    {
        ObjectCreate("market_hours_box_vertx441", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx441", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx441", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx441", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx441", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx441", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx541") == -1)
    {
        ObjectCreate("market_hours_box_vertx541", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx541", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx541", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx541", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertx541", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx541", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx641") == -1)
    {
        ObjectCreate("market_hours_box_vertx641", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx641", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx641", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx641", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertx641", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx641", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx741") == -1)
    {
        ObjectCreate("market_hours_box_vertx741", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx741", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx741", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx741", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertx741", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertx741", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty41") == -1)
    {
        ObjectCreate("market_hours_box_verty41", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty41", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty41", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty41", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_verty41", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty41", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty241") == -1)
    {
        ObjectCreate("market_hours_box_verty241", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty241", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty241", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty241", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_verty241", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty241", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty341") == -1)
    {
        ObjectCreate("market_hours_box_verty341", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty341", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty341", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty341", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verty341", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty341", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty441") == -1)
    {
        ObjectCreate("market_hours_box_verty441", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty441", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty441", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty441", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_verty441", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty441", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty541") == -1)
    {
        ObjectCreate("market_hours_box_verty541", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty541", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty541", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty541", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_verty541", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty541", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty641") == -1)
    {
        ObjectCreate("market_hours_box_verty641", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty641", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty641", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty641", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_verty641", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty641", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty741") == -1)
    {
        ObjectCreate("market_hours_box_verty741", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty741", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty741", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty741", OBJPROP_XDISTANCE, 367 + Shift_X - 4);
    ObjectSet("market_hours_box_verty741", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_verty741", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz41") == -1)
    {
        ObjectCreate("market_hours_box_vertz41", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz41", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz41", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz41", OBJPROP_XDISTANCE, 382 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz41", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz41", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz241") == -1)
    {
        ObjectCreate("market_hours_box_vertz241", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz241", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz241", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz241", OBJPROP_XDISTANCE, 397 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz241", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz241", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz341") == -1)
    {
        ObjectCreate("market_hours_box_vertz341", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz341", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz341", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz341", OBJPROP_XDISTANCE, 412 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz341", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz341", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz441") == -1)
    {
        ObjectCreate("market_hours_box_vertz441", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz441", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz441", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz441", OBJPROP_XDISTANCE, 427 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz441", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz441", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz541") == -1)
    {
        ObjectCreate("market_hours_box_vertz541", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz541", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz541", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz541", OBJPROP_XDISTANCE, 442 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz541", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz541", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz641") == -1)
    {
        ObjectCreate("market_hours_box_vertz641", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz641", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz641", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz641", OBJPROP_XDISTANCE, 457 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz641", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz641", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz741") == -1)
    {
        ObjectCreate("market_hours_box_vertz741", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz741", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz741", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz741", OBJPROP_XDISTANCE, 472 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz741", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz741", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz7411") == -1)
    {
        ObjectCreate("market_hours_box_vertz7411", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz7411", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz7411", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz7411", OBJPROP_XDISTANCE, 487 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz7411", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz7411", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz7421") == -1)
    {
        ObjectCreate("market_hours_box_vertz7421", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz7421", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz7421", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz7421", OBJPROP_XDISTANCE, 502 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz7421", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz7421", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz7431") == -1)
    {
        ObjectCreate("market_hours_box_vertz7431", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz7431", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz7431", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz7431", OBJPROP_XDISTANCE, 517 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz7431", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz7431", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz7441") == -1)
    {
        ObjectCreate("market_hours_box_vertz7441", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz7441", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz7441", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz7441", OBJPROP_XDISTANCE, 532 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz7441", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz7441", "|", 8, "Times New Roman", DarkGray);
}
void market_hours_box5()
{
    if (ObjectFind("market_hours_box_vertx4") == -1)
    {
        ObjectCreate("market_hours_box_vertx4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx4", OBJPROP_XDISTANCE, 171 + Shift_X);
    ObjectSet("market_hours_box_vertx4", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx24") == -1)
    {
        ObjectCreate("market_hours_box_vertx24", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx24", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx24", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx24", OBJPROP_XDISTANCE, 186 + Shift_X);
    ObjectSet("market_hours_box_vertx24", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx24", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx34") == -1)
    {
        ObjectCreate("market_hours_box_vertx34", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx34", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx34", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx34", OBJPROP_XDISTANCE, 201 + Shift_X);
    ObjectSet("market_hours_box_vertx34", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx34", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx44") == -1)
    {
        ObjectCreate("market_hours_box_vertx44", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx44", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx44", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx44", OBJPROP_XDISTANCE, 216 + Shift_X);
    ObjectSet("market_hours_box_vertx44", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx44", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx54") == -1)
    {
        ObjectCreate("market_hours_box_vertx54", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx54", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx54", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx54", OBJPROP_XDISTANCE, 231 + Shift_X);
    ObjectSet("market_hours_box_vertx54", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx54", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx64") == -1)
    {
        ObjectCreate("market_hours_box_vertx64", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx64", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx64", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx64", OBJPROP_XDISTANCE, 246 + Shift_X);
    ObjectSet("market_hours_box_vertx64", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx64", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertx74") == -1)
    {
        ObjectCreate("market_hours_box_vertx74", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertx74", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertx74", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertx74", OBJPROP_XDISTANCE, 261 + Shift_X);
    ObjectSet("market_hours_box_vertx74", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertx74", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty4") == -1)
    {
        ObjectCreate("market_hours_box_verty4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty4", OBJPROP_XDISTANCE, 276 + Shift_X);
    ObjectSet("market_hours_box_verty4", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty24") == -1)
    {
        ObjectCreate("market_hours_box_verty24", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty24", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty24", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty24", OBJPROP_XDISTANCE, 291 + Shift_X);
    ObjectSet("market_hours_box_verty24", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty24", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty34") == -1)
    {
        ObjectCreate("market_hours_box_verty34", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty34", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty34", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty34", OBJPROP_XDISTANCE, 307 + Shift_X);
    ObjectSet("market_hours_box_verty34", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty34", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty44") == -1)
    {
        ObjectCreate("market_hours_box_verty44", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty44", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty44", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty44", OBJPROP_XDISTANCE, 322 + Shift_X);
    ObjectSet("market_hours_box_verty44", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty44", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty54") == -1)
    {
        ObjectCreate("market_hours_box_verty54", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty54", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty54", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty54", OBJPROP_XDISTANCE, 337 + Shift_X);
    ObjectSet("market_hours_box_verty54", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty54", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty64") == -1)
    {
        ObjectCreate("market_hours_box_verty64", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty64", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty64", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty64", OBJPROP_XDISTANCE, 350 + Shift_X);
    ObjectSet("market_hours_box_verty64", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty64", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_verty74") == -1)
    {
        ObjectCreate("market_hours_box_verty74", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_verty74", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_verty74", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_verty74", OBJPROP_XDISTANCE, 367 + Shift_X - 4);
    ObjectSet("market_hours_box_verty74", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_verty74", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz4") == -1)
    {
        ObjectCreate("market_hours_box_vertz4", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz4", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz4", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz4", OBJPROP_XDISTANCE, 382 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz4", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz4", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz24") == -1)
    {
        ObjectCreate("market_hours_box_vertz24", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz24", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz24", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz24", OBJPROP_XDISTANCE, 397 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz24", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz24", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz34") == -1)
    {
        ObjectCreate("market_hours_box_vertz34", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz34", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz34", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz34", OBJPROP_XDISTANCE, 412 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz34", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz34", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz44") == -1)
    {
        ObjectCreate("market_hours_box_vertz44", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz44", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz44", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz44", OBJPROP_XDISTANCE, 427 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz44", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz44", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz54") == -1)
    {
        ObjectCreate("market_hours_box_vertz54", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz54", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz54", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz54", OBJPROP_XDISTANCE, 442 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz54", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz54", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz64") == -1)
    {
        ObjectCreate("market_hours_box_vertz64", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz64", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz64", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz64", OBJPROP_XDISTANCE, 457 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz64", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz64", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz74") == -1)
    {
        ObjectCreate("market_hours_box_vertz74", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz74", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz74", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz74", OBJPROP_XDISTANCE, 472 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz74", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz74", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz7422") == -1)
    {
        ObjectCreate("market_hours_box_vertz7422", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz7422", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz7422", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz7422", OBJPROP_XDISTANCE, 472 + Shift_X - 4);
    ObjectSet("market_hours_box_vertz7422", OBJPROP_YDISTANCE, 279 + Shift_Y);
    ObjectSetText("market_hours_box_vertz7422", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz741") == -1)
    {
        ObjectCreate("market_hours_box_vertz741", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz741", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz741", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz741", OBJPROP_XDISTANCE, 487 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz741", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz741", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz742") == -1)
    {
        ObjectCreate("market_hours_box_vertz742", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz742", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz742", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz742", OBJPROP_XDISTANCE, 502 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz742", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz742", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz743") == -1)
    {
        ObjectCreate("market_hours_box_vertz743", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz743", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz743", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz743", OBJPROP_XDISTANCE, 517 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz743", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz743", "|", 8, "Times New Roman", DarkGray);

    if (ObjectFind("market_hours_box_vertz744") == -1)
    {
        ObjectCreate("market_hours_box_vertz744", OBJ_LABEL, companion, 0, 0);
        ObjectSet("market_hours_box_vertz744", OBJPROP_BACK, 0);
        ObjectSet("market_hours_box_vertz744", OBJPROP_CORNER, InpCorner);
    }
    ObjectSet("market_hours_box_vertz744", OBJPROP_XDISTANCE, 532 + Shift_X - 3);
    ObjectSet("market_hours_box_vertz744", OBJPROP_YDISTANCE, 279 + Shift_Y - 9);
    ObjectSetText("market_hours_box_vertz744", "|", 8, "Times New Roman", DarkGray);
}
//

void objectdelete()
{
    ObjectDelete("session_companion");
    ObjectDelete("time2");
    ObjectDelete("session_time_current");
    ObjectDelete("session_time_current2");
    ObjectDelete("session_time_london_0");
    ObjectDelete("session_time_ny");
    ObjectDelete("session_time_sydney");
    ObjectDelete("session_time_tokyo");
    ObjectDelete("session_time_tokyo2_1");
    ObjectDelete("session_time_tokyo2_2");
    ObjectDelete("session_time_tokyo2_3");
    ObjectDelete("session_time_tokyo2_4");
    ObjectDelete("session_time_tokyo2_5");
    ObjectDelete("session_time_tokyo2_6");
    ObjectDelete("session_time_tokyo2_7");
    ObjectDelete("session_time_london_1");
    ObjectDelete("session_time_london_2");
    ObjectDelete("session_time_london_3");
    ObjectDelete("session_time_london_4");
    ObjectDelete("session_time_london_5");
    ObjectDelete("session_time_london_6");
    ObjectDelete("session_time_london_7");
    ObjectDelete("session_time_ny_1");
    ObjectDelete("session_time_ny_2");
    ObjectDelete("session_time_ny_3");
    ObjectDelete("session_time_ny_4");
    ObjectDelete("session_time_ny_5");
    ObjectDelete("session_time_ny_6");
    ObjectDelete("session_time_ny_7");
    ObjectDelete("session_time_sydney_1");
    ObjectDelete("session_time_sydney_2");
    ObjectDelete("session_time_sydney_3");
    ObjectDelete("session_time_sydney_4");
    ObjectDelete("session_time_sydney_5");
    ObjectDelete("session_time_sydney_6");
    ObjectDelete("session_time_sydney_7");
    ObjectDelete("ssession_time_sydney_1");
    ObjectDelete("ssession_time_sydney_2");
    ObjectDelete("ssession_time_sydney_3");
    ObjectDelete("ssession_time_sydney_4");
    ObjectDelete("ssession_time_sydney_5");
    ObjectDelete("ssession_time_sydney_6");
    ObjectDelete("ssession_time_sydney_7");
    ObjectDelete("session_time_hour_0");
    ObjectDelete("session_time_hour_1");
    ObjectDelete("session_time_hour_2");
    ObjectDelete("session_time_hour_3");
    ObjectDelete("session_time_hour_4");
    ObjectDelete("session_time_hour_5");
    ObjectDelete("session_time_hour_6");
    ObjectDelete("session_time_hour_7");
    ObjectDelete("session_time_hour_8");
    ObjectDelete("session_time_hour_9");
    ObjectDelete("session_time_hour_10");
    ObjectDelete("session_time_hour_11");
    ObjectDelete("session_time_hour_12");
    ObjectDelete("session_time_hour_13");
    ObjectDelete("session_time_hour_14");
    ObjectDelete("session_time_hour_15");
    ObjectDelete("session_time_hour_16");
    ObjectDelete("session_time_hour_17");
    ObjectDelete("session_time_hour_18");
    ObjectDelete("session_time_hour_19");
    ObjectDelete("session_time_hour_20");
    ObjectDelete("session_time_hour_21");
    ObjectDelete("session_time_hour_22");
    ObjectDelete("session_time_hour_23");
    ObjectDelete("market_hours_box_top");
    ObjectDelete("market_hours_box_top2");
    ObjectDelete("market_hours_box_bottom");
    ObjectDelete("market_hours_box_bottom2");
    ObjectDelete("market_hours_box_level");
    ObjectDelete("market_hours_box_levelb");
    ObjectDelete("market_hours_box_level2");
    ObjectDelete("market_hours_box_level2b");
    ObjectDelete("market_hours_box_level3");
    ObjectDelete("market_hours_box_level3b");
    ObjectDelete("market_hours_box_left");
    ObjectDelete("market_hours_box_left2");
    ObjectDelete("market_hours_box_left3");
    ObjectDelete("market_hours_box_left4");
    ObjectDelete("market_hours_box_left5");
    ObjectDelete("market_hours_box_left6");
    ObjectDelete("market_hours_box_left7");
    ObjectDelete("market_hours_box_right");
    ObjectDelete("market_hours_box_right2");
    ObjectDelete("market_hours_box_right3");
    ObjectDelete("market_hours_box_right4");
    ObjectDelete("market_hours_box_right5");
    ObjectDelete("market_hours_box_right6");
    ObjectDelete("market_hours_box_right7");
    ObjectDelete("market_hours_box_vert");
    ObjectDelete("market_hours_box_vert2");
    ObjectDelete("market_hours_box_vert3");
    ObjectDelete("market_hours_box_vert4");
    ObjectDelete("market_hours_box_vert5");
    ObjectDelete("market_hours_box_vert6");
    ObjectDelete("market_hours_box_vert7");
    ObjectDelete("market_hours_box_vertb");
    ObjectDelete("market_hours_box_vertb2");
    ObjectDelete("market_hours_box_vertb3");
    ObjectDelete("market_hours_box_vertb4");
    ObjectDelete("market_hours_box_vertb5");
    ObjectDelete("market_hours_box_vertb6");
    ObjectDelete("market_hours_box_vertb7");
    ObjectDelete("market_hours_box_vertc");
    ObjectDelete("market_hours_box_vertc2");
    ObjectDelete("market_hours_box_vertc3");
    ObjectDelete("market_hours_box_vertc4");
    ObjectDelete("market_hours_box_vertc5");
    ObjectDelete("market_hours_box_vertc6");
    ObjectDelete("market_hours_box_vertc7");
    ObjectDelete("market_hours_box_vertd");
    ObjectDelete("market_hours_box_vertd2");
    ObjectDelete("market_hours_box_vertd3");
    ObjectDelete("market_hours_box_vertd4");
    ObjectDelete("market_hours_box_vertd5");
    ObjectDelete("market_hours_box_vertd6");
    ObjectDelete("market_hours_box_vertd7");
    ObjectDelete("market_hours_box_verte");
    ObjectDelete("market_hours_box_verte2");
    ObjectDelete("market_hours_box_verte3");
    ObjectDelete("market_hours_box_verte4");
    ObjectDelete("market_hours_box_verte5");
    ObjectDelete("market_hours_box_verte6");
    ObjectDelete("market_hours_box_verte7");
    ObjectDelete("market_hours_box_vertf");
    ObjectDelete("market_hours_box_vertf2");
    ObjectDelete("market_hours_box_vertf3");
    ObjectDelete("market_hours_box_vertf4");
    ObjectDelete("market_hours_box_vertf5");
    ObjectDelete("market_hours_box_vertf6");
    ObjectDelete("market_hours_box_vertf7");
    ObjectDelete("market_hours_box_vertg");
    ObjectDelete("market_hours_box_vertg2");
    ObjectDelete("market_hours_box_vertg3");
    ObjectDelete("market_hours_box_vertg4");
    ObjectDelete("market_hours_box_vertg5");
    ObjectDelete("market_hours_box_vertg6");
    ObjectDelete("market_hours_box_vertg7");
    ObjectDelete("market_hours_box_verth");
    ObjectDelete("market_hours_box_verth2");
    ObjectDelete("market_hours_box_verth3");
    ObjectDelete("market_hours_box_verth4");
    ObjectDelete("market_hours_box_verth5");
    ObjectDelete("market_hours_box_verth6");
    ObjectDelete("market_hours_box_verth7");
    ObjectDelete("market_hours_box_verti");
    ObjectDelete("market_hours_box_verti2");
    ObjectDelete("market_hours_box_verti3");
    ObjectDelete("market_hours_box_verti4");
    ObjectDelete("market_hours_box_verti5");
    ObjectDelete("market_hours_box_verti6");
    ObjectDelete("market_hours_box_verti7");
    ObjectDelete("market_hours_box_vertj");
    ObjectDelete("market_hours_box_vertj2");
    ObjectDelete("market_hours_box_vertj3");
    ObjectDelete("market_hours_box_vertj4");
    ObjectDelete("market_hours_box_vertj5");
    ObjectDelete("market_hours_box_vertj6");
    ObjectDelete("market_hours_box_vertj7");
    ObjectDelete("market_hours_box_vertk");
    ObjectDelete("market_hours_box_vertk2");
    ObjectDelete("market_hours_box_vertk3");
    ObjectDelete("market_hours_box_vertk4");
    ObjectDelete("market_hours_box_vertk5");
    ObjectDelete("market_hours_box_vertk6");
    ObjectDelete("market_hours_box_vertk7");
    ObjectDelete("market_hours_box_vertl");
    ObjectDelete("market_hours_box_vertl2");
    ObjectDelete("market_hours_box_vertl3");
    ObjectDelete("market_hours_box_vertl4");
    ObjectDelete("market_hours_box_vertl5");
    ObjectDelete("market_hours_box_vertl6");
    ObjectDelete("market_hours_box_vertl7");
    ObjectDelete("market_hours_box_vertm");
    ObjectDelete("market_hours_box_vertm2");
    ObjectDelete("market_hours_box_vertm3");
    ObjectDelete("market_hours_box_vertm4");
    ObjectDelete("market_hours_box_vertm5");
    ObjectDelete("market_hours_box_vertm6");
    ObjectDelete("market_hours_box_vertm7");
    ObjectDelete("market_hours_box_vertn");
    ObjectDelete("market_hours_box_vertn2");
    ObjectDelete("market_hours_box_vertn3");
    ObjectDelete("market_hours_box_vertn4");
    ObjectDelete("market_hours_box_vertn5");
    ObjectDelete("market_hours_box_vertn6");
    ObjectDelete("market_hours_box_vertn7");
    ObjectDelete("market_hours_box_verto");
    ObjectDelete("market_hours_box_verto2");
    ObjectDelete("market_hours_box_verto3");
    ObjectDelete("market_hours_box_verto4");
    ObjectDelete("market_hours_box_verto5");
    ObjectDelete("market_hours_box_verto6");
    ObjectDelete("market_hours_box_verto6");
    ObjectDelete("market_hours_box_verto7");
    ObjectDelete("market_hours_box_vertp");
    ObjectDelete("market_hours_box_vertp2");
    ObjectDelete("market_hours_box_vertp3");
    ObjectDelete("market_hours_box_vertp4");
    ObjectDelete("market_hours_box_vertp5");
    ObjectDelete("market_hours_box_vertp6");
    ObjectDelete("market_hours_box_vertp7");
    ObjectDelete("market_hours_box_vertq");
    ObjectDelete("market_hours_box_vertq2");
    ObjectDelete("market_hours_box_vertq3");
    ObjectDelete("market_hours_box_vertq4");
    ObjectDelete("market_hours_box_vertq5");
    ObjectDelete("market_hours_box_vertq6");
    ObjectDelete("market_hours_box_vertq7");
    ObjectDelete("market_hours_box_vertu");
    ObjectDelete("market_hours_box_vertu2");
    ObjectDelete("market_hours_box_vertu3");
    ObjectDelete("market_hours_box_vertu4");
    ObjectDelete("market_hours_box_vertu5");
    ObjectDelete("market_hours_box_vertu6");
    ObjectDelete("market_hours_box_vertu7");
    ObjectDelete("market_hours_box_vertv");
    ObjectDelete("market_hours_box_vertv2");
    ObjectDelete("market_hours_box_vertv3");
    ObjectDelete("market_hours_box_vertv4");
    ObjectDelete("market_hours_box_vertv5");
    ObjectDelete("market_hours_box_vertv6");
    ObjectDelete("market_hours_box_vertv7");
    ObjectDelete("market_hours_box_vertw");
    ObjectDelete("market_hours_box_vertw2");
    ObjectDelete("market_hours_box_vertw3");
    ObjectDelete("market_hours_box_vertw4");
    ObjectDelete("market_hours_box_vertw5");
    ObjectDelete("market_hours_box_vertw6");
    ObjectDelete("market_hours_box_vertw7");
    ObjectDelete("market_hours_box_vertx");
    ObjectDelete("market_hours_box_vertx2");
    ObjectDelete("market_hours_box_vertx3");
    ObjectDelete("market_hours_box_vertx4");
    ObjectDelete("market_hours_box_vertx5");
    ObjectDelete("market_hours_box_vertx6");
    ObjectDelete("market_hours_box_vertx7");
    ObjectDelete("market_hours_box_verty");
    ObjectDelete("market_hours_box_verty2");
    ObjectDelete("market_hours_box_verty3");
    ObjectDelete("market_hours_box_verty4");
    ObjectDelete("market_hours_box_verty5");
    ObjectDelete("market_hours_box_verty6");
    ObjectDelete("market_hours_box_verty7");
    ObjectDelete("market_hours_box_vertz");
    ObjectDelete("market_hours_box_vertz2");
    ObjectDelete("market_hours_box_vertz3");
    ObjectDelete("market_hours_box_vertz4");
    ObjectDelete("market_hours_box_vertz5");
    ObjectDelete("market_hours_box_vertz6");
    ObjectDelete("market_hours_box_vertz7");


    ObjectDelete("market_hours_box_vertx4");
    ObjectDelete("market_hours_box_vertx24");
    ObjectDelete("market_hours_box_vertx34");
    ObjectDelete("market_hours_box_vertx44");
    ObjectDelete("market_hours_box_vertx54");
    ObjectDelete("market_hours_box_vertx64");
    ObjectDelete("market_hours_box_vertx74");
    ObjectDelete("market_hours_box_verty4");
    ObjectDelete("market_hours_box_verty24");
    ObjectDelete("market_hours_box_verty34");
    ObjectDelete("market_hours_box_verty44");
    ObjectDelete("market_hours_box_verty54");
    ObjectDelete("market_hours_box_verty64");
    ObjectDelete("market_hours_box_verty74");
    ObjectDelete("market_hours_box_vertz4");
    ObjectDelete("market_hours_box_vertz24");
    ObjectDelete("market_hours_box_vertz34");
    ObjectDelete("market_hours_box_vertz44");
    ObjectDelete("market_hours_box_vertz54");
    ObjectDelete("market_hours_box_vertz64");
    ObjectDelete("market_hours_box_vertz74");
    ObjectDelete("market_hours_box_vertz741");
    ObjectDelete("market_hours_box_vertz742");
    ObjectDelete("market_hours_box_vertz743");
    ObjectDelete("market_hours_box_vertz744");


    ObjectDelete("market_hours_box_vertx41");
    ObjectDelete("market_hours_box_vertx241");
    ObjectDelete("market_hours_box_vertx341");
    ObjectDelete("market_hours_box_vertx441");
    ObjectDelete("market_hours_box_vertx541");
    ObjectDelete("market_hours_box_vertx641");
    ObjectDelete("market_hours_box_vertx741");
    ObjectDelete("market_hours_box_verty41");
    ObjectDelete("market_hours_box_verty241");
    ObjectDelete("market_hours_box_verty341");
    ObjectDelete("market_hours_box_verty441");
    ObjectDelete("market_hours_box_verty541");
    ObjectDelete("market_hours_box_verty641");
    ObjectDelete("market_hours_box_verty741");
    ObjectDelete("market_hours_box_vertz41");
    ObjectDelete("market_hours_box_vertz241");
    ObjectDelete("market_hours_box_vertz341");
    ObjectDelete("market_hours_box_vertz441");
    ObjectDelete("market_hours_box_vertz541");
    ObjectDelete("market_hours_box_vertz641");
    ObjectDelete("market_hours_box_vertz741");
    ObjectDelete("market_hours_box_vertz7411");
    ObjectDelete("market_hours_box_vertz7421");
    ObjectDelete("market_hours_box_vertz7431");
    ObjectDelete("market_hours_box_vertz7441");
    ObjectDelete("market_hours_box_vertz7422");

    ObjectDelete("session_time_frankfurt");
    ObjectDelete("session_time_frankfurt2_1");
    ObjectDelete("session_time_frankfurt2_2");
    ObjectDelete("session_time_frankfurt2_3");
    ObjectDelete("session_time_frankfurt2_4");
    ObjectDelete("session_time_frankfurt2_5");
    ObjectDelete("session_time_frankfurt2_6");
    ObjectDelete("session_time_frankfurt2_7");

    ObjectDelete("session_time_tokyo3_1");
    ObjectDelete("session_time_tokyo3_2");
    ObjectDelete("session_time_tokyo3_3");
    ObjectDelete("session_time_sydney_4");
    ObjectDelete("session_time_tokyo3_5");
    ObjectDelete("session_time_sydney_6");
    ObjectDelete("session_time_tokyo3_7");

    ObjectDelete("market_hours_box_bottom3");
    ObjectDelete("session_time_tokyo3_6");
    ObjectDelete("session_time_tokyo3_4");
    ObjectDelete("market_hours_box_bottom3a");
}
double TimeZoneLocal()
{
    int lia_0[43];
    switch (GetTimeZoneInformation(lia_0))
    {
    case 0:
        Print("Error obtaining PC timezone from GetTimeZoneInformation in kernel32.dll. Returning 0");
        return(0);
    case 1:
        return(lia_0[0] / (-60.0));
    case 2:
        return((lia_0[0] + lia_0[42]) / (-60.0));
    }
    Print("Unkown return value from GetTimeZoneInformation in kernel32.dll. Returning 0");
    return(0);
}

double TimeZoneServer()
{
    int li_0 = (TimeCurrent() - TimeLocal()) / 60;
    int li_4 = MathRound(li_0 / 30.0);
    li_0 = 30 * li_4;
    return(TimeZoneLocal() + li_0 / 60.0);
}

int timeGMT()
{
   // TimeGMT();
    
    int TL = TimeLocal() - 3600.0 * TimeZoneLocal();
    int TC = TimeCurrent() - 3600.0 * TimeZoneServer();
    if (TL > TC + 300)
        return(TL);
    else
        return(TC);
}
/////////////////

