Simple JS code snippet
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
// http://alexgorbatchev.com
// now for DNN thanks to http://2sxc.org/
var setArray = function(elems) {
this.length = 0;
push.apply(this, elems);
return this;
}