function googleTranslateElementInit() {   new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT, gaTrack: true, gaId: 'UA-61***58***-1'}, 'google_translate_element');   do***ent.getElementsByClassName('goog-te-combo')[0].setAttribute("title", "Google Translate language"); }     var isMyViewPage = ($("#pw-body").length) ? true : false;     $(window).load(function(){          calendarListView();         searchText();         accessibilityFunctions();         navLine();     });     $(function(){         $(window).resize(function(){              jsMediaQueries();             calendarListView();             navLine();         });             rsMenu();             jsMediaQueries();             modEvents();             dynamicContent();             appAccordion();             pageListAccordion();             useChannelForSection();             mmRotator();             stickyHeader();             backToTop();             viewAllHeadlines();             customSchoolSearch();     });     function jsMediaQueries() {         switch(csGetBreakPoint()) {             case "desktop":              break;             case "768":             break;             case "640":             break;             case "480":                 getSocial();             break;             case "320":                 getSocial();             break;         }     }     function customSchoolSearch(){         if($("#search-options").length){             alphaSetup();             alphaClick();             typeClick();             allClick(); } }     function alphaSetup(){         //CREATE AN EMPTY ARRAY FOR SCHOOL FIRST LETTERS         var schoolLetters = [];         var schoolType = "";         var magnetSchool = "";         $(".school-info").each(function(){             var firstLetter = $(this).find("h3.percent").text().charAt(0);             var schoolTypeRaw = $(this).find(".fraction").text().trim().charAt(0);             if($(this).find(".magnet").text().trim() == "magnet"){                 magnetSchool = "true"; } else {                 magnetSchool = "false"; }             switch(schoolTypeRaw){                 case "9":                     if(magnetSchool === "true"){                         schoolType = "High Magnet"; } else {                         schoolType = "High"; }                 break;                 case "6":                     if(magnetSchool === "true"){                         schoolType = "Middle Magnet"; } else {                         schoolType = "Middle"; }                 break;                 case "K": case "P":                     if(magnetSchool === "true"){                         if(schoolTypeRaw == "P"){                             schoolType = "Elementary Pre-K Magnet"; } else {                             schoolType = "Elementary Magnet"; } } else {                         if(schoolTypeRaw == "P"){                             schoolType = "Elementary Pre-K"; } else {                             schoolType = "Elementary"; } }                  break;                 default:                     schoolType = "none";                 break; }             //IF THE LETTER DOES NOT ALREADY EXIST IN THE ARRAY, PUSH IT INTO THE ARRAY             schoolLetters.indexOf(firstLetter) === -1 ? schoolLetters.push(firstLetter) : "";             //console.log(firstLetter);             $(this).addClass("first-letter-"+firstLetter+" "+schoolType); })         schoolLetters = schoolLetters.sort();         var letterHTML = '';          for(var i in schoolLetters) {              letterHTML += ""+schoolLetters[i]+""; }          $("#alphabet-container").prepend(letterHTML);         //console.log(schoolLetters); }     function alphaClick(){         $("button.letter").on('click keypress', function(event){             if(globalClickForButtons(event) === true){                 //DONT LET THE PAGE JUMP ON KEYPRESS                 event.preventDefault();                 var firstLetter = $(this).text();                 $("button.school-type, #alphabet-container .letter, #show-all, #by-address").removeClass("active");                 $("#sw-content-minibaselist578 .school-info").hide();                 $("#home-address").slideUp();                 $(this).addClass("active");                 $("#sw-content-minibaselist578 .school-info.first-letter-"+firstLetter).show(); } }); }     function typeClick(){         $("button.school-type").on('click keypress', function(event){             if(globalClickForButtons(event) === true){                 //DONT LET THE PAGE JUMP ON KEYPRESS                 event.preventDefault();                 var schoolType = $(this).text();                 $("button.school-type, #alphabet-container .letter, #show-all, #by-address").removeClass("active");                 $("#sw-content-minibaselist578 .school-info").hide();                 $("#home-address").slideUp();                 $(this).addClass("active");                 $("#sw-content-minibaselist578 .school-info."+schoolType).show(); } }); }     function allClick(){         $("#show-all").on('click keypress', function(event){             if(globalClickForButtons(event) === true){                 //DONT LET THE PAGE JUMP ON KEYPRESS                 event.preventDefault();                 $("button.school-type, #alphabet-container .letter, #by-address").removeClass("active");                 $("#home-address").slideUp();                 $(this).addClass("active");                  $("#sw-content-minibaselist578 .school-info").show(); } }); }     function goBack() {         window.history.back();     }     function viewAllHeadlines(){         //CHECK TO SEE IF WE ARE ON A VIEW ALL HEADLINES PAGE         if($(".sp .headlines").length){             var numApps = $(".sp.column.two .app").length;             if(numApps == 1){                 $(".sp .ui-widget.app.headlines").prepend("Back "); } } } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   STICKY HEADER  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function stickyHeader(){         $(do***ent).scroll(function() {             var distanceFromTop = $(this).scrollTop();             var channelBarHeight = $("nav").height();             var headerHeight = $("#gb-header-outer").height();             if(distanceFromTop >= headerHeight){                 $("#gb-page").addClass("sticky-header");                 $("#hp-content-top").css("margin-top",channelBarHeight); } else {                 $("#gb-page").removeClass("sticky-header");                 $("#hp-content-top").css("margin-top","0px"); }             if($(".sp").length && $(".ui-widget.app.calendar").length) {                 if($(".wcm-controls").hasClass("wcm-stuck")) {                     $(".wcm-controls").css("margin-top", $("#gb-channel-list-outer").outerHeight(true)); } }             $("#sw-maincontent").css({                 "display": "block",                 "position": "relative",                 "top": "-" + $("#gb-channel-list-outer").outerHeight(true) + "px" });         });     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   NAV LINE  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */ function navLine(){         if ($(".sw-channel-item.active").length) { //added if statement to wrap code below by Lyndsay - Case 00561611 - 6.14.17             var channelBarHeight = $("nav").height();             if(channelBarHeight > 64){                 $("#nav-line").css("bottom","64px"); }             var $element, leftPos, newWidth,             $mainNav = $("#channel-navigation");             if(!$("#nav-line").length){                 $mainNav.append(""); }             var $navLine = $("#nav-line");             var elementWidth = $(".sw-channel-item.active").width();             var middleOfElement = elementWidth / 2;             $navLine                 //.width($(".sw-channel-item.active").width())                 .css("left", $(".sw-channel-item.active").position().left + middleOfElement)                 .data("origLeft", $navLine.position().left)                 .data("origWidth", $navLine.width());             $("#channel-navigation > li").hover(function() {                 var elementWidth = $(this).width();                 var middleOfElement = elementWidth / 2;                 $element = $(this);                 leftPos = $element.position().left + middleOfElement;                 newWidth = $element.width();                 $navLine.stop().animate({                     left: leftPos                     //width: newWidth }); }, function() {                 $navLine.stop().animate({                     left: $navLine.data("origLeft")                     //width: $navLine.data("origWidth") }); }); }     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   GET SOCIAL  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function getSocial(){         if(!$("#get-social-header").hasClass("initiate")){             $("#get-social-header").click(function(){                 switch(csGetBreakPoint()) {                     case "480":                     case "320":                         if($(this).parent().hasClass("open")){                             $(this).next().slideUp();                             $(this).parent().removeClass("open").addClass("closed");                         } else {                             $(this).next().slideDown();                             $(this).parent().addClass("open");                         }                     break;                 }             })             $("#get-social-header").addClass("initiate");         }     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   BACK TO TOP  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function backToTop(){         $(do***ent).scroll(function() {             var distanceFromTop = $(this).scrollTop();                 if(distanceFromTop >= 500){                     $("#gb-page").addClass("to-top");                 } else {                     $("#gb-page").removeClass("to-top");                 }         });     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   GLOBAL A11Y CLICK  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function globalClick(event){         if(event.type === 'click'){             return true; }         else if(event.type === 'keypress'){             var code = event.charCode || event.keyCode;             if((code === 32)|| (code === 13)){                 return true; } }         else{             return false; } }     //NEED A SPECIFIC GLOBAL CLICK FOR BUTTONS THAT ELIMINATES THE SPACEBAR     //SINCE IT FUNCTIONS NATIVELY, THE EVENTS HAPPEN TWICE IF WE DO NOT ELIMINATE     function globalClickForButtons(event){         if(event.type === 'click'){             return true; }         else if(event.type === 'keypress'){             var code = event.charCode || event.keyCode;             if(code === 13){                 return true; } }         else{             return false; } } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   MOD MYSTART  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function modMyStart(){         if($(".sw-mystart-dropdown.schoollist").length){             //BUILDING MY OWN SCHOOLLIST         var acSchoolList = '';         $(".sw-mystart-dropdown.schoollist li").each(function(){             var schoolItem = $(this).html();             acSchoolList += "
  • "+schoolItem+"
  • "; });         $("#ac-school-list").append(acSchoolList);         $(".ac-dropdown-container.school-list").show(); }         //MOVING ANY MYSTART ELEMENTS TO MATCH DESIGN         $("#sw-mystart-search").appendTo("#header-right-top");         //CALL TRANSLATE FUNCTION         addFramesetTranslate();     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   DYNAMIC CONTENT  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */           function dynamicContent() {         // ********** MYSTART ********** //         $(".ac-dropdown-container .selector").on('click keypress', function(event){             if(globalClick(event) === true){                 //DONT LET THE PAGE JUMP ON KEYPRESS                 event.preventDefault();                 controlDropdowns(event); } });         //GLOBALLY CLOSE DROPDOWNS WHEN HOVERED AWAY FROM         $(".ac-dropdown-container").hover(function(e) {             e.preventDefault();         }, function() {             $(".ac-dropdown",this).attr("aria-hidden", "true").slideUp(300, "swing");             $(this).removeClass("open");         });         //SHOW USER OPTIONS IF THEY ARE LOGGED IN         if($("#sw-mystart-account").length){             $("#gb-page").addClass("logged-in");             $(".ac-mystart-button.user.logged").show();             $("#sw-mystart-mypasskey").removeClass("sw-mystart-button").addClass("ac-mystart-button").insertBefore(".ac-mystart-button.manage"); } else {              //HIDE REGISTER BUTTON IF HIDDEN IN SITE MANAGER               if(!$("#ui-btn-register").length){                   $(".ac-mystart-button.signin").show(); } else {                   $(".ac-mystart-button.user").not(".logged").show(); } }         $(".ac-mystart-button:visible:last").addClass("last-visible");         // ********** HEADER ********** //         //SOCIAL ICON HOVERS         $(".social-icon").hover(function() {             $(".gb-social-icons").addClass("hovering");         }, function() {             $(".gb-social-icons").removeClass("hovering");         });         $(".social-icon").focus(function() {             $(".gb-social-icons").addClass("hovering");         });         $(".social-icon").focusout(function() {             $(".gb-social-icons").removeClass("hovering");         });         // ADD LOGO         var logoCheck = "true";         var logoSrc = jQuery.trim("/cms/lib/TX02215002/Centricity/Template/GlobalAssets/images///logos/ne-isd-logo.png");         if(logoCheck == "true") {             var srcSplit = logoSrc.split("/");             var srcSplitLen = srcSplit.length;             if((logoSrc != "") && (srcSplit[srcSplitLen - 1] != "default-man.jpg")) {                 $("#gb-logo").append('').removeClass("hidden");             } else {                 $("#gb-logo").append('').removeClass("hidden");             }         }         // ADD SITENAME         var siteNameOne = jQuery.trim('North East');         var siteNameTwo = jQuery.trim('Independent School District');         var siteTagline = jQuery.trim('Discover NEISD');         if((siteNameOne == "") && (siteNameTwo == "")) {             var splitLen = 2;             var siteName = "North East Independent School District";             siteName = siteName.split(" ");             var siteNameLength = siteName.length;             if(siteNameLength > 2){                 siteNameEnd = jQuery.trim(siteName.splice(-splitLen, siteName.length).toString().replace(/,/g, " "));             } else {                 siteNameEnd = jQuery.trim(siteName.splice(-1, siteName.length).toString().replace(/,/g, " "));             }             siteNameBegin = jQuery.trim(siteName.toString().replace(/,/g, " "));             $("#gb-sitename").prepend("

    " + siteNameBegin + "
    " + siteNameEnd + "

    ");         } else if((siteNameOne != "") && (siteNameTwo == "")) {             $("#gb-sitename").prepend("

    " + siteNameOne + "

    ");         } else if((siteNameOne == "") && (siteNameTwo != "")) {             $("#gb-sitename").prepend("

    " + siteNameTwo + "

    ");         } else if((siteNameOne != "") && (siteNameTwo != "")) {             $("#gb-sitename").prepend("

    " + siteNameOne + "
    " + siteNameTwo + "

    "+siteTagline+"

    ");         }         // ********** CHANNEL BAR ********** //         $(".sw-channel-item").unbind('hover');         $(".sw-channel-item").hover(function(){             $(".sw-channel-item ul").stop(true, true);             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");         });         //MyNEISD         $(".sw-channel-item").each(function(){             if($("> a span", this).text() == "MyNEISD"){                 $(this).addClass("my-neisd"); } })         // ********** BODY ********** //         //PHOTO ELEMENT HOVERS         $(".element-txt a").focus(function() {             $(this).parent().addClass("hovering");         });         $(".element-txt a").focusout(function() {             $(this).parent().removeClass("hovering");         });         //WHY CHOOSE HOVERS         $("#hp-content-middle .hp.column.two").hover(function() {             $(this).addClass("hovering");         }, function() {             $(this).removeClass("hovering");         });         $("#hp-content-middle .hp.column.two").focus(function() {             $(this).addClass("hovering");         });         $("#hp-content-middle .hp.column.two").focusout(function() {             $(this).removeClass("hovering");         });         //HF HOVERS         $(".ui-hp div.ui-widget.app.headlines .ui-article-title a").hover(function() {             $(this).closest("li").addClass("hovering");         }, function() {             $(this).closest("li").removeClass("hovering");         });         $(".ui-hp div.ui-widget.app.headlines .ui-article-title a").focus(function() {             $(this).closest("li").addClass("hovering");         });         $(".ui-hp div.ui-widget.app.headlines .ui-article-title a").focusout(function() {             $(this).closest("li").removeClass("hovering");         });         //EVENT HOVERS         $(".upcomingevents .sw-calendar-block-title a").hover(function() {             var parentList = $(".upcomingevents .ui-articles");             $(this).closest("li", parentList).addClass("hovering");             $(this).addClass("hovered");         }, function() {             var parentList = $(".upcomingevents .ui-articles");             $(this).closest("li", parentList).removeClass("hovering");             $(this).removeClass("hovered");         });         $(".upcomingevents .sw-calendar-block-title a").focus(function() {             var parentList = $(".upcomingevents .ui-articles");             $(this).closest("li", parentList).addClass("hovering");             $(this).addClass("hovered");         });         $(".upcomingevents .sw-calendar-block-title a").focusout(function() {             var parentList = $(".upcomingevents .ui-articles");             $(this).closest("li", parentList).removeClass("hovering");             $(this).removeClass("hovered");         });         //SITESHORTCUT HOVERS         $(".site-shortcuts > li").hover(function() {             $(this).addClass("hovering");         }, function() {             $(this).removeClass("hovering");         });         $(".site-shortcuts > li > a").focus(function() {             $(this).closest("li").addClass("hovering");         });         $(".site-shortcuts > li > a").focusout(function() {             $(this).closest("li").removeClass("hovering");         });         //FLIP BULLET ORDER IN NAVIGATION APPS         $(".app.navigation").each(function(){             $("li", this).each(function(){                 $("> .bullet",this).insertAfter($(this).find("> a"));             }) })         //SHOW Social Feeds if they exist         if($("#hp-bottom-bottom .app").length){             $("#hp-bottom-bottom").show(); }         // AUTO FOCUS SIGN IN FIELD         $("#swsignin-txt-username").focus();         //PLACE THE HEADLINES READ MORE BUTTON INTO THE APP HEADER, AND ADJUST RSS BUTTON         $(".ui-hp .headlines").each(function(){             //$("a.more-link", this).prependTo(".ui-widget-footer", this).show();             var moreLinkURL = $(this).find("a.more-link").attr("href");             $(this).find(".ui-widget-header h1").append("VIEW ALL");             $(this).find(".ui-widget-detail").append("VIEW ALL");             $(this).find(".rss span").text("subscribe to our feed");         });         //PLACE THE UPCOMING EVENTS VIEW ALL BUTTON INTO THE APP HEADER         $(".upcomingevents").each(function(){             var viewEventsURL = $(this).find("a.view-calendar-link").attr("href");             $(this).find(".ui-widget-header h1").append("VIEW ALL");             $(this).find(".ui-widget-detail").append("VIEW ALL");         });         //FIX FIRST BREADCRUMB         $(".ui-breadcrumb-first span").text("Home").show();         //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"});             //ADD SIGNED OUT BREADCRUMB             $(".ui-breadcrumbs").append("
  • Signed Out
  • ");         }         //ADD SIGN IN BREADCRUMB         if($("#swlogin").length){             $("#sw-content-layout-wrapper .ui-widget.app").addClass("signin");             $(".ui-breadcrumbs").append("Sign In");         }         //REGISTER BREADCRUMB         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");         }         //SEARCH RESULTS BREADCRUMB         if($("#sw-content-layout-wrapper.ui-spn #swsearch-pnl-main").length) {             $("#sw-content-layout-wrapper").children().wrapAll('');             $(".ui-breadcrumbs").append("Search Results");         }         // ADD READ FULL STORY BUTTON TO EACH HEADLINE         $(".ui-hp .ui-widget.app.headlines").each(function(){             $(".ui-article", this).each(function(){                 var headlineURL = $("h1 a", this).attr("href");                 $(".ui-article-description", this).after('Read More');                 $(this).wrapInner("");                 $(".ui-article-thumb", this).prependTo(this); }); });         $(".sp .headlines").each(function(){             $(this).find(".more-link span").addClass("app-header-link").text("View More");             $(this).find(".more-link").show(); });         // 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"}); } });         // MAKE NAVIGATION APPS ACCESSIBLE         $(".ui-widget.app.navigation").csAccessibleNavigationApp();         // ********** FOOTER ********** //             // FOOTER LINKS         $("#to-top").click(function(e){             e.preventDefault();                     $("html, body").animate({ scrollTop: 0 }, "slow", function() {                         $("li.sw-channel-item:first-child > a").focus();                     });         });         $(".link-row").each(function(){             $(".footer-link:visible:last", this).addClass("last"); })     }       function controlDropdowns(event){         var dropdownToOpen = $(event.currentTarget).parent().find(".ac-dropdown-list").attr("id");         if($("#"+dropdownToOpen).parent().parent().hasClass("open")){             $("#"+dropdownToOpen).parent().attr("aria-hidden", "true").slideUp(300, "swing");             $("#"+dropdownToOpen).parent().parent().removeClass("open");             var ariaLabel = $("#"+dropdownToOpen).parent().prev().attr("aria-label");             ariaLabel = ariaLabel.split(" ");             var newAriaLabel = "Expand "+ariaLabel[1]+" "+ariaLabel[2];             $("#"+dropdownToOpen).parent().prev().attr({                 "aria-expanded":"false",                 "aria-label":newAriaLabel })         } else {             $("#"+dropdownToOpen).parent().attr("aria-hidden","false").slideDown(300, "swing", function(){                 setTimeout(function(){                     $("#"+dropdownToOpen).find("li:first a").focus();                 }, 100);             });             $("#"+dropdownToOpen).parent().parent().addClass("open");              var ariaLabel = $("#"+dropdownToOpen).parent().prev().attr("aria-label");             ariaLabel = ariaLabel.split(" ");             var newAriaLabel = "Collapse "+ariaLabel[1]+" "+ariaLabel[2];             $("#"+dropdownToOpen).parent().prev().attr({                 "aria-expanded":"true",                 "aria-label":newAriaLabel })         }     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   EVENTS LAYOUT  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     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 flippedDate = '';             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             flippedDate = '' + newDateTime[dateIndex] + ''+newDate;             //append the date and month back into their columns             $('.upcoming-column.left h1', this).html(flippedDate);             //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).append('All Day');                 }                 $(".sw-calendar-block-time", this).appendTo($(this));             });         });     }     /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   GENERAL USE FUNCTIONS  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */         function searchText() {         //SEARCH TEXT         $("div#sw-mystart-search.sw-mystart-nav").unbind();         $("div#sw-mystart-search input#sw-search-input").removeAttr("placeholder");         $("div#sw-mystart-search input#sw-search-input").attr("value", "");         $("div#sw-mystart-search input#sw-search-input").focus(function() {             if($(this).val() == "") {                 $(this).val("");             }         });         $("div#sw-mystart-search input#sw-search-input").blur(function() {             if($(this).val() == "") {                 $(this).val("");             }         });     }     function pageListAccordion() {             $(".sp.column.one").csAppAccordion({                 "accordionBreakpoints" : [768, 640, 480, 320] });     }     function useChannelForSection() {         // 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("

    ");         }         }     function calendarListView() {         // 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(csGetBreakPoint()) {             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;         }     }     function appAccordion() {         $("#hp-bottom-top").csAppAccordion({             "accordionBreakpoints" : [480, 320] });     }     function csGetBreakPoint() {         return window.getComputedStyle(do***ent.querySelector("body"), ":before").getPropertyValue("content").replace(/"|'/g, ""); /*"*/     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   MULTIMEDIA ROTATOR  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function mmRotator(){             if(!$("#sw-content-container10.region.ui-hp .rs-gallery-container").length){                 // MULTIMEDIA ROTATOR                 $("#sw-content-container10.ui-hp div.ui-widget.app.cs-rs-multimedia-rotator").csRsMultimediaRotator({                         "imageWidth"              : 580,                         "imageHeight"             : 486,                         "efficientLoad"           : "yes",                         "appHeader"               : "no",                         "titles"                  : "yes",                         "captions"                : "yes",                         "galleryOverlay"          : "no",                         "linkedElement"           : ["title"], // ["image", "title", "overlay", "all"]                         "playPause"               : "no",                         "mainControls"            : "yes",                         "contMoreLink"            : "no",                         "contMoreLinkText"        : "More",                         "descMoreLink"            : "yes",                         "descMoreLinkText"        : "Read More",                         "bullets"                 : "no",                         "bulletControls"          : "no",                         "thumbnails"              : "no",                         "thumbnailWidth"          : 122,                         "thumbnailHeight"         : 53,                         "thumbnailSlideDirection" : "horizontal", // horizontal or vertical                         "hoverPause"              : "yes",                         "autoRotate"              : "yes",                         "fullScreenRotator"       : "no", // image dimensions work well at 1500x915                         "fullScreenBreakpoints"   : ["768"], // OPTIONS ARE ["960", "768", "640", "480", "320"]                         "fullScreenVideo"         : "no",                         "transitionType"          : "slide", // fade or slide                         "transitionSpeed"         : 1,                         "transitionDelay"         : 7,                         "customResize" : "yes",                         "customResizeFunction" : function(element, imageWidth, imageHeight) {                             var screenWidth = $(window).width();                             if(screenWidth <= 480){                                 imageWidth = 480;                                 imageHeight = 402;                             }                              // RESET THE WIDTHS, HEIGHTS, AND SLIDE POSITION MAINLY IN CASE THE USER IS DRAGGING THE CORNER OF THEIR BROWSER                             // UPDATE WIDTH AND HEIGHT VARIABLES                             // SET viewWidth VARIABLE WITH A MAX-WIDTH OF config.imageWidth                             //var viewWidth = ($(element).width() > imageWidth) ? imageWidth : $(element).width();                             var viewWidth = $("#hp-content-top .hp.column.two").width();                             var viewRatio = imageHeight / imageWidth;                             var viewHeight = viewWidth * viewRatio;                             var slideNum = $(".rs-gallery-images-list li", element).length;                             var sliderWidth = viewWidth * slideNum;                             if($(".rs-gallery-videos").length) {                                 var vidWidth = $(".rs-gallery-videos .video", element).width();                                 var vidHeight = $(".rs-gallery-videos .video", element).height() - 27;                             }                             // UPDATE LEFT POSITION OF VIEWER SLIDE                             var slidePos = $(".rs-gallery-images-list li.active", element).index();                             viewWidth = parseInt(viewWidth);                             var newPos = slidePos * viewWidth;                             // SET THE CSS PROPERTIES                             $(".rs-gallery-container", element).css({"height": viewHeight + "px"});                             $(".rs-gallery-container .rs-gallery-images", element).css({"height": viewHeight + "px"});                             $(".rs-gallery-container .rs-gallery-images .rs-gallery-images-list", element).css({"width": sliderWidth + "px", "height": viewHeight + "px", "left": "-" + newPos + "px"});                             $(".rs-gallery-container .rs-gallery-images .rs-gallery-images-list li", element).css({"width": viewWidth + "px", "height": viewHeight + "px"});                             $(".rs-gallery-container .rs-gallery-images .rs-gallery-images-list li img", element).removeAttr("style");                             mmrColumnFix();                         },                         "onImageLoad"             : function() { },                         "allImagesLoaded"         : function() { },                         "onThumbnailLoad"         : function() { },                         "allThumbnailsLoaded"     : function() { },                         "onTransitionStart"       : function() { },                         "onTransitionEnd"         : function() { },                         "watchVidClick"           : function() { },                         "closeVidClick"           : function() { },                         "allLoaded"               : function() { mmrColumnFix(); } });             }     }     function mmrColumnFix(){         var mmrHeight = $("#hp-slideshow .rs-gallery-container").height();         $("#hp-content-top .hp.column.three").height(mmrHeight); } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   RESPONSIVE MENU  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function rsMenu() {            //ADD HEADER LINKS TO MOBILE MENU FOR 480 AND BELOW            // function changed by Adam - 9.22.17 - Case #02919530             var mobileSocialLinks = [                 ["Facebook", "https://www.facebook.com/NorthEastISD/", "block"],                 ["Twitter", "https://twitter.com/NEISD", "block"],                 ["Instagram", "https://www.instagram.com/northeastisd/", "block"],                 ["YouTube", "https://www.youtube.com/channel/UCj-Ete3dXZ66QxudH2hlkYg/featured", "block"],                 ["LinkedIn", "#", "none"]                   ];             var mobileSocial = "";             $.each(mobileSocialLinks, function(k, v){                 if( v[2] != "none" ) mobileSocial += "1, " + v[0] + ", " + v[1] + ", _blank; "; });             //ADD GLOBAL HEADER LINKS TO MOBILE MENU - ADDED BY LYNDSAY - CASE 00562274 - 6.19.17             var popLinks = [                 ["Skyward Family Access", "https://portal.neisd.net/NEISDPortal/public#/SkywardLink/1/1045", "_self"], // ARRAY ORDER - TEXT, LINK, TARGET                 ["Calendars", "/Page/9237", "_self"], // ARRAY ORDER - TEXT, LINK, TARGET                 ["Launchpad", "https://launchpad.classlink.com/neisd", "_blank"], // ARRAY ORDER - TEXT, LINK, TARGET                 ["Staff Directory", "/Page/340", "_self"] // ARRAY ORDER - TEXT, LINK, TARGET             ];             var globalLinks = "";             $.each(popLinks, function(k, v){                 if( v[2] != "" ) globalLinks += "2, " + v[0] + ", " + v[1] + ", " + v[2] + "; "; });             var globalLinksHeader = "";             if( globalLinks != "" ){                 globalLinksHeader = "Popular Links"; }             // RESPONSIVE MAIN MENU             $("body").csRsMenu({                 "breakPoint"            : 768, // SYSTEM BREAK POINTS - 768, 640, 480, 320                 "slideDirection"        : "left-to-right", // OPTIONS - left-to-right, right-to-left                    "primaryColor"          : '#1A1A1A', // DEFAULT - #1A1A1A                 "secondaryColor"        : '#0C0C0C', // DEFAULT - #0C0C0C                 "accentColor"           : '#BABABA', // DEFAULT - #BABABA                 "menuButtonParent"      : "#mobile-masthead",                 "showMenuBtnText"       : "yes",                 "menuBtnText"           : "MENU",                 "showSchools"           : "yes",                 "showTranslate"         : "yes",                 "translateId"           : "none",                 "showAccount"           : "yes",                 "extraMenuOptions"      : "Social Media; " + globalLinksHeader,                 "extraMenuItems"        : mobileSocial + globalLinks,  // EXTRA MENU BUTTONS - STRUCTURE IS: MENU-OPTION-NUMBER, ITEM-NAME, ITEM-URL, ITEM-TARGET;                 "siteID"                : "4",                 "allLoaded"             : function(){                     $('.rs-menu-option.account li a:contains("Sign")').attr("href", "/site/SAMLLogin.aspx?IgnoreRedirect=true");  //added by Lyndsay - Case 02778639 - 7.17.17 } }); } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   ACCESSIBILITY  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */     function accessibilityFunctions(){         $("#sw-search-button").attr({             "aria-label":"Click to search",             "role":"button" });         $("#sw-mystart-mypasskey").attr({             "aria-label":    "Open My Passkey",             "role":        "button"         });         // KEY MAPPING         var csKeyCodes = { "enter": 13, "esc": 27, "space": 32, "end": 35, "home": 36, "left": 37, "up": 38, "right": 39, "down": 40, "tab": 9 };         //SEARCH BUTTON         $("#sw-search-button").keydown(function(e){             switch(e.keyCode) {                 // CONSUME ENTER AND SPACE KEYS                 case csKeyCodes.enter:                 case csKeyCodes.space:                     e.preventDefault();                     $(this).click();                 break;             }         });         //GLOBAL KEYBOARD NAV FOR DD SELECTORS         $(".ac-dropdown-container .selector").keydown(function(e) {             var parentContainer = $(e.currentTarget).closest(".ac-dropdown-container").attr("class");             var parentContainer = parentContainer.split(" ");             var parentContainer = parentContainer[1];             // CAPTURE KEY CODE             switch(e.keyCode) {                 // CONSUME TAB KEY                 case csKeyCodes.tab:                     if(e.shiftKey){                         $(".ac-dropdown-container."+parentContainer+" .ac-dropdown").attr("aria-hidden", "true").slideUp(300, "swing");                         $(".ac-dropdown-container."+parentContainer+"").removeClass("open");                     } else {                         e.preventDefault();                         $(".ac-dropdown-container."+parentContainer+" .ac-dropdown").attr("aria-hidden", "true").slideUp(300, "swing");                         $(".ac-dropdown-container."+parentContainer+"").removeClass("open");                         switch(parentContainer){                             case "user-options":                                 $("#gb-logo a").focus();                             break;                             case "translate":                                 $(".sw-channel-item:first > a").focus();                             break;                             case "school-list":                                 $(".ac-dropdown-container.translate .selector").focus();                             break;                         }                     }                 break;                 // CONSUME LEFT AND UP ARROWS                 case csKeyCodes.down:                 case csKeyCodes.right:                     e.preventDefault();                     $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();                 break;             }         });         //GLOBAL KEYBOARD NAV FOR DD LINKS         $(".ac-dropdown-container li a").keydown(function(e) {             var parentContainer = $(e.currentTarget).closest(".ac-dropdown-container").attr("class");             var parentContainer = parentContainer.split(" ");             var parentContainer = parentContainer[1];             // CAPTURE KEY CODE             switch(e.keyCode) {                 // CONSUME LEFT AND UP ARROWS                 case csKeyCodes.left:                 case csKeyCodes.up:                     e.preventDefault();                     // IS FIRST ITEM                     if($(this).parent().is(":first-child")) {                         // FOCUS DROPDOWN BUTTON                         $(".ac-dropdown-container."+parentContainer+" .selector").focus();                     } else {                         // FOCUS PREVIOUS ITEM                         $(this).parent().prev("li").find("> a").focus();                     }                 break;                 // CONSUME RIGHT AND DOWN ARROWS                 case csKeyCodes.right:                 case csKeyCodes.down:                     e.preventDefault();                     // IS LAST ITEM                     if($(this).parent().is(":last-child")) {                         // FOCUS FIRST ITEM                         $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();                     } else {                         // FOCUS NEXT ITEM                         $(this).parent().next("li").find("> a").focus();                     }                 break;                 // CONSUME TAB KEY                 case csKeyCodes.tab:                     if(e.shiftKey){                         e.preventDefault();                         // IS FIRST ITEM                         if($(this).parent().is(":first-child")) {                             // FOCUS DROPDOWN BUTTON                             $(".ac-dropdown-container."+parentContainer+" .selector").focus();                         } else {                             // FOCUS PREVIOUS ITEM                             $(this).parent().prev("li").find("> a").focus();                         }                     } else {                         e.preventDefault();                         // IS LAST ITEM                         if($(this).parent().is(":last-child")) {                             // FOCUS FIRST ITEM                             $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();                         } else {                             // FOCUS NEXT ITEM                                 $(this).parent().next("li").find("> a").focus();                         }                     }                 break;                 // CONSUME HOME KEY                 case csKeyCodes.home:                     e.preventDefault();                     // FOCUS FIRST ITEM                     $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();                 break;                 // CONSUME END KEY                 case csKeyCodes.end:                     e.preventDefault();                     // FOCUS LAST ITEM                     $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:last-child > a").focus();                 break;                 case csKeyCodes.esc:                     $(".ac-dropdown-container."+parentContainer+" .ac-dropdown").attr("aria-hidden", "true").slideUp(300, "swing");                         $(".ac-dropdown-container."+parentContainer+"").removeClass("open");                         $(".ac-dropdown-container."+parentContainer+" .selector").focus();                 break;             }         });     } /* ------------------------------   ____________________   ------------------------------ */ /* ------------------------------   ADD TRANSLATOR  ------------------------------ */ /* ------------------------------   ____________________   ------------------------------ */         function addFramesetTranslate(){         /*$("#gb-header-dropdowns").creativeTranslate({         "type": 2, // 1 = FRAMESET, 2 = BRANDED, 3 = API         "advancedOptions": {             "addMethod": "append", // PREPEND OR APPEND THE TRANSLATE ELEMENT             "dropdownHandleText": "Translate this page...", // ONLY FOR FRAMESET AND API VERSIONS             "useTranslatedNames": true, // ONLY FOR FRAMESET AND API VERSIONS - true = TRANSLATED LANGUAGE NAME, false = ENGLISH LANGUAGE NAME             "apiKey": "", // ONLY FOR API VERSION             "brandedLayout": 1 // 1 = VERTICAL (TEXT UNDER SELECT), 2 = HORIZONTAL (TEXT BESIDE SELECT), 3 = NON-RESPONSIVE MEGA DROPDOWN },         "translateLoaded": function() { } // CALLBACK TO RUN YOUR CUSTOM CODE AFTER EVERYTHING IS READY }); */         var pageURL = window.location.href;         pageURL = encodeURIComponent(pageURL);         var translateDropdown = '
  • ' +                                         'English to Spanish' +                                     '
  • ' +                                     '
  • ' +                                         'English to Arabic' +                                     '
  • ' +                                     '
  • ' +                                         'English to Chinese (Simplified)' +                                     '
  • ' +                                     '
  • ' +                                         'English to Chinese (Traditional)' +                                     '
  • ' +                                     '
  • ' +                                         'English to French' +                                     '
  • ' +                                     '
  • ' +                                         'English to German' +                                     '
  • ' +                                     '
  • ' +                                         'English to Italian' +                                     '
  • ' +                                     '
  • ' +                                         'English to Japanese' +                                     '
  • ' +                                     '
  • ' +                                         'English to Korean' +                                     '
  • ' +                                     '
  • ' +                                         'English to Portuguese' +                                     '
  • ' +                                     '
  • ' +                                         'English to Russian' +                                     '
  • ';         var pageHost = window.location.host;         if(pageHost != "translate.googleusercontent.com")         {                             $(translateDropdown).prependTo("#ac-translate-list");         }     }                   /* 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', 'TX02215002');     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 District Events
    H1 Thursday
    H1 Friday
    H1 Sunday
    H1 Monday
    H1 November 26, 2019
    H1 November 27, 2019
    H1 November 28, 2019
    H1 District News
    H1 Ukulele Club connects Bulverde Creek teachers
    H1 NEISD Clothes Closet helps support District families
    H1 Action for Healthy Kids honors Colonial Hills teacher
    H2 Tell Your Story #theNEISDway
    H2 North East ISD
    H3 NEISD at a Glance
    H3 Connect with us

    JavaScript Information

    
    <script type="text/javascript"> 
    
     staticURL "https://www.neisd.net/Static/";
     SessionTimeout "50";
     BBHelpURL "";
    
    </script>
    
    
    

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

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

    
     <script type="text/javascript" src="https://www.neisd.net/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>
    
    


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


    neisd.net 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 'True';
    	            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" src="css_browser_selector.js"></script>
    
    

    
    <script type="text/javascript"> 
    
    $(function() {
    	    $(".ui-article-description span").css("color""#000");
    	    $("#gb-footer").append("<div id='gopubliclogo' class=' footer column three'><a href='http://www.wegopublic.com/' target='_blank'><img src='/cms/lib/TX02215002/Centricity/domain/4/web admin/gopublicsa.png' alt='Go Public Logo'>");
    	    $(".gb.footer.one").append("<div class='cs-contact logo'  id='gopubliclogo2' style='vertical-align: bottom;
    	padding: 10px 0px 0px 20px;
    	'><a href='http://www.wegopublic.com/' target='_blank'><img src='/cms/lib/TX02215002/Centricity/domain/4/web admin/gopublicsa.png' style='height: 66px;
    	' alt='Go Public Logo'>");
    	    if ($("#gb-page.atlas").length>0){ $("#gopubliclogo").hide();
    		}
    	    $('.miniButton').prepend("<button aria-label='Go to previous page.' onclick='goBack();
    	'>Back");
    	    if($('#gb-page.atlas').length) {
    		        $('#sw-search-button').attr({
    			            'onclick''csGoToSearchResults();
    			return false;
    			',
    			            'onkeydown''if(event.keyCode==13){csGoToSearchResults();
    				return false;
    				}'
    			});
    		        $('#sw-search-input').attr({
    			            'onkeydown''if(event.keyCode==13){csGoToSearchResults();
    				return false;
    				}'
    			});
    		}
    	});
    $(window).load(function() {
    	    $('#sw-search-button').unbind('keyup')
    	    $('#sw-search-input').unbind('keyup');
    	});
    function csGoToSearchResults() {
    	    if($.trim($('#sw-search-input').val()) != '' && $.trim($('#sw-search-input').val()).toLowerCase() != 'search') {
    		        window.location.href="/site/Default.aspx?PageType=6&SiteID=4&SearchString=" + $('#sw-search-input').val();
    		} else {
    		        return false;
    		}
    	}
    //--> Added by Chris Case 02843215
    function goBack() {
    	    window.history.back();
    	}
    //--> End Case 02843215
    $(function(){
    	    //--> Added by Chris Case 02843215
    	    if (!$('.northeastisd').length) {
    		//added this if statement to exclude district custom template by Lyndsay - Case 02849740 - 7.13.17
    		        if($('.headlines > .ui-return:contains("Return to Headlines")').length) {
    			            $('.headlines > .ui-return:contains("Return to Headlines")').remove();
    			            $('.headlines').prepend("<button aria-label='Go to previous page.' onclick='goBack();
    			'>Back");
    			}
    		}
    	    $('#cs-sw-footer-outer').remove();
    	 //--> Added by Chris Case 02843197
    	});
    $(do***ent).ready(function(){
    	  //--> Added by Chris Case 004586***
    	    if($(window).width() > 1024){
    		      $('.minibase option[value="C"]').attr("selected""selected");
    		 //ADDED BY LYNDSAY - CASE 02780272 - 6.30.17
    		        $('.minibase option[value="S"]').removeAttr("selected");
    		 //ADDED BY LYNDSAY - CASE 02780272 - 6.30.17
    		       /* if($(".minibase option[value='S'").length ){ COMMENTED OUT BY LYNDSAY - CASE 02780272 - 6.30.17
    			            $(".minibase option[value='S'").removeAttr("selected");
    			            $(".minibase option[value='C'").attr("selected", "true");
    			}*/
    		}
    	    //--> End Case 004586***
    	});
    
    </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"> 
    
    $(function() {
    	  if($("#gb-page.atlas").length){
    		    $.schoolListMinibase({
    			    'miniBaseDomainID'4,
    			    'miniBaseModuleInstanceID'2351,
    			    '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 '';
    				      for(var i in schoolList) {
    					        if(schoolList[i].schoolVisible.toLowerCase() == 'true') {
    						          schools += '<li><a href=\'' schoolList[i].schoolUrl '\' tabindex=\'-1\'>' schoolList[i].schoolName '';
    						}
    					}
    				      $('.sw-mystart-dropdown.schoollist .sw-dropdown-list').html(schools);
    				}
    			});
    		}
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    if ('matchMedia' in window) {
    	    // Chrome, Firefox, and IE 10 support mediaMatch listeners
    	    window.matchMedia('print').addListener(function(media) {
    		        if (media.matches) {
    			            beforePrint();
    			} else {
    			            // Fires immediately, so wait for the first mouse movement
    			            $(do***ent).one('mouseover'afterPrint);
    			}
    		});
    	} else {
    	    // IE and Firefox fire before/after events
    	    $(window).on('beforeprint'beforePrint);
    	    $(window).on('afterprint'afterPrint);
    	}
    function beforePrint() {
    	    $("#AllContent").hide();
    	    $(".PrintMessage").show();
    	}
    function afterPrint() {
    	    $(".PrintMessage").hide();
    	    $("#AllContent").show();
    	}
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
      (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','https://www.google-analytics.com/analytics.js','ga');
      ga('create''UA-61***58***-1''auto');
      ga('send''pageview');
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        (function(h,o,t,j,a,r){
    	        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
    	        h._hjSettings={hjid:26***33,hjsv:6};
    	        a=o.getElementsByTagName('head')[0];
    	        r=o.createElement('script');
    	r.async=1;
    	        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
    	        a.appendChild(r);
    	})(window,do***ent,'https://static.hotjar.com/c/hotjar-','.js?sv=');
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function() {
    	 $("#sw-footer-outer").css("color""#cecece");
    	$("#sw-footer-inner").append("<div class='cmpsfootrlinks' style='margin-top:15px !important;
    	text-align:center;
    	 width:100%;
    	' ><a href='/page/19320' target='_blank' style='color:#000;
    	'>Web Accessibility <a href='https://www.neisd.net/page/23140' target='_blank' style='color:#000;
    	'>| Website Issue");
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
            $(do***ent).ready(function() {
    	 $("#sw-footer-inner").css("color""#cecece");
    	$("#sw-footer-left").append("<div class='mobilecmpsfootrlinks' style='margin-top:15px !important;
    	margin-left:8%;
    	' ><a href='/page/19320' target='_blank' style='color:#000;
    	'>Web Accessibility <a href='https://www.neisd.net/cms/module/selectsurvey/TakeSurvey.aspx?SurveyID=124' target='_blank' style='color:#000;
    	'>| Website Issue");
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    function googleTranslateElementInit() {
    	  new google.translate.TranslateElement({pageLanguage'en'layoutgoogle.translate.TranslateElement.FloatPosition.TOP_LEFTgaTracktruegaId'UA-61***58***-1'}, 'google_translate_element');
    	  do***ent.getElementsByClassName('goog-te-combo')[0].setAttribute("title""Google Translate language");
    	}
    
    </script>
    
    
    

    
     <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
    
    

    
    <script type="text/javascript"> 
    
    $(function() {
    	  if($("#gb-page.atlas").length){$("#google_translate_element").hide();
    		}
    	});
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
    $(do***ent).ready(function() {
    	  var bannedColors = ['rgb(0, 255, 255)''rgb(60, 179, 113)''rgb(0, 191, 255)''rgb(***6, 85, 211)''rgb(47, 79, 79)''rgb(0, 128, 128)''rgb(102, 205, 170)''rgb(70, 130, ***0)''rgb(75, 0, 130)''rgb(112, 128, 144)''rgb(255, 215, 0)''rgb(255, 140, 0)''rgb(199, 21, 133)''rgb(119, 136, 153)''rgb(255, 165, 0)''rgb(255, 69, 0)''rgb(220, 20, 60)''rgb(192, 192, 192)''rgb(154, 205, 50)''rgb(178, 34, 34)''rgb(147, 112, 219)''rgb(0, 139, 139)''rgb(30, 144, 255)''rgb(173, 255, 47)''rgb(165, 42, 42)''rgb(72, 61, 139)''rgb(32, 178, 170)''rgb(25, 25, 112)'];
    	  $('.ui-widget').find('a').each(function() {
    		    if($.inArray($(this).css('color'), bannedColors) >= 0) {
    			      $(this).css('color''#00529F');
    			}
    		});
    	});
    
    </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-v2/creative.responsive.menu.v2.min.js"></script>
    
    

    
     <script type="text/javascript" src="/cms/lib/TX02215002/Centricity/Template/***/cs.rs.multimedia.rotator.v2.adam.min.js"></script>
    
    

    
     <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/joel/mod-events/joel.mod-events.min.js"></script>
    
    

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

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


    neisd.net is using ga
    
    <script type="text/javascript"> 
    
        var isMyViewPage = ($("#pw-body").length) ? true false;
        $(window).load(function(){ 
    	        calendarListView();
    	        searchText();
    	        accessibilityFunctions();
    	        navLine();
    	    });
        $(function(){
    	        $(window).resize(function(){ 
    		            jsMediaQueries();
    		            calendarListView();
    		            navLine();
    		        });
    	            rsMenu();
    	            jsMediaQueries();
    	            modEvents();
    	            dynamicContent();
    	            appAccordion();
    	            pageListAccordion();
    	            useChannelForSection();
    	            mmRotator();
    	            stickyHeader();
    	            backToTop();
    	            viewAllHeadlines();
    	            customSchoolSearch();
    	    });
        function jsMediaQueries() {
    	        switch(csGetBreakPoint()) {
    		            case "desktop": 
    		            break;
    		            case "768":
    		            break;
    		            case "640":
    		            break;
    		            case "480":
    		                getSocial();
    		            break;
    		            case "320":
    		                getSocial();
    		            break;
    		        }
    	    }
        function customSchoolSearch(){
    	        if($("#search-options").length){
    		            alphaSetup();
    		            alphaClick();
    		            typeClick();
    		            allClick();
    		}
    	}
        function alphaSetup(){
    	        //CREATE AN EMPTY ARRAY FOR SCHOOL FIRST LETTERS
    	        var schoolLetters [];
    	        var schoolType "";
    	        var magnetSchool "";
    	        $(".school-info").each(function(){
    		            var firstLetter = $(this).find("h3.percent").text().charAt(0);
    		            var schoolTypeRaw = $(this).find(".fraction").text().trim().charAt(0);
    		            if($(this).find(".magnet").text().trim() == "magnet"){
    			                magnetSchool "true";
    			} else {
    			                magnetSchool "false";
    			}
    		            switch(schoolTypeRaw){
    			                case "9":
    			                    if(magnetSchool === "true"){
    				                        schoolType "High Magnet";
    				} else {
    				                        schoolType "High";
    				}
    			                break;
    			                case "6":
    			                    if(magnetSchool === "true"){
    				                        schoolType "Middle Magnet";
    				} else {
    				                        schoolType "Middle";
    				}
    			                break;
    			                case "K": case "P":
    			                    if(magnetSchool === "true"){
    				                        if(schoolTypeRaw == "P"){
    					                            schoolType "Elementary Pre-K Magnet";
    					} else {
    					                            schoolType "Elementary Magnet";
    					}
    				} else {
    				                        if(schoolTypeRaw == "P"){
    					                            schoolType "Elementary Pre-K";
    					} else {
    					                            schoolType "Elementary";
    					}
    				} 
    			                break;
    			                default:
    			                    schoolType "none";
    			                break;
    			}
    		            //IF THE LETTER DOES NOT ALREADY EXIST IN THE ARRAY, PUSH IT INTO THE ARRAY
    		            schoolLetters.indexOf(firstLetter) === -schoolLetters.push(firstLetter) : "";
    		            //console.log(firstLetter);
    		            $(this).addClass("first-letter-"+firstLetter+" "+schoolType);
    		})
    	        schoolLetters schoolLetters.sort();
    	        var letterHTML '';
    	         for(var i in schoolLetters) {
    		             letterHTML += "<button class='letter'>"+schoolLetters[i]+"";
    		}
    	         $("#alphabet-container").prepend(letterHTML);
    	        //console.log(schoolLetters);
    	}
        function alphaClick(){
    	        $("button.letter").on('click keypress', function(event){
    		            if(globalClickForButtons(event) === true){
    			                //DONT LET THE PAGE JUMP ON KEYPRESS
    			                event.preventDefault();
    			                var firstLetter = $(this).text();
    			                $("button.school-type, #alphabet-container .letter, #show-all, #by-address").removeClass("active");
    			                $("#sw-content-minibaselist578 .school-info").hide();
    			                $("#home-address").slideUp();
    			                $(this).addClass("active");
    			                $("#sw-content-minibaselist578 .school-info.first-letter-"+firstLetter).show();
    			}
    		});
    	}
        function typeClick(){
    	        $("button.school-type").on('click keypress', function(event){
    		            if(globalClickForButtons(event) === true){
    			                //DONT LET THE PAGE JUMP ON KEYPRESS
    			                event.preventDefault();
    			                var schoolType = $(this).text();
    			                $("button.school-type, #alphabet-container .letter, #show-all, #by-address").removeClass("active");
    			                $("#sw-content-minibaselist578 .school-info").hide();
    			                $("#home-address").slideUp();
    			                $(this).addClass("active");
    			                $("#sw-content-minibaselist578 .school-info."+schoolType).show();
    			}
    		});
    	}
        function allClick(){
    	        $("#show-all").on('click keypress', function(event){
    		            if(globalClickForButtons(event) === true){
    			                //DONT LET THE PAGE JUMP ON KEYPRESS
    			                event.preventDefault();
    			                $("button.school-type, #alphabet-container .letter, #by-address").removeClass("active");
    			                $("#home-address").slideUp();
    			                $(this).addClass("active");
    			                 $("#sw-content-minibaselist578 .school-info").show();
    			}
    		});
    	}
        function goBack() {
    	        window.history.back();
    	    }
        function viewAllHeadlines(){
    	        //CHECK TO SEE IF WE ARE ON A VIEW ALL HEADLINES PAGE
    	        if($(".sp .headlines").length){
    		            var numApps = $(".sp.column.two .app").length;
    		            if(numApps == 1){
    			                $(".sp .ui-widget.app.headlines").prepend("<button class='headlines-back-button' onclick=\"goBack()\">Back ");
    			}
    		}
    	}
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   STICKY HEADER  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function stickyHeader(){
    	        $(do***ent).scroll(function() {
    		            var distanceFromTop = $(this).scrollTop();
    		            var channelBarHeight = $("nav").height();
    		            var headerHeight = $("#gb-header-outer").height();
    		            if(distanceFromTop >= headerHeight){
    			                $("#gb-page").addClass("sticky-header");
    			                $("#hp-content-top").css("margin-top",channelBarHeight);
    			} else {
    			                $("#gb-page").removeClass("sticky-header");
    			                $("#hp-content-top").css("margin-top","0px");
    			}
    		            if($(".sp").length && $(".ui-widget.app.calendar").length) {
    			                if($(".wcm-controls").hasClass("wcm-stuck")) {
    				                    $(".wcm-controls").css("margin-top", $("#gb-channel-list-outer").outerHeight(true));
    				}
    			}
    		            $("#sw-maincontent").css({
    			                "display""block",
    			                "position""relative",
    			                "top""-" + $("#gb-channel-list-outer").outerHeight(true) + "px"
    			});
    		        });
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   NAV LINE  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
    function navLine(){
    	        if ($(".sw-channel-item.active").length) {
    		//added if statement to wrap code below by Lyndsay - Case 00561611 - 6.14.17
    		            var channelBarHeight = $("nav").height();
    		            if(channelBarHeight 64){
    			                $("#nav-line").css("bottom","64px");
    			}
    		            var $elementleftPosnewWidth,
    		            $mainNav = $("#channel-navigation");
    		            if(!$("#nav-line").length){
    			                $mainNav.append("<li id='nav-line'>");
    			}
    		            var $navLine = $("#nav-line");
    		            var elementWidth = $(".sw-channel-item.active").width();
    		            var middleOfElement elementWidth 2;
    		            $navLine
    		                //.width($(".sw-channel-item.active").width())
    		                .css("left", $(".sw-channel-item.active").position().left middleOfElement)
    		                .data("origLeft"$navLine.position().left)
    		                .data("origWidth"$navLine.width());
    		            $("#channel-navigation > li").hover(function() {
    			                var elementWidth = $(this).width();
    			                var middleOfElement elementWidth 2;
    			                $element = $(this);
    			                leftPos $element.position().left middleOfElement;
    			                newWidth $element.width();
    			                $navLine.stop().animate({
    				                    leftleftPos
    				                    //width: newWidth
    				});
    			}, function() {
    			                $navLine.stop().animate({
    				                    left$navLine.data("origLeft")
    				                    //width: $navLine.data("origWidth")
    				});
    			});
    		}
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   GET SOCIAL  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function getSocial(){
    	        if(!$("#get-social-header").hasClass("initiate")){
    		            $("#get-social-header").click(function(){
    			                switch(csGetBreakPoint()) {
    				                    case "480":
    				                    case "320":
    				                        if($(this).parent().hasClass("open")){
    					                            $(this).next().slideUp();
    					                            $(this).parent().removeClass("open").addClass("closed");
    					                        } else {
    					                            $(this).next().slideDown();
    					                            $(this).parent().addClass("open");
    					                        }
    				                    break;
    				                }
    			            })
    		            $("#get-social-header").addClass("initiate");
    		        }
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   BACK TO TOP  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function backToTop(){
    	        $(do***ent).scroll(function() {
    		            var distanceFromTop = $(this).scrollTop();
    		                if(distanceFromTop >= 500){
    			                    $("#gb-page").addClass("to-top");
    			                } else {
    			                    $("#gb-page").removeClass("to-top");
    			                }
    		        });
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   GLOBAL A11Y CLICK  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function globalClick(event){
    	        if(event.type === 'click'){
    		            return true;
    		}
    	        else if(event.type === 'keypress'){
    		            var code event.charCode || event.keyCode;
    		            if((code === 32)|| (code === 13)){
    			                return true;
    			}
    		}
    	        else{
    		            return false;
    		}
    	}
        //NEED A SPECIFIC GLOBAL CLICK FOR BUTTONS THAT ELIMINATES THE SPACEBAR
        //SINCE IT FUNCTIONS NATIVELY, THE EVENTS HAPPEN TWICE IF WE DO NOT ELIMINATE
        function globalClickForButtons(event){
    	        if(event.type === 'click'){
    		            return true;
    		}
    	        else if(event.type === 'keypress'){
    		            var code event.charCode || event.keyCode;
    		            if(code === 13){
    			                return true;
    			}
    		}
    	        else{
    		            return false;
    		}
    	}
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   MOD MYSTART  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function modMyStart(){
    	        if($(".sw-mystart-dropdown.schoollist").length){
    		            //BUILDING MY OWN SCHOOLLIST
    		        var acSchoolList '';
    		        $(".sw-mystart-dropdown.schoollist li").each(function(){
    			            var schoolItem = $(this).html();
    			            acSchoolList += "<li>"+schoolItem+"";
    			});
    		        $("#ac-school-list").append(acSchoolList);
    		        $(".ac-dropdown-container.school-list").show();
    		}
    	        //MOVING ANY MYSTART ELEMENTS TO MATCH DESIGN
    	        $("#sw-mystart-search").appendTo("#header-right-top");
    	        //CALL TRANSLATE FUNCTION
    	        addFramesetTranslate();
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   DYNAMIC CONTENT  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */      
        function dynamicContent() {
    	        // ********** MYSTART ********** //
    	        $(".ac-dropdown-container .selector").on('click keypress', function(event){
    		            if(globalClick(event) === true){
    			                //DONT LET THE PAGE JUMP ON KEYPRESS
    			                event.preventDefault();
    			                controlDropdowns(event);
    			}
    		});
    	        //GLOBALLY CLOSE DROPDOWNS WHEN HOVERED AWAY FROM
    	        $(".ac-dropdown-container").hover(function(e) {
    		            e.preventDefault();
    		        }, function() {
    		            $(".ac-dropdown",this).attr("aria-hidden""true").slideUp(300"swing");
    		            $(this).removeClass("open");
    		        });
    	        //SHOW USER OPTIONS IF THEY ARE LOGGED IN
    	        if($("#sw-mystart-account").length){
    		            $("#gb-page").addClass("logged-in");
    		            $(".ac-mystart-button.user.logged").show();
    		            $("#sw-mystart-mypasskey").removeClass("sw-mystart-button").addClass("ac-mystart-button").insertBefore(".ac-mystart-button.manage");
    		} else {
    		             //HIDE REGISTER BUTTON IF HIDDEN IN SITE MANAGER
    		              if(!$("#ui-btn-register").length){
    			                  $(".ac-mystart-button.signin").show();
    			} else {
    			                  $(".ac-mystart-button.user").not(".logged").show();
    			}
    		}
    	        $(".ac-mystart-button:visible:last").addClass("last-visible");
    	        // ********** HEADER ********** //
    	        //SOCIAL ICON HOVERS
    	        $(".social-icon").hover(function() {
    		            $(".gb-social-icons").addClass("hovering");
    		        }, function() {
    		            $(".gb-social-icons").removeClass("hovering");
    		        });
    	        $(".social-icon").focus(function() {
    		            $(".gb-social-icons").addClass("hovering");
    		        });
    	        $(".social-icon").focusout(function() {
    		            $(".gb-social-icons").removeClass("hovering");
    		        });
    	        // ADD LOGO
    	        var logoCheck "true";
    	        var logoSrc jQuery.trim("/cms/lib/TX02215002/Centricity/Template/GlobalAssets/images///logos/ne-isd-logo.png");
    	        if(logoCheck == "true") {
    		            var srcSplit logoSrc.split("/");
    		            var srcSplitLen srcSplit.length;
    		            if((logoSrc != "") && (srcSplit[srcSplitLen 1] != "default-man.jpg")) {
    			                $("#gb-logo").append('<a href="/northeastisd" title="North East Independent School District"><img src="' logoSrc '" alt="North East Independent School District" />').removeClass("hidden");
    			            } else {
    			                $("#gb-logo").append('<a href="/northeastisd" title="North East Independent School District"><img src="/cms/lib3/SW00000036/Centricity/template/234/logos/fairbanks-logo.png" alt="North East Independent School District" />').removeClass("hidden");
    			            }
    		        }
    	        // ADD SITENAME
    	        var siteNameOne jQuery.trim('North East');
    	        var siteNameTwo jQuery.trim('Independent School District');
    	        var siteTagline jQuery.trim('Discover NEISD');
    	        if((siteNameOne == "") && (siteNameTwo == "")) {
    		            var splitLen 2;
    		            var siteName "North East Independent School District";
    		            siteName siteName.split(" ");
    		            var siteNameLength siteName.length;
    		            if(siteNameLength 2){
    			                siteNameEnd jQuery.trim(siteName.splice(-splitLensiteName.length).toString().replace(/,/g" "));
    			            } else {
    			                siteNameEnd jQuery.trim(siteName.splice(-1siteName.length).toString().replace(/,/g" "));
    			            }
    		            siteNameBegin jQuery.trim(siteName.toString().replace(/,/g" "));
    		            $("#gb-sitename").prepend("<h1><span>" siteNameBegin "<br>" siteNameEnd "");
    		        } else if((siteNameOne != "") && (siteNameTwo == "")) {
    		            $("#gb-sitename").prepend("<h1><span>" siteNameOne "");
    		        } else if((siteNameOne == "") && (siteNameTwo != "")) {
    		            $("#gb-sitename").prepend("<h2>" siteNameTwo "");
    		        } else if((siteNameOne != "") && (siteNameTwo != "")) {
    		            $("#gb-sitename").prepend("<h1>" siteNameOne "<br/><span>" siteNameTwo "<h2>"+siteTagline+"");
    		        }
    	        // ********** CHANNEL BAR ********** //
    	        $(".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");
    		        });
    	        //MyNEISD
    	        $(".sw-channel-item").each(function(){
    		            if($("> a span"this).text() == "MyNEISD"){
    			                $(this).addClass("my-neisd");
    			}
    		})
    	        // ********** BODY ********** //
    	        //PHOTO ELEMENT HOVERS
    	        $(".element-txt a").focus(function() {
    		            $(this).parent().addClass("hovering");
    		        });
    	        $(".element-txt a").focusout(function() {
    		            $(this).parent().removeClass("hovering");
    		        });
    	        //WHY CHOOSE HOVERS
    	        $("#hp-content-middle .hp.column.two").hover(function() {
    		            $(this).addClass("hovering");
    		        }, function() {
    		            $(this).removeClass("hovering");
    		        });
    	        $("#hp-content-middle .hp.column.two").focus(function() {
    		            $(this).addClass("hovering");
    		        });
    	        $("#hp-content-middle .hp.column.two").focusout(function() {
    		            $(this).removeClass("hovering");
    		        });
    	        //HF HOVERS
    	        $(".ui-hp div.ui-widget.app.headlines .ui-article-title a").hover(function() {
    		            $(this).closest("li").addClass("hovering");
    		        }, function() {
    		            $(this).closest("li").removeClass("hovering");
    		        });
    	        $(".ui-hp div.ui-widget.app.headlines .ui-article-title a").focus(function() {
    		            $(this).closest("li").addClass("hovering");
    		        });
    	        $(".ui-hp div.ui-widget.app.headlines .ui-article-title a").focusout(function() {
    		            $(this).closest("li").removeClass("hovering");
    		        });
    	        //EVENT HOVERS
    	        $(".upcomingevents .sw-calendar-block-title a").hover(function() {
    		            var parentList = $(".upcomingevents .ui-articles");
    		            $(this).closest("li"parentList).addClass("hovering");
    		            $(this).addClass("hovered");
    		        }, function() {
    		            var parentList = $(".upcomingevents .ui-articles");
    		            $(this).closest("li"parentList).removeClass("hovering");
    		            $(this).removeClass("hovered");
    		        });
    	        $(".upcomingevents .sw-calendar-block-title a").focus(function() {
    		            var parentList = $(".upcomingevents .ui-articles");
    		            $(this).closest("li"parentList).addClass("hovering");
    		            $(this).addClass("hovered");
    		        });
    	        $(".upcomingevents .sw-calendar-block-title a").focusout(function() {
    		            var parentList = $(".upcomingevents .ui-articles");
    		            $(this).closest("li"parentList).removeClass("hovering");
    		            $(this).removeClass("hovered");
    		        });
    	        //SITESHORTCUT HOVERS
    	        $(".site-shortcuts > li").hover(function() {
    		            $(this).addClass("hovering");
    		        }, function() {
    		            $(this).removeClass("hovering");
    		        });
    	        $(".site-shortcuts > li > a").focus(function() {
    		            $(this).closest("li").addClass("hovering");
    		        });
    	        $(".site-shortcuts > li > a").focusout(function() {
    		            $(this).closest("li").removeClass("hovering");
    		        });
    	        //FLIP BULLET ORDER IN NAVIGATION APPS
    	        $(".app.navigation").each(function(){
    		            $("li"this).each(function(){
    			                $("> .bullet",this).insertAfter($(this).find("> a"));
    			            })
    		})
    	        //SHOW Social Feeds if they exist
    	        if($("#hp-bottom-bottom .app").length){
    		            $("#hp-bottom-bottom").show();
    		}
    	        // AUTO FOCUS SIGN IN FIELD
    	        $("#swsignin-txt-username").focus();
    	        //PLACE THE HEADLINES READ MORE BUTTON INTO THE APP HEADER, AND ADJUST RSS BUTTON
    	        $(".ui-hp .headlines").each(function(){
    		            //$("a.more-link", this).prependTo(".ui-widget-footer", this).show();
    		            var moreLinkURL = $(this).find("a.more-link").attr("href");
    		            $(this).find(".ui-widget-header h1").append("<a class='hide480 app-header-link' href='"+moreLinkURL+"'><span>VIEW ALL");
    		            $(this).find(".ui-widget-detail").append("<a class='view-all-mobile show480' href='"+moreLinkURL+"'><span>VIEW ALL");
    		            $(this).find(".rss span").text("subscribe to our feed");
    		        });
    	        //PLACE THE UPCOMING EVENTS VIEW ALL BUTTON INTO THE APP HEADER
    	        $(".upcomingevents").each(function(){
    		            var viewEventsURL = $(this).find("a.view-calendar-link").attr("href");
    		            $(this).find(".ui-widget-header h1").append("<a class='hide480 app-header-link' href='"+viewEventsURL+"'><span>VIEW ALL");
    		            $(this).find(".ui-widget-detail").append("<a class='view-all-mobile show480' href='"+viewEventsURL+"'><span>VIEW ALL");
    		        });
    	        //FIX FIRST BREADCRUMB
    	        $(".ui-breadcrumb-first span").text("Home").show();
    	        //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"});
    		            //ADD SIGNED OUT BREADCRUMB
    		            $(".ui-breadcrumbs").append("<li>Signed Out");
    		        }
    	        //ADD SIGN IN BREADCRUMB
    	        if($("#swlogin").length){
    		            $("#sw-content-layout-wrapper .ui-widget.app").addClass("signin");
    		            $(".ui-breadcrumbs").append("<li class='ui-breadcrumb-last'>Sign In");
    		        }
    	        //REGISTER BREADCRUMB
    	        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");
    		        }
    	        //SEARCH RESULTS BREADCRUMB
    	        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");
    		        }
    	        // ADD READ FULL STORY BUTTON TO EACH HEADLINE
    	        $(".ui-hp .ui-widget.app.headlines").each(function(){
    		            $(".ui-article"this).each(function(){
    			                var headlineURL = $("h1 a"this).attr("href");
    			                $(".ui-article-description"this).after('<a class="custom-read-more" aria-hidden="true" href="' headlineURL '">Read More');
    			                $(this).wrapInner("<div class='headline-text-wrapper'>");
    			                $(".ui-article-thumb"this).prependTo(this);
    			});
    		});
    	        $(".sp .headlines").each(function(){
    		            $(this).find(".more-link span").addClass("app-header-link").text("View More");
    		            $(this).find(".more-link").show();
    		});
    	        // 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"});
    			}
    		});
    	        // MAKE NAVIGATION APPS ACCESSIBLE
    	        $(".ui-widget.app.navigation").csAccessibleNavigationApp();
    	        // ********** FOOTER ********** //    
    	        // FOOTER LINKS
    	        $("#to-top").click(function(e){
    		            e.preventDefault();
    		                    $("html, body").animate({ scrollTop0
    			}, "slow", function() {
    			                        $("li.sw-channel-item:first-child > a").focus();
    			                    });
    		        });
    	        $(".link-row").each(function(){
    		            $(".footer-link:visible:last"this).addClass("last");
    		})
    	    }  
        function controlDropdowns(event){
    	        var dropdownToOpen = $(event.currentTarget).parent().find(".ac-dropdown-list").attr("id");
    	        if($("#"+dropdownToOpen).parent().parent().hasClass("open")){
    		            $("#"+dropdownToOpen).parent().attr("aria-hidden""true").slideUp(300"swing");
    		            $("#"+dropdownToOpen).parent().parent().removeClass("open");
    		            var ariaLabel = $("#"+dropdownToOpen).parent().prev().attr("aria-label");
    		            ariaLabel ariaLabel.split(" ");
    		            var newAriaLabel "Expand "+ariaLabel[1]+" "+ariaLabel[2];
    		            $("#"+dropdownToOpen).parent().prev().attr({
    			                "aria-expanded":"false",
    			                "aria-label":newAriaLabel
    			})
    		        } else {
    		            $("#"+dropdownToOpen).parent().attr("aria-hidden","false").slideDown(300"swing", function(){
    			                setTimeout(function(){
    				                    $("#"+dropdownToOpen).find("li:first a").focus();
    				                }, 100);
    			            });
    		            $("#"+dropdownToOpen).parent().parent().addClass("open");
    		             var ariaLabel = $("#"+dropdownToOpen).parent().prev().attr("aria-label");
    		            ariaLabel ariaLabel.split(" ");
    		            var newAriaLabel "Collapse "+ariaLabel[1]+" "+ariaLabel[2];
    		            $("#"+dropdownToOpen).parent().prev().attr({
    			                "aria-expanded":"true",
    			                "aria-label":newAriaLabel
    			})
    		        }
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   EVENTS LAYOUT  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        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 flippedDate '';
    		            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
    		            flippedDate '<span class="jeremy-date">' newDateTime[dateIndex] + ''+newDate;
    		            //append the date and month back into their columns
    		            $('.upcoming-column.left h1'this).html(flippedDate);
    		            //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).append('<span class="sw-calendar-block-time">All Day');
    				                }
    			                $(".sw-calendar-block-time"this).appendTo($(this));
    			            });
    		        });
    	    }    
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   GENERAL USE FUNCTIONS  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */    
        function searchText() {
    	        //SEARCH TEXT
    	        $("div#sw-mystart-search.sw-mystart-nav").unbind();
    	        $("div#sw-mystart-search input#sw-search-input").removeAttr("placeholder");
    	        $("div#sw-mystart-search input#sw-search-input").attr("value""");
    	        $("div#sw-mystart-search input#sw-search-input").focus(function() {
    		            if($(this).val() == "") {
    			                $(this).val("");
    			            }
    		        });
    	        $("div#sw-mystart-search input#sw-search-input").blur(function() {
    		            if($(this).val() == "") {
    			                $(this).val("");
    			            }
    		        });
    	    }
        function pageListAccordion() {
    	            $(".sp.column.one").csAppAccordion({
    		                "accordionBreakpoints" : [768640480320]
    		});
    	    }
        function useChannelForSection() {
    	        // 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>");
    		        }
    	        }
        function calendarListView() {
    	        // 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(csGetBreakPoint()) {
    		            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;
    		        }
    	    }
        function appAccordion() {
    	        $("#hp-bottom-top").csAppAccordion({
    		            "accordionBreakpoints" : [480320]
    		});
    	    }
        function csGetBreakPoint() {
    	        return window.getComputedStyle(do***ent.querySelector("body"), ":before").getPropertyValue("content").replace(/"|'/g, "");
    	/*"*/
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   MULTIMEDIA ROTATOR  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function mmRotator(){
    	            if(!$("#sw-content-container10.region.ui-hp .rs-gallery-container").length){
    		                // MULTIMEDIA ROTATOR
    		                $("#sw-content-container10.ui-hp div.ui-widget.app.cs-rs-multimedia-rotator").csRsMultimediaRotator({
    			                        "imageWidth"              580,
    			                        "imageHeight"             486,
    			                        "efficientLoad"           "yes",
    			                        "appHeader"               "no",
    			                        "titles"                  "yes",
    			                        "captions"                "yes",
    			                        "galleryOverlay"          "no",
    			                        "linkedElement"           : ["title"], // ["image", "title", "overlay", "all"]
    			                        "playPause"               "no",
    			                        "mainControls"            "yes",
    			                        "contMoreLink"            "no",
    			                        "contMoreLinkText"        "More",
    			                        "descMoreLink"            "yes",
    			                        "descMoreLinkText"        "Read More",
    			                        "bullets"                 "no",
    			                        "bulletControls"          "no",
    			                        "thumbnails"              "no",
    			                        "thumbnailWidth"          122,
    			                        "thumbnailHeight"         53,
    			                        "thumbnailSlideDirection" "horizontal"// horizontal or vertical
    			                        "hoverPause"              "yes",
    			                        "autoRotate"              "yes",
    			                        "fullScreenRotator"       "no"// image dimensions work well at 1500x915
    			                        "fullScreenBreakpoints"   : ["768"], // OPTIONS ARE ["960", "768", "640", "480", "320"]
    			                        "fullScreenVideo"         "no",
    			                        "transitionType"          "slide"// fade or slide
    			                        "transitionSpeed"         1,
    			                        "transitionDelay"         7,
    			                        "customResize" "yes",
    			                        "customResizeFunction" : function(elementimageWidthimageHeight) {
    				                            var screenWidth = $(window).width();
    				                            if(screenWidth <= 480){
    					                                imageWidth 480;
    					                                imageHeight 402;
    					                            } 
    				                            // RESET THE WIDTHS, HEIGHTS, AND SLIDE POSITION MAINLY IN CASE THE USER IS DRAGGING THE CORNER OF THEIR BROWSER
    				                            // UPDATE WIDTH AND HEIGHT VARIABLES
    				                            // SET viewWidth VARIABLE WITH A MAX-WIDTH OF config.imageWidth
    				                            //var viewWidth = ($(element).width() > imageWidth) ? imageWidth : $(element).width();
    				                            var viewWidth = $("#hp-content-top .hp.column.two").width();
    				                            var viewRatio imageHeight imageWidth;
    				                            var viewHeight viewWidth viewRatio;
    				                            var slideNum = $(".rs-gallery-images-list li"element).length;
    				                            var sliderWidth viewWidth slideNum;
    				                            if($(".rs-gallery-videos").length) {
    					                                var vidWidth = $(".rs-gallery-videos .video"element).width();
    					                                var vidHeight = $(".rs-gallery-videos .video"element).height() - 27;
    					                            }
    				                            // UPDATE LEFT POSITION OF VIEWER SLIDE
    				                            var slidePos = $(".rs-gallery-images-list li.active"element).index();
    				                            viewWidth parseInt(viewWidth);
    				                            var newPos slidePos viewWidth;
    				                            // SET THE CSS PROPERTIES
    				                            $(".rs-gallery-container"element).css({"height"viewHeight "px"});
    				                            $(".rs-gallery-container .rs-gallery-images"element).css({"height"viewHeight "px"});
    				                            $(".rs-gallery-container .rs-gallery-images .rs-gallery-images-list"element).css({"width"sliderWidth "px""height"viewHeight "px""left""-" newPos "px"});
    				                            $(".rs-gallery-container .rs-gallery-images .rs-gallery-images-list li"element).css({"width"viewWidth "px""height"viewHeight "px"});
    				                            $(".rs-gallery-container .rs-gallery-images .rs-gallery-images-list li img"element).removeAttr("style");
    				                            mmrColumnFix();
    				                        },
    			                        "onImageLoad"             : function() {
    				},
    			                        "allImagesLoaded"         : function() {
    				},
    			                        "onThumbnailLoad"         : function() {
    				},
    			                        "allThumbnailsLoaded"     : function() {
    				},
    			                        "onTransitionStart"       : function() {
    				},
    			                        "onTransitionEnd"         : function() {
    				},
    			                        "watchVidClick"           : function() {
    				},
    			                        "closeVidClick"           : function() {
    				},
    			                        "allLoaded"               : function() {
    				mmrColumnFix();
    				}
    			});
    		            }
    	    }
        function mmrColumnFix(){
    	        var mmrHeight = $("#hp-slideshow .rs-gallery-container").height();
    	        $("#hp-content-top .hp.column.three").height(mmrHeight);
    	}
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   RESPONSIVE MENU  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function rsMenu() {
    	           //ADD HEADER LINKS TO MOBILE MENU FOR 480 AND BELOW
    	           // function changed by Adam - 9.22.17 - Case #02919530
    	            var mobileSocialLinks = [
    	                ["Facebook""https://www.facebook.com/NorthEastISD/""block"],
    	                ["Twitter""https://twitter.com/NEISD""block"],
    	                ["Instagram""https://www.instagram.com/northeastisd/""block"],
    	                ["YouTube""https://www.youtube.com/channel/UCj-Ete3dXZ66QxudH2hlkYg/featured""block"],
    	                ["LinkedIn""#""none"]      
    	            ];
    	            var mobileSocial "";
    	            $.each(mobileSocialLinks, function(kv){
    		                if( v[2] != "none" mobileSocial += "1, " v[0] + ", " v[1] + ", _blank;
    		";
    		});
    	            //ADD GLOBAL HEADER LINKS TO MOBILE MENU - ADDED BY LYNDSAY - CASE 00562274 - 6.19.17
    	            var popLinks = [
    	                ["Skyward Family Access""https://portal.neisd.net/NEISDPortal/public#/SkywardLink/1/1045""_self"], // ARRAY ORDER - TEXT, LINK, TARGET
    	                ["Calendars""/Page/9237""_self"], // ARRAY ORDER - TEXT, LINK, TARGET
    	                ["Launchpad""https://launchpad.classlink.com/neisd""_blank"], // ARRAY ORDER - TEXT, LINK, TARGET
    	                ["Staff Directory""/Page/340""_self"// ARRAY ORDER - TEXT, LINK, TARGET
    	            ];
    	            var globalLinks "";
    	            $.each(popLinks, function(kv){
    		                if( v[2] != "" globalLinks += "2, " v[0] + ", " v[1] + ", " v[2] + ";
    		";
    		});
    	            var globalLinksHeader "";
    	            if( globalLinks != "" ){
    		                globalLinksHeader "Popular Links";
    		}
    	            // RESPONSIVE MAIN MENU
    	            $("body").csRsMenu({
    		                "breakPoint"            768// SYSTEM BREAK POINTS - 768, 640, 480, 320
    		                "slideDirection"        "left-to-right"// OPTIONS - left-to-right, right-to-left   
    		                "primaryColor"          '#1A1A1A'// DEFAULT - #1A1A1A
    		                "secondaryColor"        '#0C0C0C'// DEFAULT - #0C0C0C
    		                "accentColor"           '#BABABA'// DEFAULT - #BABABA
    		                "menuButtonParent"      "#mobile-masthead",
    		                "showMenuBtnText"       "yes",
    		                "menuBtnText"           "MENU",
    		                "showSchools"           "yes",
    		                "showTranslate"         "yes",
    		                "translateId"           "none",
    		                "showAccount"           "yes",
    		                "extraMenuOptions"      "Social Media;
    		" globalLinksHeader,
    		                "extraMenuItems"        mobileSocial globalLinks,  // EXTRA MENU BUTTONS - STRUCTURE IS: MENU-OPTION-NUMBER, ITEM-NAME, ITEM-URL, ITEM-TARGET;
    		                "siteID"                "4",
    		                "allLoaded"             : function(){
    			                    $('.rs-menu-option.account li a:contains("Sign")').attr("href""/site/SAMLLogin.aspx?IgnoreRedirect=true");
    			 //added by Lyndsay - Case 02778639 - 7.17.17
    			}
    		});
    	}
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   ACCESSIBILITY  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */
        function accessibilityFunctions(){
    	        $("#sw-search-button").attr({
    		            "aria-label":"Click to search",
    		            "role":"button"
    		});
    	        $("#sw-mystart-mypasskey").attr({
    		            "aria-label":    "Open My Passkey",
    		            "role":        "button"
    		        });
    	        // KEY MAPPING
    	        var csKeyCodes = { "enter"13"esc"27"space"32"end"35"home"36"left"37"up"38"right"39"down"40"tab"9
    		};
    	        //SEARCH BUTTON
    	        $("#sw-search-button").keydown(function(e){
    		            switch(e.keyCode) {
    			                // CONSUME ENTER AND SPACE KEYS
    			                case csKeyCodes.enter:
    			                case csKeyCodes.space:
    			                    e.preventDefault();
    			                    $(this).click();
    			                break;
    			            }
    		        });
    	        //GLOBAL KEYBOARD NAV FOR DD SELECTORS
    	        $(".ac-dropdown-container .selector").keydown(function(e) {
    		            var parentContainer = $(e.currentTarget).closest(".ac-dropdown-container").attr("class");
    		            var parentContainer parentContainer.split(" ");
    		            var parentContainer parentContainer[1];
    		            // CAPTURE KEY CODE
    		            switch(e.keyCode) {
    			                // CONSUME TAB KEY
    			                case csKeyCodes.tab:
    			                    if(e.shiftKey){
    				                        $(".ac-dropdown-container."+parentContainer+" .ac-dropdown").attr("aria-hidden""true").slideUp(300"swing");
    				                        $(".ac-dropdown-container."+parentContainer+"").removeClass("open");
    				                    } else {
    				                        e.preventDefault();
    				                        $(".ac-dropdown-container."+parentContainer+" .ac-dropdown").attr("aria-hidden""true").slideUp(300"swing");
    				                        $(".ac-dropdown-container."+parentContainer+"").removeClass("open");
    				                        switch(parentContainer){
    					                            case "user-options":
    					                                $("#gb-logo a").focus();
    					                            break;
    					                            case "translate":
    					                                $(".sw-channel-item:first > a").focus();
    					                            break;
    					                            case "school-list":
    					                                $(".ac-dropdown-container.translate .selector").focus();
    					                            break;
    					                        }
    				                    }
    			                break;
    			                // CONSUME LEFT AND UP ARROWS
    			                case csKeyCodes.down:
    			                case csKeyCodes.right:
    			                    e.preventDefault();
    			                    $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();
    			                break;
    			            }
    		        });
    	        //GLOBAL KEYBOARD NAV FOR DD LINKS
    	        $(".ac-dropdown-container li a").keydown(function(e) {
    		            var parentContainer = $(e.currentTarget).closest(".ac-dropdown-container").attr("class");
    		            var parentContainer parentContainer.split(" ");
    		            var parentContainer parentContainer[1];
    		            // CAPTURE KEY CODE
    		            switch(e.keyCode) {
    			                // CONSUME LEFT AND UP ARROWS
    			                case csKeyCodes.left:
    			                case csKeyCodes.up:
    			                    e.preventDefault();
    			                    // IS FIRST ITEM
    			                    if($(this).parent().is(":first-child")) {
    				                        // FOCUS DROPDOWN BUTTON
    				                        $(".ac-dropdown-container."+parentContainer+" .selector").focus();
    				                    } else {
    				                        // FOCUS PREVIOUS ITEM
    				                        $(this).parent().prev("li").find("> a").focus();
    				                    }
    			                break;
    			                // CONSUME RIGHT AND DOWN ARROWS
    			                case csKeyCodes.right:
    			                case csKeyCodes.down:
    			                    e.preventDefault();
    			                    // IS LAST ITEM
    			                    if($(this).parent().is(":last-child")) {
    				                        // FOCUS FIRST ITEM
    				                        $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();
    				                    } else {
    				                        // FOCUS NEXT ITEM
    				                        $(this).parent().next("li").find("> a").focus();
    				                    }
    			                break;
    			                // CONSUME TAB KEY
    			                case csKeyCodes.tab:
    			                    if(e.shiftKey){
    				                        e.preventDefault();
    				                        // IS FIRST ITEM
    				                        if($(this).parent().is(":first-child")) {
    					                            // FOCUS DROPDOWN BUTTON
    					                            $(".ac-dropdown-container."+parentContainer+" .selector").focus();
    					                        } else {
    					                            // FOCUS PREVIOUS ITEM
    					                            $(this).parent().prev("li").find("> a").focus();
    					                        }
    				                    } else {
    				                        e.preventDefault();
    				                        // IS LAST ITEM
    				                        if($(this).parent().is(":last-child")) {
    					                            // FOCUS FIRST ITEM
    					                            $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();
    					                        } else {
    					                            // FOCUS NEXT ITEM    
    					                            $(this).parent().next("li").find("> a").focus();
    					                        }
    				                    }
    			                break;
    			                // CONSUME HOME KEY
    			                case csKeyCodes.home:
    			                    e.preventDefault();
    			                    // FOCUS FIRST ITEM
    			                    $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:first-child > a").focus();
    			                break;
    			                // CONSUME END KEY
    			                case csKeyCodes.end:
    			                    e.preventDefault();
    			                    // FOCUS LAST ITEM
    			                    $(".ac-dropdown-container."+parentContainer+" .ac-dropdown-list li:last-child > a").focus();
    			                break;
    			                case csKeyCodes.esc:
    			                    $(".ac-dropdown-container."+parentContainer+" .ac-dropdown").attr("aria-hidden""true").slideUp(300"swing");
    			                        $(".ac-dropdown-container."+parentContainer+"").removeClass("open");
    			                        $(".ac-dropdown-container."+parentContainer+" .selector").focus();
    			                break;
    			            }
    		        });
    	    }
    /* ------------------------------   ____________________   ------------------------------ */
    /* ------------------------------   ADD TRANSLATOR  ------------------------------ */
    /* ------------------------------   ____________________   ------------------------------ */    
        function addFramesetTranslate(){
    	        /*$("#gb-header-dropdowns").creativeTranslate({
    		        "type": 2, // 1 = FRAMESET, 2 = BRANDED, 3 = API
    		        "advancedOptions": {
    			            "addMethod": "append", // PREPEND OR APPEND THE TRANSLATE ELEMENT
    			            "dropdownHandleText": "Translate this page...", // ONLY FOR FRAMESET AND API VERSIONS
    			            "useTranslatedNames": true, // ONLY FOR FRAMESET AND API VERSIONS - true = TRANSLATED LANGUAGE NAME, false = ENGLISH LANGUAGE NAME
    			            "apiKey": "", // ONLY FOR API VERSION
    			            "brandedLayout": 1 // 1 = VERTICAL (TEXT UNDER SELECT), 2 = HORIZONTAL (TEXT BESIDE SELECT), 3 = NON-RESPONSIVE MEGA DROPDOWN
    			},
    		        "translateLoaded": function() {
    			} // CALLBACK TO RUN YOUR CUSTOM CODE AFTER EVERYTHING IS READY
    		});
    	*/
    	        var pageURL window.location.href;
    	        pageURL encodeURIComponent(pageURL);
    	        var translateDropdown '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|es&hl=en&anno=0&ie=UTF8">English to Spanish' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|ar&hl=en&anno=0&ie=UTF8">English to Arabic' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|zh-CN&hl=en&anno=0&ie=UTF8">English to Chinese (Simplified)' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|zh-TW&hl=en&anno=0&ie=UTF8">English to Chinese (Traditional)' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|fr&hl=en&anno=0&ie=UTF8">English to French' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|de&hl=en&anno=0&ie=UTF8">English to German' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|it&hl=en&anno=0&ie=UTF8">English to Italian' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|ja&hl=en&anno=0&ie=UTF8">English to Japanese' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|ko&hl=en&anno=0&ie=UTF8">English to Korean' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|pt&hl=en&anno=0&ie=UTF8">English to Portuguese' +
    	                                    '' +
    	                                    '<li>' +
    	                                        '<a href="http://translate.google.com/translate?u=' pageURL '&langpair=en|ru&hl=en&anno=0&ie=UTF8">English to Russian' +
    	                                    '';
    	        var pageHost window.location.host;
    	        if(pageHost != "translate.googleusercontent.com")
    	        {                
    		            $(translateDropdown).prependTo("#ac-translate-list");
    		        }
    	    }
    
    </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''TX02215002');
        ga('BBTracker.set''dimension4''4');
        ga('BBTracker.set''dimension5''1');
        ga('BBTracker.set''dimension6''1');
        ga('BBTracker.send''pageview');
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    window.NREUM||(NREUM={});
    NREUM.info = {"beacon":"bam.nr-data.net","errorBeacon":"bam.nr-data.net","licenseKey":"e84461d315","applicationID":"16221762","transactionName":"Z1MEZEtSVkoFBxIKX14ZJ2NpHFxcAgUTD0QeVxVAQQ==","queueTime":0,"applicationTime":48,"agent":"","atts":""}
    </script>
    
    
    

    
    <script type="text/javascript"> 
    (window.NREUM||(NREUM={})).loader_config={licenseKey:"e84461d315",applicationID:"16221762"};
    window.NREUM||(NREUM={}),__nr_require=function(e,n,t){function r(t){if(!n[t]){var o=n[t]={exports:{}};
    			e[t][0].call(o.exports,function(n){var o=e[t][1][n];
    				return r(o||n)},o,o.exports)}return n[t].exports}if("function"==typeof __nr_require)return __nr_require;
    	for(var o=0;
    	o<t.length;
    	o++)r(t[o]);
    	return r}({1:[function(e,n,t){function r(){}function o(e,n,t){return function(){return i(e,[c.now()].concat(u(arguments)),n?null:this,t),n?void 0:this}}var i=e("handle"),a=e(3),u=e(4),f=e("ee").get("tracer"),c=e("loader"),s=NREUM;
    		"undefined"==typeof window.newrelic&&(newrelic=s);
    		var p=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],d="api-",l=d+"ixn-";
    		a(p,function(e,n){s[n]=o(d+n,!0,"api")}),s.addPageAction=o(d+"addPageAction",!0),s.setCurrentRouteName=o(d+"routeName",!0),n.exports=newrelic,s.interaction=function(){return(new r).get()};
    		var m=r.prototype={createTracer:function(e,n){var t={},r=this,o="function"==typeof n;
    				return i(l+"tracer",[c.now(),e,t],r),function(){if(f.emit((o?"":"no-")+"fn-start",[c.now(),r,o],t),o)try{return n.apply(this,arguments)}catch(e){throw f.emit("fn-err",[arguments,this,e],t),e}finally{f.emit("fn-end",[c.now()],t)}}}};
    		a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(e,n){m[n]=o(l+n)}),newrelic.noticeError=function(e,n){"string"==typeof e&&(e=new Error(e)),i("err",[e,c.now(),!1,n])}},{}],2:[function(e,n,t){function r(e,n){if(!o)return!1;
    			if(e!==o)return!1;
    			if(!n)return!0;
    			if(!i)return!1;
    			for(var t=i.split("."),r=n.split("."),a=0;
    			a<r.length;
    			a++)if(r[a]!==t[a])return!1;
    			return!0}var o=null,i=null,a=/Version\/(\S+)\s+Safari/;
    		if(navigator.userAgent){var u=navigator.userAgent,f=u.match(a);
    			f&&u.indexOf("Chrome")===-1&&u.indexOf("Chromium")===-1&&(o="Safari",i=f[1])}n.exports={agent:o,version:i,match:r}},{}],3:[function(e,n,t){function r(e,n){var t=[],r="",i=0;
    			for(r in e)o.call(e,r)&&(t[i]=n(r,e[r]),i+=1);
    			return t}var o=Object.prototype.hasOwnProperty;
    		n.exports=r},{}],4:[function(e,n,t){function r(e,n,t){n||(n=0),"undefined"==typeof t&&(t=e?e.length:0);
    			for(var r=-1,o=t-n||0,i=Array(o<0?0:o);
    			++r<o;
    			)i[r]=e[n+r];
    			return i}n.exports=r},{}],5:[function(e,n,t){n.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(e,n,t){function r(){}function o(e){function n(e){return e&&instanceof r?e:e?f(e,u,i):i()}function t(t,r,o,i){if(!d.aborted||i){e&&e(t,r,o);
    					for(var a=n(o),u=v(t),f=u.length,c=0;
    					c<f;
    					c++)u[c].apply(a,r);
    					var p=s[y[t]];
    					return p&&p.push([b,t,r,a]),a}}function l(e,n){h[e]=v(e).concat(n)}function m(e,n){var t=h[e];
    				if(t)for(var r=0;
    				r<t.length;
    				r++)t[r]===n&&t.splice(r,1)}function v(e){return h[e]||[]}function g(e){return p[e]=p[e]||o(t)}function w(e,n){c(e,function(e,t){n=n||"feature",y[t]=n,n in s||(s[n]=[])})}var h={},y={},b={on:l,addEventListener:l,removeEventListener:m,emit:t,get:g,listeners:v,context:n,buffer:w,abort:a,aborted:!1};
    			return b}function i(){return new r}function a(){(s.api||s.feature)&&(d.aborted=!0,s=d.backlog={})}var u="nr@context",f=e("gos"),c=e(3),s={},p={},d=n.exports=o();
    		d.backlog=s},{}],gos:[function(e,n,t){function r(e,n,t){if(o.call(e,n))return e[n];
    			var r=t();
    			if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,n,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return e[n]=r,r}var o=Object.prototype.hasOwnProperty;
    		n.exports=r},{}],handle:[function(e,n,t){function r(e,n,t,r){o.buffer([e],r),o.emit(e,n,t)}var o=e("ee").get("handle");
    		n.exports=r,r.ee=o},{}],id:[function(e,n,t){function r(e){var n=typeof e;
    			return!e||"object"!==n&&"function"!==n?-1:e===window?0:a(e,i,function(){return o++})}var o=1,i="nr@id",a=e("gos");
    		n.exports=r},{}],loader:[function(e,n,t){function r(){if(!E++){var e=x.info=NREUM.info,n=l.getElementsByTagName("script")[0];
    				if(setTimeout(s.abort,3e4),!(e&&e.licenseKey&&e.applicationID&&n))return s.abort();
    				c(y,function(n,t){e[n]||(e[n]=t)}),f("mark",["onload",a()+x.offset],null,"api");
    				var t=l.createElement("script");
    				t.src="https://"+e.agent,n.parentNode.insertBefore(t,n)}}function o(){"complete"===l.readyState&&i()}function i(){f("mark",["domContent",a()+x.offset],null,"api")}function a(){return O.exists&&performance.now?Math.round(performance.now()):(u=Math.max((new Date).getTime(),u))-x.offset}var u=(new Date).getTime(),f=e("handle"),c=e(3),s=e("ee"),p=e(2),d=window,l=d.do***ent,m="addEventListener",v="attachEvent",g=d.XMLHttpRequest,w=g&&g.prototype;
    		NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:g,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};
    		var h=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1130.min.js"},b=g&&w&&w[m]&&!/CriOS/.test(navigator.userAgent),x=n.exports={offset:u,now:a,origin:h,features:{},xhrWrappable:b,userAgent:p};
    		e(1),l[m]?(l[m]("DOMContentLoaded",i,!1),d[m]("load",r,!1)):(l[v]("onreadystatechange",o),d[v]("onload",r)),f("mark",["firstbyte",u],null,"api");
    		var E=0,O=e(5)},{}]},{},["loader"]);
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        function SWEndPreviewMode() {
    	        var data "{}";
    	        var success "window.location='';
    	";
    	        var failure "CallControllerFailure(result[0].errormessage);
    	";
    	        CallController("https://www.neisd.net/site/SiteController.aspx/EndPreviewMode"datasuccessfailure);
    	    }
        function SWEndEmulationMode() {
    	        var data "{}";
    	        var success "DeleteCookie('SourceEmulationUserID');
    	DeleteCookie('SidebarIsClosed');
    	window.location='https://www.neisd.net/ums/Users/Users.aspx';
    	";
    	        var failure "CallControllerFailure(result[0].errormessage);
    	";
    	        CallController("https://www.neisd.net/site/SiteController.aspx/EndEmulationMode"datasuccessfailure);
    	    }
        function SWEndPreviewConfigMode() {
    	        var data "{}";
    	        var success "window.location='';
    	";
    	        var failure "CallControllerFailure(result[0].errormessage);
    	";
    	        CallController("https://www.neisd.net/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.neisd.net/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').children('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 '6263';
    	            //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"> 
    
                // DEFINE THE MAIN DATA ARRAY
                var appData6263 [];
                // DEFINE THE RECORD ARRAY VARIABLE
                var recordData6263 "";
            
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        // CREATE THE RECORD ARRAY
        recordData6263 = ["Teacher Feature: Ron Rittimann""Johnson High School Athletic Coordinator Ron Rittiman shares his journey as an NEISD educator.""1""/cms/lib/TX02215002/Centricity/ModuleInstance/6263/Rittimann_still.jpeg""""VPjvtpLVsVI""""""False""False""https://youtu.be/eAroUT0MSDw""True""False""Rittimann on football field"];
        // PUSH THE RECORD ARRAY TO THE MAIN DATA ARRAY
        appData6263.push(recordData6263);
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        // CREATE THE RECORD ARRAY
        recordData6263 = ["Adults from across the world learn English in NEISD program""Discover #theNEISDway, where we believe in educating and supporting the entire family""1""/cms/lib/TX02215002/Centricity/ModuleInstance/6263/ESL_SLIDER.jpg""""LNSaZ2Mi1J8""""""False""False""https://www.neisd.net/site/default.aspx?PageType=3&DomainID=4&ModuleInstanceID=21391&ViewID=6446EE88-D30C-497E-9316-3F8874B3E108&RenderLoc=0&FlexDataID=137637&PageID=1""True""True""ESL slider"];
        // PUSH THE RECORD ARRAY TO THE MAIN DATA ARRAY
        appData6263.push(recordData6263);
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        // CREATE THE RECORD ARRAY
        recordData6263 = ["LEE educator honored with Outstanding Teaching of the Humanities Award""Gretchen Wickes is one of 15 Texas teachers to be recognized""1""/cms/lib/TX02215002/Centricity/ModuleInstance/6263/IMG_***39_SLIDER.jpg""""CsQIQSRVbcs""""""False""False""https://www.neisd.net/site/default.aspx?PageType=3&DomainID=4&ModuleInstanceID=21391&ViewID=6446EE88-D30C-497E-9316-3F8874B3E108&RenderLoc=0&FlexDataID=137672&PageID=1""True""False""LEE Humanities Award"];
        // PUSH THE RECORD ARRAY TO THE MAIN DATA ARRAY
        appData6263.push(recordData6263);
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
        // CREATE THE RECORD ARRAY
        recordData6263 = ["Driscoll Culinary Club learns from experienced chef""Students discover what it takes to succeed in the hospitality industry""1""/cms/lib/TX02215002/Centricity/ModuleInstance/6263/Driscoll Culinary Club 1_SLIDER.jpg""""PLG14EAEfK50q2zHfF0RkWaQagvUZMrP47""""""False""False""https://www.neisd.net/site/default.aspx?PageType=3&DomainID=4&ModuleInstanceID=21391&ViewID=6446EE88-D30C-497E-9316-3F8874B3E108&RenderLoc=0&FlexDataID=137675&PageID=1""True""False""Driscoll Slider"];
        // PUSH THE RECORD ARRAY TO THE MAIN DATA ARRAY
        appData6263.push(recordData6263);
    
    </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.neisd.net//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.neisd.net//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.neisd.net//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 '21391';
    	            //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-21391').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.neisd.net//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.neisd.net//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.neisd.net//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 '77917';
    	            //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 (){
    	$(".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.neisd.net//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.neisd.net//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.neisd.net//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 '50211';
    	            //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" src="https://platform.twitter.com/widgets.js"></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.neisd.net//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.neisd.net//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.neisd.net//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 '50210';
    	            //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"> 
    (function(dsid) {
    	  var jsfjs d.getElementsByTagName(s)[0];
    	  if (d.getElementById(id)) return;
    	  js d.createElement(s);
    	 js.id id;
    	  js.src 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2&appId=21***64202893691&autoLogAppEvents=1';
    	  fjs.parentNode.insertBefore(jsfjs);
    	}(do***ent'script''facebook-jssdk'));
    
    </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.neisd.net//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.neisd.net//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.neisd.net//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 '50212';
    	            //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" src="//www.instagram.com/embed.js"></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.neisd.net//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.neisd.net//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.neisd.net//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"> 
    modMyStart();
    
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
       $(do***ent).ready(function(){
    	      var beaconURL='https://analytics.schoolwires.com/analytics.asmx/Insert?AccountNumber=E7V7%2bQxtqLZwqebPzLPkQA%3d%3d&SessionID=64c5548c-7244-42d6-a7cf-ca89643131fb&SiteID=4&ChannelID=0&SectionID=0&PageID=1&HitDate=11%2f19%2f2019+2%3a45%3a31+PM&Browser=Unknown+0.0&OS=Unknown&IPAddress=10.61.27.158';
    	      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();
    					      &n