This looks wrong - outputting $vn_* will not specify units in the CSS, which is invalid (although most browsers will accept it). Revert.