<script type="text/javascript">
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
</script>

<div align="right">
<div class="r_side_frame">
<div class="side_base_frame">  <br />

<div class="side_info_frame">
      Today is: <b><?php echo date("l, d-m-Y", strtotime($today )); ?></b><br><br>
      You are logged in as: <?php echo $_SESSION['username'] ?> <br />
	  Branch:<a href="../navigation/changing_branch.php" onMouseover="ddrivetip('Click to change branch', 150)" onMouseout="hideddrivetip();"><?php echo $_SESSION['userbranch']; ?></a> 
      
      </div>   
<br>
<br>

<div class="side_info_frame_tall">  
Chat with users on line:
<div class="chat_frame" style="background-color:#FFF"> 
  <?php
	for($i=0; $i < $active_users_num; $i++){
		$uname = mysql_result($active_users_result, $i, "username");
		echo "<a href=\"javascript:void(0)\" onclick=\"javascript:chatWith('". $uname ."')\">". $uname . "</a><br />";
	}
	?>
</div>
</div>

<div class="side_info_frame_tall" style="border-bottom:hidden;">
  <table width="100" border="0">
    <tr>
      <td height="213" align="center" valign="top">
	    <?php  
		 if ($tlh_gab==1) {?>
        <a href="../../Tlhomeso/include/loginproc.php?user_name_text=<?php echo $_SESSION['username'] ?>"><img src="../images/logo_tlhomeso.png" width="75" height="32" /></a>
        <?php } ?>
		<?php 
		if ($tlh_ftw==1) {?>
        <a href="../../Tlhomeso_FTW/include/loginproc.php?user_name_text=<?php echo $_SESSION['username'] ?>"><img src="../images/logo_tlhomeso(2).png" width="75" height="31"  /></a>
        <?php } ?>
        <br />
        <?php
         if ($rad_gab==1) {?>
        <a href="../../Radstone/include/loginproc.php?user_name_text=<?php echo $username ?>"><img src="../images/radstone_footer_logo.png" width="75" height="31"  /></a>
        <?php } ?>
        <br />
        <?php 
         if ($rad_nam==1) {?>
        <a href=""><img src="../images/radstone_footer_logo.png" width="75" height="31"  /></a>
        <?php } ?>
        <br />
        </td>
    </tr>
    <tr>
      <td align="center"><a href="../../mainmenu.php?log=2&cx=<?php echo $access_id ?>"><img src="../images/logo_tocotex.png" width="75" height="41" /></a>  <br />
        <a href="../navigation/log_out.php" class="link" onmouseover="ddrivetip('Log out from Tocotex', 150)" onmouseout="hideddrivetip();" > <img src="../images/log_out.png" alt=""  width="26" height="32" /></a></td>
    </tr>
    <tr>
      <td align="center"><a href="http://www.customized.co.bw" target="_blank">Application developed by:<br />
        <img src="../images/logo_small.png" alt="" width="100" height="18" /></a></td>
    </tr>
  </table>
</div>


</div>
</div>
</div>

