                // the following script can be freely reused just
                // keep these comments
                // (c) 1999 Jennifer Warner Design
                
var theClient = false;
var badUnix = false;
var version = parseInt(navigator.appVersion.substring(0,1));
   
// called only if browser is Netscape (table bg problems with their UNIX builds prior to v4)
function badUnixTest() 
{
	if ((navigator.appVersion.indexOf("X11") != -1) && 
		(version < 4)) 
	{
		badUnix = true;
	}
}

if (navigator.appName == "Microsoft Internet Explorer") 
{
	var     isIE4 = false;
	var isIE3 = false;

	if (version == 3) {
		isIE3 = true;
	}
	else if (version >= 4) {
		isIE3 = true;
		isIE4 = true;
	}
	if (isIE3 | isIE4) {
		theClient = true;
	}
}

if (navigator.appName == "Netscape") 
{
	var     isNS4 = false;
	var     isNS3 = false;
        
	badUnixTest();

	if (version == 3) {
		isNS3 = true;
	}
	else if (version >= 4) {
		isNS3 = true;
		isNS4 = true;
	}
	if (isNS3 | isNS4) {
		theClient = true;
	}
}

var rollSprite = new Array();

function initRollover(dir)
{
if (theClient) 
{
	rollSprite[0] = new Image;
	rollSprite[0].src = dir+"navangelwalls.jpg";
	rollSprite[1] = new Image;
	rollSprite[1].src = dir+"navangelwallsglo.jpg";

	rollSprite[2] = new Image;
	rollSprite[2].src = dir+"navcpkids.jpg";
	rollSprite[3] = new Image;
	rollSprite[3].src = dir+"navcpkidsglo.jpg";

	rollSprite[4] = new Image;
	rollSprite[4].src = dir+"navbv.jpg";
	rollSprite[5] = new Image;
	rollSprite[5].src = dir+"navbvglo.jpg";

	rollSprite[6] = new Image;
	rollSprite[6].src = dir+"navform.jpg";
	rollSprite[7] = new Image;
	rollSprite[7].src = dir+"navformglo.jpg";

	rollSprite[8] = new Image;
	rollSprite[8].src = dir+"navmall.jpg";
	rollSprite[9] = new Image;
	rollSprite[9].src = dir+"navmallglo.jpg";

	rollSprite[10] = new Image;
	rollSprite[10].src = dir+"navcp2004.jpg";
	rollSprite[11] = new Image;
	rollSprite[11].src = dir+"navcp2004glo.jpg";

	rollSprite[12] = new Image;
	rollSprite[12].src = dir+"navcp2003.jpg";
	rollSprite[13] = new Image;
	rollSprite[13].src = dir+"navcp2003glo.jpg";

	rollSprite[14] = new Image;
	rollSprite[14].src = dir+"navcp2002.jpg";
	rollSprite[15] = new Image;
	rollSprite[15].src = dir+"navcp2002glo.jpg";

	rollSprite[16] = new Image;
	rollSprite[16].src = dir+"navcp2005.jpg";
	rollSprite[17] = new Image;
	rollSprite[17].src = dir+"navcp2005glo.jpg";

	rollSprite[18] = new Image;
	rollSprite[18].src = dir+"navcp2006.jpg";
	rollSprite[19] = new Image;
	rollSprite[19].src = dir+"navcp2006glo.jpg";

	rollSprite[20] = new Image;
	rollSprite[20].src = dir+"navcp2007.jpg";
	rollSprite[21] = new Image;
	rollSprite[21].src = dir+"navcp2007glo.jpg";
	
	rollSprite[22] = new Image;
	rollSprite[22].src = dir+"navcp2009_2010.jpg";
	rollSprite[23] = new Image;
	rollSprite[23].src = dir+"navcp2009_2010_glo.jpg";
	
	rollSprite[24] = new Image;
	rollSprite[24].src = dir+"navangelindex.jpg";
	rollSprite[25] = new Image;
	rollSprite[25].src = dir+"navangelindexglo.jpg";
	
	rollSprite[26] = new Image;
	rollSprite[26].src = dir+"nav_keepr.jpg";
	rollSprite[27] = new Image;
	rollSprite[27].src = dir+"nav_keepr_glo.jpg";

}
}
function hiLite(which, mouseOver)
{
	if (!theClient)
		return false;
	if (which == 0) 
	{
		document.img0.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Angel Walls" : "";
		return true;
	} 
	else if (which == 1) 
	{
		document.img1.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid's Wall, for all the kids that crossed over while in foster care" : ""; 
	} 
	else if (which == 2) 
	{
		document.img2.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "How to say good-bye and cope with the loss" : "";
	} 
	else if (which == 3) 
	{
		document.img3.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Submit a Memorial" : ""; 
	} 
	else if (which == 4) 
	{
		document.img4.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Visit our Memorial Mall to find items to remember your pet by" : "";
	}
	else if (which == 5) 
	{
		document.img5.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2004" : "";
	}
	else if (which == 6) 
	{
		document.img6.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2003" : "";
	}
	else if (which == 7) 
	{
		document.img7.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2001 - 2002" : "";
	}
	else if (which == 8) 
	{
		document.img8.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2005" : "";
	}
	else if (which == 9) 
	{
		document.img9.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2006" : "";
	}
               else if (which == 10) 
	{
		document.img10.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2007-2008" : "";
	}          
	else if (which == 11) 
	{
		document.img11.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2009" : "";
	}  
	else if (which == 12) 
	{
		document.img12.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "A listing of all memorials on our site" : "";
	}
	
			else if (which == 13) 
	{
		document.img13.src = rollSprite[2 * which + mouseOver].src;
		window.status = mouseOver ? "Keeper of the Clans Page" : ""; 
	} 
	return true;
}


