/*
var homeon= new Image()
homeon.src = "images/nav_home_ON.jpg"
var homeoff= new Image()
homeoff.src = "images/nav_home_OFF.jpg"
*/

var storieson= new Image()
storieson.src = "images/nav_stories_ON.jpg"
var storiesoff= new Image()
storiesoff.src = "images/nav_stories_OFF.jpg"

var meetteresaon= new Image()
meetteresaon.src = "images/nav_meetteresa_ON.jpg"
var meetteresaoff= new Image()
meetteresaoff.src = "images/nav_meetteresa_OFF.jpg"

var sophiesdiaryon= new Image()
sophiesdiaryon.src = "images/nav_sophiesdiary_ON.jpg"
var sophiesdiaryoff= new Image()
sophiesdiaryoff.src = "images/nav_sophiesdiary_OFF.jpg"

var yearbookon= new Image()
yearbookon.src = "images/nav_yearbook_ON.jpg"
var yearbookoff= new Image()
yearbookoff.src = "images/nav_yearbook_OFF.jpg"

var askauntieon= new Image()
askauntieon.src = "images/nav_askauntie_ON.jpg"
var askauntieoff= new Image()
askauntieoff.src = "images/nav_askauntie_OFF.jpg"

var lukefileson= new Image()
lukefileson.src = "images/nav_lukefiles_ON.jpg"
var lukefilesoff= new Image()
lukefilesoff.src = "images/nav_lukefiles_OFF.jpg"

var interacton= new Image()
interacton.src = "images/nav_interact_ON.jpg"
var interactoff= new Image()
interactoff.src = "images/nav_interact_OFF.jpg"

var gossipon= new Image()
gossipon.src = "images/nav_gossip_ON.jpg"
var gossipoff= new Image()
gossipoff.src = "images/nav_gossip_OFF.jpg"

var buythebookson= new Image()
buythebookson.src = "images/nav_buythebooks_ON.jpg"
var buythebooksoff= new Image()
buythebooksoff.src = "images/nav_buythebooks_OFF.jpg"



function showImage(fname) {
iname=eval(fname + "on.src");
document[fname].src = iname;}

function hideImage(fname) {
iname=eval(fname + "off.src");
document[fname].src = iname;}



/*if (Current_Page!="home") {	
document.write ("<td width='6.5%' align='center'><a href='home.html' onMouseOver=showImage('home') onMouseOut=hideImage('home')><img src='images/nav_home_OFF.jpg' width='42' height='22' alt='' border='0' name='home' vspace='27' /></a></td>");
}*/

if (Current_Page=="stories") {	
document.write ("<td width='10%' align='center'><img src='images/nav_stories_ON.jpg' width='89' height='107' alt='' border='0' name='stories' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='stories.html' onMouseOver=showImage('stories') onMouseOut=hideImage('stories')><img src='images/nav_stories_OFF.jpg' width='89' height='107' alt='' border='0' name='stories' vspace='0' /></a></td>");
}

if (Current_Page=="meetteresa") {	
document.write ("<td width='10%' align='center'><img src='images/nav_meetteresa_ON.jpg' width='81' height='107' alt='' border='0' name='meetteresa' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='meetteresa.html' onMouseOver=showImage('meetteresa') onMouseOut=hideImage('meetteresa')><img src='images/nav_meetteresa_OFF.jpg' width='81' height='107' alt='' border='0' name='meetteresa' vspace='0' /></a></td>");
}

if (Current_Page=="sophiesdiary") {	
document.write ("<td width='10%' align='center'><img src='images/nav_sophiesdiary_ON.jpg' width='93' height='107' alt='' border='0' name='sophiesdiary' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='http://www.penguinblogs.ca/betterthanblonde/' onMouseOver=showImage('sophiesdiary') onMouseOut=hideImage('sophiesdiary')><img src='images/nav_sophiesdiary_OFF.jpg' width='93' height='107' alt='' border='0' name='sophiesdiary' vspace='0' /></a></td>");
}

if (Current_Page=="yearbook") {	
document.write ("<td width='10%' align='center'><img src='images/nav_yearbook_ON.jpg' width='88' height='107' alt='' border='0' name='yearbook' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='yearbook.html' onMouseOver=showImage('yearbook') onMouseOut=hideImage('yearbook')><img src='images/nav_yearbook_OFF.jpg' width='88' height='107' alt='' border='0' name='yearbook' vspace='0' /></a></td>");
}

if (Current_Page=="askauntie") {	
document.write ("<td width='10%' align='center'><img src='images/nav_askauntie_ON.jpg' width='89' height='107' alt='' border='0' name='askauntie' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='askauntie.html' onMouseOver=showImage('askauntie') onMouseOut=hideImage('askauntie')><img src='images/nav_askauntie_OFF.jpg' width='89' height='107' alt='' border='0' name='askauntie' vspace='0' /></a></td>");
}

if (Current_Page=="lukefiles") {	
document.write ("<td width='10%' align='center'><img src='images/nav_lukefiles_ON.jpg' width='89' height='107' alt='' border='0' name='lukefiles' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='lukefiles.html' onMouseOver=showImage('lukefiles') onMouseOut=hideImage('lukefiles')><img src='images/nav_lukefiles_OFF.jpg' width='89' height='107' alt='' border='0' name='lukefiles' vspace='0' /></a></td>");
}

if (Current_Page=="interact") {	
document.write ("<td width='10%' align='center'><img src='images/nav_interact_ON.jpg' width='86' height='107' alt='' border='0' name='interact' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='interact.html' onMouseOver=showImage('interact') onMouseOut=hideImage('interact')><img src='images/nav_interact_OFF.jpg' width='86' height='107' alt='' border='0' name='interact' vspace='0' /></a></td>");
}

if (Current_Page=="gossip") {	
document.write ("<td width='10%' align='center'><img src='images/nav_gossip_ON.jpg' width='89' height='107' alt='' border='0' name='gossip' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='gossip.html' onMouseOver=showImage('gossip') onMouseOut=hideImage('gossip')><img src='images/nav_gossip_OFF.jpg' width='89' height='107' alt='' border='0' name='gossip' vspace='0' /></a></td>");
}

if (Current_Page=="buythebooks") {	
document.write ("<td width='10%' align='center'><img src='images/nav_buythebooks_ON.jpg' width='94' height='107' alt='' border='0' name='buythebooks' vspace='0' /></td>");
} else {
document.write ("<td width='10%' align='center'><a href='buythebooks.html' onMouseOver=showImage('buythebooks') onMouseOut=hideImage('buythebooks')><img src='images/nav_buythebooks_OFF.jpg' width='94' height='107' alt='' border='0' name='buythebooks' vspace='0' /></a></td>");
}


