<!-- BEGIN header -->
<script language="JavaScript" TYPE="text/javascript">
  var phpgwimg;
  function openwindow(url,w,h)
  {
    if (phpgwimg)
    {
      if (phpgwimg.closed)
      {
        phpgwimg.stop;
        phpgwimg.close;
      }
    }
    phpgwimg = window.open(url, "phpgwimg","width="+w+",height="+h+",location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=yes,status=no");
    if (phpgwimg.opener == null)
    {
      phpgwimg.opener = window;
    }
  }
</script>
<center>
<table border="0" width="640" cellspacing="2" cellpadding="2">
  <tr>
    <td align="center" bgcolor="#c9c9c9"><b>{title}:&nbsp;{name}</b></td>
  </tr>
</table>
<table border="0" width="640" cellspacing="0" cellpadding="0">
<!-- END header -->

<!-- BEGIN form -->
  <tr bgcolor="{row_on}">
    <td>{lang_img_owner}:</td><td colspan="2">{img_owner}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_off}">
    <td>{lang_img_name}:</td><td colspan="2">{img_name}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
    <td>{lang_img_title}:</td><td colspan="2">{img_title}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_off}">
   <td>{lang_img_cat}:</td><td colspan="2">{img_cat}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
   <td>{lang_img_des}:</td><td colspan="2">{img_des}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_off}">
	  <td>{lang_img_file}:</td><td colspan="2">{img_file}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
   <td>{lang_img_thumb}:</td><td colspan="2"><a href="javascript:openwindow('{imglink}','{imgwidth}','{imgheight}')"><img src="{img_thumb}" border="1" align="middle">&nbsp;</a></td>
  </tr>
<!-- END form -->

<!-- BEGIN footer -->
  <tr valign="bottom">
   <td colspan="3" align="center">
  <form method="post" action="{actionurl}">
    <input type="hidden" name="img_id" value="{img_id}">
    <input type="submit" name="edit" value="{lang_edit}">&nbsp;
  </form>
  <form method="post" action="{cancel_url}">
    <input type="submit" name="cancel" value="{lang_cancel}">
   </td>
  </tr>
  </form>
</table>
</center>
<!-- END footer -->
