<?php
/*********************/
/*                   */
/*  Version : 5.1.0  */
/*  Author  : RM     */
/*  Comment : 071223 */
/*                   */
/*********************/

session_start( );
require( "modules/configuracoes.php" );
require( "modules/check.class.php" );
require( "modules/sql.class.php" );
require( "modules/login.class.php" );
$login = new loginclass( );
$check = new checkclass( );
$sql = new sqlclass( );
$sql->connect( );
echo "         <HTML dir=\"LTR\">\r\n         <HEAD>\r\n         <TITLE>";
echo $config['titulo'];
echo "</TITLE>\r\n         <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n         <!-- ModernBill .:. Client Billing System .:. Version 4.2.1:B-2:PR:Z:35 -->\r\n         <!-- Copyright  2001-2007 .:. All Rights Reserved. -->\r\n         <link rel=\"stylesheet\" href=\"modules/css/style.css\" type=\"text/css\">\r\n         \r\n         ";
if ( $login->checksession( "loginpanel", 2 ) == 1 )
{
    $sumit = $_POST['specbut1'];
    if ( $sumit )
    {
        $conta = $_POST['login'];
        $senha = $_POST['senha'];
        $check->checacampobranco( $conta, "Login" );
        $check->checacampobranco( $senha, "Senha" );
        $sql->verificalogin( $conta, 1 );
        $sql->verificasenha( $conta, $senha );
        $sql->verificaadm( $conta, 1 );
        $login->insertsession( "loginpanel", $conta );
    }
    echo "                  \r\n         <body bgcolor=\"#4F5143\" text=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n         <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n          <tr>\r\n           <td background=\"images/hdr01_login.gif\" height=\"141\" colspan=\"2\">&nbsp;</td>\r\n          </tr>\r\n          <tr>\r\n           <td background=\"images/bg0.gif\" height=\"23\" colspan=\"2\">\r\n               <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"\">\r\n                <tr>\r\n                 <td class=\"nrm02\"><img src=\"images/bullet021.gif\" width=\"10\" height=\"15\" hspace=\"3\" align=\"left\"><b><font color=\"#005B90\">Login</font></b></td>\r\n                 <td align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\" hspace=\"7\"></td>\r\n                </tr>\r\n               </table>\r\n           </td>\r\n          </tr>\r\n          <tr align=\"center\" bgcolor=\"#CCCCCC\">\r\n           <td colspan=\"2\" class=\"nrm02\"> <br>\r\n               <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                <tr>\r\n                 <td align=\"center\">\r\n                     <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"190\">\r\n                     <form name=\"form2\" method=\"post\" action=\"\">\r\n                     <tr>\r\n                      <td class=\"sml04\" align=\"right\" width=\"71\"><b><font color=\"#666666\">Login:&nbsp;</font></b></td>\r\n                      <td valign=\"top\" class=\"sml02\" width=\"119\"><input type=\"text\" name=\"login\" maxlength=\"10\" style=\"width:80px\" size=\"10\" class=\"sml02\"></td>\r\n                     </tr>\r\n                     <tr>\r\n                      <td class=\"sml02\" align=\"right\" colspan=\"2\"><img src=\"images/spacer.gif\" width=\"1\" height=\"8\"></td>\r\n                     </tr>\r\n                     <tr>\r\n                      <td class=\"sml04\" align=\"right\" width=\"71\"><b><font color=\"#666666\">Senha:&nbsp;</font></b></td>\r\n                      <td valign=\"top\" class=\"sml02\" width=\"119\"><input type=\"senha\" name=\"senha\" size=\"10\" maxlength=\"10\" style=\"width:80px\" class=\"sml02\"></td>\r\n                     </tr>\r\n                     <tr>\r\n                      <td class=\"sml02\" align=\"right\" colspan=\"2\"><img src=\"images/spacer.gif\" width=\"1\" height=\"8\"></td>\r\n                     </tr>\r\n                     <tr>\r\n                      <td align=\"center\" height=\"40\">&nbsp; </td>\r\n                      <td height=\"40\"><script language=\"JavaScript\">\r\n                       <!--\r\n                       specbut1On = new Image();\r\n                       specbut1On.src = \"images/en/buttons/logino.gif\";\r\n\r\n                       specbut1Off = new Image();\r\n                       specbut1Off.src = \"images/en/buttons/login.gif\";\r\n                       //-->\r\n                      </script>\r\n                      <input type=\"image\" src=\"images/en/buttons/login.gif\" name=\"specbut1\" value=\"specbut1\">\r\n                      </td>\r\n\r\n                     </tr>\r\n                     </form>\r\n                     </table>\r\n                </td>\r\n              </tr>\r\n            </table>\r\n       </td>\r\n     </tr>\r\n     <tr align=\"center\" bgcolor=\"#CCCCCC\">\r\n      <td colspan=\"2\" class=\"nrm02\">\r\n      <br><font color=\"#990000\">Bem vindo administrador ";
    echo $_SERVER['REMOTE_ADDR'];
    echo "<br>Por favor efetue o login.</font><br><br>\r\n      <a href=\"#\" target=\"reminder\" onClick='window.open(\"index.php?op=reminder\",\"reminder\",\"width=250,height=150,scrollbars=0,resizable=0\"); return false;'>Esqueceu a senha?</a>\r\n      <br>\r\n      <br>\r\n     </td>\r\n    </tr>\r\n    <tr>\r\n     <td background=\"images/btm01.gif\" height=\"30\" colspan=\"2\">&nbsp;</td>\r\n    </tr>\r\n   </table>\r\n   </body>\r\n   </html>\r\n         ";
}
else
{
    echo "         <style type=\"text/css\">\r\n             tbody.on  { display:table-row-group; }\r\n             tbody.off { display:none; }\r\n         </style>\r\n         <script type=\"text/JavaScript\">\r\n             function toggleTbody(id) {\r\n                 if (document.getElementById) {\r\n                     var tbod = document.getElementById(id);\r\n                     if (tbod && typeof tbod.className == 'string') {\r\n                         if (tbod.className == 'off') {\r\n                             tbod.className = 'on';\r\n                         } else {\r\n                             tbod.className = 'off';\r\n                         }\r\n                     }\r\n                 }\r\n                 return false;\r\n             }\r\n             function toggleTbodyOff(id) {\r\n                 if (document.getElementById) {\r\n                     var tbod = document.getElementById(id);\r\n                     if (tbod && typeof tbod.className == 'string') {\r\n                         if (tbod.className == 'off') {\r\n                             tbod.className = 'off';\r\n                         } else {\r\n                             tbod.className = 'off';\r\n                         }\r\n                     }\r\n                 }\r\n                 return false;\r\n             }\r\n             function toggleTbodyOn(id) {\r\n                 if (document.getElementById) {\r\n                     var tbod = document.getElementById(id);\r\n                     if (tbod && typeof tbod.className == 'string') {\r\n                         if (tbod.className == 'off') {\r\n                             tbod.className = 'on';\r\n                         } else {\r\n                             tbod.className = 'on';\r\n                         }\r\n                     }\r\n                 }\r\n                 return false;\r\n             }\r\n         </script>\r\n\r\n         <script language=\"JavaScript\">\r\n         <!--\r\n         if (navigator.appName && navigator.appName.indexOf(\"Netscape\")>=0) {\r\n             document.write('<link rel=\"stylesheet\" href=\"modules/css/menunav.css\" type=\"text/css\">')\r\n         } else {\r\n             document.write('<link rel=\"stylesheet\" href=\"modules/css/menu1.css\" type=\"text/css\">')\r\n         }\r\n\r\n         var submitted = false;\r\n         function submitCheck() {\r\n             if (submitted) {\r\n                 alert(\"You have already pressed the submit button. Please wait...\");\r\n                 return false;\r\n             } else {\r\n                 submitted = true;\r\n                 return true;\r\n             }\r\n         }\r\n\r\n         function OpenWindow(theURL,winName,features) {\r\n             window.open(theURL,winName,features);\r\n         }\r\n\r\n         function goFocus() {\r\n             document.login.username.focus();\r\n         }\r\n\r\n         function printWindow(){\r\n             bV = parseInt(navigator.appVersion)\r\n             if (bV >= 4) window.print()\r\n         }\r\n\r\n         var myHeight = 200;\r\n         var isResizable = true;\r\n         function createTarget(form) {\r\n             _target = form.target;\r\n             _colon = _target.indexOf(\":\");\r\n             if(_colon != -1) {\r\n                form.target = _target.substring(0,_colon);\r\n                form.args = _target.substring(_colon+1);\r\n             } else if(typeof(form.args)==\"undefined\") {\r\n                form.args = \"\";\r\n             }\r\n             if(form.args.indexOf(\"{\")!=-1) {\r\n                _args = form.args.split(\"{\");\r\n                form.args = _args[0];\r\n                for(var i = 1; i < _args.length;i++) {\r\n                    _args[i] = _args[i].split(\"}\");\r\n                    form.args += eval(_args[i][0]) + _args[i][1];\r\n                }\r\n             }\r\n             form.args = form.args.replace(/ /g,\"\");\r\n             _win = window.open('',form.target,form.args);\r\n             if(typeof(focus)==\"function\") {\r\n                _win.focus();\r\n             }\r\n             return true;\r\n         }\r\n\r\n         // -->\r\n         </SCRIPT>\r\n                  <SCRIPT language=\"JavaScript\" src=\"modules/js/coolmenus4.js\"></script>\r\n         <SCRIPT language=\"JavaScript\">\r\n         <!--\r\n         //hide me\r\n         if (document.images) {\r\n                      hdrbut010On = new Image();\r\n             hdrbut010On.src =  \"images/en/tabs/financeiroo.gif\";\r\n             hdrbut020On = new Image();\r\n             hdrbut020On.src =  \"images/en/tabs/siteo.gif\";\r\n             hdrbut030On = new Image();\r\n             hdrbut030On.src =  \"images/en/tabs/servidoro.gif\";\r\n             hdrbut040On = new Image();\r\n             hdrbut040On.src =  \"images/en/tabs/novidadeso.gif\";\r\n             hdrbut050On = new Image();\r\n             hdrbut050On.src =  \"images/en/tabs/opcoeso.gif\";\r\n\r\n             hdrbut010Off = new Image();\r\n             hdrbut010Off.src = \"images/en/tabs/financeiro.gif\";\r\n             hdrbut020Off = new Image();\r\n             hdrbut020Off.src = \"images/en/tabs/site.gif\";\r\n             hdrbut030Off = new Image();\r\n             hdrbut030Off.src = \"images/en/tabs/servidor.gif\";\r\n             hdrbut040Off = new Image();\r\n             hdrbut040Off.src = \"images/en/tabs/novidades.gif\";\r\n             hdrbut050Off = new Image();\r\n             hdrbut050Off.src = \"images/en/tabs/opcoes.gif\";\r\n         \r\n             hdrbut060On = new Image();\r\n             hdrbut060On.src =  \"images/en/buttons/myinfoo.gif\";\r\n             hdrbut070On = new Image();\r\n             hdrbut070On.src =  \"images/en/buttons/logouto.gif\";\r\n             hdrbut080On = new Image();\r\n             hdrbut080On.src =  \"images/en/buttons/homeo.gif\";\r\n             hdrbut090On = new Image();\r\n             hdrbut090On.src =  \"images/en/buttons/helpo.gif\";\r\n\r\n             hdrbut060Off = new Image();\r\n             hdrbut060Off.src = \"images/en/buttons/myinfo.gif\";\r\n             hdrbut070Off = new Image();\r\n             hdrbut070Off.src = \"images/en/buttons/logout.gif\";\r\n             hdrbut080Off = new Image();\r\n             hdrbut080Off.src = \"images/en/buttons/home.gif\";\r\n             hdrbut090Off = new Image();\r\n             hdrbut090Off.src = \"images/en/buttons/help.gif\";\r\n\r\n         }\r\n\r\n         function ShowHide(imgDocID,imgObjName) {\r\n                  if (document.images)\r\n                      document.images[imgDocID].src = eval(imgObjName + \".src\")\r\n         }\r\n         function MM_openBrWindow(theURL,winName,features) { //v2.0\r\n                  window.open(theURL,winName,features);\r\n         }\r\n\r\n         function MM_reloadPage(init) {  //reloads the window if Nav4 resized\r\n           if (init==true) with (navigator) {if ((appName==\"Netscape\")&&(parseInt(appVersion)==4)) {\r\n             document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}\r\n           else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();\r\n         }\r\n\r\n         MM_reloadPage(true);\r\n\r\n         if (document.images) {\r\n            specbut1On = new Image();\r\n            specbut1On.src = \"images/en/buttons/detailso.gif\";\r\n            specbut1Off = new Image();\r\n            specbut1Off.src = \"images/en/buttons/details.gif\";\r\n         }\r\n         //-->\r\n         </SCRIPT>\r\n\r\n                  <body  bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n\r\n                     <table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\" bgcolor=\"#4F5143\">\r\n            <tr><td valign=\"top\" height=\"100%\">\r\n                          <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"images/hdrbg.gif\">\r\n         <tr>\r\n          <td><!--\r\n\r\n        --><table width=\"778\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"120\" background=\"\">\r\n            <tr>\r\n             <td valign=\"top\" align=\"right\" height=\"11\" colspan=\"3\"><a href=\"user.php?op=menu&tile=dashboard\"\r\n             onMouseOver=ShowHide(\"hdrbut080\",\"hdrbut080On\");\r\n             onMouseOut=ShowHide(\"hdrbut080\",\"hdrbut080Off\");><img src=\"images/en/buttons/home.gif\" Array border=\"0\" name=\"hdrbut080\"></a><a\r\n             onclick=\"window.open('http://manual.modernbill.com/userhelp/english/User_Manual_v4.htm#','help_file','scrollbars=yes,location=no,menubar=no,status=no,titlebar=no,resizable,height=550px width=750px,left=1,top=1, copyhistory=yes');\" href=\"javascript:void(0);\"\r\n             onMouseOver=ShowHide(\"hdrbut090\",\"hdrbut090On\");\r\n             onMouseOut=ShowHide(\"hdrbut090\",\"hdrbut090Off\");><img src=\"images/en/buttons/help.gif\" Array border=\"0\" name=\"hdrbut090\"></a><img src=\"images/spacer.gif\" width=\"5\" height=\"1\"></td>\r\n            </tr>\r\n\r\n            <tr>\r\n             <td valign=\"top\" height=\"85\" width=\"242\" background=\"images/hdrfor01.gif\"><a href=\"index.php\"><img src=\"images/hdr01.gif\" width=\"242\" height=\"85\" border=\"0\"></a></td>\r\n             <td valign=\"top\" height=\"85\" width=\"448\"><nobr><!--\r\n\r\n                      --><img src=\"images/spacer.gif\" width=\"400\" height=\"8\"><br><!--\r\n                      --><a href=\"#\" onMouseOver=ShowHide(\"hdrbut010\",\"hdrbut010On\"); onMouseOut=ShowHide(\"hdrbut010\",\"hdrbut010Off\");><img src=\"images/en/tabs/financeiro.gif\" Array border=\"0\" name=\"hdrbut010\"></a><!--\r\n                      --><img src=\"images/spacer.gif\" width=\"11\" height=\"1\"><!--\r\n                      --><a href=\"#\" onMouseOver=ShowHide(\"hdrbut020\",\"hdrbut020On\"); onMouseOut=ShowHide(\"hdrbut020\",\"hdrbut020Off\");><img src=\"images/en/tabs/site.gif\" Array border=\"0\" name=\"hdrbut020\"></a><!--\r\n                      --><img src=\"images/spacer.gif\" width=\"11\" height=\"1\"><!--\r\n                      --><a href=\"#\"onMouseOver=ShowHide(\"hdrbut030\",\"hdrbut030On\"); onMouseOut=ShowHide(\"hdrbut030\",\"hdrbut030Off\");><img src=\"images/en/tabs/servidor.gif\" Array border=\"0\" name=\"hdrbut030\"></a><!--\r\n                      --><img src=\"images/spacer.gif\" width=\"11\" height=\"1\"><!--\r\n                      --><a href=\"#\" onMouseOver=ShowHide(\"hdrbut040\",\"hdrbut040On\"); onMouseOut=ShowHide(\"hdrbut040\",\"hdrbut040Off\");><img src=\"images/en/tabs/novidades.gif\" Array border=\"0\" name=\"hdrbut040\"></a><!--\r\n                      --><img src=\"images/spacer.gif\" width=\"11\" height=\"1\"><!--\r\n                      --><a href=\"#\" onMouseOver=ShowHide(\"hdrbut050\",\"hdrbut050On\"); onMouseOut=ShowHide(\"hdrbut050\",\"hdrbut050Off\");><img src=\"images/en/tabs/opcoes.gif\" Array border=\"0\" name=\"hdrbut050\"></a><!--\r\n                      --></nobr></td>\r\n             <td height=\"85\" width=\"88\"><!--\r\n                      --><a href=\"javascript:;\" onMouseOver=ShowHide(\"hdrbut060\",\"hdrbut060On\"); onMouseOut=ShowHide(\"hdrbut060\",\"hdrbut060Off\");><img src=\"images/en/buttons/myinfo.gif\" Array border=\"0\" name=\"hdrbut060\"></a><br><!--\r\n                      --><img src=\"images/spacer.gif\" width=\"40\" height=\"4\"><br><!--\r\n                      --><a href=\"index.php?page=logout\" onMouseOver=ShowHide(\"hdrbut070\",\"hdrbut070On\"); onMouseOut=ShowHide(\"hdrbut070\",\"hdrbut070Off\");><img src=\"images/en/buttons/logout.gif\" Array border=\"0\" name=\"hdrbut070\"></a></td>\r\n            </tr>\r\n\r\n            <tr>\r\n             <td valign=\"top\" height=\"24\" colspan=\"3\"><!--\r\n           --><table width=\"778\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"24\" background=\"\">\r\n               <tr>\r\n\r\n                <td width=\"510\" background=\"images/hdr12.gif\"><!--\r\n              --><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"24\" width=\"110\">\r\n                  <tr>\r\n                   <td background=\"images/hdr11.gif\" class=\"sml01\"><nobr>&nbsp;&nbsp;&nbsp;<b><font color=\"#005B90\">Logado como:</font> <font color=\"#FFFFFF\">";
    echo $login->checksession( "loginpanel", 1 );
    echo "</font></b></nobr></td>\r\n                  </tr>\r\n                 </table>\r\n                </td>\r\n\r\n                <td width=\"68\" class=\"sml01\"><img src=\"images/hdr13.gif\" width=\"54\" height=\"24\"></td>\r\n\r\n                <td width=\"200\" align=\"right\" class=\"sml01\" valign=\"top\"><font color=\"#FFFFFF\"><img src=\"images/spacer.gif\" width=\"100\" height=\"2\"><br></font>\r\n                 <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                  <tr>\r\n                   <td><img src=\"images/hdr14.gif\" width=\"12\" height=\"10\"></td>\r\n                   <td class=\"sml01\">\r\n                    <nobr>\r\n                    <font color=\"#FFFFFF\">&nbsp;<font color=\"#FFD658\"><b>Home</b></font>                                        &nbsp;&nbsp;\r\n                    </font>\r\n                    </nobr>\r\n                   </td>\r\n                  </tr>\r\n                 </table>\r\n                </td>\r\n\r\n               </tr>\r\n              </table>\r\n\r\n             </td>\r\n            </tr>\r\n           </table>\r\n\r\n          </td>\r\n         </tr>\r\n        </table>\r\n\t\t";
    include( "modules/pages/view.php" );
    echo "         </td>\r\n         </tr>\r\n         <tr>\r\n           <td valign=\"bottom\" bgcolor=\"#4F5143\">\r\n             <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"images/btm02.gif\" height=\"116\">\r\n              <tr>\r\n               <td valign=\"top\">\r\n                <table width=\"778\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"116\" background=\"images/btm01.gif\">\r\n                 <tr>\r\n                  <td valign=\"top\">\r\n\r\n                   <table width=\"778\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"116\" background=\"\">\r\n                    <tr valign=\"bottom\" align=\"right\">\r\n                     <td colspan=\"2\" height=\"62\">\r\n\r\n                      <table width=\"778\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                       <tr>\r\n                        <td width=\"145\" valign=\"bottom\">\r\n\r\n                                                   \r\n                                                </td>\r\n                        <td width=\"633\" align=\"right\" valign=\"bottom\">\r\n\r\n                         <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                          <tr>\r\n                           <td width=\"56\"><img src=\"images/btm04.gif\" width=\"56\" height=\"22\"></td>\r\n                           <td width=\"384\" background=\"images/btm07.gif\" class=\"nrm01\">\r\n                           <nobr>\r\n                            <font color=\"#4F5143\">\r\n                             <a href=\"javascript:;\" class=\"link01\">Financeiro</a> |\r\n                             <a href=\"javascript:;\" class=\"link01\">Site</a> |\r\n                             <a href=\"javascript:;\" class=\"link01\">Servidor</a> |\r\n                             <a href=\"index.php?page=novidades\" class=\"link01\">Novidades</a> |\r\n                             <a href=\"javascript:;\" class=\"link01\">+ Op&ccedil;&otilde;es</a> |\r\n                             <a href=\"index.php\" class=\"link01\">Home</a>                                                         </font>                            </nobr>                           </td>\r\n                          </tr>\r\n                         </table>\r\n\r\n                        </td>\r\n                       </tr>\r\n                      </table>\r\n\r\n                    </td>\r\n                   </tr>\r\n\r\n                   \r\n                   <tr>\r\n                     <td width=\"521\">\r\n                       <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                       <tr>\r\n                        <td>&nbsp;&nbsp;&nbsp;</td>\r\n                        <td>&nbsp;&nbsp;&nbsp;</td>\r\n                        <td>&nbsp;&nbsp;&nbsp;</td>\r\n                       </table>\r\n                     </td>\r\n                     <td width=\"261\" height=\"54\" class=\"nrm01\" align=\"center\" valign=\"bottom\">&nbsp;\r\n                        \r\n                                             </td>\r\n                    </tr>\r\n\r\n                    \r\n                   </table>\r\n\r\n                  </td>\r\n                 </tr>\r\n                </table>\r\n\r\n               </td>\r\n              </tr>\r\n             </table>\r\n            </td>\r\n           </tr>\r\n           </table>\r\n\r\n           <script language=\"JavaScript\">\r\n           <!--\r\n\t\t\t\t   var oM=new makeCM(\"oM\")\r\n\r\n\t\t\t\t   oM.pxBetween=0\r\n\t\t\t\t   oM.fromTop=19\r\n\t\t\t\t   oM.fromLeft=\r\n\t\t\t\t   oM.menuPlacement=[242,331,420,509,597]\r\n\t\t\t\t   oM.wait=200\r\n\t\t\t\t   oM.zIndex=10\r\n\t\t\t\t   oM.resizeCheck=1\r\n\t\t\t\t   oM.onlineRoot=\"\"\r\n\t\t\t\t   oM.offlineRoot=\"\"\r\n\t\t\t\t   oM.fillImg=\"images/spacer.gif\"\r\n\t\t\t\t   oM.rows=1\r\n\r\n                   //Background bar properties\r\n\t\t\t\t   oM.useBar=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0]=new cm_makeLevel()\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].regClass=\"clNormal\"\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].overClass=\"clHover\"\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].borderX=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].borderY=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].borderClass=\"clB\"\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].rows=1\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].align=\"bottom\"\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].offsetX=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].offsetY=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].arrow=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].arrowWidth=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[0].arrowHeight=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[1]=new cm_makeLevel()\t\t\t\t\t\r\n\t\t\t\t   oM.level[1].height=22\t\t\t\t\t\r\n\t\t\t\t   oM.level[1].borderX=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[1].borderY=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[1].offsetX=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[1].offsetY=0\t\t\t\t\t\r\n\t\t\t\t   oM.level[1].align=\"right\"\r\n\r\n\t\t\t\t  oM.makeMenu('top0','', '','','',78,55,'images/en/tabs/financeiro.gif','images/en/tabs/financeiroo.gif','','')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top0\",\"\",\"\",'',85,\"\",'images/en/2ndnav/lan.gif','images/en/2ndnav/lano.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top0\",\"\",\"index.php?page=pedido\",'',72,\"\",'images/en/2ndnav/pedidos.gif','images/en/2ndnav/pedidoso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top0\",\"\",\"index.php?page=shop\",'',57,\"\",'images/en/2ndnav/shop.gif','images/en/2ndnav/shopo.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top0\",\"\",\"index.php?page=golds\",'',60,\"\",'images/en/2ndnav/golds.gif','images/en/2ndnav/goldso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top0\",\"\",\"index.php?page=vips\",'',54,\"\",'images/en/2ndnav/vips.gif','images/en/2ndnav/vipso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top0\",\"\",\"\",'',81,\"\",'images/en/2ndnav/plano.gif','images/en/2ndnav/planoo.gif')\r\n\t\t\t\t   oM.makeMenu('top2','', '','','',78,55,'images/en/tabs/site.gif','images/en/tabs/siteo.gif','','')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top2\",\"\",\"index.php?page=downloads\",'',83,\"\",'images/en/2ndnav/down.gif','images/en/2ndnav/downo.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top2\",\"\",\"index.php?page=screenshot\",'',91,\"\",'images/en/2ndnav/screen.gif','images/en/2ndnav/screeno.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top2\",\"\",\"index.php?page=video\",'',66,\"\",'images/en/2ndnav/video.gif','images/en/2ndnav/videoo.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top2\",\"\",\"\",'',89,\"\",'images/en/2ndnav/estatisticas.gif','images/en/2ndnav/estatisticaso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top2\",\"\",\"\",'',109,\"\",'images/en/2ndnav/logs.gif','images/en/2ndnav/logso.gif')\r\n\t\t\t\t   oM.makeMenu('top3','', '','','',78,55,'images/en/tabs/servidor.gif','images/en/tabs/servidoro.gif','','')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top3\",\"\",\"index.php?page=conta\",'',67,\"\",'images/en/2ndnav/contas.gif','images/en/2ndnav/contaso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top3\",\"\",\"index.php?page=char\",'',62,\"\",'images/en/2ndnav/chars.gif','images/en/2ndnav/charso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top3\",\"\",\"index.php?page=guilds\",'',65,\"\",'images/en/2ndnav/guilds.gif','images/en/2ndnav/guildso.gif')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top3\",\"\",\"\",\"\",62,\"\",'images/en/2ndnav/items.gif','images/en/2ndnav/itemso.gif')\r\n\t\t\t\t   oM.makeMenu('top4',\"\", \"\",'index.php?page=novidades','',78,55,'images/en/tabs/novidades.gif','images/en/tabs/novidadeso.gif','','')\r\n\t\t\t\t\t\toM.makeMenu(\"\",\"top4\",\"\",\"\",\"\",78,\"\",'images/sub.gif')\r\n\t\t\t\t   oM.makeMenu('top5',\"\",\"\",\"\",\"\",84,55,'images/en/tabs/opcoes.gif','images/en/tabs/opcoeso.gif','','')\r\n\t\t\t\t   oM.makeMenu(\"\",\"top5\",\"\",\"\",\"\",84,\"\",'images/sub.gif')\r\n\t\t\t\t   oM.construct()\r\n\r\n                      //-->\r\n           </script>\r\n         </BODY>\r\n         </HTML>\r\n         ";
}
?>
