would it not be more efficient to do this with CSS?  For example:

.side small { display: none; }