function imgchg(imgst,imgName) {
    imgc = eval(imgName + "_" + imgst + ".src");
    document [imgName].src = imgc;
}

function popupContact(URL) {
	popupWin = window.open('http://snackrecords.com/cgi-bin/snackmail.pl?recipient=nedjudy','contact','width=440,height=460,left=20,top=20,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0');
}

function navbarMain() {
var str;
str = '<hr width="500"> \
<!--<div style="width: 100%;"> \
<table id="navtab"><tr><td> \
<ul id="navlist"> \
<li><a href="/">home</a></li> \
<li><a href="/present">present</a></li> \
<li><a href="/past">past</a></li> \
<li><a href="/contact">contact</a></li> \
<li><a href="/stuff">stuff</a></li> \
</ul> \
</td></tr></table> \
</div>--> \
\
<style type="text/css"> \
#navtab { \
	width: 425px; \
} \
ul#navlist { \
	margin: 0px; \
	padding: 0px; \
	list-style-type: none; \
} \
ul#navlist li a { \
	font-family: Veranda, sans-serif; \
	font-weight: bold; \
	color: #999999; \
	background-color: #000000; \
	text-align: center; \
	border: 1px solid #333333; \
	padding: 3px; \
	width: 75px; \
	display: block; \
	float: left; \
} \
ul#navlist li a:hover { \
	color: #ffffff; \
	border: 1px solid #999999; \
	background-color: #111111; \
	text-decoration: none; \
} \
</style> \
';
document.write(str);
}


function navbarSub(thisPage) {
var Page = new Array();
Page = ["home","present","past","contact","stuff"];
var ActiveState = new Array();

for (i=0; i<Page.length; i++) {
	ActiveState[Page[i]] = "off";
	if (Page[i] == thisPage) {
		ActiveState[Page[i]] = "Active";
	}
}
var str;
str = '<table border="0" cellpadding="0" cellspacing="0" width="550"> \
<tr align="center" valign="middle"> \
<td width="225"><a href="/"><img src="img/home/nedjudy_dot_com_home.jpg" width="225" height="32" border="0" alt="NedJudy.com"></a></td> \
<td width="90"><span class="nedtextbig"><a id="' + ActiveState['present'] + '" href="/present">present</a></td> \
<td width="70"><span class="nedtextbig"><a id="' + ActiveState['past'] + '" href="/past">past</a></td> \
<td width="90"><span class="nedtextbig"><a id="' + ActiveState['contact'] + '" href="/contact">contact</a></td> \
<td width="65"><span class="nedtextbig"><a id="' + ActiveState['stuff'] + '" href="/stuff">stuff</a></td> \
</tr> \
</td></tr></table> \
<table border="0" cellpadding="0" cellspacing="0" width="550"> \
<tr><td> \
<hr /> \
</td></tr> \
</table> \
<br> \
<style type="text/css"> \
a#Active { \
	font-size: 20px; \
	color: #99ccee; \
} \
</style> \
';
document.write(str);
}

function navbarStudies() {
var str;
str = '<table border="0" cellpadding="0" cellspacing="0" width="550"> \
<tr align="left" valign="middle"> \
<td width="225"><a href="/"><img src="img/home/nedjudy_dot_com_home.jpg" width="225" height="32" border="0" alt="NedJudy.com"></a></td> \
<td width="225"><span><a style="font-size: 20px; color: #99ccee;" href="/stuff/morestuff.html">social studies</a></td> \
</tr> \
</td></tr></table> \
<table border="0" cellpadding="0" cellspacing="0" width="550"> \
<tr><td> \
<hr /> \
</td></tr> \
</table> \
<br> \
';
document.write(str);
}

function CopyRight() {
	document.write('<div style="color: #0099ff; font-size: 10pt; text-align: center;">&#169; 2011 Ned Judy</div>');
}


