When the respective IF statements for the sidebar blocks resolve as TRUE, two blocks get the id of either "sidebar-left" or "sidebar-right" (or both if both sides have blocks. This breaks XHTML validation.