<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>M|System Solutions - BBM</title>
<link rel="shortcut icon" type="image/x-icon" href="marvz-ico.ico">
<link rel="stylesheet" href="styles.css">
    <style>
        #background {
            position: absolute;
            top: 0;
            left: 0;
            height: 100vh;
            width: 100vw;
            z-index: 1;
        }
        #content {
            position: relative;
            z-index: 2;
            padding: 10px;
        }

    </style>

</head>
<body>
    <div id="background"></div>
    <div id="snow" data-count="200" style="display:none;"></div>
<div class="tabs-container" id="tabs-container">
    <div class="tab" onclick="openFrame(0)" oncontextmenu="refreshSpecificFrame('frame1', event)" title="[Bahamas] Right-click to refresh this tab.">Bahamas</div>
    <div class="tab" onclick="openFrame(1)" oncontextmenu="refreshSpecificFrame('frame2', event)" title="[Boracay] Right-click to refresh this tab.">Boracay</div>
    <div class="tab" onclick="openFrame(2)" oncontextmenu="refreshSpecificFrame('frame3', event)" title="[Maldives] Right-click to refresh this tab.">Maldives</div>
    <div class="tab" onclick="openFrame(3)" oncontextmenu="refreshSpecificFrame('frame4', event)" title="[Revisions] Right-click to refresh this tab.">Revisions</div>
    <div class="tab" onclick="openFrame(4)" oncontextmenu="refreshSpecificFrame('frame5', event)" title="[All Pendings] Right-click to refresh this tab.">All Pendings</div>
    <div class="tab active" onclick="openFrame(5)" oncontextmenu="refreshSpecificFrame('frame6', event)" title="[All Bookings] Right-click to refresh this tab.">All Bookings</div>
   <div class="tabs-container1" id="tabs-container1">
        <div class="tab1 active" onclick="openRightFrame(0)" title="[Sheet] If sheets are blank, press [f11].">Sheet</div>
        <div class="tab1" onclick="openRightFrame(1)" title="[Tools] Contains spiels and calculators.">Tools</div>
        <div class="tab1" onclick="openRightFrame(2)" title="[About]">About</div>
    </div>
</div>
<div class="buttoncontainer" id="buttoncontainer">
    <button class="button active" id="bbmlogo-page" oncontextmenu="refreshFrameLeft(event)" title="Right-click to refresh all tabs."><font size="3px">❖</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BBM Approver</button>
    <button class="button" id="mmplogo" onclick="goToMMP()" oncontextmenu="refreshFrameLeft(event)" title="Right-click to refresh all tabs."><font size="4.5px">◇</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MMP</button>
    <button class="button" id="rsslogo" onclick="goToRSS()" oncontextmenu="refreshFrameLeft(event)" title="Right-click to refresh all tabs."><font size="4.5px">◇</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RSS</button>
    <button class="button" id="breakButton" onclick="toggleFramesVisibility(event)" oncontextmenu="return false;"><font size="3px">⛾</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Breaktime</button>
</div>
  <div class="frame-container">
    <div class="frame-left" id="frame-left">
      <iframe id="frame1" src="https://azuresouth-pms.com/pmo/bookings?unit=bah&status=pending" style=" width: 100%; height: 100%;"></iframe>
      <iframe id="frame2" src="https://azuresouth-pms.com/pmo/bookings?unit=bor&status=pending" style=" width: 100%; height: 100%;"></iframe>
      <iframe id="frame3" src="https://azuresouth-pms.com/pmo/bookings?unit=mal&status=pending" style=" width: 100%; height: 100%;"></iframe>
      <iframe id="frame4" src="https://azuresouth-pms.com/pmo/revisions?status=pending" style=" width: 100%; height: 100%;"></iframe>
      <iframe id="frame5" src="https://azuresouth-pms.com/pmo/bookings?status=pending" style=" width: 100%; height: 100%;"></iframe>
      <iframe id="frame6" src="https://azuresouth-pms.com/pmo/bookings" style=" width: 100%; height: 100%;" class="active"></iframe>
    </div>
    <div class="frame-right" id="frame-right">
 <! –––––––––––––––––––––––– Sheets ––––––––––––––––––––––>
    <div id="right-frame1" style="height: 100%;">
            <iframe src="https://docs.google.com/spreadsheets/d/1-9nC2KTREuBZqxRJlw6fQNHPS7vyqdNG2J5_bheuuj4/edit?usp=sharing?widget=true&amp;rm=minimal&headers=false;" style="transform: scale(1);transform-origin: 0 0; width: 100%; height: 50%;"class="active"></iframe>
            <iframe src="https://docs.google.com/spreadsheets/d/1KqD8O0eizDSqKeEWJJyh8haJhAAZBKEG/edit?usp=sharing?widget=true&amp;rm=minimal&headers=false;" style="transform: scale(1);transform-origin: 0 0; width: 100%; height: 50%;"class="active"></iframe>
    </div>
 <! –––––––––––––––––––––––– Tools ––––––––––––––––––––––>

<iframe id="right-frame2" src="tools.htm"  frameborder="0" style="width:100%; height:100%;"></iframe>


 <! –––––––––––––––––––––––– About ––––––––––––––––––––>
            <iframe id="right-frame3" src="about.htm" frameborder="0" style="width:100%; height:100%;"></iframe>
        </div>
    </div>
</div>


</div>
</div>
<div id="date-time" oncontextmenu="toggleFramesVisibility(event)" title="If the time stops working. It might be the end of something. Use your time wisely.">Loading...</div>
    <div id="calendar">
        <div id="calendar-header">
            <button id="prev-month">◄</button>
            <span id="month-year"></span>
            <button id="next-month">►</button>
        </div>
        <div id="calendar-body"></div>
    </div>
    <div id="breakModal" class="modal">
        <div class="modal-content">
            <div>
                <img id="breakImage" src="buttons/breaktime.png" alt="Break Time">
                <div id="timer">00:00:00</div>
                <div id="currentTime" style="display: none;"></div>
            <button class="button" id="closeButton" onclick="toggleFramesVisibility(event)">Close</button>
            </div>
        </div>
            <div class="right-content">
                <div id="timeLog"></div>
            </div>
    </div>
<script>
window['CboxReady'] = function (Cbox) {
	Cbox('button', '3-3539717-3GXXWb');
}
</script>
<script src="2.js" async></script>
   <script src="backgroundLoader.js"></script>
   <script src="overlayLoader.js"></script>
   <script src="script.js"></script>
   <script src="datetime.js"></script>
   <script src="tabopener.js"></script>
   <script src="breaktime.js"></script>


</body>
</html>
