// DOE PRELOADS
// Use this area to set variables & preloads prior to the page loading



// DEFAULT WINDOW
// Sets Default Window Name
window.name="winDEDOE";


// DEFAULT STATUS
// Sets Default Status Bar text
window.defaultStatus="Delaware Department of Education [www.doe.k12.de.us]";


// GLOBAL VARIABLES
// Declares/Initializes variables
// var varName = varValue;
var todaysDate = new Date();
var currentYear = todaysDate.getFullYear();
var fullDate;
var season;
var rootDir = "http://www.doe.k12.de.us/";
var homeDir = rootDir + "home/";
var serviceDir = rootDir + "services/";
var infoDir = rootDir + "info/";
var homeSection = "Home";
var serviceSection = "Services";
var infoSection = "Information";
var siteSection;
var siteSubSection;
var siteSub2Section;
var siteSub3Section;


// GLOBAL ARRAYS
// Declares/Initializes arrays
// Creates parallel arrays of subsections (link text & hrefs) under Home, Services, Information
var homeLinks = new Array(14)  // Home Links array
homeLinks[0] = "About Us"
homeLinks[1] = "Secretary&#8217;s Letter"
homeLinks[2] = "Newsroom"
homeLinks[3] = "Programs &amp; Divisions"
homeLinks[4] = "Performance Measures"
// homeLinks[5] = "FAQs"
homeLinks[5] = "Employment"
homeLinks[6] = "Calendar of Events"
homeLinks[7] = "Related Links"
homeLinks[8] = "Contact Information"
homeLinks[9] = "Office Location"
homeLinks[10] = "Directory"
homeLinks[11] = "Search"
homeLinks[12] = "Site Map"
homeLinks[13] = "About Site"
var homeHREFs = new Array(14)  // Home HREFs array
homeHREFs[0] = rootDir + "aboutdoe/"
homeHREFs[1] = rootDir + "aboutdoe/letter.shtml"
homeHREFs[2] = rootDir + "news/"
homeHREFs[3] = rootDir + "programs/"
homeHREFs[4] = rootDir + "performance/"
// homeHREFs[5] = rootDir + "aboutdoe/faq.shtml"
homeHREFs[5] = rootDir + "employment/"
homeHREFs[6] = rootDir + "calendar/"
homeHREFs[7] = rootDir + "links/"
homeHREFs[8] = rootDir + "contact/info.shtml"
homeHREFs[9] = rootDir + "location/"
homeHREFs[10] = rootDir + "edudir/default.asp"
homeHREFs[11] = rootDir + "search/"
homeHREFs[12] = rootDir + "sitemap/"
homeHREFs[13] = rootDir + "site/"
var serviceLinks = new Array(5)  // Services Links array
serviceLinks[0] = "for Parents &amp; Family"
serviceLinks[1] = "for Students &amp; Adult Learners"
serviceLinks[2] = "for Educators &amp; Administrators"
serviceLinks[3] = "for Community &amp; Partners"
serviceLinks[4] = "Guide"
var serviceHREFs = new Array(5)  // Services HREFs array
serviceHREFs[0] = serviceDir + "parents/"
serviceHREFs[1] = serviceDir + "students/"
serviceHREFs[2] = serviceDir + "educators/"
serviceHREFs[3] = serviceDir + "community/"
serviceHREFs[4] = serviceDir + "guide/"
var infoLinks = new Array(5)  // Information Links array
infoLinks[0] = "State Board of Education"
infoLinks[1] = "Schools &amp; Districts"
infoLinks[2] = "Education Reports &amp; Statistics"
infoLinks[3] = "School Curriculum"
infoLinks[4] = "Educator Certification"
var infoHREFs = new Array(5)  // Information HREFs array
infoHREFs[0] = infoDir + "sbe/"
infoHREFs[1] = infoDir + "schools/"
infoHREFs[2] = infoDir + "reports/"
infoHREFs[3] = infoDir + "/info/curriculum/"
infoHREFs[4] = infoDir + "/info/certification/"


// PRELOADED IMAGES
// Set an image you need to preLoad using the method below  e.g.
// imageOne = new Image;
// imageOne.src = "images/image-one.gif;"
if (document.images) {
	imgGoButton = new Image(17,17);
	imgGoButton.src="../private/images/button-go-over.gif";
	imgArrowBullet = new Image(9,9);
	imgArrowBullet.src="../../images/arrowbullet_ro1.gif";
}


// PRELOAD IMAGES
// Sets images you need to preload
/*
var arrImages = new Array();
function preloadImages() {
  for (i=0; i < preloadImages.arguments.length; i++) {
    arrImages[i] = new Image();
    arrImages[i].src = preloadImages.arguments[i];
  }
}
*/