function categoryLinks(divCatStr) { this.divCatStr = divCatStr; this.links = new Array(); if(typeof categoryLinks._initialized == "undefined") { categoryLinks.prototype.load = function() { if(this.divCatStr == "literacyboyzrule!")this.loadLiteracyBoyzRule(); if(this.divCatStr == "literacygirlzrock!")this.loadLiteracyGirlzRock(); if(this.divCatStr == "literacyfastzone")this.loadLiteracyFastZone(); if(this.divCatStr == "literacybooksforfuturescientists")this.loadLiteracyBooksForFutureScientists(); if(this.divCatStr == "literacykidsinc.")this.loadLiteracykidsInc(); if(this.divCatStr == "literacylearn-abouts")this.loadLiteracyLearnAbouts(); if(this.divCatStr == "literacyliteracynetwork")this.loadLiteracyLiteracyNetwork(); if(this.divCatStr == "literacymacaustralia")this.loadLiteracyMacAustralia(); if(this.divCatStr == "literacymomentum")this.loadLiteracyMomentum(); if(this.divCatStr == "literacynationalgeographic")this.loadLiteracyNationalGeographic(); if(this.divCatStr == "literacyoutofthisworld")this.loadLiteracyOutOfThisWorld(); if(this.divCatStr == "literacyreadingbugbox")this.loadLiteracyReadingBugBox(); if(this.divCatStr == "literacysciencereaders")this.loadLiteracyScienceReaders(); if(this.divCatStr == "literacyspringboard")this.loadLiteracySpringboard(); if(this.divCatStr == "literacyspringboardintocomprehension")this.loadLiteracySpringboardIntoComprehension(); if(this.divCatStr == "macmillanlibraryhumanities")this.loadLibraryHumanities(); if(this.divCatStr == "macmillanlibraryscience")this.loadLibraryScience(); if(this.divCatStr == "macmillanlibraryenglish")this.loadLibraryEnglish(); //if(this.divCatStr == "teacherresourcesenglish")this.loadResourcesEnglish(); //if(this.divCatStr == "teacherresourcesscience")this.loadResourcesScience(); }; categoryLinks.prototype.loadLiteracyFastZone = function() { this.links.push(new linkObject('Fast Zone Magazines','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Fast%20Zone%3EFast%20Zone%20Magazines&start=1&count=500','link text')); this.links.push(new linkObject('Fast Zone Novels','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Fast%20Zone%3EFast%20Zone%20Novels&start=1&count=500','link text')); } categoryLinks.prototype.loadLiteracyBoyzRule = function() { this.links.push(new linkObject('Boyz Rule! Set 1','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Boyz%20Rule!&start=1&count=500','link text')); this.links.push(new linkObject('Boyz Rule! Set 2','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Boyz%20Rule!&start=1&count=500#boyzrule!set2','link text')); this.links.push(new linkObject('Boyz Rule! Set 3','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Boyz%20Rule!&start=1&count=500#boyzrule!set3','link text')); this.links.push(new linkObject('Boyz Rule! Set 4','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Boyz%20Rule!&start=1&count=500#boyzrule!set4','link text')); }; categoryLinks.prototype.loadLiteracyGirlzRock = function() { this.links.push(new linkObject('Girlz Rock! Set 1','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Girlz%20Rock!&start=1&count=500','link text')); this.links.push(new linkObject('Girlz Rock! Set 2','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Girlz%20Rock!&start=1&count=500#girlzrock!set2','link text')); this.links.push(new linkObject('Girlz Rock! Set 3','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Girlz%20Rock!&start=1&count=500#girlzrock!set3','link text')); }; categoryLinks.prototype.loadLiteracyBooksForFutureScientists = function() { this.links.push(new linkObject('Lower Set','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Books%20for%20future%20scientists&start=1&count=500#booksforfuturescientists-lower','link text')); this.links.push(new linkObject('Middle Set','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Books%20for%20future%20scientists&start=1&count=500#booksforfuturescientists-middle','link text')); this.links.push(new linkObject('Upper Set','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Books%20for%20future%20scientists&start=1&count=500#booksforfuturescientists-upper','link text')); }; categoryLinks.prototype.loadLiteracykidsInc = function() { this.links.push(new linkObject('ACE Detectives','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Kids%20Inc&start=1&count=500&level=ACE+Detectives','link text')); this.links.push(new linkObject('Dream Racers','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Kids%20Inc&start=1&count=500&level=Dream+Racers#dreamracers','link text')); this.links.push(new linkObject('Fashion Police','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Kids%20Inc&start=1&count=500&level=Fashion+Police#fashionpolice','link text')); this.links.push(new linkObject('Hollywood or Burst','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Kids%20Inc&start=1&count=500&level=Hollywood+or+Burst#hollywoodorburst','link text')); this.links.push(new linkObject('Radio Rebels','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Kids%20Inc&start=1&count=500&level=Radio+Rebels#radiorebels','link text')); this.links.push(new linkObject('Technos','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Kids%20Inc&start=1&count=500&level=Technos#technos','link text')); }; categoryLinks.prototype.loadLiteracyLearnAbouts = function() { this.links.push(new linkObject('Levels 1 - 4','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Learn-Abouts%3ELearn-Abouts%20Levels%201%20-%204&start=1&count=500','link text')); this.links.push(new linkObject('Levels 5 - 8','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Learn-Abouts%3ELearn-Abouts%20Levels%205%20-%208&start=1&count=500','link text')); this.links.push(new linkObject('Levels 9 - 12','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Learn-Abouts%3ELearn-Abouts%20Levels%209%20-%2012&start=1&count=500','link text')); this.links.push(new linkObject('Levels 13 - 16','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Learn-Abouts%3ELearn-Abouts%20Levels%2013%20-%2016&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracyLiteracyNetwork = function() { this.links.push(new linkObject('Middle Primary','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Literacy+Network>Middle+Primary&start=1&count=500','link text')); this.links.push(new linkObject('Upper Primary','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Literacy+Network>Upper+Primary&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracyMacAustralia = function() { this.links.push(new linkObject('Big Books','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Mac%20Australia%3EBig%20Books&start=1&count=500','link text')); // this.links.push(new linkObject('Mac Australia','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Mac%20Australia%3EBig%20Books&start=1&count=500','link text')); this.links.push(new linkObject('Lower Primary Set','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Mac%20Australia%3ELower%20Primary%20Set&start=1&count=500','link text')); this.links.push(new linkObject('Middle Primary Set','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Mac%20Australia%3EMiddle%20Primary%20Set&start=1&count=500','link text')); this.links.push(new linkObject('Upper Primary Set','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Mac%20Australia%3EUpper%20Primary%20Set&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracyMomentum = function() { this.links.push(new linkObject('Momentum 0','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%200&start=1&count=500','link text')); this.links.push(new linkObject('Momentum 1','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%201&start=1&count=500','link text')); this.links.push(new linkObject('Momentum 2','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%202&start=1&count=500','link text')); this.links.push(new linkObject('Momentum 3','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%203&start=1&count=500','link text')); this.links.push(new linkObject('Momentum 4','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%204&start=1&count=500','link text')); this.links.push(new linkObject('Momentum 5','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%205&start=1&count=500','link text')); this.links.push(new linkObject('Momentum 6','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%206&start=1&count=500','link text')); this.links.push(new linkObject('Momentum Plus','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%20Plus&start=1&count=500','link text')); this.links.push(new linkObject('Momentum Big Books','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Momentum%3EMomentum%20Big%20Books&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracyNationalGeographic = function() { this.links.push(new linkObject('Science Themes','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=National%20Geographic%20Theme%20Sets%3EScience%20Themes&start=1&count=500','link text')); this.links.push(new linkObject('Humanities Themes','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=National%20Geographic%20Theme%20Sets%3EHumanities%20Themes&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracyOutOfThisWorld = function() { this.links.push(new linkObject('Out of this World','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Out%20of%20this%20World&start=1&count=500#outofthisworld','link text')); this.links.push(new linkObject('Out of this World: Halycrus','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Out%20of%20this%20World&start=1&count=500#outofthisworld:halycrus','link text')); this.links.push(new linkObject('Out of this World: Space Sports','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Out%20of%20this%20World&start=1&count=500','link text')); this.links.push(new linkObject('Out of this World: Spartan','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Out%20of%20this%20World&start=1&count=500#outofthisworld:spartan','link text')); this.links.push(new linkObject('Out of this World: The Arkies','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Out%20of%20this%20World&start=1&count=500#outofthisworld:thearkies','link text')); }; categoryLinks.prototype.loadLiteracyReadingBugBox = function() { this.links.push(new linkObject('Set 1','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Reading+Bug+Box&start=1&count=500','link text')); this.links.push(new linkObject('Set 2','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Reading+Bug+Box&start=1&count=500','link text')); this.links.push(new linkObject('Set 3','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Reading+Bug+Box&start=1&count=500','link text')); this.links.push(new linkObject('Set 4','libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Reading+Bug+Box&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracyScienceReaders = function() { this.links.push(new linkObject('Earth and Space Science','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Science%20Readers%3EEarth%20and%20Space%20Science&start=1&count=500','link text')); this.links.push(new linkObject('Life Science','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Science%20Readers%3ELife%20Science&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracySpringboard = function() { this.links.push(new linkObject('Springboard Big Books','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%20Big%20Books&start=1&count=500','link text')); this.links.push(new linkObject('Springboard Beginning','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%20Beginning&start=1&count=500','link text')); this.links.push(new linkObject('Springboard 1','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%201&start=1&count=500','link text')); this.links.push(new linkObject('Springboard 2','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%202&start=1&count=500','link text')); this.links.push(new linkObject('Springboard 3','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%203&start=1&count=500','link text')); this.links.push(new linkObject('Springboard 4','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%204&start=1&count=500','link text')); this.links.push(new linkObject('Springboard 5','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%205&start=1&count=500','link text')); this.links.push(new linkObject('Springboard 6','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%3ESpringboard%206&start=1&count=500','link text')); }; categoryLinks.prototype.loadLiteracySpringboardIntoComprehension = function() { this.links.push(new linkObject('Into Comprehension 2','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%20into%20Comprehension%3EInto%20Comprehension%202&start=1&count=500','link text')); this.links.push(new linkObject('Into Comprehension 3','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%20into%20Comprehension%3EInto%20Comprehension%203&start=1&count=500','link text')); this.links.push(new linkObject('Into Comprehension 4','libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Springboard%20into%20Comprehension%3EInto%20Comprehension%204&start=1&count=500','link text')); }; categoryLinks.prototype.loadLibraryHumanities = function() { this.links.push(new linkObject('Civics','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3ECivics&start=1&count=500','link text')); this.links.push(new linkObject('Countries and Culture','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3ECountries%20and%20Culture&start=1&count=500','link text')); this.links.push(new linkObject('Geography and Environment','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3EGeography%20and%20Environment&start=1&count=500','link text')); this.links.push(new linkObject('General','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3EGeneral&start=1&count=500','link text')); this.links.push(new linkObject('History','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3EHistory&start=1&count=500','link text')); this.links.push(new linkObject('Indigenous Australians','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3EIndigenous%20Australians&start=1&count=500','link text')); this.links.push(new linkObject('Work','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Humanities%3EWork&start=1&count=500','link text')); }; categoryLinks.prototype.loadLibraryScience = function() { this.links.push(new linkObject('Animals','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Science%3EAnimals&start=1&count=500','link text')); this.links.push(new linkObject('Astronomy','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Science%3EAstronomy&start=1&count=500','link text')); this.links.push(new linkObject('Environment','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Science%3EEnvironment&start=1&count=500','link text')); this.links.push(new linkObject('General','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Science%3EGeneral&start=1&count=500','link text')); this.links.push(new linkObject('Plants','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=Science%3EPlants&start=1&count=500','link text')); }; categoryLinks.prototype.loadLibraryEnglish = function() { this.links.push(new linkObject('Barrington Stoke','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Barrington+Stoke&start=1&count=500','link text')); this.links.push(new linkObject('Boyz Rule!','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Boyz+Rule!&start=1&count=500','link text')); this.links.push(new linkObject('Novels from Pan Macmillan','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Novels+from+Pan+Macmillan&start=1&count=500','link text')); this.links.push(new linkObject('Girlz Rock!','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Girlz+Rock!&start=1&count=500','link text')); //this.links.push(new linkObject('Go Girl!','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Go+Girl!&start=1&count=500','link text')); this.links.push(new linkObject('Kids Inc.','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Kids+Inc.&start=1&count=500','link text')); this.links.push(new linkObject('Out of this World','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Out+of+this+World&start=1&count=500','link text')); //this.links.push(new linkObject('Zac Power!','libraries/index?open&label=onix&view=areas&type=cat&div=Macmillan+Library&cat=English>Zac+Power!&start=1&count=500','link text')); }; categoryLinks.prototype.printLeftNavCatLinks = function() { if(this.links.length == 0) return false; document.write('