-%#<% include('/elements/table-grid.html') %>
-% my $bgcolor1 = '#eeeeee';
-% my $bgcolor2 = '#ffffff';
-% my $bgcolor = '';
-%
-% foreach my $note (@notes) {
-%
-% if ( $bgcolor eq $bgcolor1 ) {
-% $bgcolor = $bgcolor2;
-% } else {
-% $bgcolor = $bgcolor1;
-% }
-%
-% my $pop = popurl(3);
-% my $notenum = $note->notenum;
-% my $clickjs = qq!onclick="overlib( OLiframeContent('${pop}edit/! .
-% qq!cust_main_note.cgi?custnum=$custnum&! .
-% qq!notenum=$notenum', 616, ! .
-% qq!386, 'cust_main_note_popup' ), CAPTION, 'Edit customer ! .
-% qq!note', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, ! .
-% qq!CLOSECLICK, FRAME, top); return false;"!;
-%
-% my ($el, $eel);
-% if ($curuser->access_right('Edit customer note') ) {
-% $el = qq!<A HREF="javascript:void(0);" $clickjs>!;
-% $eel = qq!</A>!;
-% }else{
-% $el = $eel = '';
-% }