anchor.diff:      
     },
   
  +	setMapExtent:function() // Set map extent based on bookmark
  +	{	var extent= document.getElementById("frmSearchCriteria:scSel").value;
  +	    if((extent!=null)&&(extent!=""))
  +		{	if(extent=="default")
  +				selectedExtent= eval("new esri.geometry.Extent({"+gptMapConfig.mapInitialExtent+"})");
  +			else
  +				var selectedExtent = new esri.geometry.Extent(Number(extent.split(";")[0]),Number(extent.split(";")[1]),Number(extent.split(";")[2]),Number(extent.split(";")[3]),(new esri.SpatialReference({wkid:4326})));
  +			
  +			scMap._gptMap.zoom(selectedExtent);
  +		}
  +	},
  +
     initialize: function() {
       var config = gptMapConfig;
   
  
positive.code:   },
  
    onMapLoaded: function() {
      if (this._gptMap!=null) {      
        setTimeout(dojo.hitch(this,"zoomToInitExtent",true),1000);
        this.drawFootPrints();
        var agsMap = this._gptMap.getAgsMap();
        if (agsMap != null) {
  
negative.code:   
    var _frmDjSearchCriteria = null;
    
     	// Set the extent based on the bookmark selected. WARNING: the WKID is hardcoded to 4326.
      	function setMapExtent()
  	{	var extent= document.getElementById("frmSearchCriteria:scSel").value;
  	    	if((extent!=null)&&(extent!=""))
  		{
  			if(extent=="default")
  				selectedExtent= eval("new esri.geometry.Extent({"+gptMapConfig.mapInitialExtent+"})");
  			else
  				var selectedExtent = new esri.geometry.Extent(Number(extent.split(";")[0]),Number(extent.split(";")[1]),Number(extent.split(";")[2]),Number(extent.split(";")[3]),(new esri.SpatialReference({wkid:4326})));
  
  			scMap._gptMap.zoom(selectedExtent);
  		}
  	}
  	
    function serilizeFormToCookie() {
      //dojo.cookie(_cookieLabel, dojo.formToJson("frmSearchCriteria"));
    }
  