Looks like JavaScript. Why is it dumped in the C-C++ forum?