Using Proj4JS for vector reprojection
http://openlayers.org/dev/examples/using-proj4js.html
HTML
<script src="http://fbug.googlecode.com/svn/lite/branches/flexBox/content/firebug-lite-dev.js"></script>
<link rel="stylesheet" href="http://openlayers.org/dev/theme/default/style.css">
<link rel="stylesheet" href="http://openlayers.org/dev/examples/style.css">
<script src="http://openconcept.ca/sites/openconcept.ca/files/openlayers/lib/OpenLayers.js"></script>
<script src="http://svn.osgeo.org/metacrs/proj4js/trunk/lib/proj4js-compressed.js"></script>
<script src="http://spatialreference.org/ref/epsg/26912/proj4js"></script>
<h1 id="title">Using Proj4JS/h1>
<div id="map"></div>
CSS
#map {
width: 100%;
height: 400px;
}
JavaScript
(function($) {
var map;
function init(){
map = new OpenLayers.Map('map', {
projection: 'EPSG:26912'
});
map.zoomToMaxExtent();
}
init();
})(jQuery);