function divisionLinks(division) { this.division = division; this.links = new Array(); if (typeof divisionLinks._initialized == "undefined") { divisionLinks.prototype.loadLiteracy = function() { this.links.push(new linkObject('Accelerated Literacy', 'libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Accelerated+Literacy&start=1&count=500', 'link text')); this.links.push(new linkObject('Books for Future Scientists', 'homepages/Literacy>Books+for+Future+Scientists?open&div=Literacy&cat=Books+for+Future+Scientists', 'link text')); this.links.push(new linkObject('Boyz Rule!', 'homepages/Literacy>Boyz+Rule!?open&div=Literacy&cat=Boyz+Rule!', 'link text')); this.links.push(new linkObject('Fast Zone', 'homepages/Literacy>Fast+Zone?open&div=Literacy&cat=Fast+Zone', 'link text')); this.links.push(new linkObject('Girlz Rock!', 'homepages/Literacy>Girlz+Rock!?open&div=Literacy&cat=Girlz+Rock!', 'link text')); //this.links.push(new linkObject('Reading Keys', 'homepages/Literacy>Reading+Keys?open&div=Literacy&cat=Reading+Keys', 'link text')); this.links.push(new linkObject('Get Real', 'libraries/index?open&label=onix&view=areas&type=cat&div=Literacy&cat=Get+Real>General&start=1&count=500', 'link text')); this.links.push(new linkObject('Kids Inc.', 'homepages/Literacy>Kids+Inc.?open&div=Literacy&cat=Kids+Inc.', 'link text')); this.links.push(new linkObject('Learn-Abouts', 'homepages/Literacy>Learn+Abouts?open&div=Literacy&cat=Learn+Abouts', 'link text')); this.links.push(new linkObject('Literacy Network', 'homepages/Literacy>Literacy+Network?open&div=Literacy&cat=Literacy+Network', 'link text')); this.links.push(new linkObject('Mac Australia Topics', 'homepages/Literacy>Mac+Australia+Topics?open&div=Literacy&cat=Mac+Australia+Topics', 'link text')); this.links.push(new linkObject('Macmillan Classroom Library', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Macmillan+Classroom+Library&start=1&count=500', 'link text')); this.links.push(new linkObject('Momentum', 'homepages/Literacy>Momentum?open&div=Literacy&cat=Momentum', 'link text')); this.links.push(new linkObject('National Geographic', 'homepages/Literacy>National+Geographic+Theme+Sets?open&div=Literacy&cat=National+Geographic+Theme+Sets', 'link text')); this.links.push(new linkObject('Out of this World', 'homepages/Literacy>Out+of+this+World?open&div=Literacy&cat=Out+of+this+World', 'link text')); this.links.push(new linkObject('Reading Bug Box', 'homepages/Literacy>Reading+Bug+Box?open&div=Literacy&cat=Reading+Bug+Box', 'link text')); this.links.push(new linkObject('Reading Keys', 'homepages/Literacy>Reading+Keys?open&div=Literacy&cat=Reading+Keys', 'link text')); this.links.push(new linkObject('Science Readers', 'homepages/Literacy>Science+Readers?open&div=Literacy&cat=Science+Readers', 'link text')); this.links.push(new linkObject('Springboard', 'homepages/Literacy>Springboard?open&div=Literacy&cat=Springboard', 'link text')); this.links.push(new linkObject('Springboard into Comprehension', 'homepages/Literacy>Springboard+into+Comprehension?open&div=Literacy&cat=Springboard+into+Comprehension', 'link text')); this.links.push(new linkObject('Star Girl', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Literacy&cat=Star Girl&start=1&count=500', 'link text')); this.links.push(new linkObject('Take-Home Reading', 'homepages/Literacy>Take-Home+Reading?open&div=Literacy&cat=Take-Home+Reading', 'link text')); this.links.push(new linkObject('Winners!', 'homepages/Literacy>Winners!?open&div=Literacy&cat=Winners!', 'link text')); }; divisionLinks.prototype.loadMacmillanLibrary = function() { this.links.push(new linkObject('English', 'homepages/Macmillan+Library%3EEnglish?open&div=Macmillan+Library&cat=English', 'link text')); // this.links.push(new linkObject('Fiction from Pan Macmillan','libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=Fiction+from+Pan+Macmillan&start=1&count=100','link text')); this.links.push(new linkObject('Health/PE', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=Health/PE&start=1&count=100', 'link text')); this.links.push(new linkObject('Humanities', 'homepages/Macmillan+Library>Humanities?open&div=Macmillan+Library&cat=Humanities', 'link text')); this.links.push(new linkObject('Reference', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=Reference&start=1&count=100', 'link text')); this.links.push(new linkObject('Science', 'homepages/Macmillan+Library>Science?open&div=Macmillan+Library&cat=Science', 'link text')); this.links.push(new linkObject('Sports', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=Sports&start=1&count=100', 'link text')); this.links.push(new linkObject('Technology', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=Technology&start=1&count=100', 'link text')); this.links.push(new linkObject('The Arts', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=The+Arts&start=1&count=100', 'link text')); this.links.push(new linkObject('New', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Library&cat=New&start=1&count=100', 'link text')); }; divisionLinks.prototype.loadTeacherResources = function() { this.links.push(new linkObject('English', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=English&start=1&count=100', 'link text')); this.links.push(new linkObject('General', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=General&start=1&count=100', 'link text')); this.links.push(new linkObject('Health/PE', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=Health/PE&start=1&count=100', 'link text')); this.links.push(new linkObject('Humanities', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=Humanities&start=1&count=100', 'link text')); this.links.push(new linkObject('Mathematics', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=Mathematics&start=1&count=100', 'link text')); this.links.push(new linkObject('Science', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=Science&start=1&count=100', 'link text')); this.links.push(new linkObject('The Arts', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Teacher+Resources&cat=The+Arts&start=1&count=100', 'link text')); }; divisionLinks.prototype.loadTextbooks = function() { this.links.push(new linkObject('NSW', 'libraries/index?open&label=onix&view=areas&type=cat&div=Textbooks&cat=States>NSW&start=1&count=100', 'link text')); this.links.push(new linkObject('Queensland', 'libraries/index?open&label=onix&view=areas&type=cat&div=Textbooks&cat=States>Queensland&start=1&count=100', 'link text')); this.links.push(new linkObject('SA/NT', 'libraries/index?open&label=onix&view=areas&type=cat&div=Textbooks&cat=States>SA/NT&start=1&count=100', 'link text')); this.links.push(new linkObject('Victoria', 'libraries/index?open&label=onix&view=areas&type=cat&div=Textbooks&cat=States>Victoria&start=1&count=100', 'link text')); this.links.push(new linkObject('WA', 'libraries/index?open&label=onix&view=areas&type=cat&div=Textbooks&cat=States>WA&start=1&count=100', 'link text')); }; divisionLinks.prototype.loadMacmillanDigital = function() { this.links.push(new linkObject('English', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Digital&cat=English&start=1&count=500', 'link text')); this.links.push(new linkObject('Integrated Curriculum', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Digital&cat=Integrated+Curriculum&start=1&count=500', 'link text')); this.links.push(new linkObject('Mathematics', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Digital&cat=Mathematics&start=1&count=500', 'link text')); this.links.push(new linkObject('Macmillan Digital Library', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Digital&cat=Macmillan+Digital+Library&start=1&count=500', 'link text')); this.links.push(new linkObject('Textbook Digital Support', 'libraries/index?open&label=onix&view=subjects&type=cat&div=Macmillan+Digital&cat=Textbook+Digital+Support&start=1&count=500', 'link text')); }; divisionLinks.prototype.load = function() { if (this.division == "literacy") this.loadLiteracy(); if (this.division == "macmillanlibrary") this.loadMacmillanLibrary(); if (this.division == "teacherresources") this.loadTeacherResources(); if (this.division == "textbooks") this.loadTextbooks(); if (this.division == "macmillandigital") this.loadMacmillanDigital(); }; divisionLinks.prototype.printLeftNav = function(division) { document.write('