var min= ""; var isMin = false; var appVersion = "4.1.1"; /* aws 1.3 */ var isDebug=true; var showStyle = { display: "block", visibility: "visible"}; var hideStyle = { display: "none", visibility: "hidden"}; var userJson = '{"loginId":"guest","validId":true,"validPassword":true,"authorizations":{},"userGroups":{},"preferences":{},"autoLoginIndicator":0,"employee":false,"authForUpdateAll":false,"authForUpdateContact":false,"userIsSystemAdmin":false,"userIsBusinessManager":false,"remoteCreditCardsOnFile":false,"funds":[],"account":{"id":19562,"accountId":"TP_OTA1000","companyName":"Oceanview Title Agency, LLC","organization":{"name":{"orgName":"Oceanview Title Agency, LLC"},"businessId":"","type":0,"id":987462,"primaryAddress":{"city":"Brielle","stateOrProvince":"NJ","country":"","zip":{"zip1":"08730","zip2":""},"type":"","addressLines":["617 Highway 71","",""]},"addresses":[],"roles":{},"relatedParties":[]},"accountType":0,"active":false,"paymentType":0,"notes":[],"canAddAccounts":0,"licensedProducts":[{"id":393922,"accountId":19562,"productId":310,"effectiveDate":"Feb 4, 2015","priceAdjusted":false,"prodName":"njpft","prodDisplayName":"Third party"}],"creditLimit":0.0,"creditPercentOfSales":0,"creditFundAmount":0.0,"adLevel":0,"enableAllProducts":false,"emitPricingOnReports":0,"alwaysManuallyPrepare":0,"alwaysQC":0,"useOldTemplate":0,"useRasterMaps":0,"fulfillmentOverride":0,"excludeMapImages":0,"excludeLenderForm":0,"excludePropertyReport":0,"sendSalesNotification":1,"migrateToPro":0,"isForInternalUse":0,"licensedAppURL":".njflood.com/njpft/order?userAction\u003dinitOrder\u0026accountId\u003dTP_OTA1000\u0026clientKey\u003d2BA4A668B52E0845CA56A03D34C892AC\u0026defaultCounty\u003d1\u0026defaultMuni\u003d","licensedApp":{"id":393922,"accountId":19562,"productId":310,"effectiveDate":"Feb 4, 2015","priceAdjusted":false,"prodName":"njpft","prodDisplayName":"Third party"},"clientType":10,"clientTypeLabel":"Title","profileAndAuthorizationServiceURL":"","njfloodScript":"\u003cscript id\u003d\u0027njpf\u0027 src\u003d\u0027//www.njflood.com/njpft/order?a\u003dload\u0026accountId\u003dTP_OTA1000\u0026clientKey\u003d2BA4A668B52E0845CA56A03D34C892AC\u0027 async\u003e\u003c/script\u003e","peekOptSections":";5;14;6;15;7;17;8;18;9;19;10;20;11;21;12;22;13;23;","salesContactEmail":"jomalley@oceanviewtitle.com","fullAccountInstantiatedTime":"May 4, 2024 6:11:32 AM","advSearchExpanded":0,"defaultState":"","defaultLenderId":0,"lenderSearchExpanded":0,"userGroups":[],"pricedCatalog":[{"active":1,"product":{"id":410,"name":"real_gold_flood","displayName":"Realtor Gold Flood subscription","shortName":"Realtor Gold","briefDescription":"A subscription for reduced price Flood Determinations","descriptionURL":"","available":true,"availableDate":"Nov 1, 2016 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":1,"isLicensedApp":0,"productState":"XX","userSelectable":false,"displayOrder":0,"priceOptions":[],"availStates":";XX;"},"catalogId":-99,"productId":410,"displayOrder":-1,"prices":[{"id":83561,"amount":25.0,"accountId":-99,"productId":410,"effectiveDate":"Nov 1, 2016 12:00:00 AM","priceAdjusted":false,"numberOfUnits":10,"allocateToType":4,"subscriptionModel":0,"costPerUnit":2.5}],"selected":false,"fromAccount":19562},{"active":0,"product":{"id":301,"name":"survey","displayName":"Survey","shortName":"Survey","nameAbbrev":"Survey","briefDescription":"Survey","descriptionURL":"","available":true,"availableDate":"Feb 9, 2017 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":0,"priceOptions":[],"availStates":";NJ;"},"catalogId":-99,"productId":301,"displayOrder":-1,"prices":[],"selected":false,"fromAccount":19562},{"id":5432,"active":1,"product":{"id":2,"name":"flood_det","displayName":"Flood Zone Determination","shortName":"Flood Determination","nameAbbrev":"Flood","briefDescription":"The basic report identifies the flood zone, community number map and panel number, community participation information, insurance \u003cbr\u003eavailability, and map date and entry date. This is where similarities and qualities of service end.","descriptionURL":"http://www.njpropertyfax.com/flood","vendorName":"WTG","vendorProductId":"WTG001","available":true,"availableDate":"Mar 1, 2015 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"WY","userSelectable":true,"displayOrder":1,"priceOptions":[],"availStates":";AK;AL;AR;AS;AZ;CA;CO;CT;DC;DE;FL;GA;GU;HI;IA;ID;IL;IN;KS;KY;LA;MA;MD;ME;MI;MN;MO;MP;MS;MT;NC;ND;NE;NH;NJ;NM;NV;NY;OH;OK;OR;PA;PR;RI;SC;SD;TN;TX;UT;VA;VI;VT;WA;WI;WV;WY;"},"catalogId":19562,"productId":2,"displayOrder":1,"prices":[{"id":80631,"amount":30.0,"accountId":-99,"productId":2,"effectiveDate":"Oct 1, 2013 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"productName":"Flood Zone Determination","fromAccount":19562},{"id":5442,"active":0,"product":{"id":305,"name":"PeekTax","displayName":"Property Peek: TAX","shortName":"Peek: Tax","nameAbbrev":"PeekTax","briefDescription":"A tax oriented report","descriptionURL":"","available":true,"availableDate":"Oct 1, 2013 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":1,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":305,"displayOrder":2,"prices":[],"selected":false,"fromAccount":19562},{"id":5452,"active":1,"product":{"id":306,"name":"PeekDeluxe","displayName":"Property Peek: DELUXE","shortName":"Peek: Deluxe","nameAbbrev":"PeekDeluxe","briefDescription":"A deluxe report","descriptionURL":"","available":true,"availableDate":"Oct 1, 2013 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":2,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":306,"displayOrder":3,"prices":[{"id":79671,"amount":40.0,"accountId":-99,"productId":306,"effectiveDate":"Oct 1, 2013 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"fromAccount":19562},{"id":5462,"active":1,"product":{"id":4,"name":"tidelands","displayName":"Tidelands Report","shortName":"Tidelands Report","nameAbbrev":"Tide","briefDescription":"A map overlay of the tidelands boundaries, riparian rights and claims are established by the state of New Jersey to portions of property \u003cbr\u003elying in areas presently or formerly flowed by tidal waters.","descriptionURL":"http://www.njpropertyfax.com/tidelands","vendorName":"WTG","vendorProductId":"WTG002","available":true,"availableDate":"Jul 30, 2007 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":3,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":4,"displayOrder":4,"prices":[{"id":80641,"amount":60.0,"accountId":-99,"productId":4,"effectiveDate":"Oct 1, 2013 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"fromAccount":19562},{"id":5472,"active":0,"product":{"id":9,"name":"Cat1Stream","displayName":"Category 1 Stream analysis","shortName":"Category One","nameAbbrev":"CatOne","briefDescription":"There are severe restrictions on what can be built within 150ft of a Category 1 stream in New Jersey. (Category 1 being a fresh water stream) WTG can produce a report on a property with the category 1 stream and 150ft buffer.","descriptionURL":"http://www.njpropertyfax.com/wetlands_stormwater","vendorName":"WTG","vendorProductId":"WTG004","available":true,"availableDate":"May 4, 2011 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":8,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":9,"displayOrder":5,"prices":[],"selected":false,"fromAccount":19562},{"id":5492,"active":0,"product":{"id":308,"name":"LOMA","displayName":"LOMA Application","shortName":"LOMA Application","nameAbbrev":"LOMA","briefDescription":"A eLOMA","descriptionURL":"","available":true,"availableDate":"Mar 1, 2015 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"WY","userSelectable":true,"displayOrder":7,"priceOptions":[],"availStates":";AK;AL;AR;AZ;CA;CO;CT;DC;DE;FL;GA;HI;IA;ID;IL;IN;KS;KY;LA;MA;MD;ME;MI;MN;MO;MS;MT;NC;ND;NE;NH;NJ;NM;NV;NY;OH;OK;OR;PA;RI;SC;SD;TN;TX;UT;VA;VT;WA;WI;WV;WY;"},"catalogId":19562,"productId":308,"displayOrder":7,"prices":[],"selected":false,"fromAccount":19562},{"id":11362,"active":1,"product":{"id":309,"name":"eLOMA","displayName":"eLOMA Application","shortName":"eLOMA","nameAbbrev":"eLOMA","briefDescription":"Electronically submitted LOMA for quickest turnaround","descriptionURL":"","available":true,"availableDate":"Sep 17, 2016 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"WY","userSelectable":true,"displayOrder":0,"priceOptions":[],"availStates":";AK;AL;AR;AZ;CA;CO;CT;DC;DE;FL;GA;HI;IA;ID;IL;IN;KS;KY;LA;MA;MD;ME;MI;MN;MO;MS;MT;NC;ND;NE;NH;NJ;NM;NV;NY;OH;OK;OR;PA;RI;SC;SD;TN;TX;UT;VA;VT;WA;WI;WV;WY;"},"catalogId":19562,"productId":309,"displayOrder":8,"prices":[{"id":83381,"amount":400.0,"accountId":-99,"productId":309,"effectiveDate":"Sep 17, 2016 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"fromAccount":19562},{"id":5482,"active":0,"product":{"id":307,"name":"Survey","displayName":"Elevation Certificate","shortName":"Survey/Elevation Cert.","nameAbbrev":"ElevCert","briefDescription":"Elevation Certificate","descriptionURL":"","available":true,"availableDate":"Oct 1, 2013 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":8,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":307,"displayOrder":9,"prices":[],"selected":false,"fromAccount":19562}],"pricingScheduleId":-99,"contacts":[],"partnerAccountId":0,"quickbooksAccount":"Oceanview Title Agency, LLC","billingProvider":0,"includeReportAsEmailAttach":false,"accountRelatedServices":[{"id":1,"url":"https://www.westerntechnologiesgroup.com/flood-insurance-quote-request","serviceType":1}]},"active":false,"remoteUserAuthorizationsRequired":false,"pricedCatalog":[{"active":1,"product":{"id":410,"name":"real_gold_flood","displayName":"Realtor Gold Flood subscription","shortName":"Realtor Gold","briefDescription":"A subscription for reduced price Flood Determinations","descriptionURL":"","available":true,"availableDate":"Nov 1, 2016 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":1,"isLicensedApp":0,"productState":"XX","userSelectable":false,"displayOrder":0,"priceOptions":[],"availStates":";XX;"},"catalogId":-99,"productId":410,"displayOrder":-1,"prices":[{"id":83561,"amount":25.0,"accountId":-99,"productId":410,"effectiveDate":"Nov 1, 2016 12:00:00 AM","priceAdjusted":false,"numberOfUnits":10,"allocateToType":4,"subscriptionModel":0,"costPerUnit":2.5}],"selected":false,"fromAccount":19562},{"active":0,"product":{"id":301,"name":"survey","displayName":"Survey","shortName":"Survey","nameAbbrev":"Survey","briefDescription":"Survey","descriptionURL":"","available":true,"availableDate":"Feb 9, 2017 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":0,"priceOptions":[],"availStates":";NJ;"},"catalogId":-99,"productId":301,"displayOrder":-1,"prices":[],"selected":false,"fromAccount":19562},{"id":5432,"active":1,"product":{"id":2,"name":"flood_det","displayName":"Flood Zone Determination","shortName":"Flood Determination","nameAbbrev":"Flood","briefDescription":"The basic report identifies the flood zone, community number map and panel number, community participation information, insurance \u003cbr\u003eavailability, and map date and entry date. This is where similarities and qualities of service end.","descriptionURL":"http://www.njpropertyfax.com/flood","vendorName":"WTG","vendorProductId":"WTG001","available":true,"availableDate":"Mar 1, 2015 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"WY","userSelectable":true,"displayOrder":1,"priceOptions":[],"availStates":";AK;AL;AR;AS;AZ;CA;CO;CT;DC;DE;FL;GA;GU;HI;IA;ID;IL;IN;KS;KY;LA;MA;MD;ME;MI;MN;MO;MP;MS;MT;NC;ND;NE;NH;NJ;NM;NV;NY;OH;OK;OR;PA;PR;RI;SC;SD;TN;TX;UT;VA;VI;VT;WA;WI;WV;WY;"},"catalogId":19562,"productId":2,"displayOrder":1,"prices":[{"id":80631,"amount":30.0,"accountId":-99,"productId":2,"effectiveDate":"Oct 1, 2013 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"productName":"Flood Zone Determination","fromAccount":19562},{"id":5442,"active":0,"product":{"id":305,"name":"PeekTax","displayName":"Property Peek: TAX","shortName":"Peek: Tax","nameAbbrev":"PeekTax","briefDescription":"A tax oriented report","descriptionURL":"","available":true,"availableDate":"Oct 1, 2013 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":1,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":305,"displayOrder":2,"prices":[],"selected":false,"fromAccount":19562},{"id":5452,"active":1,"product":{"id":306,"name":"PeekDeluxe","displayName":"Property Peek: DELUXE","shortName":"Peek: Deluxe","nameAbbrev":"PeekDeluxe","briefDescription":"A deluxe report","descriptionURL":"","available":true,"availableDate":"Oct 1, 2013 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":2,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":306,"displayOrder":3,"prices":[{"id":79671,"amount":40.0,"accountId":-99,"productId":306,"effectiveDate":"Oct 1, 2013 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"fromAccount":19562},{"id":5462,"active":1,"product":{"id":4,"name":"tidelands","displayName":"Tidelands Report","shortName":"Tidelands Report","nameAbbrev":"Tide","briefDescription":"A map overlay of the tidelands boundaries, riparian rights and claims are established by the state of New Jersey to portions of property \u003cbr\u003elying in areas presently or formerly flowed by tidal waters.","descriptionURL":"http://www.njpropertyfax.com/tidelands","vendorName":"WTG","vendorProductId":"WTG002","available":true,"availableDate":"Jul 30, 2007 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":3,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":4,"displayOrder":4,"prices":[{"id":80641,"amount":60.0,"accountId":-99,"productId":4,"effectiveDate":"Oct 1, 2013 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"fromAccount":19562},{"id":5472,"active":0,"product":{"id":9,"name":"Cat1Stream","displayName":"Category 1 Stream analysis","shortName":"Category One","nameAbbrev":"CatOne","briefDescription":"There are severe restrictions on what can be built within 150ft of a Category 1 stream in New Jersey. (Category 1 being a fresh water stream) WTG can produce a report on a property with the category 1 stream and 150ft buffer.","descriptionURL":"http://www.njpropertyfax.com/wetlands_stormwater","vendorName":"WTG","vendorProductId":"WTG004","available":true,"availableDate":"May 4, 2011 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":8,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":9,"displayOrder":5,"prices":[],"selected":false,"fromAccount":19562},{"id":5492,"active":0,"product":{"id":308,"name":"LOMA","displayName":"LOMA Application","shortName":"LOMA Application","nameAbbrev":"LOMA","briefDescription":"A eLOMA","descriptionURL":"","available":true,"availableDate":"Mar 1, 2015 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"WY","userSelectable":true,"displayOrder":7,"priceOptions":[],"availStates":";AK;AL;AR;AZ;CA;CO;CT;DC;DE;FL;GA;HI;IA;ID;IL;IN;KS;KY;LA;MA;MD;ME;MI;MN;MO;MS;MT;NC;ND;NE;NH;NJ;NM;NV;NY;OH;OK;OR;PA;RI;SC;SD;TN;TX;UT;VA;VT;WA;WI;WV;WY;"},"catalogId":19562,"productId":308,"displayOrder":7,"prices":[],"selected":false,"fromAccount":19562},{"id":11362,"active":1,"product":{"id":309,"name":"eLOMA","displayName":"eLOMA Application","shortName":"eLOMA","nameAbbrev":"eLOMA","briefDescription":"Electronically submitted LOMA for quickest turnaround","descriptionURL":"","available":true,"availableDate":"Sep 17, 2016 12:00:00 AM","type":0,"isLicensedApp":0,"productState":"WY","userSelectable":true,"displayOrder":0,"priceOptions":[],"availStates":";AK;AL;AR;AZ;CA;CO;CT;DC;DE;FL;GA;HI;IA;ID;IL;IN;KS;KY;LA;MA;MD;ME;MI;MN;MO;MS;MT;NC;ND;NE;NH;NJ;NM;NV;NY;OH;OK;OR;PA;RI;SC;SD;TN;TX;UT;VA;VT;WA;WI;WV;WY;"},"catalogId":19562,"productId":309,"displayOrder":8,"prices":[{"id":83381,"amount":400.0,"accountId":-99,"productId":309,"effectiveDate":"Sep 17, 2016 12:00:00 AM","priceAdjusted":false,"subscriptionModel":0}],"selected":true,"fromAccount":19562},{"id":5482,"active":0,"product":{"id":307,"name":"Survey","displayName":"Elevation Certificate","shortName":"Survey/Elevation Cert.","nameAbbrev":"ElevCert","briefDescription":"Elevation Certificate","descriptionURL":"","available":true,"availableDate":"Oct 1, 2013 12:00:00 AM","type":0,"isAddOn":0,"isLicensed":0,"isLicensedApp":0,"productState":"NJ","userSelectable":true,"displayOrder":8,"priceOptions":[],"availStates":";NJ;"},"catalogId":19562,"productId":307,"displayOrder":9,"prices":[],"selected":false,"fromAccount":19562}],"name":{},"dayPhone":{"number":{},"make":"","model":""},"eveningPhone":{"number":{},"make":"","model":""},"isFemale":false,"id":999999,"primaryAddress":{"city":"","stateOrProvince":"","country":"","zip":{"zip1":"","zip2":""},"type":"","addressLines":["","",""]},"addresses":[],"fax":{"number":{},"make":"","model":""},"roles":{},"relatedParties":[]}'; var wtgStates = ';01;AL;04;AZ;05;AR;06;CA;08;CO;09;CT;10;DE;11;DC;12;FL;13;GA;16;ID;17;IL;18;IN;19;IA;20;KS;21;KY;22;LA;23;ME;24;MD;25;MA;26;MI;27;MN;28;MS;29;MO;30;MT;31;NE;32;NV;33;NH;34;NJ;35;NM;36;NY;37;NC;38;ND;39;OH;40;OK;41;OR;42;PA;44;RI;45;SC;46;SD;47;TN;48;TX;49;UT;50;VT;51;VA;53;WA;54;WV;55;WI;56;WY;'; function isWTGState(s) { if (wtgStates.indexOf(";" + s + ";") != -1) { return true; } return false; } var propSvcHost = 'www.njpropertyfax.com'; var isAPI=null; var psr=null; var cssURL= '' var isMatchMediaSupported = !!(window && window.matchMedia); var mobile; if (isMatchMediaSupported) { mobile = window.matchMedia("only screen and (max-width: 768px)").matches; // matches mfsM.css } else { mobile = (screen.width < 768 ? true : false); } var loadBalancer = 'www.myfloodstatus.com'; var contextPath='/njpft'; var showSearch = false; var touchEnabled=false; var makeAProperty="not a function"; // var stateSel; // alias jquery as $ (function($) { function log(err) { if (console!=undefined) console.log(err); } // define functions in the context of tparty namespace var tparty = { autoSearchProperty : null, appInit: function() { if (isAPI.showSearch) { // jQuery and jQuery UI required jQuery( document ).ready( tparty.initSearch ) } }, cnt : 0, stateSelCallback: function() { if (!isAPI.showSearch) return; var state = $("#states").val(); // ignore the state returned by the propertySearch widget - for some reason it returns "" the first time a state is selected var qs = $("#njf_addrAutoComplete"); if (state==null || state=="" || state.indexOf("Begin t")!=-1) { qs.css("visibility", "hidden"); } else { qs.css("visibility", "visible"); } }, initSearch: function() { var searchCtrl = jQuery("#njf_addrAutoComplete"); if (searchCtrl==null) return; if (searchCtrl.autocomplete == undefined) { //console.log("initSearch - waiting for jquery autocomplete extension to load...."); if (tparty.cnt==10) return; tparty.cnt++; window.setTimeout(tparty.initSearch, 5000 ); } else { //console.log("appInit - instantiate and start PropertySearch...."); var user = { id: "guest" }; try { if (userJson.length > 0) { user = $.parseJSON(userJson); } } catch (e) { console.log(e); } tparty.autoSearchProperty = new PropertySearch({ elementId: "njf_addrAutoComplete", psr: isAPI.psr, useVerUnVer: false, propertyServiceHost: propSvcHost, searchUS: true, stateChangeCallback: tparty.stateSelCallback, limitSearchToWTGStates: false, sortWTGPropertiesFirst: true, getOwnerForSelProp: false, user: user, addlParams: "&tp=1" /* aws 1.3 */ /* flag for apache to set Access-Control-Allow-Origin * for this request */ }); //tparty.autoSearchProperty.start(); } }, genLogoImg: function(url) { var img = $("").attr({ id: "njf_logo", src: url }).addClass("center"); img.click(function(e){ e.preventDefault(); tparty.placeOrder() }); return img; }, addControls: function(root) { // if no options to include additional controls are selected just display the logo if (isAPI.label==null && !isAPI.showSearch) { var applyStyle=false; if (isAPI.logoURL!="") { lurl = isAPI.logoURL; } else { lurl = "https://www.myfloodstatus.com/static/ecomm/images/mfs_largev1.png"; applyStyle=true; } root.after(tparty.genLogoImg(lurl)); if (applyStyle) { $("#njf_logo").css({ padding: "3px", border: "2px solid #1b436b" }); } return; } var main = $("