// Keeps parent frame from being loaded in child frame.
if (top != self) {
	top.location = location
}
//Bookmark
function bookmark(url, description) {
netscape="First push OK and then hit CTRL+D to add a bookmark to this site."
if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite(url, description);
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}}
// Disables mouse right click
var message="Copyright 2003-2010 Dave Annis.  All Rights Reserved.";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

// Writes slavefarm link to index page
function slavefar() {
	document.write('<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.slavefarm.com/topsites/in.php?id=back00" class="grylink16b" target="slave"><img src="banners/slavefarm2.gif" width=150 height=90 border=3 alt="Slave F@rm"></a>')
	document.close()
}

// Writes copyright date on bottom of pages
function date() {
	document.write('<p class="pnk10n">Copyright &copy; 2003-2010 Dave Annis.&nbsp; All Rights Reserved.</p>')
	document.close()
}