
var cellName=null; var buttDir="images/";

if(document.images) { 

var Home_off = new Image(); Home_off.src = buttDir+"Home_off.gif";
var Home_on  = new Image(); Home_on.src = buttDir+"Home_on.gif";

var Help_off = new Image(); Help_off.src = buttDir+"Help_off.gif";
var Help_on  = new Image(); Help_on.src = buttDir+"Help_on.gif";

var Intro_off = new Image(); Intro_off.src = buttDir+"Intro_off.gif";
var Intro_on  = new Image(); Intro_on.src = buttDir+"Intro_on.gif";

var Module1_off = new Image(); Module1_off.src = buttDir+"Module1_off.gif";
var Module1_on  = new Image(); Module1_on.src = buttDir+"Module1_on.gif";

var Module2_off = new Image(); Module2_off.src = buttDir+"Module2_off.gif";
var Module2_on  = new Image(); Module2_on.src = buttDir+"Module2_on.gif";

var Module3_off = new Image(); Module3_off.src = buttDir+"Module3_off.gif";
var Module3_on  = new Image(); Module3_on.src = buttDir+"Module3_on.gif";

var Module4_off = new Image(); Module4_off.src = buttDir+"Module4_off.gif";
var Module4_on  = new Image(); Module4_on.src = buttDir+"Module4_on.gif";

var Module5_off = new Image(); Module5_off.src = buttDir+"Module5_off.gif";
var Module5_on  = new Image(); Module5_on.src = buttDir+"Module5_on.gif";

var Module6_off = new Image(); Module6_off.src = buttDir+"Module6_off.gif";
var Module6_on  = new Image(); Module6_on.src = buttDir+"Module6_on.gif";

var Assignments_off = new Image(); Assignments_off.src = buttDir+"Assignments_off.gif";
var Assignments_on  = new Image(); Assignments_on.src = buttDir+"Assignments_on.gif";

var Map_off = new Image(); Map_off.src = buttDir+"Map_off.gif";
var Map_on  = new Image(); Map_on.src = buttDir+"Map_on.gif";

var Glossary_off = new Image(); Glossary_off.src = buttDir+"Glossary_off.gif";
var Glossary_on  = new Image(); Glossary_on.src = buttDir+"Glossary_on.gif";

var Section1_off = new Image(); Section1_off.src = buttDir+"Section1_off.gif";
var Section1_on  = new Image(); Section1_on.src = buttDir+"Section1_on.gif";

var Section2_off = new Image(); Section2_off.src = buttDir+"Section2_off.gif";
var Section2_on  = new Image(); Section2_on.src = buttDir+"Section2_on.gif";

var Section3_off = new Image(); Section3_off.src = buttDir+"Section3_off.gif";
var Section3_on  = new Image(); Section3_on.src = buttDir+"Section3_on.gif";

var Section4_off = new Image(); Section4_off.src = buttDir+"Section4_off.gif";
var Section4_on  = new Image(); Section4_on.src = buttDir+"Section4_on.gif";

var Section5_off = new Image(); Section5_off.src = buttDir+"Section5_off.gif";
var Section5_on  = new Image(); Section5_on.src = buttDir+"Section5_on.gif";

var Section6_off = new Image(); Section6_off.src = buttDir+"Section6_off.gif";
var Section6_on  = new Image(); Section6_on.src = buttDir+"Section6_on.gif";

var Section7_off = new Image(); Section7_off.src = buttDir+"Section7_off.gif";
var Section7_on  = new Image(); Section7_on.src = buttDir+"Section7_on.gif";

var Section8_off = new Image(); Section8_off.src = buttDir+"Section8_off.gif";
var Section8_on  = new Image(); Section8_on.src = buttDir+"Section8_on.gif";

var Section9_off = new Image(); Section9_off.src = buttDir+"Section9_off.gif";
var Section9_on  = new Image(); Section9_on.src = buttDir+"Section9_on.gif";

var Topic1_off = new Image(); Topic1_off.src = buttDir+"Topic1_off.gif";
var Topic1_on  = new Image(); Topic1_on.src = buttDir+"Topic1_on.gif";

var Topic2_off = new Image(); Topic2_off.src = buttDir+"Topic2_off.gif";
var Topic2_on  = new Image(); Topic2_on.src = buttDir+"Topic2_on.gif";

var Topic3_off = new Image(); Topic3_off.src = buttDir+"Topic3_off.gif";
var Topic3_on  = new Image(); Topic3_on.src = buttDir+"Topic3_on.gif";

var Topic4_off = new Image(); Topic4_off.src = buttDir+"Topic4_off.gif";
var Topic4_on  = new Image(); Topic4_on.src = buttDir+"Topic4_on.gif";

var Topic5_off = new Image(); Topic5_off.src = buttDir+"Topic5_off.gif";
var Topic5_on  = new Image(); Topic5_on.src = buttDir+"Topic5_on.gif";
}

