<!DOCTYPE html>
<html lang="en">

<head>
    <!-- Google Analytics  -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-Y03QH5FDL2"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag() { dataLayer.push(arguments); }
        gtag('js', new Date());

        gtag('config', 'G-Y03QH5FDL2');
    </script>
    <!-- Google Publisher Tag  -->
    <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js?v=2.0" crossorigin="anonymous"></script>
    <meta charset="utf-8" />

    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="keywords"
          content="Z103.5, Euro, freestyle, today's music, Toronto Dance Music, Dance Music, Top 40, Pop Music, 90's music, All the Hits, Z 103.5 All the hits, z1035, Toronto Dance Music Station, Hammer, Dj Danny D, Tony Monaco, z1035toronto, Z103.5 FM, The Party Station, z1035 recently played, z1035 top 100, z1035 drive at 5, 103.5 listen live, live radio z103 5 toronto player, z103 5 radio hosts, z103.5 number, Toronto Radio station, Canada radio, party station, Toronto Hit Music, drive@5, Tiesto Radio, Z100 Toronto, Dawn Fm, #1035dawnfm, 1035, 1035 Dawn Fm, CIDC, progressive house, pop, dance, reggaeton, disco, reggae, ragga, contemporary r&b, deep house, trance, hip hop, synth-pop, electropop, dance-pop, trap, electro house, house, latin, dancehall, teen pop, edm, eurodance, r&b, electronic, latin, pop, pop rap, french house,, Sandra Crofford, Jimmy T, Z Mornings, ChumFM, 104.5 ChumFM, Virgin Radio, 99.9 Virgin Radio, Kiss 92.5, musician, Rihanna, Justin Bieber, Drake, OVO, The Weeknd, best toronto radio station, Evanov, evanov communications, Toronto Radio, Radio Contest, Ryan Daramsing, Matt Wreggitt, Chum fm, Kiss Radio, Flow 93.5, flow935, flow 935, 1045chumfm, best radio station" />
    <meta name="description" content="Z103.5 - All The Hits" />
    <title>Page Not Found</title>
    

    <!-- PWA and Mobile App specific meta tags -->
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="theme-color" content="#000000">

    <!-- Add Capacitor core -->

    <!-- Prevent double tap zoom and handle gestures better -->
    <link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
    <link type="text/css" rel="stylesheet" href="/lib/sweetalert/sweetalerts.css" crossorigin="anonymous" />
    <input b-ckhp643lzx type="hidden" id="customThemeEnabled" value="false" />
        <link rel="stylesheet" href="/css/defaultTheme.css?v=U4zR6BKbxbIEWiws2Fft8faICwMV1xXcU_3Jfd9oFYw" />
    <link rel="stylesheet" href="/css/site.css?v=vIhwqgym285a-QQvntfni6-wau9tp8aZ7bxPxIkh9qM" />
    <link rel="stylesheet" href="/z1035.styles.css?v=X3oWUXZA-YZvFIfmeDCMIvBw2g3CHbp0dDR0uCCN-W0" />
    <link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet'>
    <link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet'>
    <link rel="stylesheet" href="/css/menu.css?v=98amNxIUngJ3hLI6cmGN2xEnxBaGsHYgMK6EkACDnlk" />
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="icon" href="/favicon.ico" type="image/x-icon">
    <link rel="manifest" href="/site.webmanifest">


    <link href=https://vjs.zencdn.net/8.3.0/video-js.min.css rel="stylesheet" />
    <link href=https://unpkg.com/@videojs/themes@1.0.1/dist/fantasy/index.css rel="stylesheet" />
    <link rel="stylesheet" href="/css/new-at-422.css?v=nSQi7AUS8sea_9tQUSTooPCUOY0ujNAe0l-A5pW3TJc" />
    
    <input name="__RequestVerificationToken" type="hidden" value="CfDJ8GtVSLxob1BChCqZx6Z2HQiwoTrU_nvLjhyTE5wpHi-KYJmrTIcCxM-v4bFNHf-GZi4ImsF2m75Mai2j9bAdYqnZwtJljcAqOqaooYL-vgFHqouxz9gRt92Z8txU8v6qJViVneVJxSYjjryJBvLd4Us" />


    <script src="/lib/jquery/dist/jquery.min.js"></script>
    <script async language="JavaScript" type="text/javascript"
            src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
    <script language="JavaScript" type="text/javascript"
            src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.2/jquery.ui.touch-punch.min.js"></script>
    <script src="/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
    <script type="text/javascript" src="/lib/sweetalert/sweetalert.min.js"></script>
    <script async type="text/javascript" src="/lib/sweetalert/sweetalerts.js"></script>
    <script type="text/javascript" src="/lib/jquery-validation/dist/jquery.validate.min.js" crossorigin="anonymous"></script>
    <script type="text/javascript" src="/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>

</head>

<body style="overflow-x:hidden">
    <header b-ckhp643lzx id="div_header" class="sticky-top">
        <style>
    .custom-dropdown-menu {
        background-color: var(--ob-nav-background-color) !important; /* Red background */
    }

        .custom-dropdown-menu .dropdown-item {
            color: var(--ob-nav-text-color) !important; /* White font color */
        }

            .custom-dropdown-menu .dropdown-item:hover {
                background-color: var(--ob-nav-subitem-background-color-hover) !important; /* Optional: Darker red on hover */
                color: var(--ob-nav-text-color) !important; /* Ensure text remains white on hover */
            }
