This function takes the zoom level as the input and returns the resolution according to the Zoom Level Resolution table.
public TGetResolutionByLevel(level):Number
<div id="mapContainer"  style="width: 640px; height: 400px;"></div>
<script type="text/javascript">
    var level=15;
    var resolution = TGetResolutionByLevel(15);
</script>