function navigation(dir)
{
	document.write('<A href="'+dir+'index.html"><IMG height="108" alt="Col. Potter Buf Memorial Park" src="'+dir+'images/frontpagehome.jpg" width="143" border="0" NOSAVE></A>');
	document.write('<br>');
	document.write('<br>');
	document.write('<A onmouseover="if (hiLite(0, 1)) return true;" onmouseout="if (hiLite(0, 0)) return true;" href="'+dir+'pwall_theo.htm">');
	document.write('<IMG height="26" src="'+dir+'images/navangelwalls.jpg" width="143" border="0" name="img0" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(1, 1)) return true;" onmouseout="if (hiLite(1, 0)) return true;" href="'+dir+'cpkidswall_main.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s Wall, for all the kids that crossed over while in foster care" src="'+dir+'images/navcpkids.jpg" width="143" border="0" name="img1" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(11, 1)) return true;" onmouseout="if (hiLite(11, 0)) return true;" href="'+dir+'cpkidswall_2009.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2009" src="'+dir+'images/navcp2009.jpg" width="143" border="0" name="img11" NOSAVE></A>');

	
	document.write('<A onmouseover="if (hiLite(10, 1)) return true;" onmouseout="if (hiLite(10, 0)) return true;" href="'+dir+'cpkidswall_2007.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2007" src="'+dir+'images/navcp2009_2010.jpg" width="143" border="0" name="img10" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(9, 1)) return true;" onmouseout="if (hiLite(9, 0)) return true;" href="'+dir+'cpkidswall_2006.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2006" src="'+dir+'images/navcp2006.jpg" width="143" border="0" name="img9" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(8, 1)) return true;" onmouseout="if (hiLite(8, 0)) return true;" href="'+dir+'cpkidswall_2005.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2005" src="'+dir+'images/navcp2005.jpg" width="143" border="0" name="img8" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(5, 1)) return true;" onmouseout="if (hiLite(5, 0)) return true;" href="'+dir+'cpkidswall_2004.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2004" src="'+dir+'images/navcp2004.jpg" width="143" border="0" name="img5" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(6, 1)) return true;" onmouseout="if (hiLite(6, 0)) return true;" href="'+dir+'cpkidswall_2003.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2003" src="'+dir+'images/navcp2003.jpg" width="143" border="0" name="img6" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(7, 1)) return true;" onmouseout="if (hiLite(7, 0)) return true;" href="'+dir+'cpkidswall_2002.htm">');
	document.write('<IMG height="26" alt="Col. Potter Kid\'s, for all the kids that crossed over while in foster care in 2001 - 2002" src="'+dir+'images/navcp2002.jpg" width="143" border="0" name="img7" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(2, 1)) return true;" onmouseout="if (hiLite(2, 0)) return true;" href="'+dir+'bvpoems.htm">');
	document.write('<IMG height="26" alt="How to say good-bye and cope with the loss" src="'+dir+'images/navbv.jpg" width="143" border="0" name="img2" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(3, 1)) return true;" onmouseout="if (hiLite(3, 0)) return true;" target="_newMemorial" href="'+dir+'forms/frm_memorial.htm">');
	document.write('<IMG height="26" alt="Submit a Memorial" src="'+dir+'images/navform.jpg" width="143" border="0" name="img3" NOSAVE></A>');

	document.write('<A onmouseover="if (hiLite(4, 1)) return true;" onmouseout="if (hiLite(4, 0)) return true;" href="'+dir+'memorial_mall.htm">');
	document.write('<IMG height="26" alt="Visit our Memorial Mall to find items to remember your pet by" src="'+dir+'images/navmall.jpg" width="143" border="0" name="img4" NOSAVE></A>');
	
	document.write('<A onmouseover="if (hiLite(12, 1)) return true;" onmouseout="if (hiLite(12, 0)) return true;" href="'+dir+'angel_index.htm">');
	document.write('<IMG height="26" alt="This index lists all memorials on the site" src="'+dir+'images/navangelindex.jpg" width="143" border="0" name="img12" NOSAVE></A>');
	
	
 	document.write('<A onmouseover="if (hiLite(13, 1)) return true;" onmouseout="if (hiLite(13, 0)) return true;" href="keeper_wall.htm">');
 	document.write('<IMG height="26" alt="Keeper of the Cairns Wall honors CP Members who have passed while active in our rescue" src="images/nav_keepr.jpg" width="143" border="0" name="img13" NOSAVE></A>');

	
}

