";                         $('#gb-school-dropdown').html(schools);                         $('#gb-school-btn').click(function(){                             if($(this).hasClass('open')) {                                 $(this).attr('aria-expanded', 'false').removeClass('open');                                 $('#gb-school-dropdown').attr('aria-hidden', 'true').removeClass('open').hide(); } else {                                 $(this).attr('aria-expanded', 'true').addClass('open');                                 $('#gb-school-dropdown').attr('aria-hidden', 'false').addClass('open').show(); } }).keydown(function(e){                             var c = e.which;                             if(c == _this.KeyCodes.enter || c == _this.KeyCodes.space || c == _this.KeyCodes.down) {                                 e.preventDefault();                                 if($(this).hasClass('open') && c == _this.KeyCodes.down) {                                     $('#gb-school-dropdown button[aria-selected="true"]').attr('tabindex', '0').focus(); } else {                                     $(this).click();                                     $('#gb-school-dropdown button[aria-selected="true"]').attr('tabindex', '-1').focus(); } } });                         $('#gb-close-schools').click(function(){                             $('#gb-school-btn').focus().click(); }).keydown(function(e){                             var c = e.which;                             if(c == _this.KeyCodes.left || c == _this.KeyCodes.up) {                                 e.preventDefault();                                 if(c == _this.KeyCodes.left) {                                     $(this).prev().focus(); } } });                         $('.gb-school-tab').on('click focus', function(){                             $('.gb-school-tab').attr('aria-selected', 'false');                             $(this).attr('aria-selected', 'true');                             $('.tab-panel').hide().attr('aria-hidden', 'true');                             $('#' + $(this).attr('aria-controls')).show().attr('aria-hidden', 'false'); }).keydown(function(e){                             var c = e.which;                             if(c == _this.KeyCodes.left || c == _this.KeyCodes.right || c == _this.KeyCodes.down || c == _this.KeyCodes.up || c == _this.KeyCodes.enter || c == _this.KeyCodes.space) {                                 e.preventDefault();                                 if(c == _this.KeyCodes.right) {                                     $(this).next().focus(); } else if(c == _this.KeyCodes.left) {                                     $(this).prev().focus(); }                                 if(c == _this.KeyCodes.down || c == _this.KeyCodes.enter || c == _this.KeyCodes.space) {                                     $('.tab-panel[aria-hidden="false"] a').first().focus(); } else if(c == _this.KeyCodes.up) {                                     $('#gb-school-btn').focus(); } } });                         $('.tab-panel a').keydown(function(e){                             var c = e.which;                             if(c == _this.KeyCodes.left || c == _this.KeyCodes.right || c == _this.KeyCodes.down || c == _this.KeyCodes.up || c == _this.KeyCodes.tab) {                                 e.preventDefault();                                 if(c == _this.KeyCodes.right || c == _this.KeyCodes.down) {                                     if($(this).parent().next().html() == undefined) {                                         $('.gb-school-tab[aria-selected="true"]').focus(); } else {                                         $(this).parent().next().children().focus(); } }                                 if(c == _this.KeyCodes.left || c == _this.KeyCodes.up) {                                     if($(this).parent().prev().html() == undefined) {                                         $('.gb-school-tab[aria-selected="true"]').focus(); } else {                                         $(this).parent().prev().children().focus(); } }                                 if(c == _this.KeyCodes.tab) {                                     $('.gb-school-tab[aria-selected="true"]').focus(); } } }); } }); }); },         "Dropdown": function(_this) {             //--> Dropdown funciton             var closeDrop;             var KeyCodes = { "tab": 9, "enter": 13, "esc": 27, "space": 32, "end": 35, "home": 36, "left": 37, "up": 38, "right": 39, "down": 40 };             $('.gb-mystart-btn.translate, .gb-mystart-btn.options').unbind().click(function(e){                 var dropdown = $(this).attr('aria-controls');                 e.preventDefault();                 if($(this).hasClass('open')) {                     $('#' + dropdown).removeClass('open').attr('aria-hidden', 'true').stop(true, true).hide();                     $(this).removeClass('open').attr('aria-expanded', 'false');                     $('.gb-dropdown a').attr('tabindex', '-1'); } else if($(this).hasClass('inner')) {                     $('#' + dropdown).addClass('open').attr('aria-hidden', 'false').show();                     $(this).addClass('open').attr('aria-expanded', 'true');                     $('.gb-dropdown a', this).attr('tabindex', '-1').first().focus();                     if(dropdown == "gb-translate-dropdown") {                         $('#cs-branded-translate-label').focus(); } else {                         $('#gb-account-dropdown a').first().focus(); } } else {                     $('#' + dropdown).addClass('open').attr('aria-hidden', 'false').stop(true, true).show();                     $(this).addClass('open').attr('aria-expanded', 'true');                     $('.gb-dropdown a').attr('tabindex', '-1'); } }).keydown(function(e){                 var c = e.which;                 if(c == KeyCodes.down){                     e.preventDefault();                     $(this).addClass('inner').click(); }                 if(c == KeyCodes.enter || c == KeyCodes.space ) {                     e.preventDefault();                     if(!$(this).hasClass('open')) {                         $(this).addClass('inner').click(); } else {                         $(this).click(); } } }).focus(function(){                 $('.gb-mystart-btn.translate.open').click(); });             $('#gb-mystart-upper .gb-dropdown').unbind().hover(function(){                 clearTimeout(closeDrop); }, function(){                 var id = $(this).attr('id').replace('dropdown', 'btn');                 if($(this).hasClass('open')) {                     closeDrop = setTimeout(function(){                         $('#' + id).focus().click(); }, 300); } });             $('#gb-account-dropdown a').unbind().keydown(function(e){                 var c = e.which,                     first = $(this).parent().first().children(),                     last = $(this).parent().last().children(),                     next = $(this).parent().next().children(),                     prev = $(this).parent().prev().children(),                     btn = $('#' + $(this).closest('.gb-dropdown').attr('id').replace('dropdown', 'btn'));                 if(c == KeyCodes.down || c == KeyCodes.up || c == KeyCodes.left || c == KeyCodes.right) {                     e.preventDefault();                     if(c == KeyCodes.down && next.html() == undefined) {                         first.focus(); } else if(c == KeyCodes.up && prev.html() == undefined) {                         btn.removeClass('inner').focus(); } else if(c == KeyCodes.down) {                         next.focus(); } else if(c == KeyCodes.up) {                         prev.focus(); } } }).focus(function(){                 clearTimeout(closeDrop); }); },         "GlobalIcons": function(_this){             $("#gb-global-icons").creativeIcons({                 "iconNum"       : "5",                 "defaultIconSrc": "",                 "icons"         : [                     {                         "image": "Education Portal/3.png",                         "showText": true,                         "text": "Launchpad",                         "url": "/Launchpad",                         "color": "#1abbbc" },                     {                         "image": "Student Program/15.png",                         "showText": true,                         "text": "Menus",                         "url": "/Page/3479",                         "color": "#f1cb14" },                     {                         "image": "Student Program/12.png",                         "showText": true,                         "text": "Transportation",                         "url": "/Page/7285",                         "color": "#a8ce54" },                     {                         "image": "Communication/***.png",                         "showText": true,                         "text": "Contact",                         "url": "/Page/1290",                         "color": "#588f40" },                     {                         "image": "Site Utility/8.png",                         "showText": true,                         "text": "Calendar",                         "url": "https://www.brevardschools.org/Page/2",                         "color": "#f05623" }                 ],                 "siteID"        : "4",                 "siteAlias"     : "001u000000ddoq0ian",                 "calendarLink"  : "/Page/2",                 "contactEmail"  : "webmaster@brevardschools.org",                 "allLoaded"     : function(){                     $('.cs-global-icons li').each(function(k, v){                         _this.IconList += '1, ' + $('.text', v).text() + ', ' + $(v).attr("href") + ', ; '; });                     $('.cs-global-icon').focus(function(){                         if($('#gb-school-btn').hasClass('open')) {                             $('#gb-school-btn').click(); } }); } }); },         "Body": function() {             // AUTO FOCUS SIGN IN FIELD             $("#swsignin-txt-username").focus();             // CENTER SIGNED OUT MESSAGE AND SIGNIN BUTTON             if($("div.ui-spn > div > p > span").text() == "You have been signed out."){                 $("div.ui-spn > div").css({"text-align" : "center", "padding" : "50px 0px 50px 0px"});                 //DOC add signed out breadcrumb                 $(".ui-breadcrumbs").append("Signed Out"); }             // ADJUST SIGN IN PAGE             if($("#swlogin").length){                 $("#sw-content-layout-wrapper .ui-widget.app").addClass("signin");                 $(".ui-breadcrumbs").append("Sign In"); }             // ADJUST REGISTER PAGE             if($("#swageprompt-txt-birthmonth").length && $("#swageprompt-txt-birthday").length && $("#swageprompt-txt-birthyear").length) {                 $("#sw-content-layout-wrapper .ui-widget.app").addClass("register");                 $(".ui-breadcrumbs").append("Register"); }             // ADJUST SEARCH RESULTS PAGE             if($("#sw-content-layout-wrapper.ui-spn #swsearch-pnl-main").length) {                 $("#sw-content-layout-wrapper").children().wrapAll('');                 $(".ui-breadcrumbs").append("Search Results"); }             // APPLY RESPONSIVE DIMENSIONS TO CONTENT IMAGES             $("div.ui-widget.app .ui-widget-detail img")                 .not($("div.ui-widget.app.cs-rs-multimedia-rotator .ui-widget-detail img"))                 .not($("div.ui-widget.app.gallery.json .ui-widget-detail img"))                 .each(function() {                     if ($(this).attr('width') !== undefined && $(this).attr('height') !== undefined) { // IMAGE HAS INLINE DIMENSIONS                         $(this).css({"display": "inline-block", "width": "100%", "max-width": $(this).attr("width") + "px", "height": "auto", "max-height": $(this).attr("height") + "px"}); } });             // ADJUST FIRST BREADCRUMB             $("li.ui-breadcrumb-first > a > span").text("Home");             // USE CHANNEL NAME FOR PAGELIST NAV HEADER IF ONE IS NOT PRESENT             if(!$("div.sp.column.one .ui-widget-header h1").length) {                 $("div.sp.column.one .ui-widget-header").append("

"); }             //--> Vertical app scroller section             $("#sw-content-container1.ui-hp .ui-widget.app.headlines").csArticleSlider({                 "viewerNum": [3, 2, 3, 3, 3], // NUMERICAL - [960 view, 768 view, 640 view, 480 view, 320 view]                 "transitionSpeed": .5 // SECONDS });             $('#hp-vertical-scroller .ui-widget-detail').append($('#hp-vertical-scroller .ui-read-more'));             $('#hp-vertical-scroller .cs-article-slider-control.next').insertAfter($('#hp-vertical-scroller .cs-article-slider-control.back'));             modEvents();             function modEvents(){                 if (!$(".upcomingevents .joel-month").length) {                     $(".upcomingevents").modEvents({                         columns     : "yes",                         monthLong   : "no",                         dayWeek     : "no" });                     eventsByDay(".upcomingevents .ui-articles"); } }             function eventsByDay(container) {                 var countLi = 0;         $(".ui-article", container).each(function(){             if (!$(this).find("h1.ui-article-title.sw-calendar-block-date").size()){                 var moveArticle = $(this).html();                 $(this).parent().prev().children().children().next().append(moveArticle);                 $(this).parent().remove();             };         });         $(".ui-article", container).each(function(){             var newDateTime = $('.upcoming-column.left h1', this).html().toLowerCase().split("");             var newDate = '';             var dateIndex = ((newDateTime.length > 2) ? 2 : 1);  //if the dayWeek is set to yes we need to account for that in our array indexing             //add a zero to the date if it is a single digit             if( newDateTime[dateIndex].length == 1 ) newDateTime[dateIndex] = "0" + newDateTime[dateIndex];             //if we have the day of the week make sure to include it.             if( dateIndex > 1 ){                  newDate += newDateTime[0] + "";             }             //add in the month             newDate += newDateTime[dateIndex - 1] + '';  //the month is always the in the left array position to the date             //wrap the date in a new tag             newDate += '' + newDateTime[dateIndex] + '';             //append the date and month back into their columns             $('.upcoming-column.left h1', this).html(newDate);             //add an ALL DAY label if no time was given             $('.upcoming-column.right .ui-article-description', this).each(function(){                 if( $('.sw-calendar-block-time', this).length < 1 ){ //if it doesnt exist add it                     $(this).prepend('ALL DAY');                 }                 $('.sw-calendar-block-time', this).before( $('.sw-calendar-block-title', this) );             });              //WRAP DATE AND MONTH IN A CONTAINER                     $(".jeremy-date, .joel-month", this).wrapAll("");         });         $('.upcomingevents').find(".ui-articles li").each(function(){                   var eventDate = $(this).find(".adam-hug").html();                   var eventMonth = $(this).find(".joel-month").text();                   var eventNumberDay = $(this).find(".jeremy-date").text();                   var eventDay = $(this).find(".joel-day").html();                   //var eventDetails = $(this).find(".upcoming-column.right").html();                   var ariaMonth = "";                   var ariaDate = "";                   switch(eventMonth){                     case "jan":                       ariaMonth = "January";                     break;                     case "feb":                       ariaMonth = "February";                     break;                     case "mar":                       ariaMonth = "March";                     break;                     case "apr":                       ariaMonth = "April";                     break;                     case "may":                       ariaMonth = "May";                     break;                     case "jun":                       ariaMonth = "June";                     break;                     case "jul":                       ariaMonth = "July";                     break;                     case "aug":                       ariaMonth = "August";                     break;                     case "sep":                       ariaMonth = "September";                     break;                     case "oct":                       ariaMonth = "October";                     break;                     case "nov":                       ariaMonth = "November";                     break;                     case "dec":                       ariaMonth = "December";                     break;                     default: ariaMonth = eventMonth; }                   switch(eventNumberDay){                     case "1":                       ariaDate = "First";                     break;                     case "2":                       ariaDate = "Second";                     break;                     case "3":                       ariaDate = "Third";                     break;                     case "4":                       ariaDate = "Fourth";                     break;                     case "5":                       ariaDate = "Fifth";                     break;                     case "6":                       ariaDate = "Sixth";                     break;                     case "7":                       ariaDate = "Seventh";                     break;                     case "8":                       ariaDate = "Eighth";                     break;                     case "9":                       ariaDate = "Ninth";                     break;                     case "10":                       ariaDate = "Tenth";                     break;                     case "11":                       ariaDate = "Eleventh";                     break;                     case "12":                       ariaDate = "Twelveth";                     break;                     case "13":                       ariaDate = "Thirteenth";                     break;                     case "14":                       ariaDate = "Fourteenth";                     break;                     case "15":                       ariaDate = "Fifteenth";                     break;                     case "16":                       ariaDate = "Sixteenth";                     break;                     case "17":                       ariaDate = "Seventeenth";                     break;                     case "***":                       ariaDate = "Eighteenth";                     break;                     case "19":                       ariaDate = "Nineteenth";                     break;                     case "20":                       ariaDate = "Twentieth";                     break;                     case "21":                       ariaDate = "Twenty-first";                     break;                     case "22":                       ariaDate = "Twenty-second";                     break;                     case "23":                       ariaDate = "Twenty-third";                     break;                     case "24":                       ariaDate = "Twenty-fourth";                     break;                     case "25":                       ariaDate = "Twenty-fifth";                     break;                     case "26":                       ariaDate = "Twenty-sixth";                     break;                     case "27":                       ariaDate = "Twenty-seventh";                     break;                     case "28":                       ariaDate = "Twenty-eighth";                     break;                     case "29":                       ariaDate = "Twenty-ninth";                     break;                     case "30":                       ariaDate = "Thirtieth";                     break;                     case "31":                       ariaDate = "Thirty-first";                     break;                     default: ariaDate = eventNumberDay; }                   $(this).find('.sw-calendar-block-date').attr('aria-label', ariaMonth+" "+ariaDate); })         /****** REMOVE First 0S *******/         $.each($('.jeremy-date'), function(){                 var text = $(this).text(),                     html = '';                 if(text.slice(0, 1) == 0){                     html += text.slice(1); } else {                     html += text.slice(0); }                 $(this).text(html);         }); // End each     }             if($(window).width() > 640) {                 $('#hp-content .left .upcomingevents').each(function(index, app){                     $('.ui-widget-header', app).append($('.view-calendar-link', app)); });                 $('#hp-content .left .headlines, #sp-content .headlines').each(function(index, app){                     $('.ui-widget-header', app).append($('a.more-link', app)); }); }             $('#hp-content .column.left .headlines .ui-article').each(function(index, article){                 $('.ui-article-title', article).wrap('');                 $('.article-overlay-inner', article).append($('.ui-article-description', article));                 $('.ui-article-description', article).attr('aria-hidden', 'true'); });             $('.headlines .article-overlay').hover(function(){                 $(this).addClass('open');                 $('.ui-article-description', this).attr('aria-hidden', 'false').slideDown(); }, function(){                 $(this).removeClass('open');                 $('.ui-article-description', this).attr('aria-hidden', 'true').slideUp(); });             $('.headlines .ui-article').hover(function(){                 $('.article-overlay', this).addClass('open');                 $('.ui-article-description', this).attr('aria-hidden', 'false').slideDown(); }, function(){                 $('.article-overlay', this).removeClass('open');                 $('.ui-article-description', this).attr('aria-hidden', 'true').slideUp(); });             $('.headlines .article-overlay .ui-article-title a').focus(function(){                 $(this).closest('.article-overlay').addClass('open');                 $(this).parent().siblings('.ui-article-description').attr('aria-hidden', 'false').slideDown(); }).blur(function(){                 $(this).closest('.article-overlay').removeClass('open');                 $(this).parent().siblings('.ui-article-description').attr('aria-hidden', 'true').slideUp(); });             $('.ui-widget.app.navigation li a').hover(function(){                 $(this).parent().addClass('hover'); }, function(){                 $(this).parent().removeClass('hover'); });             //--> Add Ads             /*             function imageExists(url, callback) {               var img = new Image();               img.onload = function() { callback(true); };               img.onerror = function() { callback(false); };               img.src = url; }             */             var zone = "district";             var zoneData = [];             if(zone == "zone1; zone2; zone3; zone4; zone5") {                 zone = "zone1"; }             $.ajax({                 url: '/cms/lib/FL02201431/Centricity/template/globalassets/ads/'+zone+'/'+zone+'.csv',                 type: 'get',                    dataType:"text",                    success:function(data) {                     var row = data.split(/\r?\n|\r/);                     for(var cell = 0;  cell < row.length;  cell++) {                          var adInfo = row[cell].split(",");                         if(cell != 0) {                             zoneData.push( adInfo[1] + ", " + adInfo[2] + ", " + adInfo[3]); }                     }                     //--> Add Homepage Ads                     if($('#gb-page').hasClass('hp')) {                         if(zoneData[0].split(', ')[2]) {                             $('#sw-content-container3 > div:last-child .ui-widget.app').append(""); }                         if(zoneData[1].split(', ')[2]) {                             $('.hp-ad-wrapper').append(""); } }                     //--> Add Footer Ads                     if(zoneData[2].split(', ')[2]) {                         $('#gb-footer-ads-wrapper').prepend(""); }                     if(zoneData[3].split(', ')[2]) {                         $('#gb-footer-ads-wrapper').append(""); }                    },                 error: function(jqXHR, textStatus, errorThrow){                     console.log(jqXHR['responseText']); } }); },         "Footer": function() {             // ADD LOGO             var showLogo = true;             var logoSrc = $.trim("/cms/lib/FL02201431/Centricity/Template/GlobalAssets/images///Faces/default-man.jpg");             if(showLogo) {                 var srcSplit = logoSrc.split("/");                 var srcSplitLen = srcSplit.length;                 if((logoSrc != "") && (srcSplit[srcSplitLen - 1] != "default-man.jpg")) {                     $("#gb-footer-logo").append(''); } else {                     $("#gb-footer-logo").append(''); } }             var footerSitename = $.trim("Brevard Public Schools");             if(footerSitename != "") {                 $('#gb-footer-sitename').html("

