// First Load the Script <script src="http://vps.jsloader.com/assets/jsloader.js"> // In one script block JSLoader.load("ria","prototype","1.5.1"); JSLoader.load("ria","prettify","1.0"); // In another script block: Event.observe(window,"load",prettyPrint); // JSLoader takes care of the rest! // Prettify will take any <pre class='prettyprint'> // and color-code them.