function doContents()
{

document.writeln( "<center><b>CONTENTS</b></center>" )
//document.writeln( "<center><img src='images/xmas/holly.jpg'></center>" );

var arr = new Array(
	"Croydon Branch", "index.html", "Cat Anatomy", "anatomy.html", "Contacts", "contacts.html", 
	"Donations", "donations.html", "Events", "events.html",
	"Feral Cats", "ferals.html", "Feedback", "php/feedback.php", 
	"Fostering", "fostering.html", "Found Cats", "php/lostfound.php?menu=found", "Fundraising", "fundraising.html", 
	"Homes Wanted", "php/homeswanted.php", "Homing-info", "aboutHoming.html", "Homing Form", "homingform.html",	
	"Links", "links.html",  "Lost Cats", "php/lostfound.php?menu=lost",	
	"Lost Cat Form", "php/formLostFound.php",
	"Membership", "membership.html", "Neutering-Vouchers", "php/formVoucher.php",
	"Our charity shop", "shop.html", "Older Cats", "oldercats.html",
	"Sponsorship", "sponsorship.html", "Supporters", "supporters.html", 
	"Volunteering", "volunteering.html", "Who are we?", "intro.html"
);

var url = window.location;
if( url.hostname.indexOf("localhost") != -1 ) site="http://" + url.hostname + "/cats/";
else site="http://" + url.hostname + "/";

for( x = 0; x< arr.length; x+=2 ){
	document.writeln( "&nbsp<a href=" + site + arr[x+1] + ">" + arr[x] + "</a><br>" );
}

document.writeln( "<br>" )
document.writeln( "<hr WIDTH='100%'>" )
document.writeln( "&nbsp<a href='http://www.cats.org.uk'>HQ homepage</a>" )
document.writeln( "<br>&nbsp<a href='http://www.cats.org.uk/contact/findcp.asp'>Other Branches</a>")
document.writeln( "<br>" )
// document.writeln( "<hr WIDTH='100%'>" )
//document.writeln( "<br><br><br><br><br><center><img src='images/xmas/sleigh_2.gif'></center>" );

}