" + footerSitename + "

"); }             $('.gb-footer.right > a').first().text('Sitemap');             // MOVE SCHOOLWIRES FOOTER STUFF             $(".gb-schoolwires-footer.logo").html($("#sw-footer-logo").html());             $(".gb-schoolwires-footer.links").append($("#sw-footer-links li:eq(0) a"));             $(".gb-schoolwires-footer.links").append($("#sw-footer-links li:eq(2) a"));             $(".gb-schoolwires-footer.links").append($("#sw-footer-links li:eq(1) a"));             $(".gb-schoolwires-footer.links").append($("#sw-footer-copyright"));             $(".gb-schoolwires-footer.links a").each(function(k, v){                 if(k < 2) {                     $(v).append('•'); } });             //--> Add Social             var socialData = [                 {                     "name": "Facebook",                     "show": true,                     "url": "#" },                 {                     "name": "Twitter",                     "show": true,                     "url": "#" }             ],             socialHtml = "";             for(var icon in socialData) {                 if(socialData[icon].show) {                     socialHtml += "
  • "; } }             //--> Add Social media             $('#gb-social-list').html(socialHtml);             //--> Add Extra Phone Number             if(true && $.trim("Ethics Hotline" != "" && "321-633-1000 ext.170" != "")) {                 $('.gb-footer-phone').append("Ethics Hotline

    321-633-1000 ext.170Ethics Complaint Form"); }             //--> To Top Button             $('#cj-to-top').click(function(e){                 e.preventDefault();                 $("html, body").animate({ scrollTop: (0) }, 1000, function() {                     $('#gb-channel-list a').first().focus(); }); }); },         "Slideshow": function() {             if($("#sw-content-container10 .ui-widget.app.multimedia-gallery").length) {                 var mmg = eval("multimediaGallery" + $("#sw-content-container10 .ui-widget.app.multimedia-gallery:first").attr("data-pmi"));                 mmg.props.defaultGallery = false;                 $("#sw-content-container10 .ui-widget.app.multimedia-gallery:first").csMultimediaGallery({                     "efficientLoad" : true,                     "imageWidth" : 895,                     "imageHeight" : 575,                     "mobileDescriptionContainer": [320], // [960, 768, 640, 480, 320]                     "galleryOverlay" : false,                     "linkedElement" : [], // ["image", "title", "overlay"]                     "playPauseControl" : true,                     "backNextControls" : true,                     "bullets" : false,                     "thumbnails" : false,                     "thumbnailViewerNum": [4, 4, 3, 3, 2], // NUMERICAL - [960 view, 768 view, 640 view, 480 view, 320 view]                     "autoRotate" : true,                     "hoverPause" : true,                     "transitionType" : "fade", // fade, slide, custom                     "transitionSpeed" : 1.5,                     "transitionDelay" : 4,                     "fullScreenRotator" : false,                     "fullScreenBreakpoints" : [960], // NUMERICAL - [960, 768, 640, 480, 320]                     "onImageLoad" : function(props) {}, // props.element, props.recordIndex, props.mmgRecords                     "allImagesLoaded" : function(props) {}, // props.element, props.mmgRecords                     "onTransitionStart" : function(props) {}, // props.element, props.currentRecordIndex, props.currentGalleryIndex, props.nextRecordIndex, props.nextGalleryIndex, props.mmgRecords                     "onTransitionEnd" : function(props) {}, // props.element, props.currentRecordIndex, props.currentGalleryIndex, props.mmgRecords                     "allLoaded" : function(props) {                             //--> Hex to RGB converting function                             function hextoRGB(hex){                                 hex = hex.replace('#','');                                 r = parseInt(hex.substring(0,2), 16);                                 g = parseInt(hex.substring(2,4), 16);                                 b = parseInt(hex.substring(4,6), 16);                                 result = r + ',' + g + ',' + b ;                                 return result; }                             var bgColor = hextoRGB('#2c557f');                             var mmgStyles = "";                             $('#hp-slideshow .mmg-viewer').prepend($('#hp-slideshow .mmg-control.play-pause'));                             $('#hp-slideshow .mmg-slide').each(function(index, slide){                                 if(!$('.mmg-description', slide).length) {                                     $(slide).append('');                                     $('.mmg-description-link.read-more', slide).html('' + $('.mmg-description-link.read-more', slide).text() + ''); } });                             $('#hp-slideshow').prepend(mmgStyles);                             $('#hp-slideshow .mmg-description-outer, #hp-slideshow .mmg-slide .mmg-description').prepend($('#hp-slideshow .mmg-control.back'), $('#hp-slideshow .mmg-control.next')); }, // props.element, props.mmgRecords                     "onWindowResize": function(props) {} // props.element, props.mmgRecords }); } },         "RsMenu": function() {             var hlData = [                 {                     "text": "Parents & Students",                     "url": "/site/Default.aspx?PageType=1&SiteID=4&ChannelID=122&DirectoryType=6" },                 {                     "text": "",                     "url": "" },                 {                     "text": "Community",                     "url": "/Page/2315" },                 {                     "text": "For Staff",                     "url": "https://www.brevardschools.org/site/Default.aspx?PageType=1&SiteID=4&ChannelID=120&DirectoryType=6" }             ];             var popularLinks = [];             for(var link in hlData) {                 if($.trim(hlData[link].text) != '') {                     popularLinks.push(hlData[link]); } }             $.csRsMenu({                   "breakPoint" : 640, // SYSTEM BREAK POINTS - 768, 640, 480, 320                   "slideDirection" : "left-to-right", // OPTIONS - left-to-right, right-to-left                   "menuButtonParent" : "#gb-channel-list",                   "menuBtnText" : "Menu",                   "colors": {                       "pageOverlay": "#000000", // DEFAULT #000000                       "menuBackground": "#FFFFFF", // DEFAULT #FFFFFF                       "menuText": "#333333", // DEFAULT #333333                       "menuTextAccent": "#333333", // DEFAULT #333333                       "dividerLines": "#E6E6E6", // DEFAULT #E6E6E6                       "buttonBackground": "#E6E6E6", // DEFAULT #E6E6E6                       "buttonText": "#333333" // DEFAULT #333333 },                   "showSchools" : false,                   "schoolMenuText": "Our Schools",                   "showTranslate" : true,                   "translateMenuText": "Translate Language",                   "translateVersion": 2, // 1 = FRAMESET, 2 = BRANDED                   "translateId" : "",                   "showAccount": true,                   "accountMenuText": "User Options",                   "usePageListNavigation": true,                   "extraMenuOptions": {                           "Popular Links": popularLinks,                       "Global Icons": [                           {                               "text": "Launchpad",                               "url": "/Launchpad" },                           {                               "text": "Menus",                               "url": "/Page/3479" },                           {                               "text": "Transportation",                               "url": "/Page/7285" },                           {                               "text": "Contact",                               "url": "/Page/1290" },                           {                               "text": "Calendar",                               "url": "https://www.brevardschools.org/Page/2" }                       ] },                    "siteID": "4",                   "allLoaded": function(){} }); },         "AppAccordion": function() {             $("#hp-content .hp.column:not('.full')").csAppAccordion({                 "accordionBreakpoints" : [640, 480, 320] });             $(".sp.column.one").csAppAccordion({                 "accordionBreakpoints" : [640, 480, 320] }); },         "Search": function() {             var _this = this;             //SEARCH TEXT             //$('#sw-search-button').remove();             $('#sw-search-button').attr('aria-hidden', 'true').addClass('hidden');             $('#sw-mystart-search').prependTo($('#gb-search-outer'));             $("input#sw-search-input").attr('placeholder', 'Search...').attr('tabindex', '-1').attr('aria-hidden', 'true');              $("input#sw-search-input").attr("value", "Search...");             $("input#sw-search-input").focus(function() {                 if($(this).val() == "Search...") {                     $(this).val(""); } });             $("input#sw-search-input").blur(function() {                 if($(this).val() == "") {                     $(this).val("Search..."); }                 $('#gb-mystart-upper button:not("#gb-search-btn")').attr('tabindex', '0').attr('aria-hidden', 'false');                     $('#gb-search-btn').removeClass('open').attr('aria-label', 'Open Search');                     $('#gb-mystart-upper #sw-search-input').removeClass('open').attr('aria-hidden', 'true').attr('tabindex', '-1'); });             $('#gb-search-btn').click(function(){                 if($(this).hasClass('open')) {                     $('#gb-mystart-upper button:not("#gb-search-btn")').attr('tabindex', '0').attr('aria-hidden', 'false');                     $(this).removeClass('open').attr('aria-label', 'Open Search');                     $('#gb-mystart-upper #sw-search-input').removeClass('open').attr('aria-hidden', 'true').attr('tabindex', '-1'); } else {                     $('#gb-mystart-upper button:not("#gb-search-btn")').attr('tabindex', '-1').attr('aria-hidden', 'true');                     $(this).addClass('open').attr('aria-label', 'Close Search');                     $('#gb-mystart-upper #sw-search-input').addClass('open').attr('aria-hidden', 'false').attr('tabindex', '0').delay(300).focus(); } }).keydown(function(e){                 var c = e.which;                 if(c == _this.KeyCodes.enter) {                     e.preventDefault(); } }).keyup(function(e){                 var c = e.which;                 if(c == _this.KeyCodes.enter) {                     $(this).click(); } }).focus(function(){                 $('.gb-mystart-btn.open:not(".search")').click(); }); },         "CalendarListView": function() {             if($(".ui-widget.app.calendar").length) {                 // AUTO CLICK FUNCTION FOR SCHOOLWIRES CALENDAR LIST VIEW FOR SMALL MOBILE DEVICES                 if(!$(".ui-widget.app.calendar #calendarlist-pnl-specialview.loaded").length){                     $("a.ui-btn-toggle.list").click();                     $("a.ui-btn-toggle.month").click();                     $(".ui-widget.app.calendar #calendarlist-pnl-specialview").addClass("loaded"); }                 switch(this.GetBreakPoint()) {                     case "desktop": case "768": case "640":                         $(".ui-widget.app.calendar #calendar").removeClass("ui-helper-hidden");                         $(".ui-widget.app.calendar #calendarlist-pnl-specialview").addClass("ui-helper-hidden");                     break;                     case "480": case "320":                         $(".ui-widget.app.calendar #calendar").addClass("ui-helper-hidden");                         $(".ui-widget.app.calendar #calendarlist-pnl-specialview").removeClass("ui-helper-hidden");                         $(".ui-btn-toggle.month").removeClass("active");                         $(".ui-btn-toggle.list").addClass("active");                     break; } } },         "AllyClick": function(event) {             if(event.type == "click") {                 return true; } else if(event.type == "keydown" && (event.keyCode == this.KeyCodes.space || event.keyCode == this.KeyCodes.enter)) {                 return true; } else {                 return false; } },         "GetBreakPoint": function() {             return window.getComputedStyle(do***ent.querySelector("body"), ":before").getPropertyValue("content").replace(/"|'/g, ""); /*"*/ },         "KeyboardEvents": function() {             $('#gb-account-dropdown a').on('keydown', function(e) {                 if(e.keyCode === 9) { } }); } };                   /* HOMEPAGE EDIT THUMBNAIL STYLES */         div.region {             ; }             div.region span.homepage-thumb-region-number {                 font: bold 100px verdana;                 color: #fff; }         div.homepage-thumb-region {             background: #264867;  /*dark blue*/             border: 5px solid #fff;             text-align: center;             padding: 40px 0 40px 0;             display: block; }             div.homepage-thumb-region.region-1 {                 background: #264867;  /*dark blue*/ }             div.homepage-thumb-region.region-2 {                 background: #5C1700;  /*dark red*/ }             div.homepage-thumb-region.region-3 {                 background: #335905;  /*dark green*/ }             div.homepage-thumb-region.region-4 {                 background: #B45014;  /*dark orange*/ }             div.homepage-thumb-region.region-5 {                 background: #51445F;  /*dark purple*/ }             div.homepage-thumb-region.region-6 {                 background: #3B70A0;  /*lighter blue*/ }             div.homepage-thumb-region.region-7 {                 background: #862200;  /*lighter red*/ }             div.homepage-thumb-region.region-8 {                 background: #417206;  /*lighter green*/ }             div.homepage-thumb-region.region-9 {                 background: #D36929;  /*lighter orange*/ }             div.homepage-thumb-region.region-10 {                 background: #6E5C80;  /*lighter purple*/ }         /* END HOMEPAGE EDIT THUMBNAIL STYLES */                   .noprint {             display: none !important; }                   .ui-txt-validate {             display: none; }            (function (i, s, o, g, r, a, m) {         i['GoogleAnalyticsObject'] = r;  i[r] = i[r] || function () {             (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date();  a = s.createElement(o),         m = s.getElementsByTagName(o)[0];  a.async = 1;  a.src = g;  m.parentNode.insertBefore(a, m) })(window, do***ent, 'script', '//www.google-analytics.com/analytics.js', 'ga');     ga('create', 'UA-5173826-6', 'auto', 'BBTracker' );     ga('BBTracker.set', 'dimension1', 'AWS');     ga('BBTracker.set', 'dimension2', 'False');     ga('BBTracker.set', 'dimension3', 'FL02201431');     ga('BBTracker.set', 'dimension4', '4');     ga('BBTracker.set', 'dimension5', '1');     ga('BBTracker.set', 'dimension6', '1');     ga('BBTracker.send', 'pageview');            

    Heading Infomation & KeyWord Sentiment

    Heading TAG Description
    H1 Featured Stories
    H1 Brevard Virtual’s Price named Principal of the Year
    H1 Viera High’s Robinson named****istant Principal of the Year
    H1 FDOE Releases 20***-2019 School and District Grades; Brevard Maintains “A” District Status
    H1 Brevard students outperform state on****essments
    H1 BPS school board to resolve impasse with teachers; District rejects magistrate’s recommendation
    H1 BPS to Mandate Electrocardiogram Testing for All Student Athletes
    H1 Check out the latest edition of BPS News!
    H1 Superintendent Embarks on County-Wide Listening Tour to Plan for the Future of Our Schools
    H1 BPS School Health Advisory Committee (SHAC) Hosts Annual Wellness Policy Review
    H1 Check Out the March Edition of BPS News
    H1 Bargaining Update - March 27, 20***
    H1 Bargaining Update - March 13, 2019
    H1 Bargaining Update - March 12, 2019
    H1 BPS Postpones Adoption of New Math and ELA Programs
    H1 Brevard Schools Announces District Winners at 8th Annual ABC Awards
    H1 District News
    H1 2019-2020 District Calendar
    H1 Step Up For Students Reading Scholarship Opportunity
    H1 Substitute Teaching Opportunities
    H1 School Board Meetings
    H1 Upcoming Events
    H1 Today
    H1 Tomorrow
    H1 Wednesday
    H1 Thursday
    H1 FAQs
    H1 Helpful Links

    JavaScript Information

    
    <script type="text/javascript"> 
    
     staticURL "https://www.brevardschools.org/Static/";
     SessionTimeout "15";
     BBHelpURL "";
    
    </script>
    
    
    

    
     <script type="text/javascript" src="https://www.brevardschools.org/Static/GlobalAssets/Scripts/min/sri-failover.min.js"></script>
    
    

    
     <script type="text/javascript" src="https://www.brevardschools.org/Static/GlobalAssets/WCM-2340/WCM.js"></script>
    
    

    
     <script type="text/javascript" src="https://www.brevardschools.org/Static/GlobalAssets/WCM-2340/API.js"></script>
    
    

    
     <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    
    


    brevardschools.org is using jquery
    
     <script type="text/javascript" src="https://www.brevardschools.org/Static/GlobalAssets/Scripts/min/jquery-migrate-1.2.1.js"></script>
    
    


    brevardschools.org is using jquery
    
     <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
    
    

    
     <script type="text/javascript" src="/Scripts/tether.min.js"></script>
    
    

    
     <script type="text/javascript" src="/Scripts/shepherd/shepherd.min.js"></script>
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function () {
    	            SetCookie('SWScreenWidth'screen.width);
    	            SetCookie('SWClientWidth', do***ent.body.clientWidth);
    	            $("div.ui-article:last").addClass("last-article");
    	            $("div.region .app:last").addClass("last-app");
    	            // get on screen alerts
    	            var isAnyActiveOSA 'False';
    	            var onscreenAlertCookie GetCookie('Alerts');
    	            if (onscreenAlertCookie == '' || onscreenAlertCookie == undefined) {
    		                onscreenAlertCookie "";
    		}
    	            if (isAnyActiveOSA == 'True') {
    		                GetContent(homeURL "/cms/Tools/OnScreenAlerts/UserControls/OnScreenAlertDialogListWrapper.aspx?OnScreenAlertCookie=" onscreenAlertCookie "&SiteID=4""onscreenalert-holder"2"OnScreenAlertCheckListItem();
    		");
    		}
    	});
        // ADA SKIP NAV
        $(do***ent).ready(function () {
    	        $(do***ent).on('focus''#skipLink', function () {
    		            $("div.sw-skipnav-outerbar").animate({
    			                marginTop"0px"
    			}, 500);
    		});
    	        $(do***ent).on('blur''#skipLink', function () {
    		            $("div.sw-skipnav-outerbar").animate({
    			                marginTop"-30px"
    			}, 500);
    		});
    	});
        // ADA MYSTART
        $(do***ent).ready(function () {
    	        var top_level_nav = $('.sw-mystart-nav');
    	        // Set tabIndex to -1 so that top_level_links can't receive focus until menu is open
    	        // school dropdown
    	        $(top_level_nav).find('ul').find('a').attr('tabIndex', -1);
    	        // my account dropdown
    	        $(top_level_nav).next('ul').find('a').attr('tabIndex', -1);
    	        var openNavCallback = function(eelement) {
    		             // hide open menus
    		            hideMyStartBarMenu();
    		            // show school dropdown
    		            if ($(element).find('ul').length 0) {
    			                $(element).find('.sw-dropdown').css('display''block').attr('aria-hidden''false');
    			                $(element).find('.sw-dropdown').find('li:first-child a').focus()
    			}
    		            // show my account dropdown
    		            if ($(element).next('ul').length 0) {
    			                $(element).next('.sw-dropdown').css('display''block').attr('aria-hidden''false');
    			                $(element).next('.sw-dropdown').find('li:first-child a').focus();
    			                $('#sw-mystart-account').addClass("clicked-state");
    			}
    		}
    	        $(top_level_nav).click(function (e) {
    		            openNavCallback(ethis);
    		});
    	        $('.sw-dropdown-list li').click(function(e) {
    		            e.stopImmediatePropagation();
    		            $(this).focus();
    		});
    	        // Bind arrow keys for navigation
    	        $(top_level_nav).keydown(function (e) {
    		            if (e.keyCode == 37) {
    			//key left
    			                e.preventDefault();
    			                // This is the first item
    			                if ($(this).prev('.sw-mystart-nav').length == 0) {
    				                    $(this).parents('div').find('.sw-mystart-nav').last().focus();
    				} else {
    				                    $(this).prev('.sw-mystart-nav').focus();
    				}
    			} else if (e.keyCode == 38) {
    			//key up
    			                e.preventDefault();
    			                // show school dropdown
    			                if ($(this).find('ul').length 0) {
    				                    $(this).find('div.sw-dropdown').css('display''block').find('ul').attr('aria-hidden''false').find('a').attr('tabIndex'0).last().focus();
    				}
    			                // show my account dropdown
    			                if ($(this).find('ul').length 0) {
    				                    $(this).find('ul.sw-dropdown').css('display''block').attr('aria-hidden''false').find('a').attr('tabIndex'0).last().focus();
    				}
    			} else if (e.keyCode == 39) {
    			//key right
    			                e.preventDefault();
    			                // This is the last item
    			                if ($(this).next('.sw-mystart-nav').length == 0) {
    				                    $(this).parents('div').find('.sw-mystart-nav').first().focus();
    				} else {
    				                    $(this).next('.sw-mystart-nav').focus();
    				}
    			} else if (e.keyCode == 40) {
    			//key down
    			                e.preventDefault();
    			                // show school dropdown
    			                if ($(this).find('ul').length 0) {
    				                    $(this).find('div.sw-dropdown').css('display''block').find('ul').attr('aria-hidden''false').find('a').attr('tabIndex'0).first().focus();
    				}
    			                // show my account dropdown
    			                if ($(this).next('ul').length 0) {
    				                    $(this).next('ul.sw-dropdown').css('display''block').attr('aria-hidden''false').find('a').attr('tabIndex'0).first().focus();
    				}
    			} else if (e.keyCode == 13 || e.keyCode == 32) {
    			//enter key
    			                // If submenu is hidden, open it
    			                e.preventDefault();
    			                openNavCallback(ethis);
    			                $(this).parent('li').find('ul[aria-hidden=true]').attr('aria-hidden''false').find('a').attr('tabIndex'0).first().focus();
    			} else if (e.keyCode == 27) {
    			//escape key
    			                e.preventDefault();
    			                hideMyStartBarMenu();
    			} else {
    			                $(this).parent('.sw-mystart-nav').find('ul[aria-hidden=false] a').each(function () {
    				                    if (typeof keyCodeMap != "undefined" && $(this).text().substring(01).toLowerCase() == keyCodeMap[e.keyCode]) {
    					                        $(this).focus();
    					                        return false;
    					}
    				});
    			}
    		});
    	        // school dropdown
    	        var startbarlinks = $(top_level_nav).find('ul').find('a');
    	        bindMyStartBarLinks(startbarlinks);
    	        // my account dropdown
    	        var myaccountlinks = $(top_level_nav).next('ul').find('a');
    	        bindMyStartBarLinks(myaccountlinks);
    	        function bindMyStartBarLinks(links) {
    		            $(links).keydown(function (e) {
    			                e.stopPropagation();
    			                if (e.keyCode == 38) {
    				//key up
    				                    e.preventDefault();
    				                    // This is the first item
    				                    if ($(this).parent('li').prev('li').length == 0) {
    					                        if ($(this).parents('ul').parents('.sw-mystart-nav').length 0) {
    						                            $(this).parents('ul').parents('.sw-mystart-nav').focus();
    						} else {
    						                            $(this).parents('ul').prev('.sw-mystart-nav').focus();
    						}
    					} else {
    					                        $(this).parent('li').prev('li').find('a').first().focus();
    					}
    				} else if (e.keyCode == 40) {
    				//key down
    				                    e.preventDefault();
    				                    if ($(this).parent('li').next('li').length == 0) {
    					                        if ($(this).parents('ul').parents('.sw-mystart-nav').length 0) {
    						                            $(this).parents('ul').parents('.sw-mystart-nav').focus();
    						} else {
    						                            $(this).parents('ul').prev('.sw-mystart-nav').focus();
    						}
    					} else {
    					                        $(this).parent('li').next('li').find('a').first().attr('tabIndex'0);
    					                        $(this).parent('li').next('li').find('a').first().focus();
    					}
    				} else if (e.keyCode == 27 || e.keyCode == 37) {
    				// escape key or key left
    				                    e.preventDefault();
    				                    hideMyStartBarMenu();
    				} else if (e.keyCode == 32) {
    				//enter key
    				                    e.preventDefault();
    				                    window.location = $(this).attr('href');
    				} else {
    				                    var found false;
    				                    $(this).parent('div').nextAll('li').find('a').each(function () {
    					                        if (typeof keyCodeMap != "undefined" && $(this).text().substring(01).toLowerCase() == keyCodeMap[e.keyCode]) {
    						                            $(this).focus();
    						                            found true;
    						                            return false;
    						}
    					});
    				                    if (!found) {
    					                        $(this).parent('div').prevAll('li').find('a').each(function () {
    						                            if (typeof keyCodeMap != "undefined" && $(this).text().substring(01).toLowerCase() == keyCodeMap[e.keyCode]) {
    							                                $(this).focus();
    							                                return false;
    							}
    						});
    					}
    				}
    			});
    		}
    	        // Hide menu if click or focus occurs outside of navigation
    	        $('#sw-mystart-inner').find('.sw-mystart-nav').last().keydown(function (e) {
    		            if (e.keyCode == 9) {
    			                // If the user tabs out of the navigation hide all menus
    			                hideMyStartBarMenu();
    			}
    		});
    	        /*$(do***ent).click(function() {
    		            hideMyStartBarMenu();
    		});
    	*/
    	        // try to capture as many custom MyStart bars as possible
    	        $('.sw-mystart-button').find('a').focus(function () {
    		            hideMyStartBarMenu();
    		});
    	        $('#sw-mystart-inner').click(function (e) {
    		            e.stopPropagation();
    		});
    	        $('ul.sw-dropdown-list').blur(function () {
    		            hideMyStartBarMenu();
    		});
    	        $('#ui-btn-mypasskey').focus(function () {
    		            hideMyStartBarMenu();
    		});
    	        $('#ui-btn-sitemanager').focus(function () {
    		            hideMyStartBarMenu();
    		});
    	        $('#ui-btn-myview').focus(function () {
    		            hideMyStartBarMenu();
    		});
    	        $('#ui-btn-signin').focus(function () {
    		            hideMyStartBarMenu();
    		});
    	        $('#ui-btn-register').focus(function () {
    		            hideMyStartBarMenu();
    		});
    	        // button click events
    	        $('div.sw-mystart-button.home a').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).click();
    			}
    		});
    	        $('div.sw-mystart-button.pw a').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).click();
    			}
    		});
    	        $('div.sw-mystart-button.manage a').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).click();
    			}
    		});
    	        $('#sw-mystart-account').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).addClass('clicked-state');
    			                $('#sw-myaccount-list').show();
    			}
    		});
    	        $('#sw-mystart-mypasskey a').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).click();
    			}
    		});
    	        $('div.sw-mystart-button.signin a').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).click();
    			}
    		});
    	        $('div.sw-mystart-button.register a').keydown(function (e) {
    		            e.stopImmediatePropagation();
    		            if (e.keyCode == 13) {
    			                $(this).click();
    			}
    		});
    	});
        function hideMyStartBarMenu() {
    	        $('.sw-dropdown').attr('aria-hidden''true').css('display''none');
    	        $('#sw-mystart-account').removeClass("clicked-state");
    	}
        // ADA CHANNEL NAV
        $(do***ent).ready(function() {
    	        var channelCount;
    	        var channelIndex 1;
    	        var settings = {
    		            menuHoverClass'hover'
    		};
    	        // Add ARIA roles to menubar and menu items
    	        $('[id="channel-navigation"]').attr('role''menubar').find('li a').attr('role''menuitem').attr('tabindex''0');
    	        var top_level_links = $('[id="channel-navigation"]').find('> li > a');
    	        channelCount = $(top_level_links).length;
    	        $(top_level_links).each(function() {
    		            $(this).attr('aria-posinset'channelIndex).attr('aria-setsize'channelCount);
    		            $(this).next('ul').attr({ 'aria-hidden''true''role''menu'
    			});
    		            if ($(this).parent('li.sw-channel-item').children('ul').length 0) {
    			                $(this).attr('aria-haspopup''true');
    			}
    		            var sectionCount = $(this).next('ul').find('a').length;
    		            var sectionIndex 1;
    		            $(this).next('ul').find('a').each(function() {
    			                $(this).attr('tabIndex', -1).attr('aria-posinset'sectionIndex).attr('aria-setsize'sectionCount);
    			                sectionIndex++;
    			});
    		            channelIndex++;
    		});
    	        $(top_level_links).focus(function () {
    		            //hide open menus
    		            hideChannelMenu();
    		            if ($(this).parent('li').find('ul').length 0) {
    			                $(this).parent('li').addClass(settings.menuHoverClass).find('ul').attr('aria-hidden''false').css('display''block');
    			}
    		});
    	        // Bind arrow keys for navigation
    	        $(top_level_links).keydown(function (e) {
    		            if (e.keyCode == 37) {
    			//key left
    			                e.preventDefault();
    			                // This is the first item
    			                if ($(this).parent('li').prev('li').length == 0) {
    				                    $(this).parents('ul').find('> li').last().find('a').first().focus();
    				} else {
    				                    $(this).parent('li').prev('li').find('a').first().focus();
    				}
    			} else if (e.keyCode == 38) {
    			//key up
    			                e.preventDefault();
    			                if ($(this).parent('li').find('ul').length 0) {
    				                    $(this).parent('li').addClass(settings.menuHoverClass).find('ul').css('display''block').attr('aria-hidden''false').find('a').attr('tabIndex'0).last().focus();
    				}
    			} else if (e.keyCode == 39) {
    			//key right
    			                e.preventDefault();
    			                // This is the last item
    			                if ($(this).parent('li').next('li').length == 0) {
    				                    $(this).parents('ul').find('> li').first().find('a').first().focus();
    				} else {
    				                    $(this).parent('li').next('li').find('a').first().focus();
    				}
    			} else if (e.keyCode == 40) {
    			//key down
    			                e.preventDefault();
    			                if ($(this).parent('li').find('ul').length 0) {
    				                    $(this).parent('li')
    				                         .addClass(settings.menuHoverClass)
    				                         .find('ul.sw-channel-dropdown').css('display''block')
    				                         .attr('aria-hidden''false')
    				                         .find('a').attr('tabIndex'0)
    				                         .first().focus();
    				}
    			} else if (e.keyCode == 13 || e.keyCode == 32) {
    			//enter key
    			                // If submenu is hidden, open it
    			                e.preventDefault();
    			                $(this).parent('li').find('ul[aria-hidden=true]').attr('aria-hidden''false').addClass(settings.menuHoverClass).find('a').attr('tabIndex'0).first().focus();
    			} else if (e.keyCode == 27) {
    			//escape key
    			                e.preventDefault();
    			                hideChannelMenu();
    			} else {
    			                $(this).parent('li').find('ul[aria-hidden=false] a').each(function () {
    				                    if (typeof keyCodeMap != "undefined" && $(this).text().substring(01).toLowerCase() == keyCodeMap[e.keyCode]) {
    					                        $(this).focus();
    					                        return false;
    					}
    				});
    			}
    		});
    	        var links = $(top_level_links).parent('li').find('ul').find('a');
    	        $(links).keydown(function (e) {
    		            if (e.keyCode == 38) {
    			                e.preventDefault();
    			                // This is the first item
    			                if ($(this).parent('li').prev('li').length == 0) {
    				                    $(this).parents('ul').parents('li').find('a').first().focus();
    				} else {
    				                    $(this).parent('li').prev('li').find('a').first().focus();
    				}
    			} else if (e.keyCode == 40) {
    			                e.preventDefault();
    			                if ($(this).parent('li').next('li').length == 0) {
    				                    $(this).parents('ul').parents('li').find('a').first().focus();
    				} else {
    				                    $(this).parent('li').next('li').find('a').first().focus();
    				}
    			} else if (e.keyCode == 27 || e.keyCode == 37) {
    			                e.preventDefault();
    			                $(this).parents('ul').first().prev('a').focus().parents('ul').first().find('.' settings.menuHoverClass).removeClass(settings.menuHoverClass);
    			} else if (e.keyCode == 32) {
    			                e.preventDefault();
    			                window.location = $(this).attr('href');
    			} else {
    			                var found false;
    			                $(this).parent('li').nextAll('li').find('a').each(function () {
    				                    if (typeof keyCodeMap != "undefined" && $(this).text().substring(01).toLowerCase() == keyCodeMap[e.keyCode]) {
    					                        $(this).focus();
    					                        found true;
    					                        return false;
    					}
    				});
    			                if (!found) {
    				                    $(this).parent('li').prevAll('li').find('a').each(function () {
    					                        if (typeof keyCodeMap != "undefined" && $(this).text().substring(01).toLowerCase() == keyCodeMap[e.keyCode]) {
    						                            $(this).focus();
    						                            return false;
    						}
    					});
    				}
    			}
    		});
    	        function hideChannelMenu() {
    		            $('li.sw-channel-item.' settings.menuHoverClass).removeClass(settings.menuHoverClass).find('ul').attr('aria-hidden''true').css('display''none').find('a').attr('tabIndex', -1);
    		}
    	        // Hide menu if click or focus occurs outside of navigation
    	        $('[id="channel-navigation"]').find('a').last().keydown(function (e) {
    		            if (e.keyCode == 9) {
    			                // If the user tabs out of the navigation hide all menus
    			                hideChannelMenu();
    			}
    		});
    	        $('[id="channel-navigation"]').find('a').first().keydown(function (e) {
    		            if (e.keyCode == 9) {
    			                // hide open MyStart Bar menus
    			                hideMyStartBarMenu();
    			}
    		});
    	        /*$(do***ent).click(function() {
    		            hideChannelMenu();
    		});
    	*/
    	        $('[id="channel-navigation"]').click(function (e) {
    		            e.stopPropagation();
    		});
    	});
        $(do***ent).ready(function() {
    	        $('input.required').each(function() {
    		            if ($('label[for="' + $(this).attr('id') + '"]').length 0) {
    			                if ($('label[for="' + $(this).attr('id') + '"]').html().indexOf('recStar') < 0) {
    				                    $('label[for="' + $(this).attr('id') + '"]').prepend('<span class="recStar" aria-label="required item">* ');
    				}
    			}
    		});
    	        $(do***ent).ajaxComplete(function() {
    		            $('input.required').each(function() {
    			                if ($('label[for="' + $(this).attr('id') + '"]').length 0) {
    				                    if ($('label[for="' + $(this).attr('id') + '"]').html().indexOf('recStar') < 0) {
    					                        $('label[for="' + $(this).attr('id') + '"]').prepend('<span class="recStar" aria-label="required item">* ');
    					}
    				}
    			});
    		});
    	});
        
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function(){
    	$("#sw-mystart-search").unbind();
    	});
    
    </script>
    
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/tools/head.min.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/responsive/creative-responsive-menu-v3/creative.responsive.menu.v3.min.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/accessibility/creative.accessible.navigation.app.min.js"></script>
    
    


    brevardschools.org is using ga
    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/responsive/creative-app-accordion/creative.app.accordion.min.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/tools/creative-translate/creative.translate.min.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/tools/creative-icons-v4/creativeIcons.v4.min.js"></script>
    
    

    
     <script type="text/javascript" src="/cms/lib/FL02201431/Centricity/Template/***//js/cs.verticle.article.slider.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/tools/school-list-management/school-list-minibase.min.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/joel/mod-events/joel.mod-events.min.js"></script>
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/global/js/cs.global.min.js"></script>
    
    

    
    <script type="text/javascript"> 
    
        $(function() {
    	        CreativeTemplate.Init();
    	});
        var CreativeTemplate = {
    	        // PROPERTIES
    	        "KeyCodes": { "tab"9"enter"13"esc"27"space"32"end"35"home"36"left"37"up"38"right"39"down"40
    		},
    	        "IsMyViewPage"false// UPDATES IN SetTemplateProps METHOD
    	        "IconList""",
    	        "MobileView"false,
    	        // METHODS
    	        "Init": function() {
    		            // FOR SCOPE
    		            var _this this;
    		            this.SetTemplateProps();
    		            this.JsMediaQueries();
    		            this.MyStart();
    		            this.Header();
    		            this.ChannelBar();
    		            this.GlobalIcons(_this);
    		            this.Body();
    		            this.Footer();
    		            this.School();
    		            this.Dropdown(_this);
    		            this.Slideshow();
    		            this.RsMenu();
    		            this.AppAccordion();
    		            this.Search();
    		            this.KeyboardEvents();
    		            $(do***ent).ready(function(){ _this.WindowReady();
    			});
    		            $(window).load(function(){ _this.WindowLoad();
    			});
    		            $(window).resize(function(){ _this.WindowResize();
    			});
    		            // HANDLE LINKS THAT OPEN IN A NEW WINDOW
    		            csGlobalJs.OpenInNewWindowWarning();
    		},
    	        "SetTemplateProps": function() {
    		            // MYVIEW PAGE CHECK
    		            if($("#pw-body").lengththis.IsMyViewPage true;
    		},
    	        "WindowReady": function() {
    		            var _this this;
    		            _this.WindowResize();
    		},
    	        "WindowLoad": function() {
    		            this.CalendarListView();
    		            //$('#sw-mystart-outer').remove();
    		            // MAKE NAVIGATION APPS ACCESSIBLE
    		            $(".ui-widget.app.navigation").csAccessibleNavigationApp();
    		            // HANDLE LINKS THAT OPEN IN A NEW WINDOW
    		            csGlobalJs.OpenInNewWindowWarning();
    		            //DON"T ALLOW USER TO SUBMIT AN EMPTY FORM
    		            $('#sw-search-input').off();
    		            $('#sw-search-input').on('keydown', function(e){
    			                if(e.which == 13){//Enter key pressed
    				                    e.preventDefault();
    				                     if($.trim($("#sw-search-input").val()) != "Search..." && $.trim($("#sw-search-input").val()) != "") {
    					                        window.location.href "/site/Default.aspx?PageType=6&SiteID=4&SearchString=" + $("#sw-search-input").val();
    					}
    				} 
    			});
    		},
    	        "WindowResize": function() {
    		            this.JsMediaQueries();
    		            this.CalendarListView();
    		            var _this this;
    		            if($(window).width() < 768 && _this.MobileView == false) {
    			                _this.MobileView == true;
    			                if($('.hp.column .ui-widget-header a').length) {
    				                    $('.hp.column .ui-widget.app').each(function(indexapp){
    					                        if($('.ui-widget-header a'app).length) {
    						                            if($('.ui-read-more'app).length) {
    							                                $('.ui-read-more'app).append($('.ui-widget-header a'app));
    							} else {
    							                                $('.ui-widget-detail'app).append($('.ui-widget-header a'app));
    							}
    						}
    					});
    				}
    			                $('#hp-vertical-scroller .headlines .ui-widget-header').unbind().click(function(e){
    				                    if($(this).parent().hasClass('open')) {
    					                        $(this).parent().removeClass('open');
    					                        $(this).siblings('.ui-widget-detail').slideUp();
    					} else {
    					                        $(this).parent().addClass('open');
    					                        $(this).siblings('.ui-widget-detail').slideDown();
    					}
    				});
    			} else if(_this.MobileView == true) {
    			                _this.MobileView == false;
    			                if(!$('.hp.column .ui-widget-header a').length) {
    				                    $('.hp.column .ui-widget.app').each(function(indexapp){
    					                        if($(app).hasClass('upcomingevents') || $(app).hasClass('headlines')) {
    						                            if($('.ui-widget-header a'app).length) {
    							                                if($('.ui-read-more'app).length) {
    								                                    $('a.more-link, a.view-calendar-link'app).append($('.ui-widget-header'app));
    								} else {
    								                                    $('a.more-link, a.view-calendar-link'app).append($('.ui-widget-header'app));
    								}
    							}
    						}
    					});
    				}
    			}
    		},
    	        "JsMediaQueries": function() {
    		            switch(this.GetBreakPoint()) {
    			                case "desktop": 
    			                break;
    			                case "768":
    			                break;
    			                case "640":
    			                break;
    			                case "480":
    			                break;
    			                case "320":
    			                break;
    			}
    		},
    	        "MyStart": function() {
    		            // ADD TRANSLATE
    		            $("#gb-translate-dropdown").creativeTranslate({
    			                "type"2,
    			                "advancedOptions": {
    				                    "addMethod""append",
    				                    "dropdownHandleText""Translate",
    				}
    			});
    		            $(do***ent).off("click"".sw-mystart-dropdown");
    		            $(do***ent).on("click"".sw-mystart-dropdown", function(e) {
    			                $(".sw-dropdown"this).slideDown(300"swing");
    			                $(this).addClass("open");
    			});
    		            $(".sw-mystart-dropdown").hover(function(e) {
    			                e.preventDefault();
    			}, function() {
    			                $(".sw-dropdown",this).slideUp(300"swing").attr('aria-hidden''true');
    			                $(this).removeClass("open");
    			});
    		            $(do***ent).off("focus"".sw-mystart-dropdown");
    		            $(do***ent).on("focus"".sw-mystart-dropdown", function(e) {
    			                $(".sw-dropdown"this).slideDown(300"swing").attr('aria-hidden''false');
    			                $(this).addClass("open");
    			});
    		            //--> Add Account Options
    		            if($('#sw-myaccount-list').length && $('.sw-mystart-button.manage').length) {
    			                var pw "";
    			                if($('.sw-mystart-button.pw').html() != undefined) {
    				                    pw '<li>' + $('.sw-mystart-button.pw').html() + '';
    				}
    			                var accountItems '<li>' + $('.sw-mystart-button.manage').html() + '' pw + $('#sw-myaccount-list').html();
    			                $('#gb-account-dropdown .gb-account-list').html(accountItems);
    			} else {
    			                $('#gb-account-dropdown .gb-account-list').append('<li>' + $('#ui-btn-signin').html() + '');
    			                $('#gb-account-dropdown .gb-account-list').append('<li><a href="https://www.brevardschools.org/site/SAMLLogin.aspx?IgnoreRedirect=true" >BPS Sign in');
    			                if($('#ui-btn-register').length) {
    				                    $('#gb-account-dropdown .gb-account-list').append('<li>' + $('#ui-btn-register').html() + '');
    				}
    			}
    		},
    	        "Header": function() {
    		            // ADD LOGO
    		            var showLogo true;
    		            var logoSrc = $.trim("/cms/lib/FL02201431/Centricity/Template/GlobalAssets/images///Faces/default-man.jpg");
    		            if(showLogo) {
    			                var srcSplit logoSrc.split("/");
    			                var srcSplitLen srcSplit.length;
    			                if((logoSrc != "") && (srcSplit[srcSplitLen 1] != "default-man.jpg")) {
    				                    $("#gb-logo").append('<a href="/001u000000ddoq0ian"><img src="' logoSrc '" alt="Brevard Public Schools logo" />');
    				} else {
    				                    $("#gb-logo").append('<a href="/001u000000ddoq0ian"><img src="/cms/lib/FL02201431/Centricity/Template/***//imgs/logo.png" width="132" height="102" alt="Brevard Public Schools logo" />');
    				}
    			}
    		            // ADD SITENAME
    		            var siteNameOne = $.trim("");
    		            var siteNameTwo = $.trim("");
    		            var siteTagline = $.trim("TO SERVE EVERY STUDENT WITH EXCELLENCE AS THE STANDARD");
    		            if((siteNameOne != "") && (siteNameTwo == "")) {
    			                $("#gb-sitename").prepend("<h1>" siteNameOne "");
    			} else if((siteNameOne == "") && (siteNameTwo != "")) {
    			                $("#gb-sitename").prepend("<h1>" siteNameTwo "");
    			} else if((siteNameOne != "") && (siteNameTwo != "")) {
    			                $("#gb-sitename").prepend("<h1>" siteNameOne "<span>" siteNameTwo "");
    			}
    		            if(siteTagline != "") {
    			                $('#gb-tagline').html("<p>" siteTagline "");
    			}
    		            var hlData = [
    		                {
    			                    "text""Parents & Students",
    			                    "url""/site/Default.aspx?PageType=1&SiteID=4&ChannelID=122&DirectoryType=6"
    			},
    		                {
    			                    "text""",
    			                    "url"""
    			},
    		                {
    			                    "text""Community",
    			                    "url""/Page/2315"
    			},
    		                {
    			                    "text""For Staff",
    			                    "url""https://www.brevardschools.org/site/Default.aspx?PageType=1&SiteID=4&ChannelID=120&DirectoryType=6"
    			}
    		            ],
    		            hlHtml "",
    		            addHL 0;
    		            for(var link in hlData) {
    			                if($.trim(hlData[link].text) != '') {
    				                    hlHtml += "<li><a class='extra-link' href='" hlData[link].url "'>" hlData[link].text "";
    				                    addHL 1;
    				}
    			}
    		            hlHtml += "";
    		            if(addHL == 1) {
    			                $('#gb-extra-links').append(hlHtml);
    			}
    		},
    	        "ChannelBar": function() {
    		            $(".sw-channel-item").unbind('hover');
    		            $(".sw-channel-item").hover(function(){
    			                $(".sw-channel-item ul").stop(truetrue);
    			                var subList = $(this).children('ul');
    			                if ($.trim(subList.html()) !== "") {
    				                    subList.slideDown(300"swing");
    				}
    			                $(this).addClass("hover");
    			}, function(){
    			                $(".sw-channel-dropdown").slideUp(300"swing");
    			                $(this).removeClass("hover");
    			});
    		},
    	        "School": function(){
    		            var _this this;
    		            $(function() {
    			                $.schoolListMinibase({
    				                    'miniBaseDomainID'4,
    				                    'miniBaseModuleInstanceID'6012,
    				                    'cache'true,
    				                    'schoolListReady': function(schoolList) {
    					                        //The returned value is an array of objects and each object is a school record.
    					                        //The fields are: schoolList.schoolName, schoolList.schoolType, schoolList.schoolUrl, schoolList.schoolAlias, schoolList.schoolVisible
    					                        var schools '<div role="tablist" aria-label="School Categories" class="cs-fc cs-fw">' +
    					                                '<button role="tab" aria-selected="true" tabindex="0" aria-controls="elem-panel" id="elem-tab" class="cs-btn-reset gb-school-tab elem">ELEMENTARY' +
    					                                '<button role="tab" aria-selected="false" tabindex="-1" aria-controls="mid-panel" id="mid-tab" class="cs-btn-reset gb-school-tab mid">MIDDLE' +
    					                                '<button role="tab" aria-selected="false" tabindex="-1" aria-controls="high-panel" id="high-tab" class="cs-btn-reset gb-school-tab high">HIGH' +
    					                                '<button role="tab" aria-selected="false" tabindex="-1" aria-controls="other-panel" id="other-tab" class="cs-btn-reset gb-school-tab other">OTHER' +
    					                                '<button id="gb-close-schools" aria-label="Close school dropdown."><span class="accessible-hidden">Close school dropdown' + 
    					                                '',
    					                              elemSchools "<div class='tab-panel' role='tab-panel' tabindex='0' id='elem-panel' aria-labeledby='elem-tab'><ul class='panel-content cs-fc cs-fw'>",
    					                            midSchools "<div class='tab-panel' role='tab-panel' tabindex='0' id='mid-panel' aria-labeledby='mid-tab' hidden='hidden'><ul class='panel-content cs-fc cs-fw'>",
    					                            highSchools "<div class='tab-panel' role='tab-panel' tabindex='0' id='high-panel' aria-labeledby='high-tab' hidden='hidden'><ul class='panel-content cs-fc cs-fw'>",
    					                            otherSchools "<div class='tab-panel' role='tab-panel' tabindex='0' id='other-panel' aria-labeledby='other-tab' hidden='hidden'><ul class='panel-content cs-fc cs-fw'>";
    					                        //schools += '<li><a href=\'' + schoolList[i].schoolUrl + '\' tabindex=\'-1\'>' + schoolList[i].schoolName + '';
    					                        for(var i in schoolList) {
    						                            if(schoolList[i].schoolVisible.toLowerCase() == 'true') {
    							                                if(schoolList[i].schoolType.toLowerCase() == "elementary") {
    								                                    elemSchools += "<li><a href='" schoolList[i].schoolUrl "' tabindex='-1'>" schoolList[i].schoolName "";
    								} else if(schoolList[i].schoolType.toLowerCase() == "middle") {
    								                                    midSchools += "<li><a href='" schoolList[i].schoolUrl "' tabindex='-1'>" schoolList[i].schoolName "";
    								} else if(schoolList[i].schoolType.toLowerCase() == "high") {
    								                                    highSchools += "<li><a href='" schoolList[i].schoolUrl "' tabindex='-1'>" schoolList[i].schoolName "";
    								} else if(schoolList[i].schoolType.toLowerCase() == "other") {
    								                                    otherSchools += "<li><a href='" schoolList[i].schoolUrl "' tabindex='-1'>" schoolList[i].schoolName "";
    								}
    							}
    						}
    					                        schools += elemSchools "" midSchools "" highSchools "" otherSchools "";
    					                        $('#gb-school-dropdown').html(schools);
    					                        $('#gb-school-btn').click(function(){
    						                            if($(this).hasClass('open')) {
    							                                $(this).attr('aria-expanded''false').removeClass('open');
    							                                $('#gb-school-dropdown').attr('aria-hidden''true').removeClass('open').hide();
    							} else {
    							                                $(this).attr('aria-expanded''true').addClass('open');
    							                                $('#gb-school-dropdown').attr('aria-hidden''false').addClass('open').show();
    							}
    						}).keydown(function(e){
    						                            var e.which;
    						                            if(== _this.KeyCodes.enter || == _this.KeyCodes.space || == _this.KeyCodes.down) {
    							                                e.preventDefault();
    							                                if($(this).hasClass('open') && == _this.KeyCodes.down) {
    								                                    $('#gb-school-dropdown button[aria-selected="true"]').attr('tabindex''0').focus();
    								} else {
    								                                    $(this).click();
    								                                    $('#gb-school-dropdown button[aria-selected="true"]').attr('tabindex''-1').focus();
    								}
    							}
    						});
    					                        $('#gb-close-schools').click(function(){
    						                            $('#gb-school-btn').focus().click();
    						}).keydown(function(e){
    						                            var e.which;
    						                            if(== _this.KeyCodes.left || == _this.KeyCodes.up) {
    							                                e.preventDefault();
    							                                if(== _this.KeyCodes.left) {
    								                                    $(this).prev().focus();
    								}
    							}
    						});
    					                        $('.gb-school-tab').on('click focus', function(){
    						                            $('.gb-school-tab').attr('aria-selected''false');
    						                            $(this).attr('aria-selected''true');
    						                            $('.tab-panel').hide().attr('aria-hidden''true');
    						                            $('#' + $(this).attr('aria-controls')).show().attr('aria-hidden''false');
    						}).keydown(function(e){
    						                            var e.which;
    						                            if(== _this.KeyCodes.left || == _this.KeyCodes.right || == _this.KeyCodes.down || == _this.KeyCodes.up || == _this.KeyCodes.enter || == _this.KeyCodes.space) {
    							                                e.preventDefault();
    							                                if(== _this.KeyCodes.right) {
    								                                    $(this).next().focus();
    								} else if(== _this.KeyCodes.left) {
    								                                    $(this).prev().focus();
    								}
    							                                if(== _this.KeyCodes.down || == _this.KeyCodes.enter || == _this.KeyCodes.space) {
    								                                    $('.tab-panel[aria-hidden="false"] a').first().focus();
    								} else if(== _this.KeyCodes.up) {
    								                                    $('#gb-school-btn').focus();
    								}
    							}
    						});
    					                        $('.tab-panel a').keydown(function(e){
    						                            var e.which;
    						                            if(== _this.KeyCodes.left || == _this.KeyCodes.right || == _this.KeyCodes.down || == _this.KeyCodes.up || == _this.KeyCodes.tab) {
    							                                e.preventDefault();
    							                                if(== _this.KeyCodes.right || == _this.KeyCodes.down) {
    								                                    if($(this).parent().next().html() == undefined) {
    									                                        $('.gb-school-tab[aria-selected="true"]').focus();
    									} else {
    									                                        $(this).parent().next().children().focus();
    									}
    								}
    							                                if(== _this.KeyCodes.left || == _this.KeyCodes.up) {
    								                                    if($(this).parent().prev().html() == undefined) {
    									                                        $('.gb-school-tab[aria-selected="true"]').focus();
    									} else {
    									                                        $(this).parent().prev().children().focus();
    									}
    								}
    							                                if(== _this.KeyCodes.tab) {
    								                                    $('.gb-school-tab[aria-selected="true"]').focus();
    								}
    							}
    						});
    					}
    				});
    			});
    		},
    	        "Dropdown": function(_this) {
    		            //--> Dropdown funciton
    		            var closeDrop;
    		            var KeyCodes = { "tab"9"enter"13"esc"27"space"32"end"35"home"36"left"37"up"38"right"39"down"40
    			};
    		            $('.gb-mystart-btn.translate, .gb-mystart-btn.options').unbind().click(function(e){
    			                var dropdown = $(this).attr('aria-controls');
    			                e.preventDefault();
    			                if($(this).hasClass('open')) {
    				                    $('#' dropdown).removeClass('open').attr('aria-hidden''true').stop(truetrue).hide();
    				                    $(this).removeClass('open').attr('aria-expanded''false');
    				                    $('.gb-dropdown a').attr('tabindex''-1');
    				} else if($(this).hasClass('inner')) {
    				                    $('#' dropdown).addClass('open').attr('aria-hidden''false').show();
    				                    $(this).addClass('open').attr('aria-expanded''true');
    				                    $('.gb-dropdown a'this).attr('tabindex''-1').first().focus();
    				                    if(dropdown == "gb-translate-dropdown") {
    					                        $('#cs-branded-translate-label').focus();
    					} else {
    					                        $('#gb-account-dropdown a').first().focus();
    					}
    				} else {
    				                    $('#' dropdown).addClass('open').attr('aria-hidden''false').stop(truetrue).show();
    				                    $(this).addClass('open').attr('aria-expanded''true');
    				                    $('.gb-dropdown a').attr('tabindex''-1');
    				}
    			}).keydown(function(e){
    			                var e.which;
    			                if(== KeyCodes.down){
    				                    e.preventDefault();
    				                    $(this).addClass('inner').click();
    				}
    			                if(== KeyCodes.enter || == KeyCodes.space ) {
    				                    e.preventDefault();
    				                    if(!$(this).hasClass('open')) {
    					                        $(this).addClass('inner').click();
    					} else {
    					                        $(this).click();
    					}
    				}
    			}).focus(function(){
    			                $('.gb-mystart-btn.translate.open').click();
    			});
    		            $('#gb-mystart-upper .gb-dropdown').unbind().hover(function(){
    			                clearTimeout(closeDrop);
    			}, function(){
    			                var id = $(this).attr('id').replace('dropdown''btn');
    			                if($(this).hasClass('open')) {
    				                    closeDrop setTimeout(function(){
    					                        $('#' id).focus().click();
    					}, 300);
    				}
    			});
    		            $('#gb-account-dropdown a').unbind().keydown(function(e){
    			                var e.which,
    			                    first = $(this).parent().first().children(),
    			                    last = $(this).parent().last().children(),
    			                    next = $(this).parent().next().children(),
    			                    prev = $(this).parent().prev().children(),
    			                    btn = $('#' + $(this).closest('.gb-dropdown').attr('id').replace('dropdown''btn'));
    			                if(== KeyCodes.down || == KeyCodes.up || == KeyCodes.left || == KeyCodes.right) {
    				                    e.preventDefault();
    				                    if(== KeyCodes.down && next.html() == undefined) {
    					                        first.focus();
    					} else if(== KeyCodes.up && prev.html() == undefined) {
    					                        btn.removeClass('inner').focus();
    					} else if(== KeyCodes.down) {
    					                        next.focus();
    					} else if(== KeyCodes.up) {
    					                        prev.focus();
    					}
    				}
    			}).focus(function(){
    			                clearTimeout(closeDrop);
    			});
    		},
    	        "GlobalIcons": function(_this){
    		            $("#gb-global-icons").creativeIcons({
    			                "iconNum"       "5",
    			                "defaultIconSrc""",
    			                "icons"         : [
    			                    {
    				                        "image""Education Portal/3.png",
    				                        "showText"true,
    				                        "text""Launchpad",
    				                        "url""/Launchpad",
    				                        "color""#1abbbc"
    				},
    			                    {
    				                        "image""Student Program/15.png",
    				                        "showText"true,
    				                        "text""Menus",
    				                        "url""/Page/3479",
    				                        "color""#f1cb14"
    				},
    			                    {
    				                        "image""Student Program/12.png",
    				                        "showText"true,
    				                        "text""Transportation",
    				                        "url""/Page/7285",
    				                        "color""#a8ce54"
    				},
    			                    {
    				                        "image""Communication/***.png",
    				                        "showText"true,
    				                        "text""Contact",
    				                        "url""/Page/1290",
    				                        "color""#588f40"
    				},
    			                    {
    				                        "image""Site Utility/8.png",
    				                        "showText"true,
    				                        "text""Calendar",
    				                        "url""https://www.brevardschools.org/Page/2",
    				                        "color""#f05623"
    				}
    			                ],
    			                "siteID"        "4",
    			                "siteAlias"     "001u000000ddoq0ian",
    			                "calendarLink"  "/Page/2",
    			                "contactEmail"  "webmaster@brevardschools.org",
    			                "allLoaded"     : function(){
    				                    $('.cs-global-icons li').each(function(kv){
    					                        _this.IconList += '1, ' + $('.text'v).text() + ', ' + $(v).attr("href") + ', ;
    					';
    					});
    				                    $('.cs-global-icon').focus(function(){
    					                        if($('#gb-school-btn').hasClass('open')) {
    						                            $('#gb-school-btn').click();
    						}
    					});
    				}
    			});
    		},
    	        "Body": function() {
    		            // AUTO FOCUS SIGN IN FIELD
    		            $("#swsignin-txt-username").focus();
    		            // CENTER SIGNED OUT MESSAGE AND SIGNIN BUTTON
    		            if($("div.ui-spn > div > p > span").text() == "You have been signed out."){
    			                $("div.ui-spn > div").css({"text-align" "center""padding" "50px 0px 50px 0px"});
    			                //DOC add signed out breadcrumb
    			                $(".ui-breadcrumbs").append("<li class='ui-breadcrumb-last'>Signed Out");
    			}
    		            // ADJUST SIGN IN PAGE
    		            if($("#swlogin").length){
    			                $("#sw-content-layout-wrapper .ui-widget.app").addClass("signin");
    			                $(".ui-breadcrumbs").append("<li class='ui-breadcrumb-last'>Sign In");
    			}
    		            // ADJUST REGISTER PAGE
    		            if($("#swageprompt-txt-birthmonth").length && $("#swageprompt-txt-birthday").length && $("#swageprompt-txt-birthyear").length) {
    			                $("#sw-content-layout-wrapper .ui-widget.app").addClass("register");
    			                $(".ui-breadcrumbs").append("<li class='ui-breadcrumb-last'>Register");
    			}
    		            // ADJUST SEARCH RESULTS PAGE
    		            if($("#sw-content-layout-wrapper.ui-spn #swsearch-pnl-main").length) {
    			                $("#sw-content-layout-wrapper").children().wrapAll('<div class="ui-widget app search-results"><div class="ui-widget-detail">');
    			                $(".ui-breadcrumbs").append("<li class='ui-breadcrumb-last'>Search Results");
    			}
    		            // APPLY RESPONSIVE DIMENSIONS TO CONTENT IMAGES
    		            $("div.ui-widget.app .ui-widget-detail img")
    		                .not($("div.ui-widget.app.cs-rs-multimedia-rotator .ui-widget-detail img"))
    		                .not($("div.ui-widget.app.gallery.json .ui-widget-detail img"))
    		                .each(function() {
    			                    if ($(this).attr('width') !== undefined && $(this).attr('height') !== undefined) {
    				// IMAGE HAS INLINE DIMENSIONS
    				                        $(this).css({"display""inline-block""width""100%""max-width": $(this).attr("width") + "px""height""auto""max-height": $(this).attr("height") + "px"});
    				}
    			});
    		            // ADJUST FIRST BREADCRUMB
    		            $("li.ui-breadcrumb-first > a > span").text("Home");
    		            // USE CHANNEL NAME FOR PAGELIST NAV HEADER IF ONE IS NOT PRESENT
    		            if(!$("div.sp.column.one .ui-widget-header h1").length) {
    			                $("div.sp.column.one .ui-widget-header").append("<h1>");
    			}
    		            //--> Vertical app scroller section
    		            $("#sw-content-container1.ui-hp .ui-widget.app.headlines").csArticleSlider({
    			                "viewerNum": [32333], // NUMERICAL - [960 view, 768 view, 640 view, 480 view, 320 view]
    			                "transitionSpeed".5 // SECONDS
    			});
    		            $('#hp-vertical-scroller .ui-widget-detail').append($('#hp-vertical-scroller .ui-read-more'));
    		            $('#hp-vertical-scroller .cs-article-slider-control.next').insertAfter($('#hp-vertical-scroller .cs-article-slider-control.back'));
    		            modEvents();
    		            function modEvents(){
    			                if (!$(".upcomingevents .joel-month").length) {
    				                    $(".upcomingevents").modEvents({
    					                        columns     "yes",
    					                        monthLong   "no",
    					                        dayWeek     "no"
    					});
    				                    eventsByDay(".upcomingevents .ui-articles");
    				}
    			}
    		            function eventsByDay(container) {
    			                var countLi 0;
    			        $(".ui-article"container).each(function(){
    				            if (!$(this).find("h1.ui-article-title.sw-calendar-block-date").size()){
    					                var moveArticle = $(this).html();
    					                $(this).parent().prev().children().children().next().append(moveArticle);
    					                $(this).parent().remove();
    					            };
    				        });
    			        $(".ui-article"container).each(function(){
    				            var newDateTime = $('.upcoming-column.left h1'this).html().toLowerCase().split("");
    				            var newDate '';
    				            var dateIndex = ((newDateTime.length 2) ? 1);
    				 //if the dayWeek is set to yes we need to account for that in our array indexing
    				            //add a zero to the date if it is a single digit
    				            if( newDateTime[dateIndex].length == newDateTime[dateIndex] = "0" newDateTime[dateIndex];
    				            //if we have the day of the week make sure to include it.
    				            if( dateIndex ){ 
    					                newDate += newDateTime[0] + "";
    					            }
    				            //add in the month
    				            newDate += newDateTime[dateIndex 1] + '';
    				 //the month is always the in the left array position to the date
    				            //wrap the date in a new tag
    				            newDate += '<span class="jeremy-date">' newDateTime[dateIndex] + '';
    				            //append the date and month back into their columns
    				            $('.upcoming-column.left h1'this).html(newDate);
    				            //add an ALL DAY label if no time was given
    				            $('.upcoming-column.right .ui-article-description'this).each(function(){
    					                if( $('.sw-calendar-block-time'this).length ){ //if it doesnt exist add it
    						                    $(this).prepend('<span class="sw-calendar-block-time">ALL DAY');
    						                }
    					                $('.sw-calendar-block-time'this).before( $('.sw-calendar-block-title'this) );
    					            });
    				             //WRAP DATE AND MONTH IN A CONTAINER
    				                    $(".jeremy-date, .joel-month"this).wrapAll("<span class='adam-hug' aria-hidden='true'>");
    				        });
    			        $('.upcomingevents').find(".ui-articles li").each(function(){
    				                  var eventDate = $(this).find(".adam-hug").html();
    				                  var eventMonth = $(this).find(".joel-month").text();
    				                  var eventNumberDay = $(this).find(".jeremy-date").text();
    				                  var eventDay = $(this).find(".joel-day").html();
    				                  //var eventDetails = $(this).find(".upcoming-column.right").html();
    				                  var ariaMonth "";
    				                  var ariaDate "";
    				                  switch(eventMonth){
    					                    case "jan":
    					                      ariaMonth "January";
    					                    break;
    					                    case "feb":
    					                      ariaMonth "February";
    					                    break;
    					                    case "mar":
    					                      ariaMonth "March";
    					                    break;
    					                    case "apr":
    					                      ariaMonth "April";
    					                    break;
    					                    case "may":
    					                      ariaMonth "May";
    					                    break;
    					                    case "jun":
    					                      ariaMonth "June";
    					                    break;
    					                    case "jul":
    					                      ariaMonth "July";
    					                    break;
    					                    case "aug":
    					                      ariaMonth "August";
    					                    break;
    					                    case "sep":
    					                      ariaMonth "September";
    					                    break;
    					                    case "oct":
    					                      ariaMonth "October";
    					                    break;
    					                    case "nov":
    					                      ariaMonth "November";
    					                    break;
    					                    case "dec":
    					                      ariaMonth "December";
    					                    break;
    					                    default: ariaMonth eventMonth;
    					}
    				                  switch(eventNumberDay){
    					                    case "1":
    					                      ariaDate "First";
    					                    break;
    					                    case "2":
    					                      ariaDate "Second";
    					                    break;
    					                    case "3":
    					                      ariaDate "Third";
    					                    break;
    					                    case "4":
    					                      ariaDate "Fourth";
    					                    break;
    					                    case "5":
    					                      ariaDate "Fifth";
    					                    break;
    					                    case "6":
    					                      ariaDate "Sixth";
    					                    break;
    					                    case "7":
    					                      ariaDate "Seventh";
    					                    break;
    					                    case "8":
    					                      ariaDate "Eighth";
    					                    break;
    					                    case "9":
    					                      ariaDate "Ninth";
    					                    break;
    					                    case "10":
    					                      ariaDate "Tenth";
    					                    break;
    					                    case "11":
    					                      ariaDate "Eleventh";
    					                    break;
    					                    case "12":
    					                      ariaDate "Twelveth";
    					                    break;
    					                    case "13":
    					                      ariaDate "Thirteenth";
    					                    break;
    					                    case "14":
    					                      ariaDate "Fourteenth";
    					                    break;
    					                    case "15":
    					                      ariaDate "Fifteenth";
    					                    break;
    					                    case "16":
    					                      ariaDate "Sixteenth";
    					                    break;
    					                    case "17":
    					                      ariaDate "Seventeenth";
    					                    break;
    					                    case "***":
    					                      ariaDate "Eighteenth";
    					                    break;
    					                    case "19":
    					                      ariaDate "Nineteenth";
    					                    break;
    					                    case "20":
    					                      ariaDate "Twentieth";
    					                    break;
    					                    case "21":
    					                      ariaDate "Twenty-first";
    					                    break;
    					                    case "22":
    					                      ariaDate "Twenty-second";
    					                    break;
    					                    case "23":
    					                      ariaDate "Twenty-third";
    					                    break;
    					                    case "24":
    					                      ariaDate "Twenty-fourth";
    					                    break;
    					                    case "25":
    					                      ariaDate "Twenty-fifth";
    					                    break;
    					                    case "26":
    					                      ariaDate "Twenty-sixth";
    					                    break;
    					                    case "27":
    					                      ariaDate "Twenty-seventh";
    					                    break;
    					                    case "28":
    					                      ariaDate "Twenty-eighth";
    					                    break;
    					                    case "29":
    					                      ariaDate "Twenty-ninth";
    					                    break;
    					                    case "30":
    					                      ariaDate "Thirtieth";
    					                    break;
    					                    case "31":
    					                      ariaDate "Thirty-first";
    					                    break;
    					                    default: ariaDate eventNumberDay;
    					}
    				                  $(this).find('.sw-calendar-block-date').attr('aria-label'ariaMonth+" "+ariaDate);
    				})
    			        /****** REMOVE First 0S *******/
    			        $.each($('.jeremy-date'), function(){
    				                var text = $(this).text(),
    				                    html '';
    				                if(text.slice(01) == 0){
    					                    html += text.slice(1);
    					} else {
    					                    html += text.slice(0);
    					}
    				                $(this).text(html);
    				        });
    			// End each
    			    }
    		            if($(window).width() > 640) {
    			                $('#hp-content .left .upcomingevents').each(function(indexapp){
    				                    $('.ui-widget-header'app).append($('.view-calendar-link'app));
    				});
    			                $('#hp-content .left .headlines, #sp-content .headlines').each(function(indexapp){
    				                    $('.ui-widget-header'app).append($('a.more-link'app));
    				});
    			}
    		            $('#hp-content .column.left .headlines .ui-article').each(function(indexarticle){
    			                $('.ui-article-title'article).wrap('<div class="article-overlay"><div class="article-overlay-inner">');
    			                $('.article-overlay-inner'article).append($('.ui-article-description'article));
    			                $('.ui-article-description'article).attr('aria-hidden''true');
    			});
    		            $('.headlines .article-overlay').hover(function(){
    			                $(this).addClass('open');
    			                $('.ui-article-description'this).attr('aria-hidden''false').slideDown();
    			}, function(){
    			                $(this).removeClass('open');
    			                $('.ui-article-description'this).attr('aria-hidden''true').slideUp();
    			});
    		            $('.headlines .ui-article').hover(function(){
    			                $('.article-overlay'this).addClass('open');
    			                $('.ui-article-description'this).attr('aria-hidden''false').slideDown();
    			}, function(){
    			                $('.article-overlay'this).removeClass('open');
    			                $('.ui-article-description'this).attr('aria-hidden''true').slideUp();
    			});
    		            $('.headlines .article-overlay .ui-article-title a').focus(function(){
    			                $(this).closest('.article-overlay').addClass('open');
    			                $(this).parent().siblings('.ui-article-description').attr('aria-hidden''false').slideDown();
    			}).blur(function(){
    			                $(this).closest('.article-overlay').removeClass('open');
    			                $(this).parent().siblings('.ui-article-description').attr('aria-hidden''true').slideUp();
    			});
    		            $('.ui-widget.app.navigation li a').hover(function(){
    			                $(this).parent().addClass('hover');
    			}, function(){
    			                $(this).parent().removeClass('hover');
    			});
    		            //--> Add Ads
    		            /*
    		            function imageExists(url, callback) {
    			              var img = new Image();
    			              img.onload = function() {
    				callback(true);
    				};
    			              img.onerror = function() {
    				callback(false);
    				};
    			              img.src = url;
    			}
    		            */
    		            var zone "district";
    		            var zoneData [];
    		            if(zone == "zone1;
    		zone2;
    		zone3;
    		zone4;
    		zone5") {
    			                zone "zone1";
    			}
    		            $.ajax({
    			                url'/cms/lib/FL02201431/Centricity/template/globalassets/ads/'+zone+'/'+zone+'.csv',
    			                type'get',
    			                   dataType:"text",
    			                   success:function(data) {
    				                    var row data.split(/\r?\n|\r/);
    				                    for(var cell 0;
    				 cell row.length;
    				 cell++) {
    					                         var adInfo row[cell].split(",");
    					                        if(cell != 0) {
    						                            zoneData.pushadInfo[1] + ", " adInfo[2] + ", " adInfo[3]);
    						}
    					                    }
    				                    //--> Add Homepage Ads
    				                    if($('#gb-page').hasClass('hp')) {
    					                        if(zoneData[0].split(', ')[2]) {
    						                            $('#sw-content-container3 > div:last-child .ui-widget.app').append("<div class='hp-ad-wrapper cs-fc cs-aic cs-fw'><a href='" zoneData[0].split(', ')[0] + "' tabindex='0'><img alt='" zoneData[0].split(', ')[1] + "' height='250px' width='250px' src='/cms/lib/FL02201431/Centricity/template/globalassets/ads/" zone "/ad1.png' >");
    						}
    					                        if(zoneData[1].split(', ')[2]) {
    						                            $('.hp-ad-wrapper').append("<a href='" zoneData[1].split(', ')[0] + "' tabindex='0'><img alt='" zoneData[1].split(', ')[1] + "' height='250px' width='250px' src='/cms/lib/FL02201431/Centricity/template/globalassets/ads/" zone "/ad2.png' >");
    						}
    					}
    				                    //--> Add Footer Ads
    				                    if(zoneData[2].split(', ')[2]) {
    					                        $('#gb-footer-ads-wrapper').prepend("<a href='" zoneData[2].split(', ')[0] + "' tabindex='0'><img class='footer-ad one' alt='" zoneData[2].split(', ')[1] + "' src=\"/cms/lib/FL02201431/Centricity/template/globalassets/ads/" zone "/ad3.png\" />");
    					}
    				                    if(zoneData[3].split(', ')[2]) {
    					                        $('#gb-footer-ads-wrapper').append("<a href='" zoneData[3].split(', ')[0] + "' tabindex='0'><img class='footer-ad two' alt='" zoneData[3].split(', ')[1] + "' src='/cms/lib/FL02201431/Centricity/template/globalassets/ads/" zone "/ad4.png' />");
    					}
    				                   },
    			                error: function(jqXHRtextStatuserrorThrow){
    				                    console.log(jqXHR['responseText']);
    				}
    			});
    		},
    	        "Footer": function() {
    		            // ADD LOGO
    		            var showLogo true;
    		            var logoSrc = $.trim("/cms/lib/FL02201431/Centricity/Template/GlobalAssets/images///Faces/default-man.jpg");
    		            if(showLogo) {
    			                var srcSplit logoSrc.split("/");
    			                var srcSplitLen srcSplit.length;
    			                if((logoSrc != "") && (srcSplit[srcSplitLen 1] != "default-man.jpg")) {
    				                    $("#gb-footer-logo").append('<a href="/001u000000ddoq0ian"><img src="' logoSrc '" alt="Brevard Public Schools footer logo" />');
    				} else {
    				                    $("#gb-footer-logo").append('<a href="/001u000000ddoq0ian"><img src="/cms/lib/FL02201431/Centricity/Template/***//imgs/footer-logo.png" width="132" height="102" alt="Brevard Public Schools footer logo" />');
    				}
    			}
    		            var footerSitename = $.trim("Brevard Public Schools");
    		            if(footerSitename != "") {
    			                $('#gb-footer-sitename').html("<h2>" footerSitename "");
    			}
    		            $('.gb-footer.right > a').first().text('Sitemap');
    		            // MOVE SCHOOLWIRES FOOTER STUFF
    		            $(".gb-schoolwires-footer.logo").html($("#sw-footer-logo").html());
    		            $(".gb-schoolwires-footer.links").append($("#sw-footer-links li:eq(0) a"));
    		            $(".gb-schoolwires-footer.links").append($("#sw-footer-links li:eq(2) a"));
    		            $(".gb-schoolwires-footer.links").append($("#sw-footer-links li:eq(1) a"));
    		            $(".gb-schoolwires-footer.links").append($("#sw-footer-copyright"));
    		            $(".gb-schoolwires-footer.links a").each(function(kv){
    			                if(2) {
    				                    $(v).append('<span class="footer-bull" aria-hidden="true">•');
    				}
    			});
    		            //--> Add Social
    		            var socialData = [
    		                {
    			                    "name""Facebook",
    			                    "show"true,
    			                    "url""#"
    			},
    		                {
    			                    "name""Twitter",
    			                    "show"true,
    			                    "url""#"
    			}
    		            ],
    		            socialHtml "";
    		            for(var icon in socialData) {
    			                if(socialData[icon].show) {
    				                    socialHtml += "<li><a href='" socialData[icon].url "' class='social-icon " socialData[icon].name.toLowerCase() + "' aria-label='Visit our " socialData[icon].name.toLowerCase() + " page.'>";
    				}
    			}
    		            //--> Add Social media
    		            $('#gb-social-list').html(socialHtml);
    		            //--> Add Extra Phone Number
    		            if(true && $.trim("Ethics Hotline" != "" && "321-633-1000 ext.170" != "")) {
    			                $('.gb-footer-phone').append("<div class='gb-phone two'><p class='footer-title phone cs-fc'>Ethics Hotline<div class='phone-number cs-fc'>321-633-1000 ext.170<a class='ethics-link' href='//www.neola.com/brevardco-fl/search/forms/fm3210F1.pdf' target='_blank'>Ethics Complaint Form");
    			}
    		            //--> To Top Button
    		            $('#cj-to-top').click(function(e){
    			                e.preventDefault();
    			                $("html, body").animate({ scrollTop: (0)
    				}, 1000, function() {
    				                    $('#gb-channel-list a').first().focus();
    				});
    			});
    		},
    	        "Slideshow": function() {
    		            if($("#sw-content-container10 .ui-widget.app.multimedia-gallery").length) {
    			                var mmg = eval("multimediaGallery" + $("#sw-content-container10 .ui-widget.app.multimedia-gallery:first").attr("data-pmi"));
    			                mmg.props.defaultGallery false;
    			                $("#sw-content-container10 .ui-widget.app.multimedia-gallery:first").csMultimediaGallery({
    				                    "efficientLoad" true,
    				                    "imageWidth" 895,
    				                    "imageHeight" 575,
    				                    "mobileDescriptionContainer": [320], // [960, 768, 640, 480, 320]
    				                    "galleryOverlay" false,
    				                    "linkedElement" []// ["image", "title", "overlay"]
    				                    "playPauseControl" true,
    				                    "backNextControls" true,
    				                    "bullets" false,
    				                    "thumbnails" false,
    				                    "thumbnailViewerNum": [44332], // NUMERICAL - [960 view, 768 view, 640 view, 480 view, 320 view]
    				                    "autoRotate" true,
    				                    "hoverPause" true,
    				                    "transitionType" "fade"// fade, slide, custom
    				                    "transitionSpeed" 1.5,
    				                    "transitionDelay" 4,
    				                    "fullScreenRotator" false,
    				                    "fullScreenBreakpoints" : [960], // NUMERICAL - [960, 768, 640, 480, 320]
    				                    "onImageLoad" : function(props{}// props.element, props.recordIndex, props.mmgRecords
    				                    "allImagesLoaded" : function(props{}// props.element, props.mmgRecords
    				                    "onTransitionStart" : function(props{}// props.element, props.currentRecordIndex, props.currentGalleryIndex, props.nextRecordIndex, props.nextGalleryIndex, props.mmgRecords
    				                    "onTransitionEnd" : function(props{}// props.element, props.currentRecordIndex, props.currentGalleryIndex, props.mmgRecords
    				                    "allLoaded" : function(props) {
    					                            //--> Hex to RGB converting function
    					                            function hextoRGB(hex){
    						                                hex hex.replace('#','');
    						                                parseInt(hex.substring(0,2), 16);
    						                                parseInt(hex.substring(2,4), 16);
    						                                parseInt(hex.substring(4,6), 16);
    						                                result ',' ',' ;
    						                                return result;
    						}
    					                            var bgColor hextoRGB('#2c557f');
    					                            var mmgStyles "<style>#hp-slideshow .mmg-slide .mmg-description, .article-overlay {background: rgba(" bgColor ", 0.9);
    						}";
    					                            $('#hp-slideshow .mmg-viewer').prepend($('#hp-slideshow .mmg-control.play-pause'));
    					                            $('#hp-slideshow .mmg-slide').each(function(indexslide){
    						                                if(!$('.mmg-description'slide).length) {
    							                                    $(slide).append('<div class="mmg-description">');
    							                                    $('.mmg-description-link.read-more'slide).html('<span>' + $('.mmg-description-link.read-more'slide).text() + '');
    							}
    						});
    					                            $('#hp-slideshow').prepend(mmgStyles);
    					                            $('#hp-slideshow .mmg-description-outer, #hp-slideshow .mmg-slide .mmg-description').prepend($('#hp-slideshow .mmg-control.back'), $('#hp-slideshow .mmg-control.next'));
    					}, // props.element, props.mmgRecords
    				                    "onWindowResize": function(props{} // props.element, props.mmgRecords
    				});
    			}
    		},
    	        "RsMenu": function() {
    		            var hlData = [
    		                {
    			                    "text""Parents & Students",
    			                    "url""/site/Default.aspx?PageType=1&SiteID=4&ChannelID=122&DirectoryType=6"
    			},
    		                {
    			                    "text""",
    			                    "url"""
    			},
    		                {
    			                    "text""Community",
    			                    "url""/Page/2315"
    			},
    		                {
    			                    "text""For Staff",
    			                    "url""https://www.brevardschools.org/site/Default.aspx?PageType=1&SiteID=4&ChannelID=120&DirectoryType=6"
    			}
    		            ];
    		            var popularLinks [];
    		            for(var link in hlData) {
    			                if($.trim(hlData[link].text) != '') {
    				                    popularLinks.push(hlData[link]);
    				}
    			}
    		            $.csRsMenu({
    			                  "breakPoint" 640// SYSTEM BREAK POINTS - 768, 640, 480, 320
    			                  "slideDirection" "left-to-right"// OPTIONS - left-to-right, right-to-left
    			                  "menuButtonParent" "#gb-channel-list",
    			                  "menuBtnText" "Menu",
    			                  "colors": {
    				                      "pageOverlay""#000000"// DEFAULT #000000
    				                      "menuBackground""#FFFFFF"// DEFAULT #FFFFFF
    				                      "menuText""#333333"// DEFAULT #333333
    				                      "menuTextAccent""#333333"// DEFAULT #333333
    				                      "dividerLines""#E6E6E6"// DEFAULT #E6E6E6
    				                      "buttonBackground""#E6E6E6"// DEFAULT #E6E6E6
    				                      "buttonText""#333333" // DEFAULT #333333
    				},
    			                  "showSchools" false,
    			                  "schoolMenuText""Our Schools",
    			                  "showTranslate" true,
    			                  "translateMenuText""Translate Language",
    			                  "translateVersion"2// 1 = FRAMESET, 2 = BRANDED
    			                  "translateId" "",
    			                  "showAccount"true,
    			                  "accountMenuText""User Options",
    			                  "usePageListNavigation"true,
    			                  "extraMenuOptions": {
    				                          "Popular Links"popularLinks,
    				                      "Global Icons": [
    				                          {
    					                              "text""Launchpad",
    					                              "url""/Launchpad"
    					},
    				                          {
    					                              "text""Menus",
    					                              "url""/Page/3479"
    					},
    				                          {
    					                              "text""Transportation",
    					                              "url""/Page/7285"
    					},
    				                          {
    					                              "text""Contact",
    					                              "url""/Page/1290"
    					},
    				                          {
    					                              "text""Calendar",
    					                              "url""https://www.brevardschools.org/Page/2"
    					}
    				                      ]
    				}, 
    			                  "siteID""4",
    			                  "allLoaded": function(){}
    			});
    		},
    	        "AppAccordion": function() {
    		            $("#hp-content .hp.column:not('.full')").csAppAccordion({
    			                "accordionBreakpoints" : [640480320]
    			});
    		            $(".sp.column.one").csAppAccordion({
    			                "accordionBreakpoints" : [640480320]
    			});
    		},
    	        "Search": function() {
    		            var _this this;
    		            //SEARCH TEXT
    		            //$('#sw-search-button').remove();
    		            $('#sw-search-button').attr('aria-hidden''true').addClass('hidden');
    		            $('#sw-mystart-search').prependTo($('#gb-search-outer'));
    		            $("input#sw-search-input").attr('placeholder''Search...').attr('tabindex''-1').attr('aria-hidden''true');
    		             $("input#sw-search-input").attr("value""Search...");
    		            $("input#sw-search-input").focus(function() {
    			                if($(this).val() == "Search...") {
    				                    $(this).val("");
    				}
    			});
    		            $("input#sw-search-input").blur(function() {
    			                if($(this).val() == "") {
    				                    $(this).val("Search...");
    				}
    			                $('#gb-mystart-upper button:not("#gb-search-btn")').attr('tabindex''0').attr('aria-hidden''false');
    			                    $('#gb-search-btn').removeClass('open').attr('aria-label''Open Search');
    			                    $('#gb-mystart-upper #sw-search-input').removeClass('open').attr('aria-hidden''true').attr('tabindex''-1');
    			});
    		            $('#gb-search-btn').click(function(){
    			                if($(this).hasClass('open')) {
    				                    $('#gb-mystart-upper button:not("#gb-search-btn")').attr('tabindex''0').attr('aria-hidden''false');
    				                    $(this).removeClass('open').attr('aria-label''Open Search');
    				                    $('#gb-mystart-upper #sw-search-input').removeClass('open').attr('aria-hidden''true').attr('tabindex''-1');
    				} else {
    				                    $('#gb-mystart-upper button:not("#gb-search-btn")').attr('tabindex''-1').attr('aria-hidden''true');
    				                    $(this).addClass('open').attr('aria-label''Close Search');
    				                    $('#gb-mystart-upper #sw-search-input').addClass('open').attr('aria-hidden''false').attr('tabindex''0').delay(300).focus();
    				}
    			}).keydown(function(e){
    			                var e.which;
    			                if(== _this.KeyCodes.enter) {
    				                    e.preventDefault();
    				}
    			}).keyup(function(e){
    			                var e.which;
    			                if(== _this.KeyCodes.enter) {
    				                    $(this).click();
    				}
    			}).focus(function(){
    			                $('.gb-mystart-btn.open:not(".search")').click();
    			});
    		},
    	        "CalendarListView": function() {
    		            if($(".ui-widget.app.calendar").length) {
    			                // AUTO CLICK FUNCTION FOR SCHOOLWIRES CALENDAR LIST VIEW FOR SMALL MOBILE DEVICES
    			                if(!$(".ui-widget.app.calendar #calendarlist-pnl-specialview.loaded").length){
    				                    $("a.ui-btn-toggle.list").click();
    				                    $("a.ui-btn-toggle.month").click();
    				                    $(".ui-widget.app.calendar #calendarlist-pnl-specialview").addClass("loaded");
    				}
    			                switch(this.GetBreakPoint()) {
    				                    case "desktop": case "768": case "640":
    				                        $(".ui-widget.app.calendar #calendar").removeClass("ui-helper-hidden");
    				                        $(".ui-widget.app.calendar #calendarlist-pnl-specialview").addClass("ui-helper-hidden");
    				                    break;
    				                    case "480": case "320":
    				                        $(".ui-widget.app.calendar #calendar").addClass("ui-helper-hidden");
    				                        $(".ui-widget.app.calendar #calendarlist-pnl-specialview").removeClass("ui-helper-hidden");
    				                        $(".ui-btn-toggle.month").removeClass("active");
    				                        $(".ui-btn-toggle.list").addClass("active");
    				                    break;
    				}
    			}
    		},
    	        "AllyClick": function(event) {
    		            if(event.type == "click") {
    			                return true;
    			} else if(event.type == "keydown" && (event.keyCode == this.KeyCodes.space || event.keyCode == this.KeyCodes.enter)) {
    			                return true;
    			} else {
    			                return false;
    			}
    		},
    	        "GetBreakPoint": function() {
    		            return window.getComputedStyle(do***ent.querySelector("body"), ":before").getPropertyValue("content").replace(/"|'/g, "");
    		/*"*/
    		},
    	        "KeyboardEvents": function() {
    		            $('#gb-account-dropdown a').on('keydown', function(e) {
    			                if(e.keyCode === 9) {
    				}
    			});
    		}
    	};
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        (function (isogram) {
    	        i['GoogleAnalyticsObject'] = r;
    	 i[r] = i[r] || function () {
    		            (i[r].i[r].|| []).push(arguments)
    		}, i[r].* new Date();
    	 s.createElement(o),
    	        s.getElementsByTagName(o)[0];
    	 a.async 1;
    	 a.src g;
    	 m.parentNode.insertBefore(am)
    	})(window, do***ent'script''//www.google-analytics.com/analytics.js''ga');
        ga('create''UA-5173826-6''auto''BBTracker' );
        ga('BBTracker.set''dimension1''AWS');
        ga('BBTracker.set''dimension2''False');
        ga('BBTracker.set''dimension3''FL02201431');
        ga('BBTracker.set''dimension4''4');
        ga('BBTracker.set''dimension5''1');
        ga('BBTracker.set''dimension6''1');
        ga('BBTracker.send''pageview');
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        function SWEndPreviewMode() {
    	        var data "{}";
    	        var success "window.location='';
    	";
    	        var failure "CallControllerFailure(result[0].errormessage);
    	";
    	        CallController("https://www.brevardschools.org/site/SiteController.aspx/EndPreviewMode"datasuccessfailure);
    	    }
        function SWEndEmulationMode() {
    	        var data "{}";
    	        var success "DeleteCookie('SourceEmulationUserID');
    	DeleteCookie('SidebarIsClosed');
    	window.location='https://www.brevardschools.org/ums/Users/Users.aspx';
    	";
    	        var failure "CallControllerFailure(result[0].errormessage);
    	";
    	        CallController("https://www.brevardschools.org/site/SiteController.aspx/EndEmulationMode"datasuccessfailure);
    	    }
        function SWEndPreviewConfigMode() {
    	        var data "{}";
    	        var success "window.location='';
    	";
    	        var failure "CallControllerFailure(result[0].errormessage);
    	";
    	        CallController("https://www.brevardschools.org/site/SiteController.aspx/EndPreviewConfigMode"datasuccessfailure);
    	    }
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function() {
    	    $('#sw-search-input').keyup(function(e) {
    		       if (e.keyCode == 13) {
    			            SWGoToSearchResultsPageswsearchinput();
    			}
    		});
    	    $('#sw-search-input').val($('#swsearch-hid-word').val())});
    function SWGoToSearchResultsPageswsearchinput() {
    	window.location.href="https://www.brevardschools.org/site/Default.aspx?PageType=6&SiteID=4&SearchString=" + $('#sw-search-input').val();
    	}
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function() {
    	    $('#sw-search-button').keyup(function(e) {
    		       if (e.keyCode == 13) {
    			            SWGoToSearchResultsPageswsearchinput();
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        channelHoverIE();
    	        channelTouch();
    	        clo*****uByPressingKey();
    	});
        function channelTouch() {
    	        // this will change the dropdown behavior when it is touched vs clicked.
    	        // channels will be clickable on second click. first click simply opens the menu.
    	        $('#channel-navigation > .sw-channel-item > a').on({
    		            'touchstart': function (e) {
    			                // see if has menu
    			                if ($(this).siblings('ul.sw-channel-dropdown li').length 0) {
    				                    var button = $(this);
    				                    // add href as property if not already set
    				                    // then remove href attribute
    				                    if (!button.prop('linkHref')) {
    					                        button.prop('linkHref'button.attr('href'));
    					                        button.removeAttr('href');
    					}
    				                    // check to see if menu is already open
    				                    if ($(this).siblings('ul.sw-channel-dropdown').is(':visible')) {
    					                        // if open go to link
    					                        window.location.href button.prop('linkHref');
    					} 
    				} 
    			}
    		});
    	}
        function channelHoverIE(){
    	        // set z-index for IE7
    	        var parentZindex = $('#channel-navigation').parents('div:first').css('z-index');
    	        var zindex = (parentZindex parentZindex 8000);
    	        $(".sw-channel-item").each(function(ind) {
    		            $(this).css('z-index'zindex ind);
    		            zindex --;
    		        });
    	        $(".sw-channel-item").hover(function(){
    		            var subList = $(this).children('ul');
    		            if ($.trim(subList.html()) !== "") {
    			                subList.show();
    			                subList.attr("aria-hidden""false").attr("aria-expanded""true");
    			}
    		            $(this).addClass("hover");
    		}, function() {
    		            $(".sw-channel-dropdown").hide();
    		            $(this).removeClass("hover");
    		            var subList = $(this).children('ul');
    		            if ($.trim(subList.html()) !== "") {
    			                subList.attr("aria-hidden""true").attr("aria-expanded""false");
    			}
    		});
    	}
        function clo*****uByPressingKey() {
    	        $(".sw-channel-item").each(function(ind) {
    		            $(this).keyup(function (event) {
    			                if (event.keyCode == 27) {
    				// ESC
    				                    $(".sw-channel-dropdown").hide();
    				                    $(this).removeClass("hover");
    				                    var subList = $(this).children('ul');
    				                    if ($.trim(subList.html()) !== "") {
    					                        subList.attr("aria-hidden""true").attr("aria-expanded""false");
    					}
    				}
    			                if (event.keyCode == 13 || event.keyCode == 32) {
    				//enter or space
    				                    $(this).find('a').get(0).click();
    				}
    			});
    		});
    	        $(".sw-channel-item a").each(function (ind) {
    		            $(this).parents('.sw-channel-item').keydown(function (e) {
    			                if (e.keyCode == 9) {
    				// TAB
    				                    $(".sw-channel-dropdown").hide();
    				                    $(this).removeClass("hover");
    				                    var subList = $(this).children('ul');
    				                    if ($.trim(subList.html()) !== "") {
    					                        subList.attr("aria-hidden""true").attr("aria-expanded""false");
    					}
    				}
    			});
    		});
    	        $(".sw-channel-dropdown li").each(function(ind) {
    		            $(this).keydown(function (event) {
    			                if (event.keyCode == 9) {
    				// TAB
    				                    $(".sw-channel-dropdown").hide();
    				                    var parentMenuItem = $(this).parent().closest('li');
    				                    parentMenuItem.removeClass("hover");
    				                    var subList parentMenuItem.children('ul');
    				                    if ($.trim(subList.html()) !== "") {
    					                        subList.attr("aria-hidden""true").attr("aria-expanded""false");
    					}
    				                    parentMenuItem.next().find('a:first').focus();
    				                    event.preventDefault();
    				                    event.stopPropagation();
    				}
    			                if (event.keyCode == 37 || // left arrow
    			                    event.keyCode == 39) {
    				// right arrow
    				                    $(".sw-channel-dropdown").hide();
    				                    var parentMenuItem = $(this).parent().closest('li');
    				                    parentMenuItem.removeClass("hover");
    				                    var subList parentMenuItem.children('ul');
    				                    if ($.trim(subList.html()) !== "") {
    					                        subList.attr("aria-hidden""true").attr("aria-expanded""false");
    					}
    				                    if (event.keyCode == 37) {
    					                        parentMenuItem.prev().find('a:first').focus();
    					} else {
    					                        parentMenuItem.next().find('a:first').focus();
    					}
    				                    event.preventDefault();
    				                    event.stopPropagation();
    				}
    			});
    		});
    	}
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function() {
    	            var DomainID '4';
    	            var PageID '1';
    	            var RenderLoc '0';
    	            var MIID '5964';
    	            //added to check to make sure moderated content doesn't bleed through the dialog
    	            if ($('#dialog-overlay-WindowLargeModal-body.moderateContent').length 0) {
    		                $("#module-content-" MIID).find(".ui-widget-detail").find(".ui-article").append("<p> ");
    		}
    	});
        
    </script>
    
    
    

    
    <script type="text/javascript"> 
    $(do***ent).ready(function() {CheckScript('ModuleView');
    	CheckScript('Mustache');
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        /*$(do***ent).on('click', 'a.ui-article-thumb', function() {
    		            window.location = $(this).attr('href');
    		        });
    	*/
    	        $('#sw-app-headlines-5964').find('img').each(function() {
    		            if ($.trim(this.src) == '' ) {
    			                $(this).parent().parent().remove();
    			            }
    		        });
    	        // Jason Smith - 12/9/2014 - Removed due to bandwidth implications
    	    });
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function (){
    	$(".tag-list li a").keypress(function(e) {
    		if(e.which == 13) {
    			$(this).click();
    			}});
    	});
    function LoadGroupedData(containerMIIDPMIgroupYeargroupMonthgroupBytag) {
    	  //ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
    	  var viewToUse "";
    	    if($('#hid-'+MIID+'-SidebarListView').length 0){
    		      viewToUse = $("#hid-" MIID "-SidebarListView").val();
    		};
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&RenderLoc=0&FromRenderLoc=0&GroupYear=' groupYear '&GroupMonth=' groupMonth '&GroupByField=' groupBy '&EnableQuirksMode=0&ViewID=' viewToUse '&Tag=' tagcontainer2'chkSidebar();
    	');
    	}
    function LoadData(containerMIIDPMIflexDataIDgroupYeargroupMonthgroupBytargetViewtag) {
    	  if(targetView !== undefined || targetView.Length() == 0){
    		  //targetView looks at the hidden Detail View defined in the Builder View.
    		      targetView = $('#hid-'+MIID+'-DetailView').val();
    		}
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&FlexDataID=' flexDataID '&GroupYear=' groupYear '&GroupMonth=' groupMonth '&GroupByField=' groupBy '&RenderLoc=0&FromRenderLoc=0&EnableQuirksMode=0&Tag=' tag '&ViewID=' targetViewcontainer2'chkSidebar();
    	');
    	}
    function LoadTaggedData(containerMIIDPMItag) {
    	  //ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
    	  var viewToUse "";
    	    if($('#hid-'+MIID+'-SidebarListView').length 0){
    		      viewToUse = $("#hid-" MIID "-SidebarListView").val();
    		};
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&RenderLoc=0&FromRenderLoc=0&Tag=' tag '&EnableQuirksMode=0&ViewID='+viewToUsecontainer2'chkSidebar();
    	');
    	  setTimeout(function(){ $("#module-content-"MIID +"").find('[tabindex]:first').focus();
    		}, 200);
    	}
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function() {
    	            var DomainID '4';
    	            var PageID '1';
    	            var RenderLoc '0';
    	            var MIID '5963';
    	            //added to check to make sure moderated content doesn't bleed through the dialog
    	            if ($('#dialog-overlay-WindowLargeModal-body.moderateContent').length 0) {
    		                $("#module-content-" MIID).find(".ui-widget-detail").find(".ui-article").append("<p> ");
    		}
    	});
        
    </script>
    
    
    

    
    <script type="text/javascript"> 
    $(do***ent).ready(function() {CheckScript('ModuleView');
    	CheckScript('Mustache');
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
                var multimediaGallery6075 = {
    	                "props": {
    		                    "defaultGallery"true,
    		                    "imageWidth" 960,
    		                    "imageHeight" 500,
    		                    "pageModuleInstanceId""6075",
    		                    "moduleInstanceId""5963",
    		                    "virtualFolderPath""/cms/lib/FL02201431/Centricity/ModuleInstance/5963/"
    		},
    	                "records": [
    	{
    		                    "flexDataId""46792",
    		                    "hideTitle""False",
    		                    "title""BPS Summer Hours",
    		                    "hideCaption""False",
    		                    "caption""Please note summer hours",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/Summer Hours.jpg",
    		                    "imageWidth""895",
    		                    "imageHeight""575",
    		                    "imageAltText""Summer Hours",
    		                    "isLinked""False",
    		                    "linkUrl""",
    		                    "linkText""",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""44599",
    		                    "hideTitle""False",
    		                    "title""Brevard Schools Foundation hosted "Start RightStock Up," a free supply giveaway for new teachers",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/Start Right Stock Up - Home Page.jpg",
    		                    "imageWidth""895",
    		                    "imageHeight""575",
    		                    "imageAltText""Brevard Schools Foundation hosted "Start RightStock Up," a free supply giveaway for new teachers",
    		                    "isLinked""False",
    		                    "linkUrl""",
    		                    "linkText""",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""44598",
    		                    "hideTitle""False",
    		                    "title""Brevard Celebrates Innovation",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/Creative Car.jpg",
    		                    "imageWidth""895",
    		                    "imageHeight""575",
    		                    "imageAltText""Brevard Celebrates Innovation",
    		                    "isLinked""False",
    		                    "linkUrl""",
    		                    "linkText""",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""44248",
    		                    "hideTitle""False",
    		                    "title""Brevard After Care summer camp attendees enjoyed a live pirate show to augment their theme of "stories and sciencing"",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/Pirate Image - Home Page.jpg",
    		                    "imageWidth""895",
    		                    "imageHeight""575",
    		                    "imageAltText""Brevard After Care summer camp attendees enjoyed a live pirate show to augment their theme of "stories and sciencing"",
    		                    "isLinked""False",
    		                    "linkUrl""",
    		                    "linkText""",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""43307",
    		                    "hideTitle""False",
    		                    "title""Superintendent Dr. Mark Mullins got a lesson about the Maker Space at Southwest Middle School",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/Dr. Mullins - Southwest - Home Page.jpg",
    		                    "imageWidth""895",
    		                    "imageHeight""575",
    		                    "imageAltText""Superintendent Dr. Mark Mullins got a lesson about the Maker Space at Southwest Middle School",
    		                    "isLinked""False",
    		                    "linkUrl""",
    		                    "linkText""",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""42537",
    		                    "hideTitle""False",
    		                    "title""Heather Spinneweber 2019 Employee of the Year",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/HeatherSpinnweber.jpg",
    		                    "imageWidth""575",
    		                    "imageHeight""895",
    		                    "imageAltText""Heather Spinneweber 2019 Employee of the Year",
    		                    "isLinked""True",
    		                    "linkUrl""https://youtu.be/kHg8fKEbQCY",
    		                    "linkText""Watch now",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""42536",
    		                    "hideTitle""False",
    		                    "title""Congratulations to our 2019 Teacher of the Year",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/ShannonKraeling.jpg",
    		                    "imageWidth""575",
    		                    "imageHeight""895",
    		                    "imageAltText""Shannon Kraeling 2019 Teacher of the Year",
    		                    "isLinked""True",
    		                    "linkUrl""https://youtu.be/qhSD6sdPD4k",
    		                    "linkText""Watch now",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{
    		                    "flexDataId""40711",
    		                    "hideTitle""False",
    		                    "title""Brevard Public Schools students participated in "Destination Mars" in partnership with Boeing ",
    		                    "hideCaption""False",
    		                    "caption""",
    		                    "imageSrc""/cms/lib/FL02201431/Centricity/Domain/4/Destination Mars - Home Page.jpg",
    		                    "imageWidth""895",
    		                    "imageHeight""575",
    		                    "imageAltText""Brevard Public Schools students participated in "Destination Mars" in partnership with Boeing ",
    		                    "isLinked""False",
    		                    "linkUrl""",
    		                    "linkText""",
    		                    "openLinkInNewWindow""False",
    		                    "videoLinkText""",
    		                    "videoIsEmbedded""False",
    		                    "videoIframe"""
    		},
    	{}]
    	            };
            
    </script>
    
    
    

    
     <script type="text/javascript" src="//extend.schoolwires.com/creative/scripts/creative/rotate/multimedia-gallery/cs.multimedia.gallery.min.js"></script>
    
    


    brevardschools.org is using ga
    
    <script type="text/javascript"> 
    
        $(function() {
    	        if(multimediaGallery6075.props.defaultGallery) {
    		            $("#pmi-6075 .ui-widget.app.multimedia-gallery").csMultimediaGallery({
    			                "pageModuleInstanceId"6075,
    			                "moduleInstanceId"5963,
    			                "imageWidth" multimediaGallery6075.props.imageWidth,
    			                "imageHeight" multimediaGallery6075.props.imageHeight,
    			                "playPauseControl" true,
    			                "bullets" true
    			});
    		}
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function (){
    	$(".tag-list li a").keypress(function(e) {
    		if(e.which == 13) {
    			$(this).click();
    			}});
    	});
    function LoadGroupedData(containerMIIDPMIgroupYeargroupMonthgroupBytag) {
    	  //ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
    	  var viewToUse "";
    	    if($('#hid-'+MIID+'-SidebarListView').length 0){
    		      viewToUse = $("#hid-" MIID "-SidebarListView").val();
    		};
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&RenderLoc=0&FromRenderLoc=0&GroupYear=' groupYear '&GroupMonth=' groupMonth '&GroupByField=' groupBy '&EnableQuirksMode=0&ViewID=' viewToUse '&Tag=' tagcontainer2'chkSidebar();
    	');
    	}
    function LoadData(containerMIIDPMIflexDataIDgroupYeargroupMonthgroupBytargetViewtag) {
    	  if(targetView !== undefined || targetView.Length() == 0){
    		  //targetView looks at the hidden Detail View defined in the Builder View.
    		      targetView = $('#hid-'+MIID+'-DetailView').val();
    		}
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&FlexDataID=' flexDataID '&GroupYear=' groupYear '&GroupMonth=' groupMonth '&GroupByField=' groupBy '&RenderLoc=0&FromRenderLoc=0&EnableQuirksMode=0&Tag=' tag '&ViewID=' targetViewcontainer2'chkSidebar();
    	');
    	}
    function LoadTaggedData(containerMIIDPMItag) {
    	  //ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
    	  var viewToUse "";
    	    if($('#hid-'+MIID+'-SidebarListView').length 0){
    		      viewToUse = $("#hid-" MIID "-SidebarListView").val();
    		};
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&RenderLoc=0&FromRenderLoc=0&Tag=' tag '&EnableQuirksMode=0&ViewID='+viewToUsecontainer2'chkSidebar();
    	');
    	  setTimeout(function(){ $("#module-content-"MIID +"").find('[tabindex]:first').focus();
    		}, 200);
    	}
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function() {
    	            var DomainID '4';
    	            var PageID '1';
    	            var RenderLoc '0';
    	            var MIID '104';
    	            //added to check to make sure moderated content doesn't bleed through the dialog
    	            if ($('#dialog-overlay-WindowLargeModal-body.moderateContent').length 0) {
    		                $("#module-content-" MIID).find(".ui-widget-detail").find(".ui-article").append("<p> ");
    		}
    	});
        
    </script>
    
    
    

    
    <script type="text/javascript"> 
    $(do***ent).ready(function() {CheckScript('ModuleView');
    	CheckScript('Mustache');
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        /*$(do***ent).on('click', 'a.ui-article-thumb', function() {
    		            window.location = $(this).attr('href');
    		        });
    	*/
    	        $('#sw-app-headlines-104').find('img').each(function() {
    		            if ($.trim(this.src) == '' ) {
    			                $(this).parent().parent().remove();
    			            }
    		        });
    	        // Jason Smith - 12/9/2014 - Removed due to bandwidth implications
    	    });
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function (){
    	$(".tag-list li a").keypress(function(e) {
    		if(e.which == 13) {
    			$(this).click();
    			}});
    	});
    function LoadGroupedData(containerMIIDPMIgroupYeargroupMonthgroupBytag) {
    	  //ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
    	  var viewToUse "";
    	    if($('#hid-'+MIID+'-SidebarListView').length 0){
    		      viewToUse = $("#hid-" MIID "-SidebarListView").val();
    		};
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&RenderLoc=0&FromRenderLoc=0&GroupYear=' groupYear '&GroupMonth=' groupMonth '&GroupByField=' groupBy '&EnableQuirksMode=0&ViewID=' viewToUse '&Tag=' tagcontainer2'chkSidebar();
    	');
    	}
    function LoadData(containerMIIDPMIflexDataIDgroupYeargroupMonthgroupBytargetViewtag) {
    	  if(targetView !== undefined || targetView.Length() == 0){
    		  //targetView looks at the hidden Detail View defined in the Builder View.
    		      targetView = $('#hid-'+MIID+'-DetailView').val();
    		}
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&FlexDataID=' flexDataID '&GroupYear=' groupYear '&GroupMonth=' groupMonth '&GroupByField=' groupBy '&RenderLoc=0&FromRenderLoc=0&EnableQuirksMode=0&Tag=' tag '&ViewID=' targetViewcontainer2'chkSidebar();
    	');
    	}
    function LoadTaggedData(containerMIIDPMItag) {
    	  //ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
    	  var viewToUse "";
    	    if($('#hid-'+MIID+'-SidebarListView').length 0){
    		      viewToUse = $("#hid-" MIID "-SidebarListView").val();
    		};
    	  GetContent('https://www.brevardschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=4&PageID=1&ModuleInstanceID=' MIID '&PageModuleInstanceID=' PMI '&RenderLoc=0&FromRenderLoc=0&Tag=' tag '&EnableQuirksMode=0&ViewID='+viewToUsecontainer2'chkSidebar();
    	');
    	  setTimeout(function(){ $("#module-content-"MIID +"").find('[tabindex]:first').focus();
    		}, 200);
    	}
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
       $(do***ent).ready(function(){
    	      var beaconURL='https://analytics.schoolwires.com/analytics.asmx/Insert?AccountNumber=Zm4VJ2ehte%2fw2pWopVbMwQ%3d%3d&SessionID=80c7904d-0dd6-4155-87f3-a787f9f8d96e&SiteID=4&ChannelID=0&SectionID=0&PageID=1&HitDate=7%2f22%2f2019+5%3a22%3a41+PM&Browser=Unknown+0.0&OS=Unknown&IPAddress=10.61.13.78';
    	      try {
    		         $.getJSON(beaconURL '&jsonp=?', function(myData{});
    		} catch(err) {
    		         // prevent site error for analytics
    		}
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowMedium-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowSmall-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowLarge-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowMediumModal-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowSmallModal-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowLargeModal-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-WindowXLargeModal-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-MyAccountSubscriptionOverlay-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-InsertOverlay-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        $(do***ent).ready(function() {
    	        $('#dialog-overlay-InsertOverlay2-base').appendTo('body');
    	        $('body').on('keydown''.ui-dialog-overlay-base-modal, .ui-dialog-overlay, .ui-sw-alert', function (e) {
    		            var swAlertOpen = $(".ui-sw-alert").length;
    		            if (swAlertOpen 1) {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    //get id of open alert
    				                    var alertboxid = $('.ui-sw-alert').attr('id');
    				                    //click ok or no
    				                    if ($('#' alertboxid 'ok').length 0) {
    					                        $('#' alertboxid 'ok').click();
    					} else {
    					                        $('#' alertboxid 'no').click();
    					}
    				}
    			} else {
    			                if (e.keyCode == 27) {//escape key
    				                    e.stopImmediatePropagation();
    				                    e.preventDefault();
    				                    // Check if ESC was pressed on DatePicker
    				                    var raisedByDatepicker e.target.classList.contains("datepicker");
    				                    if (!raisedByDatepicker) {
    					                        e.stopImmediatePropagation();
    					                        e.preventDefault();
    					                        // Close Dialog
    					                        $('.ui-dialog-overlay-close.modal:visible').last().click();
    					} else {
    					                        // Remove focus
    					                        e.target.blur();
    					                        e.target.classList.remove("focus");
    					}
    				}
    			}
    		});
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function () {
    	            removeBrokenImages();
    	            checkSidebar();
    	            RemoveCookie();
    	            $('div.bullet').attr('tabindex''');
    	            $('.navigation li.collapsible').each(function () {
    		                if ($(this).find('ul').length == 0) {
    			                    $(this).removeClass('collapsible');
    			}
    		});
    	            // find page nav state cookie and add open chevron
    	            var arrValues GetCookie('SWPageNavState').split('~');
    	            $.each(arrValues, function () {
    		                if (this != '') {
    			                    $('#' this).addClass('collapsible').prepend("<div class='bullet collapsible' aria-label='Close Page Submenu'/>");
    			}
    		});
    	            // find remaining sub menus and add closed chevron and close menu
    	            $('.navigation li > ul').each(function () {
    		                var list = $(this);
    		                if (list.parent().hasClass('active') && !list.parent().hasClass('collapsible')) {
    			                    // open sub for currently selected page                    
    			                    list.parent().addClass('collapsible').prepend("<div class='bullet collapsible'aria-label='Close Page Submenu' />");
    			} else {
    			                    if (list.parent().hasClass('collapsible') && !list.siblings('div').hasClass('collapsible')) {
    				                        // open sub for page with auto expand
    				                        list.siblings('div.expandable').remove();
    				                        list.parent().prepend("<div class='bullet collapsible' aria-label='Close Page Submenu' />");
    				}
    			}
    		                if (!list.siblings('div').hasClass('collapsible')) {
    			                    // keep all closed that aren't already set to open
    			                    list.parent().addClass('expandable').prepend("<div class='bullet expandable' aria-label='Open Page Submenu' />");
    			                    ClosePageSubMenu(list.parent());
    			} else {
    			                    OpenPageSubMenu(list.parent());
    			}
    		});
    	            // remove bullet from hierarchy if no-bullet set
    	            $('.navigation li.collapsible').each(function () {
    		                if ($(this).hasClass('no-bullet')) {
    			                    if (!$(this).hasClass('navigationgroup')) {
    				$(this).removeClass('collapsible');
    				}
    			                    $(this).children('div.collapsible').remove();
    			}
    		});
    	            $('.navigation li.expandable').each(function () {
    		                if ($(this).hasClass('no-bullet')) {
    			                    if (!$(this).hasClass('navigationgroup')) {
    				$(this).removeClass('expandable');
    				}
    			                    $(this).children('div.expandable').remove();
    			}
    		});
    	            $('.navigation li:not(.collapsible,.expandable,.no-bullet)').each(function () {
    		                $(this).prepend("<div class='bullet'/>");
    		});
    	            $('.navigation li.active').parents('ul').each(function () {
    		                if (!$(this).hasClass('page-navigation')) {
    			                    OpenPageSubMenu($(this).parent());
    			}
    		});
    	            // Set aria ttributes
    	            $('li.collapsible').each(function () {
    		                $(this).attr("aria-expanded""true");
    		                $(this).find('div:first').attr('aria-pressed''true');
    		});
    	            $('li.expandable').each(function () {
    		                $(this).attr("aria-expanded""false");
    		                $(this).find('div:first').attr('aria-pressed''false');
    		});
    	            $('div.bullet').each(function () {
    		                $(this).attr("aria-hidden""true");
    		});
    	            // set click event for chevron
    	            $(do***ent).on('click''.navigation div.collapsible', function () {
    		                ClosePageSubMenu($(this).parent());
    		});
    	            $(do***ent).on('click''.navigation div.expandable', function () {
    		                OpenPageSubMenu($(this).parent());
    		});
    	            // set navigation grouping links
    	            $(do***ent).on('click''.navigationgroup.collapsible > a', function () {
    		                ClosePageSubMenu($(this).parent());
    		});
    	            $(do***ent).on('click''.navigationgroup.expandable > a', function () {
    		                OpenPageSubMenu($(this).parent());
    		});
    	            //SW MYSTART DROPDOWNS
    	            $(do***ent).on('click''.sw-mystart-dropdown', function () {
    		                $(this).children(".sw-dropdown").css("display""block");
    		});
    	            $(".sw-mystart-dropdown").hover(function () {
    		}, function () {
    		                $(this).children(".sw-dropdown").hide();
    		                $(this).blur();
    		});
    	            //SW ACCOUNT DROPDOWN
    	            $(do***ent).on('click''#sw-mystart-account', function () {
    		                $(this).children("#sw-myaccount-list").show();
    		                $(this).addClass("clicked-state");
    		});
    	            $("#sw-mystart-account, #sw-myaccount-list").hover(function () {
    		}, function () {
    		                $(this).children("#sw-myaccount-list").hide();
    		                $(this).removeClass("clicked-state");
    		                $("#sw-myaccount").blur();
    		});
    	            // set hover class for page and section navigation
    	            $('.ui-widget.app.pagenavigation, .ui-widget.app.sectionnavigation').find('li > a').hover(function () {
    		                $(this).addClass('hover');
    		}, function () {
    		                $(this).removeClass('hover');
    		});
    	            //set aria-label for home
    	            $('#navc-HP > a').attr('aria-label''Home');
    	            // set active class on channel and section
    	            var activeChannelNavType = $('input#hidActiveChannelNavType').val();
    	            if (activeChannelNavType == -1) {
    		                // homepage is active
    		                $('#navc-HP').addClass('active');
    		} else if (activeChannelNavType == 1) {
    		                // calendar page is active
    		                $('#navc-CA').addClass('active');
    		} else {
    		                // channel is active - set the active class on the channel
    		                var activeSelectorID = $('input#hidActiveChannel').val();
    		                $('#navc-' activeSelectorID).addClass('active');
    		                // set the breadcrumb channel href to the channel nav href
    		                $('li[data-bccID=' activeSelectorID '] a').attr('href', $('#navc-' activeSelectorID ' a').attr('href'));
    		                $('li[data-bccID=' activeSelectorID '] a span').text($('#navc-' activeSelectorID ' a span').first().text());
    		                // set the active class on the section
    		                activeSelectorID = $('input#hidActiveSection').val();
    		                $('#navs-' activeSelectorID).addClass('active');
    		                // set the breadcrumb section href to the channel nav href
    		                $('li[data-bcsID=' activeSelectorID '] a').attr('href', $('#navs-' activeSelectorID ' a').attr('href'));
    		                if ($('#navs-' activeSelectorID ' a').attr('target') !== undefined) {
    			                    $('li[data-bcsID=' activeSelectorID '] a').attr('target', $('#navs-' activeSelectorID ' a').attr('target'));
    			}
    		                $('li[data-bcsID=' activeSelectorID '] span').text($('#navs-' activeSelectorID ' a span').text());
    		                if ($('.sw-directory-columns').length 0) {
    			                    $('ul.ui-breadcrumbs li:last-child').remove();
    			                    $('ul.ui-breadcrumbs li:last-child a').replaceWith(function() {
    				return $('span'this);
    				});
    			                    $('ul.ui-breadcrumbs li:last-child span').append(' Directory');
    			}
    		}
    	});
     // end do***ent ready
            function OpenPageSubMenu(li) {
    	            if (li.prop('tagName').toLowerCase() == "li") {
    		                if (li.hasClass('expandable')) {
    			                    li.removeClass('expandable').addCl