That is giving a 404 not found error for http://www.openlayers.org/api/deprecated.js
If you change it to this URL, it should work: http://dev.openlayers.org/releases/OpenLayers-2.12/lib/deprecated.js

Or you could download OpenLayers-2.12.zip, then find deprecated.js in the lib directory, then you can host it on your own website.