
// Define global variables in JavaScript 1.0
var canRollOver = false;
var canClickDown = false;


// Change canRollOver to true in JavaScript 1.1
canRollOver = true;

// Primary and rollover image sources #0
HOMEout = new Image(120,35); 
HOMEout.src = 'images/nav_home_off.gif';
HOMEover = new Image(120,35); 
HOMEover.src = 'images/nav_home_on.gif';
HOMEspot = new Image(120,35); 
HOMEspot.src = 'images/nav_home_spot.gif';

// Primary and rollover image sources #1
MISSIONout = new Image(120,35); 
MISSIONout.src = 'images/nav_mission_off.gif';
MISSIONover = new Image(120,35); 
MISSIONover.src = 'images/nav_mission_on.gif';
MISSIONspot = new Image(120,35); 
MISSIONspot.src = 'images/nav_mission_spot.gif';

// Primary and rollover image sources #2
STORYout = new Image(120,35); 
STORYout.src = 'images/nav_story_off.gif';
STORYover = new Image(120,35); 
STORYover.src = 'images/nav_story_on.gif';
STORYspot = new Image(120,35); 
STORYspot.src = 'images/nav_story_spot.gif';

// Primary and rollover image sources #3
GRANTEESout = new Image(120,35); 
GRANTEESout.src = 'images/nav_grantees_off.gif';
GRANTEESover = new Image(120,35); 
GRANTEESover.src = 'images/nav_grantees_on.gif';
GRANTEESspot = new Image(120,35); 
GRANTEESspot.src = 'images/nav_grantees_spot.gif';

// Primary and rollover image sources #4
PARTNERSout = new Image(120,35); 
PARTNERSout.src = 'images/nav_partners_off.gif';
PARTNERSover = new Image(120,35); 
PARTNERSover.src = 'images/nav_partners_on.gif';
PARTNERSspot = new Image(120,35); 
PARTNERSspot.src = 'images/nav_partners_spot.gif';

// Primary and rollover image sources #6
LINKSout = new Image(120,35); 
LINKSout.src = 'images/nav_links_off.gif';
LINKSover = new Image(120,35); 
LINKSover.src = 'images/nav_links_on.gif';
LINKSspot = new Image(120,35); 
LINKSspot.src = 'images/nav_links_spot.gif';

// Primary and rollover image sources #7
NEWSout = new Image(120,35); 
NEWSout.src = 'images/nav_news_off.gif';
NEWSover = new Image(120,35); 
NEWSover.src = 'images/nav_news_on.gif';
NEWSspot = new Image(120,35); 
NEWSspot.src = 'images/nav_news_spot.gif';

// Primary and rollover image sources #8
SPOTLIGHTout = new Image(120,110); 
SPOTLIGHTout.src = 'images/nav_spotlight_off_gs.gif';
SPOTLIGHTover = new Image(120,110); 
SPOTLIGHTover.src = 'images/nav_spotlight_on_gs.gif';


// Conditionally perform the rollovers in JavaScript 1.0
function imageSwap(imageName, imageSuffix) {
     if (!canRollOver) { return; }
     document[imageName].src = eval(imageName + imageSuffix + ".src");
     }
function display(stuff) { window.status = stuff; }
