document.addEventListener("DOMContentLoaded", function () {
// Scroll Nav
$(function () {
var header = $("body #header");
var headerLogoHome = $("body.header-transparent #header img");
var headerLogoInner = $("body:not(.header-transparent) #header img");
var headerContainer = $("body #header > .container");
var contactNav = $("#header .container .row-flex:nth-child(1)");
$(window).scroll(function () {
var scroll = $(window).scrollTop();
if (scroll >= 10) {
header.addClass("scroll");
headerContainer.addClass("scroll");
contactNav.addClass("scroll");
headerLogoHome.addClass("scale-down");
headerLogoInner.addClass("scale-down");
} else {
header.removeClass("scroll");
headerContainer.removeClass("scroll");
contactNav.removeClass("scroll");
headerLogoHome.removeClass("scale-down");
headerLogoInner.removeClass("scale-down");
}
});
});
// Footer Fade In
$(window).scroll(function () {
$(".hideme").each(function (i) {
var bottom_of_object = $(this).offset().top + $(this).outerHeight();
var bottom_of_window = $(window).scrollTop() + $(window).height();
if (bottom_of_window > bottom_of_object) {
$(this).addClass("fade-in");
}
});
});
var kv = account_info;
// helpers
shuffleArray = function shuffle(coreArray) {
var ctr = coreArray.length,
temp,
index;
while (ctr > 0) {
index = Math.floor(Math.random() * ctr);
ctr--;
temp = coreArray[ctr];
coreArray[ctr] = coreArray[index];
coreArray[index] = temp;
}
return coreArray;
};
// Favicon
$('link[rel="icon"]').attr(
"href",
"https://kunversion-frontend-blog.s3.amazonaws.com/images/customarea-mydoorsold.com-0-78f825575834d8037b0db7791e0a6c88d5848791.png"
);
// Global Overwrites
$(".location-form-group input").attr(
"placeholder",
"City, Area, Postal Code, MLS#, or Address"
);
// Edit Footer "Small" text
const footerTagNumber = $('#footer .footer-top-left > p small a').text();
$(`
${kv.website_owner_type==="company"||kv.website_owner_type==="entity"?`Feel free to contact our offices at ${footerTagNumber} to speak to a My Home Group agent about your local real estate market.`:`Feel free to contact me at ${footerTagNumber} to speak about your local real estate market.`}
Local area experts. Experienced and knowledgeable.
My Home Group Agents navigate over 20% of the transactions in the valley. Our trained experts understand each of the programs available that help you secure the best return on your home, based on your specific needs. Your home, your options.
My Home Group agents live, work and contribute to your local communities. Our expertise is showcased in over 20% of the transactions in the Phoenix Metro Area.
Massive Marketing and Exposure
What does a large, professionally run advertising campaign including tv, radio and streaming mean? The A+ service that My Home Group provides.
Your Home Your Options
Why settle for a company with only one approach? My Home Group listens and collaborates with you to provide the best options to sell your home. Your home, your options.
Premium marketing & online tools
Traditional and Digital marketing
My Home Group promotes our clients through an extensive marketing campaign that includes traditional tv, radio, streaming tv, social media, youtube and more. With over 10,000,000 impressions per month we get noticed.
The power of numbers
My Home Group represents over 20% of the buyers and sellers in the Phoenix metro market. Our exposure includes over 3000 agents, $7 billion in sales in 2020, and over 20,000 transactions per year. Get one on one attention from our local experts while maximizing our reach.
Your Home Your Options
Today’s real estate market requires a forward thinking brokerage that offers clients every option available to sell your home. iBuyers, cash offers, quick close, traditional sales and more. We listen to you to build the best program for your home sale.
How it works
When you sell with a My Home Group Agent, we’re with you every step of the way.
Process and systems
We listen! Together with you, our local expert will review your individual needs and goals regarding your home sale. My Home Group believes that every home seller has a unique story and we want to work with you to make your perfect scenario a reality.
Professional quality from day 1
My Home Group sells homes and does it well. We are not photographers, stagers, drone operators, or writers. We use our proven systems to hire the right professionals to transform your home to list ready!
Massive Exposure
Once your home is on the market, our step by step process makes sure that your home is exposed to as many potential buyers as possible. Through syndication to all major websites, as well as our powerful marketing campaigns, we can assure you that your home will be showcased to ready and willing buyers!
With you every step of the way
My Home Group’s professional, local experts will be there to review every offer and negotiate on your behalf. From the time the offer is accepted to closing, your professional sales person is with you every step of the way. Our processes will provide you with an escrow period as painless and seamless as possible.
`).insertAfter("#sell-bodycontent .content > .information-bar");
setVideoCta({
backgroundImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/selling/sold-1.jpg",
gradientColor: "0,0,0,0.5",
sectionHeader: "Sell your home with confidence",
sectionText:
"My Home Group Agents are skilled negotiators who will be your relentless advocate and guide you through the entire process.",
videoId: "ekzfKKdBc38",
buttonText: "Watch Video",
textColor: "ffffff",
appendTo: $("#sell-bodycontent #kv-sell-video")
});
// Add Animation to Applpy Button on Map Search
$('#search-results-bodycontent #draw #submit-polygon').addClass('look-at-me');
// Set Logo Thumbnail Fallback
const fallbackPlaceholder =
"http://kunversion-frontend-custom.s3.amazonaws.com/1assets/recruiting/avatar.jpeg";
// Update Agent Roster Placeholder
if (fallbackPlaceholder !== "") {
let agentPlaceholderImages = document.querySelectorAll(
'#roster-bodycontent #agent-roster .listing-box-image img[src*="nophoto"]'
);
agentPlaceholderImages.forEach((image) => {
image.setAttribute("src", fallbackPlaceholder);
image.setAttribute(
"style",
"object-position: center; max-height: 160px;"
);
});
}
if (kv.website_owner_type === "company") {
//Replace company social links with phone
companySocialBar();
//Custom home page areas on company site
if ($('#home-bodycontent').length) {
const customtop = document.querySelector("#home-bodycontent .custom-top");
companyHero();
companyAccolades(customtop);
}
//Replace instant valuation with custom form
if ($('#sell-bodycontent').length) {
companySellForm();
}
}
if ($("#home-bodycontent")) {
const t = document.querySelector("#home-bodycontent .custom-top");
const b = document.querySelector("#home-bodycontent .custom-bottom");
if (kv.website_owner_type === "company") {
//entityHero();
// setOfficeLocations({
// sectionHeader: "Our Office Locations",
// makeSlider: false,
// useOfficePhotos: false,
// fallbackOfficePhoto: "",
// fallbackOfficeLogo: "",
// getDirections: false,
// appendTo: t,
// });
/*
aboutEntity({
reverseRow: false,
fallbackImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/residential/house-1.jpg",
fallbackAlt: "Man and Woman Sitting on Couch Smiling",
entityAboutHeader: "A Little About Us",
fallbackText:
"Through our diverse backgrounds and decades of experience, we were founded on ethical principles to serve communities far and abroad with their Real Estate needs. Trust, devotion, integrity, and reliability are just a few of the qualities we hold close to each purchase and sale.",
entityAboutLinkText: "Read More",
entityAboutLink: "/contact.php#map-contact",
appendTo: t,
});
*/
setCustomListings({
array: account_info.exclusivelistings,
className: "exclusives",
containerType: "container",
makeSlider: false,
slidePauseTime: 5000,
numOfItems: 6,
shuffle: true,
sectionHeader: "Our Exclusive Listings",
appendTo: b,
});
if (kv.testiomonials.length !== 0) {
setTestimonials({
backgroundImage: "",
gradientColor: "0,0,0,.05",
textColor: "000000",
quotes: false,
className: "custom-testimonials",
numOfItems: 5,
onlyFiveStars: false,
slidePauseTime: 5000,
trim: 350,
sectionHeader: `What your Neighbors are Saying`,
appendTo: b,
});
}
setFooterCta({
backgroundImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/recruiting/join-us.jpg",
gradientColor: "0,0,0,0.5",
sectionHeader: "A Career in Real Estate Starts Here",
sectionText:
"Contact us today for your confidential interview and discover why agents choose us.",
sectionLink: "https://myhomegroup.com/join/",
sectionLinkText: "Join Us",
textColor: "ffffff",
});
} else if (
kv.website_owner_type === "entity" &&
kv.is_team_site === false
) {
entityHero();
aboutEntity({
reverseRow: false,
fallbackImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/residential/house-1.jpg",
fallbackAlt: "Man and Woman Sitting on Couch Smiling",
entityAboutHeader: "A Little About Us",
fallbackText:
"Through our diverse backgrounds and decades of experience, we were founded on ethical principles to serve communities far and abroad with their Real Estate needs. Trust, devotion, integrity, and reliability are just a few of the qualities we hold close to each purchase and sale.",
entityAboutLinkText: "Read More",
entityAboutLink: "/contact.php",
appendTo: t,
});
setCustomListings({
array: account_info.exclusivelistings,
className: "exclusives",
containerType: "container",
makeSlider: false,
slidePauseTime: 5000,
numOfItems: 6,
shuffle: true,
sectionHeader: "Our Exclusive Listings",
appendTo: b,
});
if (kv.testiomonials.length !== 0) {
setTestimonials({
backgroundImage: "",
gradientColor: "0,0,0,.05",
textColor: "000000",
quotes: false,
className: "custom-testimonials",
numOfItems: 5,
onlyFiveStars: false,
slidePauseTime: 5000,
trim: 350,
sectionHeader: `What your Neighbors are Saying`,
appendTo: b,
});
}
setFooterCta({
backgroundImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/recruiting/join-us.jpg",
gradientColor: "0,0,0,0.5",
sectionHeader: "A Career in Real Estate Starts Here",
sectionText:
"Contact us today for your confidential interview and discover why agents choose us.",
sectionLink: "https://myhomegroup.com/join/",
sectionLinkText: "Join Us",
textColor: "ffffff",
});
} else if (kv.website_owner_type === "entity" && kv.is_team_site === true) {
entityHero();
aboutEntity({
fallbackImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/residential/house-1.jpg",
fallbackAlt: "Man and Woman Sitting on Couch Smiling",
entityAboutHeader: "A Little About Us",
fallbackText:
"Through our diverse backgrounds and decades of experience, we were founded on ethical principles to serve communities far and abroad with their Real Estate needs. Trust, devotion, integrity, and reliability are just a few of the qualities we hold close to each purchase and sale.",
entityAboutLinkText: "Read More",
entityAboutLink: "/contact.php",
appendTo: t,
});
setMeetTheTeam({
array: kv.agents,
shuffle: true,
className: "style-1",
sectionHeader: "Meet the Team",
agentTitleFallback: "Real Estate Agent",
removeNoPhoto: false,
replaceNoPhoto: {
state: true,
photo:
fallbackPlaceholder !== ""
? fallbackPlaceholder
: "http://kunversion-frontend-custom.s3.amazonaws.com/1assets/recruiting/avatar.jpeg",
},
hasFounders: [],
makeSlider: true,
removeMembers: [],
slidePauseTime: 5000,
numOfItems: 24,
appendTo: t,
});
setCustomListings({
array: account_info.exclusivelistings,
className: "exclusives",
containerType: "container",
makeSlider: false,
slidePauseTime: 5000,
numOfItems: 6,
shuffle: true,
sectionHeader: "Our Exclusive Listings",
appendTo: b,
});
if (kv.testiomonials.length !== 0) {
setTestimonials({
backgroundImage: "",
gradientColor: "0,0,0,.05",
textColor: "000000",
quotes: false,
className: "custom-testimonials",
numOfItems: 5,
onlyFiveStars: false,
slidePauseTime: 5000,
trim: 350,
sectionHeader: `What your Neighbors are Saying about our Team`,
appendTo: b,
});
}
setFooterCta({
backgroundImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/recruiting/join-us.jpg",
gradientColor: "0,0,0,0.5",
sectionHeader: "A Career in Real Estate Starts Here",
sectionText:
"Contact us today for your confidential interview and discover why agents choose us.",
sectionLink: "https://myhomegroup.com/join/",
sectionLinkText: "Join Us",
textColor: "ffffff",
});
} else if (kv.website_owner_type === "user") {
agentHero();
aboutAgent({
fallbackImage:
fallbackPlaceholder !== ""
? fallbackPlaceholder
: "https://kunversion-frontend-custom.s3.amazonaws.com/1assets/selling/happy-sellers.jpeg",
fallbackAlt:
"Man and Woman Sitting on the floor with moving boxes smiling",
fallbackText:
"I specialize in bringing you the best homes for sale and real estate listings in the area. Whether you are buying a home, selling a home or need help securing a Home Mortgage, I’ve got you covered.",
appendTo: t,
});
aboutEntity({
reverseRow: false,
fallbackImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/residential/house-1.jpg",
fallbackAlt: "Man and Woman Sitting on Couch Smiling",
entityAboutHeader: "A Little About Us",
fallbackText:
"Through our diverse backgrounds and decades of experience, we were founded on ethical principles to serve communities far and abroad with their Real Estate needs. Trust, devotion, integrity, and reliability are just a few of the qualities we hold close to each purchase and sale.",
entityAboutLinkText: "Read More",
entityAboutLink: "/contact.php",
appendTo: t,
});
if (kv.mylistings !== "" && kv.mylistings !== null) {
setCustomListings({
array: account_info.mylistings,
className: "my-listings",
containerType: "container",
makeSlider: false,
slidePauseTime: 5000,
numOfItems: 6,
shuffle: true,
sectionHeader: `${kv.agentfirstname}'s Listings`,
appendTo: b,
});
} else if (kv.exclusivelistings !== "" && kv.exclusivelistings !== null) {
setCustomListings({
array: account_info.exclusivelistings,
className: "exclusives",
containerType: "container",
makeSlider: false,
slidePauseTime: 5000,
numOfItems: 6,
shuffle: true,
sectionHeader: "Our Exclusive Listings",
appendTo: b,
});
}
if (kv.testiomonials.length !== 0) {
setTestimonials({
backgroundImage: "",
gradientColor: "0,0,0,.05",
textColor: "000000",
quotes: false,
className: "custom-testimonials",
numOfItems: 5,
onlyFiveStars: false,
slidePauseTime: 5000,
trim: 350,
sectionHeader: `What your Neighbors are Saying`,
appendTo: b,
});
}
setFooterCta({
backgroundImage:
"https://kunversion-frontend-custom.s3.amazonaws.com/1assets/selling/sold-1.jpg",
gradientColor: "0,0,0,0.5",
sectionHeader: "Work with the Best in the Industry",
sectionText:
"Discover the methods I use to deliver exceptional service to every client",
sectionLink: "/contact.php",
sectionLinkText: "Contact Me",
textColor: "ffffff",
});
}
}
// Call Global Functions
if (
kv.website_owner_type === "entity" ||
kv.website_owner_type === "company"
) {
setEntityContactPage();
} else if (kv.website_owner_type === "user") {
setAgentContactPage();
}
setFooterContactInfo();
// Template Functions
function companySocialBar() {
//Remove social links from header
$('#header .row-flex:first-child .list-inline-item .social').closest('.list-inline-item').remove();
//Add phone link to header
$('#header .row-flex:first-child .list-inline').append('
`).insertBefore("#contact-bodycontent .col-md-4.col-lg-3 .widget table");
}
}
// Site Editor Helper
if (window.location.href.indexOf("editkey") > -1) {
$(
`
Need Help Editing Your Semi-Custom Design? Watch this short video and learn how to edit text, change links, upload images and more! If you still have questions, reach out to us by emailing proserv@insiderealestate.com.