%# President Thieu says he'll quit if he doesn't get more than 50% of the
%# vote.  In a democracy, that's not called quitting.
%# 		-- The Washington Post

% my $Toggled = ($Current ? 'Down' : '');
% my $att = $Item->Att;
% $Current = 0 unless $Item->Applicable;
% my $newValue = !$Current;
<& /Edit/Elements/Button,
    Name => "push$att",
    ImagePath => '/RG/img/',
    Image => "push\u$att" . ($Current ? '' : 'Down'),
    Text => loc($att),
    Style => 'width:19; height:19',
    Javascript => "
	document.getElementById('push$att').src
	    = '/RG/img/push\u$att$Toggled.png';
	document.getElementById('$att').value = '$newValue';
	document.getElementById('caption').focus();
	this.form.submit();
    ",
    Disabled => !$Item->Applicable &>
<input type="hidden" id="<% $att %>" name="<% $att %>" value="<% $Current %>">
<%ARGS>
$Item
$Current
</%ARGS>
