		function showAlert(URL) {
			
			alert('value is : ' + URL );
			}
	
		function popitup(url) {
			newwindow=window.open(url,'name','height=500,width=400');
			if (window.focus) {newwindow.focus()}
			return false;
				}
		
		function Left(str, n){
		
			if (n <= 0)
			return "";
			else if (n > String(str).length)
			return str;
			else
			return String(str).substring(0,n);
			}
			
		function Right(str, n){
			if (n <= 0)
			return "";
			else if (n > String(str).length)
			return str;
			else
			{
          var iLen = String(str).length;
          return String(str).substring(iLen, iLen - n);
      }
}
		
		function getParameter( name ) {
		
        name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
        var regexS = "[\\?&]"+name+"=([^&#]*)";
        var regex = new RegExp( regexS );
        var results = regex.exec( window.location.href );
        if( results == null )
          return "";
        else
          return results[1];
      }
		
		function showFeature2(feature,evt) {
            map.graphics.clear();
  			 
  			curFeature = feature;
            var fExtent = feature.geometry.getExtent();
  			var centerPt = fExtent.getCenter();
  			var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_NONE, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOT, new dojo.Color([255,0,0]), 2), new dojo.Color([255,255,0,0.25]));
  			feature.setSymbol(symbol);

            map.graphics.add(feature);
            centerPt = fExtent.getCenter();
            map.centerAt(centerPt);
        }  
	  	
		function centerMap(feature, ddValue){
		   
            var fExtent = feature.geometry.getExtent();
            var centerPt = new esri.geometry.Point;
            //toggleProgressBar();
			centerPt = fExtent.getCenter();
           // map.centerAt(centerPt);
			map.setExtent(fExtent, true);
			
			 
        } 
	
		function FindMBL(searchText){
				       			
			MBL = searchText
			
			//build query task
			
			//queryTask_MBL = new esri.tasks.QueryTask("http://74.93.16.209:4444/ArcGIS/rest/services/Southington/South_Parcels/MapServer/1");			 
            //zero out the query Geometry
  			
  			 
  			//build query filter
			query_MBL = new esri.tasks.Query();
			query_MBL.geometry = null;
			query_MBL.returnGeometry = true;
			query_MBL.outFields = ["OWN1", "FULL_ADDR", "ACRES", "ZONING", "MBL" ];
			//query_MBL.where = "MBL = '110-125'";
			query_MBL.where = "MBL = '" + searchText + "'";
  			
  				//show the progress bar.
    			//dojo.byId("progresstext").innerHTML = "Locating Parcel...";
               // toggleProgressBar();
  			 
  			    //Execute the queryTask and call showResults on completion
  			queryTask.execute(query_MBL, function(fset) {
  			    if (fset.features.length === 1) {
				centerMap(fset.features[0],searchText);
  				showFeature2(fset.features[0], null);
  				download();
  			    } else if (fset.features.length !== 0) {
                showFeatureSet(fset,null);
  			    } else{
  				alert ("No features returned from server.")}
  			    });
				dijit.byId("search_results").hide();
				dijit.byId("search").hide()
        }
		
		function showMBLSearchResults(searchMBL) {
		    //the synchronous call to a GP service automatically sends all messages and results to a pre-defined function.
  			var reportURL = "./searchMBL.asp" + "?mbl="+ searchMBL;
  	 	    dojo.byId("resultFrame").src = reportURL;
            dijit.byId("search_results").show();
			//toggleProgressBar();
        }
		
		function showNameSearchResults(searchName) {
		    //the synchronous call to a GP service automatically sends all messages and results to a pre-defined function.
  			var reportURL = "./searchName.asp" + "?name="+ searchName;
  	 	    dojo.byId("resultFrame").src = reportURL;
            dijit.byId("search_results").show();
			//toggleProgressBar();
        }
		
		function showAddrSearchResults(searchAddr) {
		    //the synchronous call to a GP service automatically sends all messages and results to a pre-defined function.
			
		//alert(searchAddr)
  			var reportURL = "./searchAddr.asp" + "?addr="+searchAddr;
  	 	    dojo.byId("resultFrame").src = reportURL;
            dijit.byId("search_results").show();
			//toggleProgressBar();
        }
		
		function showWebDetail(PARID) {
		    //alert('value is : ' + PARID );
  			
			var reportURL = "./detail_ags.asp?parid="+ PARID;
  	 	    dojo.byId("resultFrame2").src = reportURL;
            dijit.byId("WebDetail").show();
			
        }
		
		function showHelp() {
		   // alert('value is : ' + MBL );
  			
			var reportURL = "http://74.93.16.209/HelpFrames/default.htm";
  	 	    dojo.byId("HelpFrame").src = reportURL;
            dijit.byId("WebHelp").show();
			
        }
		
		function showVEDetail(LAT,LON) {
		    //alert('value is : ' + PARID );
  			
			var reportURL = "./vemap.asp?lat=+"+LAT+"+&lon="+LON;
						
  	 	    dojo.byId("VEFRAME").src = reportURL;
            dijit.byId("VE").show();
			
        }
		
		function showAbutterDetail(PARID,FULL_ADDR,X,Y,DIST) {
		    //alert('value is : ' + DIST );
  			
			var reportURL = "./abutter_dynamic.asp?parid="+ PARID + "&buffer="+DIST+"&loc=WHERE_YOU_CLICKED&x="+X+"&y="+Y+"&zoomx=1";
  	 	   //alert('value is : ' + reportURL );
			dojo.byId("AbutterResult").src = reportURL;
            dijit.byId("AbutterDetail").show();
		
		
		
        }
		
		function showPropertyCard(parid) {
		    //the synchronous call to a GP service automatically sends all messages and results to a pre-defined function.
  			var reportURL = "http://74.93.16.209/southington/property_card.asp?parid=" + parid;
  	 	    //dojo.byId("resultFrame").src = reportURL;
            //dijit.byId("search_results").show();
			//toggleProgressBar();
        }

		function showSearch() {
		
			var reportURL = "./search.asp";
  	 	    dojo.byId("searchFrame").src = reportURL;
            dijit.byId('search').show();
			dijit.byId('search')._underlay.hide();
			
        }
		
		function setinfoclickon (){
				
				objectconnections[0] = dojo.connect(map, "onClick", executeQueryTask);
				}

		function setinfoclickoff (){
				dojo.disconnect(objectconnections[0]);
				}
	
		function executeQueryTask(evt) {
        map.infoWindow.hide();
        map.graphics.clear();
        featureSet = null;

        ///build query task
			//queryTask = new esri.tasks.QueryTask("http://74.93.16.209:5555/ArcGIS/rest/services/Southington/south_parcels/MapServer/1");			 
            //zero out the query Geometry
  			
  			 
  			//build query filter
			query = new esri.tasks.Query();
			query.geometry = null;
			query.returnGeometry = true;
			query.outFields = ["OWN1", "FULL_ADDR", "ACRES_ASSR ", "ZONING", "GIS_ID", "MBL", "MAP", "LOT","X", "Y", "Lat", "Lon", "TTLASSMNT", "APRTOT" ];
			
		
		//onClick event returns the evt point where the user clicked on the map.
        //This is contains the mapPoint (esri.geometry.point) and the screenPoint (pixel xy where the user clicked).
        //set query geometry = to evt.mapPoint Geometry
        query.geometry = evt.mapPoint;

        //Execute task and call showResults on completion
        queryTask.execute(query, function(fset) {
          if (fset.features.length === 1) {
            showFeature(fset.features[0],evt);
          } else if (fset.features.length !== 0) {
            showFeatureSet(fset,evt);
          }
        });
		
		
      }

		function showFeature(feature,evt) {
        map.graphics.clear();
		
        //set symbol 'javascript:showWebDetail(" + attr.parid +")'
        var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0]), 2), new dojo.Color([255,255,0,0.5]));
        feature.setSymbol(symbol);

        //construct infowindow title and content
        var attr = feature.attributes;
		var title = attr.FULL_ADDR;
		
        var length_test = attr.GIS_ID.length;
		//alert('initial value is : ' + attr.MBL);
		//alert('initial value is : ' +  length_test );
        
		if (length_test < 4)
			{
			IMAGELINK = "nopic.jpg"
			}
			else 
			{
			IMAGELINK = attr.GIS_ID + "-1.jpg"
			}
						

		var content = "<a href=\"./photos/" + IMAGELINK  + "\" class=\"highslide\" onclick=\"return hs.expand(this)\">"
					+ "<IMG height='100' width='136' src='./Photos/" + IMAGELINK + "' </IMG></a>"
					//"<a href=\"http://74.93.16.209/webdata/southington/Photos/" + attr.GIS_ID  + "-1.jpg\" class=\"highslide\" onclick=\"return hs.expand(this)\">"
					//+ "<IMG height='110' width='146' src='http://74.93.16.209/webdata/southington/Photos/"+ attr.GIS_ID  +"-1.jpg' </IMG></a>"
					+ "<br /><br /><b>Owner: " + attr.OWN1 +"</b>"
                    + "<br />Acres : " + attr.ACRES_ASSR  + "&nbsp;&nbsp;Zoning : " + attr.ZONING
					+ "<br />2007 Assessment : $" + attr.TTLASSMNT
					+ "<br />2007 Appraisal : $" + attr.APRTOT
					+ "<br /> <br />" + "<a href=javascript:showWebDetail('" + attr.GIS_ID + "')>Parcel Details</a>" 
					+ "&nbsp;&nbsp;&nbsp; <a href=\"http://74.93.16.209/webdata/southington/parcel_maps/" + attr.MBL + ".pdf\" onclick=\"return popitup('http://74.93.16.209/webdata/southington/parcel_maps/" + attr.MBL + ".pdf')\" >Quick Map</a>"
					+ "&nbsp;&nbsp;&nbsp; <a href=javascript:showPropertyCard('http://74.93.16.209/southington/property_card.asp?parid=" + attr.GIS_ID +"')>Property Card</a>"
					+ "<br /><br /><a href=javascript:showVEDetail('" + attr.Lat + "','"+ attr.Lon +"')>Birds Eye Photo</a>"
					+ "&nbsp;&nbsp;&nbsp;" + "<a href=javascript:showScanSummary('" + attr.MBL + "')>LaserFiche Scan Summary</a>"
					+ "<br />"
					+ "<br /><b>Generate Mailing List: </b>"
					
					+ "<br/><input id='txtgpdist' width='30px' type='text' name='txtgpdist' value='100'>&nbsp; Ft:&nbsp;<input id='btnGP' type='button' onclick='showAbutterDetail("+ attr.PIN +",&#39FLANDERS ST&#39,"+attr.X+","+attr.Y+",dojo.byId(&#39txtgpdist&#39).value)' value='Submit' > </form>"
					
					//alert('initial value is : ' + attr.PIN );			
        map.graphics.add(feature);
		map.infoWindow.resize(350,350);
        map.infoWindow.setTitle(title);
        map.infoWindow.setContent(content);
		
	
		
		

        (evt) ? map.infoWindow.show(evt.screenPoint,map.getInfoWindowAnchor(evt.screenPoint)) : null;
		
      }

		function showFeatureSet(fset,evt) {
        //remove all graphics on the maps graphics layer
        map.graphics.clear();
        var screenPoint = evt.screenPoint;

        featureSet = fset;

        var numFeatures = featureSet.features.length;

        //QueryTask returns a featureSet.  Loop through features in the featureSet and add them to the infowindow.
        var title = "You have selected " + numFeatures + " fields.";
        var content = "Please select desired field from the list below.<br />";

        for (var i=0; i<numFeatures; i++) {
          var graphic = featureSet.features[i];
          content = content + graphic.attributes.FIELD_NAME + " Field (<A href='javascript:showFeature(featureSet.features[" + i + "]);'>show</A>)<br/>";
        }
        map.infoWindow.setTitle(title);
        map.infoWindow.setContent(content);
        map.infoWindow.show(screenPoint,map.getInfoWindowAnchor(evt.screenPoint));
      }
	  
		function Print_I(MI) {
			
			if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
			var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
			
			ieversion = 1
			}
			else
			ieversion = 0
		
		var URL, scale, basemap, layers, mwidth, mheight, mwidth2, mheight2, percentw, percenth, centerx, centery, extentXmax, extentXmin, extentYmax, extentYmin
		
		//print map size: 670x650
		 URL = MI.href
		 scale = MI.scale
		 layers = map.layerIds
		
		mwidth = map.extent.xmax - map.extent.xmin
		mheight = map.extent.ymax - map.extent.ymin
		
		mwidth2 = map.width
		mheight2 = map.height
		
		percentw = 670/mwidth2
		percenth = 650/mheight2
		
		centerx = map.extent.xmax - (mwidth/2)
		centery = map.extent.ymax - (mheight/2)
		
		extentXmax = centerx + ((mwidth*percentw)/2)
		extentXmin = centerx - ((mwidth*percentw)/2)
		extentYmax = centery + ((mheight*percenth)/2)
		extentYmin = centery - ((mheight*percenth)/2)
		
		
		//Test for layer visibility
		
		var inputs_print = dojo.query(".list_item"), input;
		var printlayers = ''
        for (var i=0, il=inputs_print.length; i<il; i++) {
          if (inputs_print[i].checked) {
            printlayers = printlayers + inputs_print[i].id +",";
			}
		}
		//alert(printlayers);
		
		//Test for base map
		var curBase = map.getLayer('photo')
			if (curBase.visible){
				basemap = curBase.id
				}
				else{
				basemap = 'base';
				}
		
		var PrintURL = "./printmap.asp?extentYmin="+ extentYmin +"&extentXmin=" + extentXmin +"&extentXmax="+ extentXmax +"&extentYmax=" + extentYmax +"&printlayers=" + printlayers +"&layercount=" + il +"&scale=" + scale +"&MBL=" + MBL +"&ieversion=" + ieversion +"&basemap=" + basemap;
		//alert('value is : ' + PrintURL );	
			
			dojo.byId("printframe").src = PrintURL;
            dijit.byId("printdialog").show();		
		}
		
		function Export_I(MI) {
		
		sbip = new esri.layers.ImageParameters()
		
		//sbip.bbox = startExtent;
		//sbip.height = 300;
		//sbip.width= 300;
		
		sbip.bbox = map.extent
		sbip.height = map.height
		sbip.width = map.width
		//sbip.layerIds = [7]
		//sbip.layerOption = 'LAYER_OPTION_SHOW'
		
		ParcelBaseLayer.exportMapImage(sbip);
		}
	  
	    function showCoordinates(evt) {
        //get mapPoint from event
        var mp = evt.mapPoint;
        //display mouse coordinates
        dojo.byId("info").innerHTML = Math.round(mp.x) + ", " + Math.round(mp.y);
      }
	  
	    function RefreshMap() {
		
		xmax = map.extent.xmax
		xmin = map.extent.xmin
		ymax = map.extent.ymax
		ymin = map.extent.ymin
		
		self.location.href='./default.htm?xmax='+xmax+'&xmin='+xmin+'&ymax='+ymax+'&ymin='+ymin
		}
	  
	  	function changescale(option) {
			//showAlert(option)
			map.setLevel(option)		
		}
		
		function MapInfo(extent, delta, levelChange, lod) {

        //display scale info
        var scaleinfo = (lod.scale)/13
		var maplevel = (lod.level)
			var selectmenu=document.getElementById("scaleoption")
			selectmenu.selectedIndex = 12-maplevel
		//dojo.byId("scaleinfo").innerHTML = "Scale: 1 in = " + scaleinfo + " Feet";
      }
	  
		function updateLayerVisibility() {
        var inputs = dojo.query(".list_item"), input;
        //these are the layers which will always be on unless controlled by scale factors
        visible = [];
        for (var i=0, il=inputs.length; i<il; i++) {
          if (inputs[i].checked) {
            visible.push(inputs[i].id);
          }
        }
        //mydynamicMapServiceLayer.setVisibleLayers(visible);
		South_AdminLayer.setVisibleLayers(visible);
      }
	    	  		
        function changeMap(baseid) {
		//Switch between the basemap layers, or toggle the parcel layer
		
  		    var curBase = map.getLayer(baseid);
  			toggleLayer(curBase);
			//alert('initial value is : ' + baseid );
        }

		function toggleLayer(layer) {
		//if the layer is visible, turn it off and update the control panel. If invisible, do the same.
         		 
  			switch (layer.id)
  			{
  			    case "photo":
  				if(dojo.byId("rdphoto").Checked){
                    //do nothing
                }
  			else{
                if (layer.visible){
                    layer.hide();
  				    map.getLayer("photo").show();
					
  				    dojo.byId("rdbase").Checked = false;
  				    dojo.byId("rdphoto").Checked = true;
                }
   			    else{
                    layer.show();
   				    map.getLayer("basemap").hide();
					map.getLayer("anno").hide();
					map.getLayer("largescale").hide();
					
   				    dojo.byId("rdbase").Checked = false;
   				    dojo.byId("rdphoto").Checked = true;
                }
            }
             
                break;
  			    case "basemap":
  				if(dojo.byId("rdbase").Checked){
                    //do nothing
  				}
  				else{
                    if (layer.visible){
						layer.hide();
                        map.getLayer("photo").show();
    				    dojo.byId("rdphoto").Checked = true;
                        dojo.byId("rdbase").Checked = false;
    				    
                    }
    				else{
                    layer.show();
					map.getLayer("anno").show();
   				    map.getLayer("photo").hide();
					map.getLayer("largescale").show();
					 
   				    dojo.byId("rdphoto").Checked = false;
   				    dojo.byId("rdbase").Checked = true;
    				    
                    }
                }
                break;
  			    
  			}
        }
		
		function toggleProgressBar() {
		    var progressbar_container = dojo.byId("progressbar_container");
			//var control_panel = dojo.byId("control_panel");
				
			if (progressbar_container.style.display=="block") {
			    progressbar_container.style.display="none";
            }
            else {
                progressbar_container.style.display="block";
            }
        }
		
        function download(){
            // Split up bar into 5% segments
			       
            numParts = Math.floor(100/2);
            jsProgress.update({ maximum: numParts, progress:0 });
            for (var i=0; i<=numParts; i++){
                // This plays update({progress:0}) at 1nn milliseconds,
                // update({progress:1}) at 2nn milliseconds, etc.
                setTimeout("jsProgress.update({ progress: " + i + " })",(i+1)*100 + Math.floor(Math.random()*100));
            }	
			numParts = Math.floor(100/2);
			jsProgress.update({ maximum: numParts, progress:0 });

			
        }
	    
		function initMeasure(map,tb) {
        
		dojo.disconnect(objectconnections[0]);
		dojo.disconnect(objectconnections[1]);
		dojo.disconnect(objectconnections[2]);
		
        //on draw end add graphic, project it, and get new length
        objectconnections[1] = dojo.connect(tb, "onDrawEnd", function(geometry) {
          map.graphics.clear();
          var graphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleLineSymbol()));
          //add graphic to the map and then call GeometryService.project() to get graphic into a coordinate system that
          //can be used to generate an accurate length.
          geometryService.project([graphic],new esri.SpatialReference({"wkid":2234}));
        });
        tb.activate(esri.toolbars.Draw.POLYLINE);
      }
	  
		function initMeasure(map,tb) {
        
		dojo.disconnect(objectconnections[0]);
		dojo.disconnect(objectconnections[1]);
		
        //on draw end add graphic, project it, and get new length
        objectconnections[1] = dojo.connect(tb, "onDrawEnd", function(geometry) {
          map.graphics.clear();
          var graphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleLineSymbol()));
          //add graphic to the map and then call GeometryService.project() to get graphic into a coordinate system that
          //can be used to generate an accurate length.
          geometryService.project([graphic],new esri.SpatialReference({"wkid":2234}));
        });
        tb.activate(esri.toolbars.Draw.POLYLINE);
      }
	  			  
	    function initMeasure2(map,tb) {
        
		dojo.disconnect(objectconnections[0]);
		dojo.disconnect(objectconnections[1]);
		navToolbar.deactivate();
		
        //on draw end add graphic, project it, and get new length
        objectconnections[1] = dojo.connect(tb, "onDrawEnd", function(geometry) {
          map.graphics.clear();
          var graphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleLineSymbol()));
          //add graphic to the map and then call GeometryService.project() to get graphic into a coordinate system that
          //can be used to generate an accurate length.
          geometryService.project([graphic],new esri.SpatialReference({"wkid":2234}));
        });
        tb.activate(esri.toolbars.Draw.LINE);
      }
	  
		function initMeasure3(map,tb) {
        
		dojo.disconnect(objectconnections[0]);
		dojo.disconnect(objectconnections[1]);
		navToolbar.deactivate();
		
        //on draw end add graphic, project it, and get new length
        objectconnections[1] = dojo.connect(tb, "onDrawEnd", function(geometry) {
          map.graphics.clear();
          var graphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleLineSymbol()));
          //add graphic to the map and then call GeometryService.project() to get graphic into a coordinate system that
          //can be used to generate an accurate length.
          geometryService.project([graphic],new esri.SpatialReference({"wkid":2234}));
        });
        tb.activate(esri.toolbars.Draw.FREEHAND_POLYLINE);		
      }
	  
		function initArea(map,tb) {
        
		dojo.disconnect(objectconnections[0]);
		dojo.disconnect(objectconnections[1]);
		navToolbar.deactivate();
		
        //on draw end add graphic, project it, and get new length
        objectconnections[1] = dojo.connect(tb, "onDrawEnd", function(geometry) {
          map.graphics.clear();
          var graphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleFillSymbol()));
		  geometryService.simplify([graphic], function(graphics) {
          geometryService.areasAndLengths(graphics);
			});
        });
        tb.activate(esri.toolbars.Draw.POLYGON);		
      }
	  
	  		
		function ZoomIn(map,tb) {
	   
        endFunctionality(map,tb)
		navToolbar.activate(esri.toolbars.Navigation.ZOOM_IN);
      }
			  
	    function ZoomOut(map,tb) {
	   
        endFunctionality(map,tb)
		navToolbar.activate(esri.toolbars.Navigation.ZOOM_OUT);
      }
	    
		function Pan(map,tb) {
	   
        endFunctionality(map,tb)
		navToolbar.activate(esri.toolbars.Navigation.PAN);
      }
	  
		function outputDistance(result) {
        //dojo.byId("distance").innerHTML = dojo.number.format(result.lengths[0] ) + " Feet";
		alert('Distance = ' + dojo.number.format((result.lengths[0]), {places : 1}) + " Feet");
      }
	  
	    function outputAreaAndLength(result) {
        //console.log(dojo.toJson(result));
        //dojo.byId("distance").innerHTML = result.areas[0]/43560 + " Acres";
        alert('Area = ' + dojo.number.format((result.areas[0]/43560), {places : 2}) + " Acres");
      }
		
		function endFunctionality(map,tb) {
		
		map.graphics.clear();
		dojo.disconnect(objectconnections[0]);
		dojo.disconnect(objectconnections[1]);
		dojo.disconnect(objectconnections[2]);
		tb.deactivate();
		objectconnections[0] = dojo.connect(map, "onClick", executeQueryTask);
		navToolbar.deactivate()
		}
		
		function advancedsearch() {
		
			//dijit.byId("search").hide();
			var searchURL = "./advancedsearch.asp";
  	 	    dojo.byId("searchframe").src = searchURL;
            dijit.byId("Advanced_Search").show();
			dijit.byId("search").hide();
			
			}
						
		function showPDFMap(url) {		   
  			//alert('value is : ' + url );
			
			map.infoWindow.hide()
			var reportURL = url;
			dojo.byId("PDFMapFrame").src = reportURL;
			dijit.byId("PDFMap").show();
			//dijit.byId('PDFMap')._underlay.hide();
			}
			
		function showPropertyCard(url) {		   
  			//alert('value is : ' + url );
			
			map.infoWindow.hide()
			var reportURL = url;
			dojo.byId("PropertyCardFrame").src = reportURL;
			dijit.byId("PropertyCard").show();
			dijit.byId('PropertyCard')._underlay.hide();
			}
							
		