</style>
<nav class="navbar navbar-expand-lg navbar-light zHead">
    <div class="container custom-container">
        <div style="max-width:300px;">
            <a class="navbar-brand" href="/"><img src="/images/Z1035/logos/1_9a7a9e00-ab78-4b00-b9f5-44476151b58e.png" style="width:100%" /></a>
        </div>

        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse justify-content-end" id="navbarCollapse">
            <ul class="navbar-nav navbar-expand-md">
                 <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> On Air </a> <ul class="dropdown-menu custom-dropdown-menu"> <li><a class="dropdown-item" href="/ShowsAll">All Shows</a></li><li><a class="dropdown-item" href="/Shows/melanie-on-z1035">Melanie on Z103.5</a></li><li><a class="dropdown-item" href="/Shows/middays-with-sandra-1">Middays with Sandra</a></li><li><a class="dropdown-item" href="/Shows/the-wayback-lunch">The Wayback Lunch</a></li><li><a class="dropdown-item" href="/Shows/afternoons-with-hammer">Afternoons With Hammer</a></li><li><a class="dropdown-item" href="/Shows/the-power-hour-with-the-hammer">The Power Hour with The Hammer</a></li><li><a class="dropdown-item" href="/Shows/103-minutes-with-the-hammer">103 Minutes with The Hammer</a></li><li><a class="dropdown-item" href="/Shows/driveat5-streetmix---hammer-and-stevie-p">Drive@5 Streetmix - Hammer & Stevie P</a></li><li><a class="dropdown-item" href="/Shows/hitlist-at-6pm">Hitlist at 6pm</a></li><li><a class="dropdown-item" href="/Shows/driveat5-streetmix">Drive@5 Streetmix</a></li><li><a class="dropdown-item" href="/Shows/evenings-with-tony-monaco">Evenings with Tony Monaco</a></li><li><a class="dropdown-item" href="/Shows/connected-radio-with-manzone-and-strong">Connected Radio with Manzone & Strong</a></li><li><a class="dropdown-item" href="/Shows/cabana---live-to-air">Cabana - Live to Air</a></li></ul></li> <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" id="mnu21" href='/UpcommingEventsAll' id="mddn21" role="button" data-bs-toggle="dropdown" aria-expanded = 'false' data-hover = 'dropdown' data-delay = '350' data-close-others = 'false'>Music & Events </a><ul class="dropdown-menu custom-dropdown-menu mmenu" aria-labelledby="mddn21"><li><a id="45" class="dropdown-item " href='/ZTeamsponsoredbyAccessStorage'>Z Team sponsored by Access Storage </a></li><li><a id="27" class="dropdown-item " href='/ListenAndWatchAll'>Listen & Watch Again </a></li><li><a id="23" class="dropdown-item " href='/new-at-422'>New @4:22pm </a></li></ul></li><li class="nav-item"><a class="nav-link" id="mnu24" href='/Interviews'>Interviews </a></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle" id="mnu8" href='/ContestPromotionsAll' id="mddn8" role="button" data-bs-toggle="dropdown" aria-expanded = 'false' data-hover = 'dropdown' data-delay = '350' data-close-others = 'false'>Contest </a><ul class="dropdown-menu custom-dropdown-menu mmenu" aria-labelledby="mddn8"><li><a id="46" class="dropdown-item " href='/general-contest-rules-regulations'>General Contest Rules & Regulations </a></li><li><a id="37" class="dropdown-item " href='/OSPCA'>OSPCA </a></li><li><a class="dropdown-item" href="/Contests/win-tickets-to-see-wiz-khalifa-and-sean-paul--a-dollar100-shein-gift-card">Win Tickets to See Wiz Khalifa & Sean Paul + a $100 Shein Gift Card</a></li><li><a class="dropdown-item" href="/Contests/win-tickets-to-see-blackpink">Win tickets to see Blackpink</a></li><li><a class="dropdown-item" href="/Contests/win-tickets-to-see-don-diablo">Win Tickets to See Don Diablo</a></li><li><a class="dropdown-item" href="/Contests/enter-to-win-3-tickets-to-see-the-offspring">Enter to Win 3 Tickets to See The Offspring!</a></li><li><a class="dropdown-item" href="/Contests/enter-to-win-6-tickets-to-the-ontario-science-centre-at-sherway-garden--a-dollar100-to-sherway-gardens">Enter to Win 6 Tickets to The Ontario Science Centre at Sherway Garden + a $100 to Sherway Gardens</a></li><li><a class="dropdown-item" href="/Contests/win-4-tickets-to-the-club-menage-reunion-party">Win 4 Tickets to the Club Menage Reunion Party!</a></li><li><a class="dropdown-item" href="/Contests/win-a-dollar100-gift-card-for-the-works-burgers">Win a $100 Gift Card for The Works Burgers!</a></li><li><a class="dropdown-item" href="/Contests/win-a-milton-ribfest-voucher">Win a Milton Ribfest Voucher!</a></li><li><a class="dropdown-item" href="/Contests/win-with-royal-canin-the-ontario-spca-and-pet-valu">Win with Royal Canin, the Ontario SPCA & Pet Valu!</a></li></ul></li><li class="nav-item"><a class="nav-link" id="mnu25" href='/ContactUs'>Contact Us </a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="modal fade pad-top120" id="loginSignupModal" data-bs-backdrop="static" tabindex="-1" aria-labelledby="loginSignupModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="loginSignupModalLabel">Login / Signup</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <!-- Login Form -->
                <div id="loginForm" class="form-v4-content">
                    <form id="fm_loginForm">
                        <div class="mb-3">
                            <label for="loginEmail" class="form-label">Email address</label>
                            <input type="email" class="form-control" id="loginEmail" required>
                        </div>
                        <div class="mb-3">
                            <label for="loginPassword" class="form-label">Password</label>
                            <input type="password" class="form-control" id="loginPassword" required>
                        </div>
                        <div class="mb-3">
                            <a href="#" id="forgotPasswordLink">Forgot password?</a>
                        </div>
                        <button type="submit" class="btn btn-primary">Login</button>
                    </form>
                    <div class="mt-3">
                        <p>Don't have an account? <a href="#" id="showSignupForm">Signup</a></p>
                    </div>
                </div>

                <!-- Signup Form -->
                <div id="signupForm" style="display: none;" class="form-v4-content">
                    <form id="fm_signupForm">
                        <div class="mb-3">
                            <label for="signupEmail" class="form-label">Email address</label>
                            <input type="email" class="form-control" id="signupEmail" required>
                        </div>
                        <div class="mb-3">
                            <label for="signupPassword" class="form-label">Password</label>
                            <input type="password" class="form-control" id="signupPassword" required>
                        </div>
                        <div class="mb-3">
                            <label for="signupConfirmPassword" class="form-label">Confirm Password</label>
                            <input type="password" class="form-control" id="signupConfirmPassword" required>
                        </div>
                        <button type="submit" class="btn btn-primary">Signup</button>
                    </form>
                    <div class="mt-3">
                        <p>Already have an account? <a href="#" id="showLoginForm">Login</a></p>
                    </div>
                </div>

                <!-- Forgot Password Form -->
                <div id="forgotPasswordForm" style="display: none;" class="form-v4-content">
                    <form fm_forgotPasswordForm>
                        <div class="mb-3">
                            <label for="forgotEmail" class="form-label">Email address</label>
                            <input type="email" class="form-control" id="forgotEmail" required>
                        </div>
                        <button type="submit" class="btn btn-primary">Submit</button>
                    </form>
                    <div class="mt-3">
                        <p>Remembered your password? <a href="#" id="backToLoginForm">Login</a></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(document).ready(function () {
        $('#showSignupForm').click(function (e) {
            e.preventDefault();
            $('#loginForm').hide();
            $('#signupForm').show();
        });

        $('#showLoginForm').click(function (e) {
            e.preventDefault();
            $('#signupForm').hide();
            $('#loginForm').show();
        });

        $('#forgotPasswordLink').click(function (e) {
            e.preventDefault();
            $('#loginForm').hide();
            $('#forgotPasswordForm').show();
        });

        $('#backToLoginForm').click(function (e) {
            e.preventDefault();
            $('#forgotPasswordForm').hide();
            $('#loginForm').show();
        });
    });
