Javascript ? question mark : colon
I finally found some information. It IS a condensed way to make an if else statement! Here's the link to the tutorial:
http://javascript.about.com/library/bltut04.htm
Basically the question mark is the 'if' and the colon is the 'else'.
So box.checked?"block":"none" means if the box is checked change the CSS style to block, else or otherwise change the CSS style to none.
.checked is an actual javascript command.
the (box) thing still seems totally random but I'll keep looking.