<!-- hide script from old browsers
//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.

// See also http://www.htmlgoodies.com/tutors/webring.html

// The sites in the Webring (substitute your own!)
sites = new Array()
sites [1] = "http://members.iinet.net.au/~daveb/simplex/simplex.html"
sites [2] = "http://www.homebrewcpu.com/"
sites [3] = "http://www.holmea.demon.co.uk/Mk1/Architecture.htm"
sites [4] = "http://mycpu.mikrocontroller.net/index.htm"
sites [5] = "http://timefracture.org/D16.html"
sites [6] = "http://tripu.triphoenix.de/Main_Page"
sites [7] = "http://people.freenet.de/dieter.02/index.htm"
sites [8] = "http://cpuville.4t.com/index.htm"

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

function findthis() {
// find which site the user is currently on
  thisURL=document.URL;
  for (var i=1; i<=max; i++){
//    if (thisURL==sites[i])
      if (thisURL.split("/")[2]==sites[i].split("/")[2])
      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 script from old browsers -->

