<?php
/*
 * ##################################################################
 * Created on: 14 Jul, 2005
 * File name:  alert.php 
 * ##################################################################
 * This code is a sole property of netenberg.com 
 * ##################################################################
 */
if (!method_exists($BL, 'busLogic')) die("");
?>
<script language="JavaScript" type="text/javascript">
<!--
isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

function hideMe(){
  alertdiv=isIE ? document.all.theLayer : document.getElementById("theLayer");
  if (isIE||isNN) alertdiv.style.visibility="hidden";
  else if (isN4) document.theLayer.visibility="hide";
}

function showMe(){
  alertdiv=isIE ? document.all.theLayer : document.getElementById("theLayer");
  if (isIE||isNN) alertdiv.style.visibility="visible";
  else if (isN4) document.theLayer.visibility="show";
}

-->
</script>
<!-- BEGIN FLOATING LAYER CODE //-->
<div id="theLayer" align='center' style="position:absolute;visibility:<?php if($BL->utils->alert_now)echo "visible"; else echo "hidden"; ?>">
<br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td align='center'>
<table border="0" width="50%" class="alert_table" cellspacing="0" cellpadding="5">
    <tr>
        <td width="100%" valign='top'>
          <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                  <td class="alert_tdhead">
                  <div align='right'>
                  <?php if($BL->utils->PDF){ ?>
                  <a href="info.php?cmd=PDF&html=<?php echo urlencode($BL->utils->alert_text); ?>" target='_blank'"><b>[<?php echo $BL->props->lang['Download_PDF']; ?>]</b></a>
                  &nbsp;&nbsp;
                  <?php } ?>
                  <a href="#" onClick="hideMe();return false"><b>[<?php echo $BL->props->lang['Close']; ?>]</b></a>
                  </div>
                  </td>
              </tr>
              <tr>
                  <td width="100%" bgcolor="#FFFFFF" class="alert_text" align='center'>
                            <!-- PLACE YOUR CONTENT HERE //-->  
                            <?php echo $BL->utils->alert_text; ?>
                            <!-- END OF CONTENT AREA //-->
                  </td>
              </tr>
          </table> 
        </td>
    </tr>
</table>
    </td>
   </tr>
</table>
</div>
<!-- END FLOATING LAYER CODE //-->