<script type="text/javascript">
//<![CDATA[

var c = "aZd292KVA_$*/+=3918f5";
document.write(
    "<h2>Default Charset</h2><h3>Number.toBase</h3>",
	"(255).toBase(2) = ", (255).toBase(2), "<br />",
	"(255).toBase(8) = ", (255).toBase(8), "<br />",
	"(255).toBase(10) = ", (255).toBase(10), "<br />",
	"(255).toBase(16) = ", (255).toBase(16), "<br />",
	
    "<h3>String.parseInt</h3>",
	"\"11111111\".parseInt(2) = ", "11111111".parseInt(2), "<br />",
	"\"377\".parseInt(8) = ", "377".parseInt(8), "<br />",
	"\"255\".parseInt(10) = ", "255".parseInt(10), "<br />",
	"\"FF\".parseInt(16) = ", "FF".parseInt(16), "<br />",
	
    "<h2>Different Charset</h2>",
    "Charset = ", c, "<h3>Number.toBase</h3>",
	"(12345678).toBase(21, Charset) = ", (12345678).toBase(21, c), "<br />",
    "<h3>String.parseInt</h3>",
	"\"2a$Z3_\".parseInt(21, Charset) = ", "2a$Z3_".parseInt(21, c), "<br />"
);

//	x.base, charSet)
//]]>
</script>