// setting for onMouseOver

function over(cellName) { if(document.images) { 
if(cellName == 'Home') {document[cellName].src = Home_on.src; } 
if(cellName == 'Help') {document[cellName].src = Help_on.src; } 
if(cellName == 'Intro') {document[cellName].src = Intro_on.src; } 
if(cellName == 'Module1') {document[cellName].src = Module1_on.src; } 
if(cellName == 'Module2') {document[cellName].src = Module2_on.src; } 
if(cellName == 'Module3') {document[cellName].src = Module3_on.src; } 
if(cellName == 'Module4') {document[cellName].src = Module4_on.src; } 
if(cellName == 'Module5') {document[cellName].src = Module5_on.src; } 
if(cellName == 'Module6') {document[cellName].src = Module6_on.src; } 
if(cellName == 'Assignments') {document[cellName].src = Assignments_on.src; } 
if(cellName == 'Map') {document[cellName].src = Map_on.src; } 
if(cellName == 'Glossary') {document[cellName].src = Glossary_on.src; } 
if(cellName == 'Section1') {document[cellName].src = Section1_on.src; } 
if(cellName == 'Section2') {document[cellName].src = Section2_on.src; } 
if(cellName == 'Section3') {document[cellName].src = Section3_on.src; } 
if(cellName == 'Section4') {document[cellName].src = Section4_on.src; } 
if(cellName == 'Section5') {document[cellName].src = Section5_on.src; }
if(cellName == 'Section6') {document[cellName].src = Section6_on.src; }
if(cellName == 'Section7') {document[cellName].src = Section7_on.src; }
if(cellName == 'Section8') {document[cellName].src = Section8_on.src; }
if(cellName == 'Section9') {document[cellName].src = Section9_on.src; } 
if(cellName == 'Topic1') {document[cellName].src = Topic1_on.src; } 
if(cellName == 'Topic2') {document[cellName].src = Topic2_on.src; } 
if(cellName == 'Topic3') {document[cellName].src = Topic3_on.src; } 
if(cellName == 'Topic4') {document[cellName].src = Topic4_on.src; } 
if(cellName == 'Topic5') {document[cellName].src = Topic5_on.src; } 


} }

// settings for onMouseOver done

// settings for onMouseOut

function out(cellName) { if(document.images) { 
if(cellName == 'Home') {document[cellName].src = Home_off.src; } 
if(cellName == 'Help') {document[cellName].src = Help_off.src; } 
if(cellName == 'Intro') {document[cellName].src = Intro_off.src; } 
if(cellName == 'Module1') {document[cellName].src = Module1_off.src; } 
if(cellName == 'Module2') {document[cellName].src = Module2_off.src; } 
if(cellName == 'Module3') {document[cellName].src = Module3_off.src; } 
if(cellName == 'Module4') {document[cellName].src = Module4_off.src; } 
if(cellName == 'Module5') {document[cellName].src = Module5_off.src; } 
if(cellName == 'Module6') {document[cellName].src = Module6_off.src; } 
if(cellName == 'Assignments') {document[cellName].src = Assignments_off.src; } 
if(cellName == 'Map') {document[cellName].src = Map_off.src; } 
if(cellName == 'Glossary') {document[cellName].src = Glossary_off.src; }
if(cellName == 'Section1') {document[cellName].src = Section1_off.src; }
if(cellName == 'Section2') {document[cellName].src = Section2_off.src; }
if(cellName == 'Section3') {document[cellName].src = Section3_off.src; }
if(cellName == 'Section4') {document[cellName].src = Section4_off.src; }
if(cellName == 'Section5') {document[cellName].src = Section5_off.src; }
if(cellName == 'Section6') {document[cellName].src = Section6_off.src; }
if(cellName == 'Section7') {document[cellName].src = Section7_off.src; }
if(cellName == 'Section8') {document[cellName].src = Section8_off.src; }
if(cellName == 'Section9') {document[cellName].src = Section9_off.src; }
if(cellName == 'Topic1') {document[cellName].src = Topic1_off.src; }
if(cellName == 'Topic2') {document[cellName].src = Topic2_off.src; }
if(cellName == 'Topic3') {document[cellName].src = Topic3_off.src; }
if(cellName == 'Topic4') {document[cellName].src = Topic4_off.src; }
if(cellName == 'Topic5') {document[cellName].src = Topic5_off.src; }
} }

// settings for onMouseOut done

function popupPage(page) {

windowprops = "menubars=1,location=1,toolbars=1,scrollbars=1,"+"width=750,height=500,top=50,left=50";

window.open(page, "Popup", windowprops);
}

function popupAdmin(page) {
self.name = "main"; 
windowprops = "menubars=0,location=0,toolbars=0,scrollbars=1,"+"width=650,height=600,top=30,left=30";

window.open(page, "Popup", windowprops);
}

