Hi, just another remark --- $bgCol =' class="note"'; // The default color switch($type) { default: $bgCol =' class="note"'; } --- is a bit of overhead, can you get rid of one? after that > big +1 ;)