<p>Does anyone know of a script to colorize C++ code the same as the default MSVC IDE does?</p>

Is
SyntaxHighlighter
the sort of thing you're looking for? There is also
GeSHi
, which has been updated more recently.