%%
%% This is file `jjgpro.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% jj_game.dtx  (with options: `copyright,jjgpro')
%% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% jj_game.sty package,                                 %%
%% Copyright (C) 2000-2001  D. P. Story                 %%
%%   dpstory@uakron.edu                                 %%
%%                                                      %%
%% This program can redistributed and/or modified under %%
%% the terms of the LaTeX Project Public License        %%
%% Distributed from CTAN archives in directory          %%
%% macros/latex/base/lppl.txt; either version 1 of the  %%
%% License, or (at your option) any later version.      %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\noPrintLayer#1{%
    \literalps@out{/Print [/Print] [(xb.#1)] AddASEvent}%
    \literalps@out{(xb.#1) << /Print<< /PrintState/OFF >> >> SetOCGUsage}%
}
\def\bJJGInsertLayer{\xBld{q\the\rownum\the\colnum}}
\def\eJJGInsertLayer{\eBld\noPrintLayer{q\the\rownum\the\colnum}}
\def\jjAdditionalJSActions{/Next <<\JS{%
    if ( typeof pushCell\the\rownum\the\colnum\space!= "undefined")
        {var o = getxBld("q\the\rownum\the\colnum"); o.state=true;}}>>}
\begin{execJS}{lockocgs}
var o = this.getOCGs();
for (var i = 0; i < o.length; i++)
    o[i].locked = true;
\end{execJS}
\endinput
%%
%% End of file `jjgpro.def'.