</script>
<script>

        document.addEventListener('DOMContentLoaded', function() {
                const userAgent = navigator.userAgent;
                const isAndroid = /Android/i.test(userAgent);
        if (isAndroid) {
                const tabletOrDesktopQuery = window.matchMedia('(max-width: 991px)');
                let clickedID="initial";
                // Select all nav-links that are part of a dropdown
                const dropdownNavLinks = document.querySelectorAll('.nav-item.dropdown > .nav-link');
                dropdownNavLinks.forEach(navLink => {

                    navLink.addEventListener('click', function(event) {

                        if (tabletOrDesktopQuery.matches) {
                            if((clickedID!="initial")&&(clickedID==event.target.id)){

                            } else {
                                event.preventDefault();
                                event.stopPropagation();
                                clickedID=event.target.id;
                            }
                        }
                    });
                });
        }
    });
</script>
    </header>

    <main b-ckhp643lzx id="contentarea" class="ob-bg-color ob-text-color" role="main">
        
<div class="text-center">
    <h1 class="display-1">Page Not Found!</h1>
    <h2 class="display-4">The page you're looking for doesn't exist</h2>
    <p class="lead">
        Sorry, we couldn't find the page you were looking for. It might have been removed, renamed, or doesn't exist.
    </p>
    <div class="mt-4">
        <a href="/" class="btn btn-primary">Return to Home</a>
        <button onclick="window.history.back()" class="btn btn-secondary ms-2">Go Back</button>
    </div>
</div>
    </main>

    <footer b-ckhp643lzx class="ob-footer py-5" id="footerContent">
        
