<!-- BEGIN addressbook_header -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  function onclick_allcheck()
  {
	for (i=0; i<document.mainfrm.elements.length; i++) {
		if (document.mainfrm.elements[i].type == "checkbox") {
			if (document.mainfrm.elements[i].checked) {
				document.mainfrm.elements[i].checked = false;
			} else {
				document.mainfrm.elements[i].checked = true;
			}
		} 
	}  
  }
  function onclick_delete()
  {
 	for (i=0; i<document.mainfrm.elements.length; i++) {
		if (document.mainfrm.elements[i].type == "checkbox") {
			if (document.mainfrm.elements[i].checked) {
				return true;
			}
		}
	}
	return false; 
  }
</SCRIPT>
<center>
<table width="95%" border="0" cellspacing="1" cellpadding="3">
<tr>
{principal_tabs_inc}
</tr>
</table>

{lang_showing}
<br>{searchreturn}
{search_filter}

<form action="{delete_url}" method="post" name="mainfrm">
<table width="95%" border="0" cellspacing="1" cellpadding="3">
<tr bgcolor="{th_bg}" align="center" valign="middle">
  {cols}
  <td nowrap>{lang_view}</td>
  <td nowrap><font size="-2">{lang_vcard}</font></td>
  <td nowrap>{lang_edit}</td>
  <td nowrap>{lang_delete}<input type="checkbox" name="allcheck" onclick="onclick_allcheck()"></td>
  <!--<td>{lang_owner}</td>-->
</tr>
<!-- END addressbook_header -->

<!-- BEGIN column -->
  <td valign="middle">{col_data}&nbsp;</td>
<!-- END column -->

<!-- BEGIN row -->
<tr bgcolor="{row_tr_color}">{columns}
  <td valign="middle" width="3%" align="center"><a href="{row_view_link}"><img src="phpgwapi/templates/default/images/view.png" title="{lang_view}" border="0"/></a></td>
  <td valign="middle" width="3%" align="center"><a href="{row_vcard_link}"><img src="addressbook/templates/probusiness/images/newcntc.png" title="{lang_vcard}" border="0" /></a></td>
  <td valign="middle" width="3%" align="center">{row_edit}</td>
  <td valign="middle" width="5%" align="center" nowrap>{row_delete}</td>
  <!--<td valign="middle" width="5%" align="center">{row_owner}</td>-->
</tr>
<!-- END row -->

<!-- BEGIN addressbook_footer -->
 </table>
 <table width="95%" border="0" cellspacing="0" cellpadding="4">
   <tr bgcolor="{th_bg}"> 
     <td width="16%"><input type="button" name="Add" value="{lang_add}" onclick="javascript:location.href='{add_url}'"></td>
	 <td width="16%"><input type="button" name="Categorize" value="{lang_cat_cont}" onclick="javascript:location.href='{cat_cont_url}'"></td>
     <td width="16%"><input type="button" name="AddVcard" value="{lang_addvcard}" onclick="javascript:location.href='{vcard_url}'"></td>
     <td width="16%"><input type="button" name="Import" value="{lang_import}" onclick="javascript:location.href='{import_url}'"></td>
     <td width="16%"><input type="button" name="Import" value="{lang_import_alt}" onclick="javascript:location.href='{import_alt_url}'"></td>
     <td width="16%"><input type="button" name="Export" value="{lang_export}" onclick="javascript:location.href='{export_url}'"></td>
     <td width="*"><input type="submit" name="Delete" value="{lang_delete}" onclick="return onclick_delete()"></td>
   </tr>
 </table>
</form>
</center>
<!-- END addressbook_footer -->
