<pre>on showAllButtons  ---  if the editBkgnd then    if the number of bg btns = 0 then return "Nothing to show"    repeat with x = 1 to the number of bg btns      show bg btn x    end repeat  else    if the number of cd btns = 0 then return "Nothing to show"    repeat with x = 1 to the number of cd btns      show cd btn x    end repeat	  end if  ---end showAllButtons</pre>