<!-- Add Bootstrap Icons CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css">
<style>
    .show_thumpimg {
        width: 67px;
        height: 68px;
        border-radius: 17%;
    }

    #selectedImageContainer {
        min-height: 540px;
    }

    .modal-dialog {
        background-color: #2a2a2a;
        color: white;
    }

    .modal-content {
        background-color: #2a2a2a;
        color: white;
    }

    .form-control {
        background-color: #3a3a3a;
        color: white;
        border-color: #4a4a4a;
    }

    .form-control:focus {
        background-color: #3a3a3a;
        color: white;
    }

    .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

    .grecaptcha-badge {
        bottom: 74px !important;
    }

    .textline-section {
        background-color: var(--ob-footer-background-color);
        /* padding: 10px; */
        max-width: 350px;
    }

    /* Media query for mobile devices */
        @media(max - width: 767px) {
            .textline-section {
                max-width: 250px;
            }
        }

        .textline-header {
            background-color: yellow;
            color: black;
            padding: 5px;
            text-align: center;
            font-weight: bold;
        }

        .textline-logo-container {
            text-align: center;
            margin-top: 10px;
        }

        .vc_single_image-wrapper {
            display: inline-block;
        }

        <style>.hover-opacity:hover {
            opacity: 0.8;
            transition: opacity 0.2s ease;
        }

        /* Custom button colors to match the image */
        .btn-warning {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #000;
        }

        .btn-warning:hover {
            background-color: #ffca2c;
            border-color: #ffca2c;
            color: #000;
        }
    </style>
    <!-- Footer Google Ads -->
    <div class="footer-ad-wrapper">
        <div class="footer-ad-container container">
            <div class="sc-ad-block slot-leaderboard">
                <div id="div-gpt-ad-1654734620314-0" style="min-width: 728px; min-height: 90px;">
                </div>
            </div>

            <div class="sc-ad-block slot-mobile">
                <div id="div-gpt-ad-1619103496845-0" style="min-width: 320px; min-height: 50px;">
                </div>
            </div>
        </div>
    </div>
    <!-- End Footer Google Ads -->
    <!-- Footer Static Ads Contact Us -->
    <div class="footer-ad-wrapper d-none">
        <div class="footer-ad-container container">
            <div class="sc-ad-block slot-leaderboard">
                <div class="textline-logo-container">
                    <figure>
                        <a href="#" id="sponsorLink" target="_self" class="vc_single_image-wrapper">
                            <img id="sponsorLogo" class="img-fluid" style="max-width: 728px; max-height: 90px;" alt="">
                        </a>
                    </figure>
                </div>
            </div>


        </div>
    </div>
    <!-- End Footer Static Ads Contact Us -->
    <!-- Footer Section -->

    <div class="container">
        <div id="dynamic-footer-content">
            <!-- Default footer content -->
            <div class="row">
                <!-- Brand Section -->
                <div class="col-lg-3 col-md-6">
                    <h2 class="h4 mb-3 fw-bold"></h2>
                    <p class="text-uppercase fw-bold"></p>
                    <div>
                        <a href="http://evanov.ca/" target="_blank" class="">
                            <img src="/img/evanov_footerlogo.png" alt="Evanov Communications" style="max-height:50px;">
                        </a>
                    </div>
                </div>

                <!-- Contact Section -->
                <div class="col-lg-3 col-md-6">
                    <h3 class="h5 mb-3 fw-bold">CONTACT US</h3>
                    <address class="mb-3">
                        <p class="mb-1">5312 Dundas St W.</p>
                        <p class="mb-3">Etobicoke, ON M9B IB3</p>

                        <p class="mb-1">416-798-1035 (Request, Text &</p>
                        <p class="mb-1">Contest Line)</p>
                        <p class="mb-3">416 213-1035 (Reception Office)</p>

                        <h4 class="h6 mb-2">Office Hours of Operations</h4>
                        <p class="mb-1">Mon-Fri 9am to 5pm</p>
                        <p>Saturday & Sunday: Closed</p>
                    </address>
                    <div class="padTop20 textline-section d-none">
                        <h5 class="textline-header"> <span id="sponsorName"></span></h5>

                    </div>
                </div>

                <!-- Legal Section -->
                <div class="col-lg-3 col-md-6">
                    <h3 class="h5 mb-3 fw-bold">Legal</h3>
                    <ul class="list-unstyled">
                        <li class="mb-2">
                            <a href="https://evanov.ca/accessibility" target="_self"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                Accessibility Plan Progress
                                Report
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="https://evanov.ca/web-accessibility-feedback" target="_self"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                Web Accessibility
                                Feedback
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="https://z1035.com/general-contest-rules-regulations" target="_self"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                General Contest Rules &amp; Regulations
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="/Privacy" class="ob-footer-text-color text-decoration-none hover-opacity">
                                Privacy
                                Policy
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="/TermsOfUse" class="ob-footer-text-color text-decoration-none hover-opacity">
                                Terms of
                                Use
                            </a>
                        </li>
                    </ul>
                </div>

                <!-- Social Media Section -->
                <div class="col-lg-3 col-md-6">
                    <h3 class="h5 mb-3 fw-bold">SOCIALS</h3>
                    <ul class="list-unstyled">
                        <li class="mb-2">
                            <a href="https://www.facebook.com/Z103.5toronto/"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                <i class="bi bi-facebook me-2"></i>Facebook
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="https://www.instagram.com/z1035team/"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                <i class="bi bi-instagram me-2"></i>Instagram
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="https://x.com/Z1035Toronto?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                <i class="bi bi-twitter-x me-2"></i>X
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="https://www.youtube.com/@Z1035Toronto"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                <i class="bi bi-youtube me-2"></i>YouTube
                            </a>
                        </li>
                        <li class="mb-2">
                            <a href="https://www.tiktok.com/@z1035toronto?lang=en"
                                class="ob-footer-text-color text-decoration-none hover-opacity">
                                <i class="bi bi-tiktok me-2"></i>TikTok
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <!-- Action Buttons -->
        <div class="row mt-4 d-none">
            <div class="col-12 d-flex justify-content-center gap-3 flex-wrap">

                <input type="button" class="btn btn-warning px-4 hover-opacity" value="Contact Us Today!"
                    onclick="ShowSignupModal(this,'7')" />
                <input type="button" class="btn btn-warning px-4 hover-opacity" value="Join the Newsletter"
                    onclick="ShowSignupModal(this,'6')" />
            </div>
        </div>
        <script src="https://cidc.tunegenie.com/station/pwa/fullfooter.js" async data-no-interfere="true"></script>
    </div>


    <div class="modal fade pad-top120" id="mdl_SignupForm" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
        aria-labelledby="exampleModalLabel" aria-hidden="true">

        <div class="modal-dialog" style="border-radius:10px;">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title"><span id="requestModalLabel">Notify Upcoming Event</span></h5>
                    <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"
                        aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <div id="div_SignupForm" class="row gx-0">
                        <div class="col-12" style="padding-top:10px">
                            <div class="PlaceHolder">

                                <div class="form-v4-content">

                                    <form id="fm_SignupForm">
                                        <input id="g-recaptcha-response-1" name="g-recaptcha-response" type="hidden" value="" /><script src="https://www.google.com/recaptcha/api.js?render=6Ldkme8qAAAAAHyyEGGPhPGopH24O9qPZqiPozVG&hl="></script><script>function updateReCaptcha1() {grecaptcha.execute('6Ldkme8qAAAAAHyyEGGPhPGopH24O9qPZqiPozVG', {action: 'homepage'}).then(function(token){document.getElementById('g-recaptcha-response-1').value = token;});}grecaptcha.ready(function() {setInterval(updateReCaptcha1, 100000); updateReCaptcha1()});</script>

                                        <input type="hidden" id="hid_sectionId" name="SectionId" value="0" />
                                        <input type="hidden" id="hid_itemId" name="ItemId" value="0" />
                                        <!-- Dynamic form fields will be appended here -->
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="modal-footer ">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
                        Close
                    </button>
                    <button type="button" class="btn btn-primary" id="btn_Submit">Save</button>
                </div>
            </div>
        </div>
    </div>







    <script>
        // Load footer content via AJAX
        $(document).ready(function () {
            $.ajax({
                url: '/api/Footer',
                type: 'GET',
                success: function (data) {

                    if (data && data.fld_footerBody) {
                        $('#dynamic-footer-content').html(data.fld_footerBody);
                    }
                },
                error: function () {
                    console.log('Failed to load footer content');
                    // Default footer content will remain if fetching fails
                }
            });
        });

        //*************************************************************** */
        //------------scripts for Signup Form Submission-------------
        //*************************************************************** */

        function ShowSignupModal(elem, sectionId) {
            //alert(sectionId);
            $(".se-pre-con").show();
            //alert("bb");
            // $("#txt_UpcomingEmail").val("");

            $('#fm_SignupForm').removeClass('was-validated');
            // $("#fm_UpcomingEvent").find("input:text").val("");
            // $("fm_UpcomingEvent").find("input:checkbox").removeAttr("checked");
            let itemId = $(elem).data("val");

            $("#hid_itemId").val(itemId);
            $("#hid_sectionId").val(sectionId);

            //$("#div_List").hide();
            populateDynamicForm(itemId, sectionId);

            $("#div_SignupForm").show();

            //$("#div_Form").dialog("open");
            $('#mdl_SignupForm').modal("show");
            //alert($("#hid_Id").val());
            //$("#lbl_formHeader").text('Add a Show to the Line Up');


            //debugger;
            $(".se-pre-con").hide();

        // Reset submit button state
        $("#btn_Submit").prop('disabled', false);

            switch (sectionId) {
                case "1":
                    $("h5 #requestModalLabel").text('Contact');
                    $("#btn_Submit").text('Send');
                    //$("#btn_Submit").closest("div.modal-footer").addClass("d-none");
                    break;
                case "2":
                    $("h5 #requestModalLabel").text('Notify Upcoming Event');
                    $("#btn_Submit").text('Save');
                    //$("#btn_Submit").closest("div.modal-footer").addClass("d-none");
                    break;
                case "3":
                    $("h5 #requestModalLabel").text('Entry Contests/Promotion');
                    $("#btn_Submit").text('Submit your entry!');
                    //$("#btn_Submit").closest("div.modal-footer").addClass("d-none");
                    break;
                case "5":
                    $("h5 #requestModalLabel").text('Submit Request');
                    $("#btn_Submit").text('Submit your request!');
                    //$("#btn_Submit").closest("div.modal-footer").addClass("d-none");
                    break;
                case "6":
                    $("h5 #requestModalLabel").text('Subscribe newsletter');
                    $("#btn_Submit").text('Save');
                    //$("#btn_Submit").closest("div.modal-footer").removeClass("d-none");
                    break;
                case "7":
                    $("h5 #requestModalLabel").text('Contact Us');
                    $("#btn_Submit").text('Send');
                    //$("#btn_Submit").closest("div.modal-footer").removeClass("d-none");
                    break;
                case "10":
                    $("h5 #requestModalLabel").text('This Week On Z');
                    $("#btn_Submit").text('Save');
                    //$("#btn_Submit").closest("div.modal-footer").addClass("d-none");
                    break;
                default:
                    $("h5 #requestModalLabel").text('Notify Upcoming Event');
                    $("#btn_Submit").text('Save');
                    //$("#btn_Submit").closest("div.modal-footer").addClass("d-none");
                    break;
            }

        }

        function populateDynamicForm(itemId, sectionId) {
            //var sectionId = $("#hid_sectionId").val();
            event.preventDefault();
            $.ajax({
                url: '/Index?handler=FormConfiguration', // Ensure this URL points to the correct handler in your PageModel
                type: 'GET',
                data: { itemId: itemId, sectionId: sectionId },
                success: function (data) {
                    var $form = $('#fm_SignupForm');
                    // Remove only the dynamic form fields
                    $form.find('.dynamic-field').remove();

                    $('#hid_itemId').val(itemId); // Set the hidden event ID field
                    $("#hid_sectionId").val(sectionId);

                    $.each(data, function (index, field) {
                        //debugger;
                        //console.log(field);
                        var isMandatory = field.IsMandatory ? 'required' : '';
                        var formGroup = '';
                        var displayLabel = field.AllowCustomLabel && field.CustomLabel ? field.CustomLabel : field.FieldDisplayName;

                        // Determine the input type based on the field name
                        if (field.FieldName.includes('fld_email')) {
                            formGroup = `
                                                                                                         <div class="mb-3 dynamic-field">
                                                                                                                     <label for="${field.FieldName}" class="form-label">${displayLabel}</label>
                                                                                                                         <div class="input-group"><input type="email" class="form-control" id="${field.FieldName}" name="${field.FieldName}" ${isMandatory}>
                                                                                                                         </div>

                                                                                                     </div>`;
                        } else if (field.FieldName.includes('fld_phone')) {
                            formGroup = `
                                                                                                         <div class="mb-3 dynamic-field">
                                                                                                                     <label for="${field.FieldName}" class="form-label">${displayLabel}</label>
                                                                                                                             <input type="tel" class="form-control" id="${field.FieldName}" pattern="^(\d{3})?[\s.-]?(\d{3})[\s.-]?(\d{4})$" placeholder="123-456-7890" name="${field.FieldName}" ${isMandatory}>

                                                                                                     </div>`;
                        } else if (field.FieldName.includes('fld_postalcode')) {
                            formGroup = `
                                                                                                                     <div class="mb-3 dynamic-field ">
                                                                                                                      <label for="${field.FieldName}" class="form-label">${displayLabel}</label>
                                                                                                                                  <input type="text" class="form-control" id="${field.FieldName}" pattern="[A-Za-z]\d[A-Za-z][\s]?\d[A-Za-z]\d" placeholder="A1A 1A1" name="${field.FieldName}" ${isMandatory}>
                                                                                                                 </div>`;
                        } else if (field.FieldName.includes('fld_message')) {
                            formGroup = `
                                                                                                         <div class="mb-3 dynamic-field">
                                                                                                                     <label for="${field.FieldName}" class="form-label">${displayLabel}</label>
                                                                                                                     <textarea rows="4" class="form-control" id="${field.FieldName}" name="${field.FieldName}" ${isMandatory}></textarea>
                                                                                                     </div>`;
                        } else if (field.FieldName === 'fld_custom') {
                            formGroup = `
                                                                                                         <div class="mb-3 dynamic-field">
                                                                                                                     <label for="${field.FieldName}_${index}" class="form-label">${displayLabel}</label>
                                                                                                                     <input type="text" class="form-control" id="${field.FieldName}_${index}" name="${field.FieldName}" ${isMandatory}>
                                                                                                     </div>`;
                        } else if (field.FieldName === 'fld_optin') {
                            formGroup = `
                                                                                                         <div class="mb-3 dynamic-field">
                                                                                                                     <div class="form-check">
                                                                                                                         <input type="checkbox" class="form-check-input" id="${field.FieldName}_${index}" name="${field.FieldName}" value="1" ${isMandatory}>
                                                                                                                         <label class="form-check-label" for="${field.FieldName}_${index}">${displayLabel}</label>
                                                                                                                     </div>
                                                                                                     </div>`;
                        } else {
                            formGroup = `
                                                                                                         <div class="mb-3 dynamic-field">
                                                                                                                      <label for="${field.FieldName}" class="form-label">${displayLabel}</label>
                                                                                                                      <input type="text" class="form-control" id="${field.FieldName}" name="${field.FieldName}" ${isMandatory}>
                                                                                                     </div>`;
                        }
                        //console.log(formGroup);
                        $form.append(formGroup);
                    });
                    if (sectionId == "6")
                        $("#ico_Search").addClass("d-none");
                },
                error: function (error) {
                    console.log("Error fetching form configuration:", error);
                }
            });
        }



        $("#btn_Submit").click(function (e) {
            var itemId = $("#hid_itemId").val();
            var sectionId = $("#hid_sectionId").val();
            var $form = $('#fm_SignupForm');
        var $submitBtn = $(this);

        // Prevent multiple submissions
        if ($submitBtn.prop('disabled')) {
            return false;
        }
            //var email = $('#txt_UpcomingEmail').val(); // Ensure this input is part of your modal
            if ($("#fm_SignupForm").valid()) {
            // Disable the submit button and show loading state
            $submitBtn.prop('disabled', true);
            var originalText = $submitBtn.text();
            $submitBtn.text('Processing...');
                // Collect dynamic fields
                var dynamicFields = {};
                $form.find('.dynamic-field input, .dynamic-field textarea').each(function () {
                    var $input = $(this);
                    var name = $input.attr('name');
                    var value = $input.val();

                    // For checkboxes, check if checked
                    if ($input.attr('type') === 'checkbox') {
                        value = $input.is(':checked') ? '1' : '0';
                    }

                    // Handle multiple fields with same name (like fld_custom, fld_optin)
                    if (name === 'fld_custom' || name === 'fld_optin') {
                        if (!dynamicFields[name]) {
                            dynamicFields[name] = [];
                        }
                        dynamicFields[name].push(value);
                    } else {
                        dynamicFields[name] = value;
                    }
                });

                // Serialize form data
                var formData = $form.serialize();

                // Add dynamic fields to form data
                if (Object.keys(dynamicFields).length > 0) {
                    formData += '&DynamicFields=' + JSON.stringify(dynamicFields);
                }

                $.ajax({
                    type: 'POST',
                    url: "/FormSubmission?handler=SubmitSignupForm",
                    data: formData,
                    headers: {
                        'RequestVerificationToken': $('input[name="__RequestVerificationToken"]').val()
                    },
                    success: function (response) {
                        //alert(response);
                        switch (response.Code) {
                            case "1":
                                HideSignupModal();
                                SweetAlert(response.Title, response.Text, response.Code);
                                //LoadUpcomingEventList();
                                //SweetAlertOnClose(response.Title, response.Text, response.Code);
                                break;
                            default:
                                //HideUpcomingEventNotifyModal();
                                SweetAlert(response.Title, response.Text, response.Code);
                                break;
                        }

                    },
                    error: function (error) {
                        alert('Error submitting form.');
                        console.log("Error:", error);
                },
                complete: function () {
                    // Re-enable the submit button and restore original text
                    $submitBtn.prop('disabled', false);
                    $submitBtn.text(originalText);
                }
                });
            }
            else {
                //alert('Please fill in both the song title and artist name.');
                //SweetAlert('Warning', 'Please fill in all required fields.', '0');
                //swal("Oops!", "Something went wrong, you should choose again!", "error");
                $(".is-invalid").empty();
                $("#fm_SignupForm").addClass('was-validated');
            }
        });
        function HideSignupModal() {
            $(".se-pre-con").show();

            $("#hid_itemId").val("0");
        // Reset submit button state
        $("#btn_Submit").prop('disabled', false);
            $('#mdl_SignupForm').modal("hide");

            $(".se-pre-con").hide();

        }
        //***************************End FORM SUBMISSION************************************ */


        /***************FETCH DATA*************************/
        function FetchData() {
            $.ajax({
                type: 'POST',
                url: "/FormSubmission?handler=FetchData",
                data: JSON.stringify({ fld_email: $("#fld_email").val(), fld_sectionid: $("#hid_sectionId").val() }),
                contentType: 'application/json;charset=utf-8',
                headers: {
                    'RequestVerificationToken': $('input[name="__RequestVerificationToken"]').val()
                },
                //dataType: 'json',
                success: function (response) {

                    if (response.Code != null) {
                        SweetAlert(response.Title, response.Text, response.Code);
                    }
                    else if (response.fld_email != "") {
                        if ($("#fld_email").length > 0)
                            $("#fld_email").val(response.fld_email);
                        if ($("#fld_firstname").length > 0) {
                            $("#fld_firstname").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_firstname").val(response.fld_firstname);
                        }
                        if ($("#fld_lastname").length > 0) {
                            $("#fld_lastname").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_lastname").val(response.fld_lastname);
                        }
                        if ($("#fld_address").length > 0) {
                            $("#fld_address").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_address").val(response.fld_address);
                        }
                        if ($("#fld_city").length > 0) {
                            $("#fld_city").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_city").val(response.fld_city);
                        }
                        if ($("#fld_message").length > 0) {
                            $("#fld_message").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_message").val(response.fld_message);
                        }
                        if ($("#fld_postalcode").length > 0) {
                            $("#fld_postalcode").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_postalcode").val(response.fld_postalcode);
                        }
                        if ($("#fld_phone").length > 0) {
                            $("#fld_phone").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_phone").val(response.fld_phone);
                        }
                        if ($("#fld_keyword").length > 0) {
                            $("#fld_keyword").closest("div.dynamic-field").removeClass("d-none");
                            $("#fld_keyword").val(response.fld_keyword);
                        }
                        //$("#btn_Submit").closest("div.modal-footer").removeClass("d-none");
                    }
                }
            });


        }
        /***************FETCH DATA*************************/

        $(document).ready(function () {
            loadSponsorInfo();
        });

        function loadSponsorInfo() {
            $.ajax({
                url: '/Index?handler=ContactUsSponsor',
                type: 'GET',
                headers: {
                    'RequestVerificationToken': $('input[name="__RequestVerificationToken"]').val()
                },
                success: function (response) {
                    if (response && !response.error) {
                        $('#sponsorName').text(response.SponsorName);
                        $('#sponsorLink').attr({
                            'href': response.URL.startsWith('http') ? response.URL : 'https://' + response.URL,
                            'target': '_blank'
                        });
                        $('#sponsorLogo').attr({
                            'src': '/images/Z1035/ContactUsSponsor/' + response.ClientLogoName,
                            'alt': response.SponsorName
                        });
                        $('.textline-header').text(response.TextLine);
                    } else {
                        // Handle error or hide the sponsor section
                        console.log(response.error);
                        $('.textline-section').hide();
                    }
                },
                error: function () {
                    // Hide the sponsor section on error
                    //please log any error
                    console.log(error);
                    $('.textline-section').hide();
                }
            });
        }
    </script>
    <script>
        window.googletag = window.googletag || { cmd: [] };

        window.addEventListener('load', function () {
            googletag.cmd.push(function () {
                // Desktop leaderboard ad
                googletag.defineSlot('/1034652/Z103HomeLowerLeaderboard', [728, 90], 'div-gpt-ad-1654734620314-0')
                    .addService(googletag.pubads());

                // Mobile ad
                googletag.defineSlot('/1034652/Z1035_MobileAppAd', [320, 50], 'div-gpt-ad-1619103496845-0')
                    .addService(googletag.pubads());

                googletag.pubads().enableSingleRequest();
                googletag.enableServices();

                // Display the ads after services are enabled
                googletag.display('div-gpt-ad-1654734620314-0');
                googletag.display('div-gpt-ad-1619103496845-0');
            });
        });
    </script>

    </footer>

    <script>

        $(document).ready(function () {

                   const ytfs=document.querySelectorAll('iframe[src*="youtube.com/embed"]');
                   if(ytfs.length>0)
                   {
                       waitForElement();
                   }


                });


                function waitForElement() {
                    var waitflg=true;
                    var firstflg=true;
                    var osrc;
                    var qIndex;
                    var pgframe;
                    var ip;
                    var parentDocument = window.parent.document;
                    var iframes = findAllIframes(parentDocument);
                    for (var i = 0; i < iframes.length; ++i) {
                        if(iframes[i].id)
                        {
                            if(checkIfIdStartsWidthY(iframes[i].id))
                            {
                                waitflg=false;

                                osrc=iframes[i].src;
                                qIndex = osrc.indexOf('?');
                                iframes[i].src=osrc.replace('=true', '=false');

                                if(firstflg)
                                {
                                    pgframe=parentDocument.getElementsByName('pwm_pageFrame');
                                    if(pgframe[0])
                                    {
                                        pgframe[0].style.zIndex = 3000;
                                        const pbar=parentDocument.getElementById('playerbar');
                                        pbar.style.zIndex = 3010;
                                        pbar.style.position = 'relative';
                                    }
                                    else{
                                        setHeaderZI();
                                    }

                                    firstflg=false;
                                }
                                if(pgframe[0])
                                {
                                    ip = findOtherYoutubeIframeWithSameUrl(osrc.substring(0, qIndex),pgframe[0]);
                                    moveIframeElement(iframes[i],ip);
                                }
                            }
                        }
                    }
                        if(waitflg)
                        {
                            setTimeout(function () {
                            waitForElement();
                        }, 50);
                        }
                }
                function setHeaderZI() {
                    let highestZ = 0;

                    $('*').each(function () {
                        let zIndex = parseInt($(this).css('z-index'));
                        if (!isNaN(zIndex) && zIndex > highestZ) {
                            highestZ = zIndex;
                        }
                    });
                    $('#div_header').css('z-index', highestZ + 1);
                    $('#mdl_SignupForm').css('z-index', highestZ + 2);
                    
                }
                function moveIframeElement(sourceIframe,insertionPoint) {
                                                            try {
                                                                        const actualParentOfInsertionPoint = insertionPoint.parentNode;
                                                                        sourceIframe.style.maxWidth="560px";
                                                                        sourceIframe.style.maxHeight="315px";
                                                                        sourceIframe.style.zIndex=1;
                                                                        sourceIframe.style.position='absolute';
                                                                        actualParentOfInsertionPoint.insertBefore(sourceIframe, insertionPoint);
                                                                            } catch (e) {
                                                                                                console.log('Error accessing target iframe content (possible cross-origin issue):', e);
                                }


                        }

                        function findOtherYoutubeIframeWithSameUrl(currentsrc,pgframe) {
                            var fiframe;
                            const allIframes = pgframe.contentDocument.querySelectorAll('iframe[src*="youtube.com/embed"]');
                                  for (let i = 0; i < allIframes.length; i++) {
                                  if (allIframes[i].src.includes(currentsrc)) {
                            fiframe=allIframes[i];
                            break;
                  }

                }
                 return fiframe;

                        }
                        function findAllIframes(doc, allIframes = []) {
                  // Get all iframes directly within the current document
                  const directIframes = doc.querySelectorAll('iframe');

                  directIframes.forEach(iframe => {
                    allIframes.push(iframe);

                    // Check if the iframe content is accessible (same origin)
                    try {
                      if (iframe.contentDocument) {
                        // Recursively search within the iframe's document
                        findAllIframes(iframe.contentDocument, allIframes);
                      }
                    } catch (e) {
                      // This catch block will execute if there's a cross-origin security error
                      console.warn(`Could not access content of iframe due to Same-Origin Policy: ${iframe.src}`, e);
                    }
                  });

                  return allIframes;
                }
            function checkIfIdStartsWidthY(id) {
            if (id.startsWith('y')) {
                return true;
            } else {
                return false;
            }
        }

    </script>
    <script src="/js/site.js?v=lYJp8rVPDd2rzaNms-wg-AVd2szOpB1Nt_LvRBzDP2c"></script>
    <script src="https://vjs.zencdn.net/8.3.0/video.min.js"></script>
    
</body>

</html>