
<!--- hide script from old browsers
// You can add as many site as you want, but this script must be in the head of each site, 
//and the buttons must be on each site as well.
//Script by Qirien Dhaela, http://www.geocities.com/Area51/Corridor/2451/index.html, qirien@earthling.net
//This script may be used for nonprofit, non-commercial, or educational use as long as these 
//comment lines remain intact and the basic script is not changed.

// The sites in the Webring (substitute your own!)
sites = new Array()
sites [1] = "http://users.3z.net/~jschmidt/moonville/index.shtml"
sites [2] = "http://www.fcgd.org/moonville-2.html"
sites [3] = "http://www.geocities.com/moonie_watkins/moonville.html"
sites [4] = "http://www.geocities.com/forgottenohio/moonville.html"
sites [5] = "http://www.ohioexploration.com/moonvilletun1.htm"
//sites [3] = "http://home.fuse.net/moonville/index.htm"
//sites [4] = "http://users.3z.net/~jschmidt/moonville/site2.shtml"
//sites [5] = "http://users.3z.net/~jschmidt/moonvilleghost/site3.shtml"
//sites [6] = "http://users.3z.net/~jschmidt/moonville/site4.shtml"
sites [5] = "http://www.moonvilleghost.com/index.shtml"


var max=sites.length-1, place=0

function findthis() {
// find which site the user is currently on
	thisURL=document.URL.toLowerCase();
	for (var i=1; i<=max; i++){
		if (thisURL==sites[i])
			place=i;
}
}

function go(where) {
// go to a site
	location = sites[where];
}

function next() {
// go to the next site
	findthis();
	if (place==max)
		place=1;
	else
		place=place+1;
	go(place);
}

function previous() {
// go to the previous site
	findthis();
	if (place<=1)
		place=max;
	else
		place=place-1;
	go(place);
}

function getRandom() {
// get a random number
   return Math.random()
}

function random() {
// go to a random site
	findthis();
	myrand=Math.round(getRandom()*(max));
	if ((place==myrand) || (myrand==0))
		random();
	else {
		place=myrand;
		go(place);		
}
}
	
// end hiding from old browsers -->