function Add(href) {
    WebRing[++NumInWebRing] = new WebRingObject(href);
    if (location.href.indexOf(href) > -1)
        WhereInRing = NumInWebRing;
}

function WebRingObject(href) {
    this.href = href;
}

var WhereInRing = 0, NumInWebRing = 0, WebRing = new Array();


Add("http://www.masscribes.org/");
Add("http://www.angelfire.com/ma2/janscript/");
Add("http://www.kshaderdesigns.com/links/webrings/webrings.htm");
Add("http://www.calligraphylady.com/");
Add("http://www.kalligrafie.com/");
Add("http://www.coitpens.com/");
Add("http://www.normansketubot.com/");
Add("http://www.janeparilloscribe.com/");
Add("http://scribeworx.tripod.com/");
Add("http://www.geocities.com/wlodek_fenrych/monuments/");
Add("http://kdonahue4.tripod.com/website2/");
Add("http://www.ketubahbykarny.com/");
Add("http://www.bcreativecalligraphy.com/");
Add("http://www.acs.appstate.edu/~yaleread/");
Add("http://www.lettersalive.com/");
Add("http://www.studioarts.net/calligraphy/");
Add("http://www.letterforms.com/");
Add("http://www.davewood.com.au/");
Add("http://www.craftcafe.co.uk/");
Add("http://www.classiccalligraphy.com/");
Add("http://www.wordartist.com/body.htm");
Add("http://www.asharedvision.com/");
Add("http://www.heartstringsdesigns.com/");
Add("http://goldgryph.virtualave.net/");
Add("http://www.calligraphy.nl/");
Add("http://www.hil-ink.com/");
Add("http://www.michaelnoyes.com/links.html");
Add("http://www.zanerian.com/");
Add("http://www.margaretshepherd.com/");


if (WhereInRing == 0) WhereInRing = 1;

if (WhereInRing == 1)
    PrevInRing = NumInWebRing;
else
    PrevInRing = WhereInRing - 1;

if (WhereInRing == NumInWebRing)
    NextInRing = 1;
else
    NextInRing = WhereInRing + 1;

var output = '';

output += '<A HREF="' + WebRing[PrevInRing].href + '" TARGET="_top">';

output += '<IMG SRC="http://www.studioarts.net/calligring/prevbutton2.gif" BORDER="0" WIDTH="63" HEIGHT="93" ALT="Previous Site"></A>';

output += '<A HREF="http://www.studioarts.net/calligring/list.html" TARGET="_top">';

output += '<IMG SRC="http://www.studioarts.net/calligring/indexbutton2.gif" BORDER="0" WIDTH="64" HEIGHT="93" ALT="Directory of Ring Sites"></A>';

output += '<A HREF="http://www.studioarts.net/calligring/index.html" TARGET="_top">';

output += '<IMG SRC="http://www.studioarts.net/calligring/joinbutton2.gif" BORDER="0" WIDTH="38" HEIGHT="93" ALT="Join The Calligraphy Ring"></A>';

output += '<A HREF="' + WebRing[NextInRing].href + '" TARGET="_top">';

output += '<IMG SRC="http://www.studioarts.net/calligring/nextbutton2.gif" BORDER="0" WIDTH="43" HEIGHT="93" ALT="Next Site"></A>';

output += '<A HREF="http://www.studioarts.net/calligring/index.html" TARGET="_top">';

output += '<IMG SRC="http://www.studioarts.net/calligring/ringbutton2.gif" BORDER="0" WIDTH=74 HEIGHT=93 ALT="The Calligraphy Ring"></A>';

document.write(output);

