function _SFM(A){this._MM(A);this.FieldDisplayNames=new Array("","","","","","","","","","MLS#","List Price","Bedrooms","Baths","Land Tenure","Land Area","Int.Liv.Area","Tot.Int.Area","Year Built","Mon.Maint.Fee","Furnished","*","TMK");this.PicturesLoaded=false}copyPrototype(_SFM,_MM);_SFM.prototype.streetnum=function(){return this.FullArray[4]};_SFM.prototype.streetdir=function(){return this.FullArray[5]};_SFM.prototype.streetname=function(){return this.FullArray[6]};_SFM.prototype.City=function(){return this.FullArray[7]};_SFM.prototype.Zipcode=function(){return this.FullArray[8]};_SFM.prototype.MlsNumber=function(){return this.FullArray[9]};_SFM.prototype.Price=function(){return this.FullArray[10]};_SFM.prototype.KeyParam=function(){return this.FullArray[22]};_SFM.prototype.FavoriteLabel=function(){return this.FullAddress()};_SFM.prototype.FullAddress=function(){return this.streetnum()+" "+this.streetdir()+" "+this.streetname()};_SFM.prototype.ToLinkHTML=function(){var A='<A  id="link'+this.MarkerId()+'" HREF="javascript:mmc.AddTabByMarkerId('+this.MarkerId()+')"  onmouseover="mmc.MarkerFocusIn('+this.MarkerId()+')" onmouseout="mmc.MarkerFocusOut('+this.MarkerId()+')">'+this.FullAddress()+"</A><br/>";return A};_SFM.prototype.ToTableRowHTML=function(){var A="";if(SuperSearchType==-1){A=formatCurrency(this.KeyParam())}else{A=FormatSecondCol4SuperSearch(this.KeyParam())}return"<tr><td>"+this.ToLinkHTML()+"</td><td>"+A+"</td></tr>"};_SFM.prototype.ToPopupHTML=function(){return this.FullAddress()+"<br/>"+formatCurrency(this.Price())};_SFM.prototype.PictureBase=function(A){return this.FullArray[9]};_SFM.prototype.GetImage=function(A){var B=parseInt(parseInt(A)+1);if(A!="0"){alert("SFH image")}else{return GetMLSImageUrl(this.MlsNumber(),1)}};_SFM.prototype.ToTabName=function(){return this.FullAddress()};_SFM.prototype.ToDetails=function(D,C){var A=_MM.prototype.ToDetails.call(this,D,C);if(D){}else{if(!C){A+=GetSFHGoogleAd()}var B=this.FullAddress()+"<br/>"+this.City()+",HI,"+this.Zipcode();A+=this.ToStaticDetail(this.FullAddress(),B,C)}if(!C){A+="<a href='javascript:CopyToClipboard("+this.MarkerId()+")'>Copy to clipboard as HTML(IE Only)</a>";A+=" <br/><small>Use this link to copy the property information to clipboard. Then, you can paste it to a Notepad file,<br/>";A+=" save it with the extension '.html', and open it in browser from you local disk or attach to an email</small>"}return A};function CopyToClipboard(A){if(window.clipboardData&&clipboardData.setData){var C=mmc.MasterMarkerFromId(A);var B='<html><head><script src="http://www.alohamapper.com/js/master_image.js" type="text/javascript"><\/script></head><body>';B+=C.ToDetails(false,true);B+="<hr/>";B+="<BR/>Please contact us with all your real estate related needs.";B+="All clients are served by an experienced licensed Realtor-Associate, with GRI and e-PRO certifications and expertise in handling multimillion dollar properties.";B+='No matter what your real estate goals are, high quality of service is GUARANTEED! We do our best to provide you with the "10 out of 10" service.';B+="<BR/><BR/>John Waln (RA, MCSD, MCSD.NET)<BR/>Hawaii Realty Associates, LLC<br/>E-mail: idht(at)yahoo(dot)com";B+="<hr/>";B+="<h3 style=\"font-family: Bookman Old Style\">Please visit <a href='http://www.alohamapper.com'>ALOHAMAPPER.COM</a> to search <a href='http://www.alohamapper.com'>Hawaii Real Estate using Google maps</a></h3>";B+="<hr/></body></html>";window.clipboardData.setData("Text",B);alert("Copied to your local clipboard !")}else{alert("This feature is currently only supported in Internet Explorer")}}_SFM.prototype.GetDashboardImagesHtml=function(){return GetImageTable4MLS(this.MlsNumber(),4)+GetEmailForm(this.MlsNumber(),false)};