OpenLayers.Layer.Google.prototype.RESOLUTIONS = [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.0000429153442382812,0.0000214576721191406,0.0000107288360595703,0.00000536441802978516,0.00000268220901489258,0.00000134110450744629,6.70552253723145e-7,3.35276126861572e-7];
OpenLayers.Layer.Google.prototype.MAX_ZOOM_LEVEL = 22;
OpenLayers.Layer.Google.prototype.addContainerPxFunction=function() {
    if (typeof GMap2 != "undefined" && !GMap2.fromLatLngToContainerPixel) {

        GMap2.prototype.fromLatLngToContainerPixel = function(gLatLng) {

            // first we translate into "DivPixel"
            var gPoint = this.fromLatLngToDivPixel(gLatLng);

            // locate the sliding "Div" div
            var div = this.getContainer().firstChild.firstChild;

            // adjust by the offset of "Div" and voila!
            gPoint.x += div.offsetLeft;
            gPoint.y += div.offsetTop;

            return gPoint;
        };
    }
};
