Thanks Derek for taking a look at this.Below is the entire code. I changed the map service to one hosted at arcgis online, and changed the extent coordiantes to reflect that change. The first time the myzoom function is invoked the map properly zooms to India. The next time myzoom fires, and each subsequent time, the mapview has shifted to Russia.<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Zoom to Extent Test</title>
<script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.6"></script>
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/1.6/js/dojo/dijit/themes/tundra/tundra.css">
<script type="text/javascript">
djConfig = {
parseOnLoad: true
}
</script>
<script type="text/javascript">
var map;
var newMap;
dojo.require("esri.map");
function Init() {
map = new esri.Map("mapDiv");
newMap = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/MapServer");
map.addLayer(newMap);
}
function myzoom() {
var axtent = new esri.geometry.Extent(105.6673614, 37.0016790, 55.6153456, 5.7191691, map.SpatialReference);
map.setExtent(axtent);
}
</script>
</head>
<body onload="Init()">
<div id = "mapDiv" style="width:800px; height:500px"> </div>
<input id="button2" type="button" value="Zoom To India" onclick="myzoom();" />
</body>
</html>