home = new Array();
home[0] = "<td id='homemenu' ";
home[1] = "onMouseover=fixmenu('homemenu',1) onMouseout=fixmenu('homemenu',0)>";
home[2] = "<a class='basic' href='../index.htm'> &nbsp  Home Page &nbsp </a>";
 
// onMouseover=fixmenu('menu1',1) onMouseout=fixmenu('menu1',0)
bishop = new Array();
bishop[0] = "<td id='bishopmenu' ";
bishop[1] = "onMouseover=fixmenu('bishopmenu',1) onMouseout=fixmenu('bishopmenu',0)>";
bishop[2] = "<a class='basic' href='../BishopPage/index.htm'> &nbsp Bishop &nbsp </a>";
bishop[3] = "<a class='basic' href='../BishopPage/letters.htm'> &nbsp  Letters &nbsp </a>";
bishop[4] = "<a class='basic' href='../BishopPage/schedule.htm'> &nbsp Schedule &nbsp </a>";

chancery = new Array();
chancery[0] = "<td id='chancerymenu' ";
chancery[1] = "onMouseover=fixmenu('chancerymenu',1) onMouseout=fixmenu('chancerymenu',0)>";
chancery[2] = "<a class='basic' href='../Chancery/index.htm'> &nbsp Chancery &nbsp </a>";
chancery[3] = "<a class='basic' href='../Chancery/index.htm'> &nbsp Diocesan Office &nbsp </a>";
chancery[4] = "<a class='basic' href='../Chancery/index.htm#Bishop'> &nbsp Bishop's Office &nbsp </a>";
chancery[5] = "<a class='basic' href='../Chancery/index.htm#Chancery'> &nbsp Chancery Office &nbsp </a>";
chancery[6] = "<a class='basic' href='../Chancery/index.htm#CIS'> &nbsp C.I.S. Schools &nbsp </a>";
chancery[7] = "<a class='basic' href='../Chancery/index.htm#Pastoral'> &nbsp Pastoral Center &nbsp </a>";
chancery[8] = "<a class='basic' href='../Chancery/index.htm#Finance'> &nbsp Finance Office &nbsp </a>";
chancery[9] = "<a class='basic' href='../Chancery/index.htm#Councils'> &nbsp Councils & Committees &nbsp </a>";
chancery[10] = "<a class='basic' href='../Chancery/index.htm#Statistics'> &nbsp Diocesan Statistics &nbsp </a>";

historyarr = new Array();
historyarr[0] = "<td id='historymenu' ";
historyarr[1] = "onMouseover=fixmenu('historymenu',1) onMouseout=fixmenu('historymenu',0)>";
historyarr[2] = "<a class='basic' href='../History/index.htm'> &nbsp History &nbsp </a>";
historyarr[3] = "<a class='basic' href='../History/index.htm#early'> &nbsp Early Years &nbsp </a>";
historyarr[4] = "<a class='basic' href='../History/index.htm#emile'> &nbsp Bishop Emile Marie Bunoz &nbsp </a>";
historyarr[5] = "<a class='basic' href='../History/index.htm#anthony'> &nbsp Bishop Anthony Jordan &nbsp </a>";
historyarr[6] = "<a class='basic' href='../History/index.htm#john'> &nbsp Bishop John Fergus O'Grady &nbsp </a>";
historyarr[7] = "<a class='basic' href='../History/index.htm#hubert'> &nbsp Bishop Hubert Patrick O'Connor &nbsp </a>";
historyarr[8] = "<a class='basic' href='../History/index.htm#lawrence'> &nbsp Msgr. Lawrence Turgeon &nbsp </a>";
historyarr[9] = "<a class='basic' href='../History/index.htm#gerald'> &nbsp Bishop Gerald William Wiesner &nbsp </a>";
historyarr[10] = "<a class='basic' href='../History/index.htm#CIS'> &nbsp Catholic Independent Schools &nbsp </a>";
historyarr[11] = "<a class='basic' href='../History/index.htm#Deathogrady'> &nbsp Death of Bishop O'Grady &nbsp </a>";
historyarr[12] = "<a class='basic' href='../History/index.htm#PSL'> &nbsp Priests, Sisters and <br> &nbsp  &nbsp Lay Pastoral Ministers &nbsp </a>";

parish = new Array();
parish[0] = "<td id='parishmenu' ";
parish[1] = "onMouseover=fixmenu('parishmenu',1) onMouseout=fixmenu('parishmenu',0)>";
parish[2] = "<a class='basic' href='../Parishes/index.htm'> &nbsp  Parishes &nbsp </a>";
parish[3] = "<a class='basic' href='../Parishes/princegeorge.htm'> &nbsp  Prince George &nbsp </a>";
parish[4] = "<a class='basic' href='../Parishes/burnslake.htm'> &nbsp  Burns Lake &nbsp </a>";
parish[5] = "<a class='basic' href='../Parishes/chetwynd.htm'> &nbsp  Chetwynd &nbsp </a>";
parish[6] = "<a class='basic' href='../Parishes/dawsoncreek.htm'> &nbsp  Dawson Creek &nbsp </a>";
parish[7] = "<a class='basic' href='../Parishes/ftstjames.htm'> &nbsp  Fort St. James &nbsp </a>";
parish[8] = "<a class='basic' href='../Parishes/ftstjohn.htm'> &nbsp  Fort St. John &nbsp </a>";
parish[9] = "<a class='basic' href='../Parishes/fraserlake.htm'> &nbsp  Fraser Lake &nbsp </a>";
parish[10] = "<a class='basic' href='../Parishes/kitimat.htm'> &nbsp  Kitimat &nbsp </a>";
parish[11] = "<a class='basic' href='../Parishes/mcbride.htm'> &nbsp  McBride &nbsp </a>";
parish[12] = "<a class='basic' href='../Parishes/mackenzie.htm'> &nbsp  Mackenzie &nbsp </a>";
parish[13] = "<a class='basic' href='../Parishes/newhazelton.htm'> &nbsp  New Hazelton &nbsp </a>";
parish[14] = "<a class='basic' href='../Parishes/princerupert.htm'> &nbsp  Prince Rupert &nbsp </a>";
parish[15] = "<a class='basic' href='../Parishes/smithers.htm'> &nbsp  Smithers &nbsp </a>";
parish[16] = "<a class='basic' href='../Parishes/terrace.htm'> &nbsp  Terrace &nbsp </a>";
parish[17] = "<a class='basic' href='../Parishes/vanderhoof.htm'> &nbsp  Vanderhoof &nbsp </a>";

school = new Array();
school[0] = "<td id='schoolmenu' ";
school[1] = "onMouseover=fixmenu('schoolmenu',1) onMouseout=fixmenu('schoolmenu',0)>";
school[2] = "<a class='basic' href='../Schools/index.htm'> &nbsp  Schools &nbsp </a>";
school[3] = "<a class='basic' href='../Schools/index.htm'> &nbsp CIS-offices &nbsp </a>";
school[4] = "<a class='basic' href='../Parishes/princegeorge.htm#School'> &nbsp Prince George &nbsp </a>";
school[5] = "<a class='basic' href='../Parishes/dawsoncreek.htm#School'> &nbsp Dawson Creek &nbsp </a>";
school[6] = "<a class='basic' href='../Parishes/kitimat.htm#School'> &nbsp Kitimat &nbsp </a>";
school[7] = "<a class='basic' href='../Parishes/princerupert.htm#School'> &nbsp Prince Rupert &nbsp </a>";
school[8] = "<a class='basic' href='../Parishes/smithers.htm#School'> &nbsp Smithers &nbsp </a>";
school[9] = "<a class='basic' href='../Parishes/terrace.htm#School'> &nbsp Terrace &nbsp </a>";
school[10] = "<a class='basic' href='../Parishes/vanderhoof.htm#School'> &nbsp Vanderhoof &nbsp </a>";

domano = new Array();
domano[0] = "<td id='domanomenu' ";
domano[1] = "onMouseover=fixmenu('domanomenu',1) onMouseout=fixmenu('domanomenu',0)>";
domano[2] = "<a class='basic' href='../RenewalCentre/index.htm'> &nbsp Domano <br> &nbsp Renewal Centre &nbsp </a>";
//domano[3] = "<a class='basic' href='../RenewalCentre/goals.htm'> &nbsp Goals and Criteria &nbsp </a>";
//domano[4] = "<a class='basic' href='../RenewalCentre/schedule.htm'> &nbsp Schedule &nbsp </a>";
//domano[5] = "<a class='basic' href='../RenewalCentre/discription.htm'> &nbsp Programs &nbsp </a>";

link = new Array();
link[0] = "<td id='linkmenu' ";
link[1] = "onMouseover=fixmenu('linkmenu',1) onMouseout=fixmenu('linkmenu',0)>";
link[2] = "<a class='basic' href='../Links/index.htm'> &nbsp Links &nbsp </a>";

service = new Array();
service[0] = "<td id='servicemenu' ";
service[1] = "onMouseover=fixmenu('servicemenu',1) onMouseout=fixmenu('servicemenu',0)>";
service[2] = "<a class='basic' href='../Services/index.htm'> &nbsp Services &nbsp </a>";
service[3] = "<a class='basic' href='../Services/index.htm#Camps'> &nbsp Camps &nbsp </a>";
service[4] = "<a class='basic' href='../Services/index.htm#Counseling'> &nbsp Counseling &nbsp </a>";
service[5] = "<a class='basic' href='../Services/index.htm#CWL'> &nbsp Catholic Women's   League &nbsp </a>";
service[6] = "<a class='basic' href='../Services/index.htm#Charismatic'> &nbsp Charismatic Renewal &nbsp </a>";
service[7] = "<a class='basic' href='../Services/index.htm#Cursillo'> &nbsp Cursillo &nbsp </a>";
service[8] = "<a class='basic' href='../Services/index.htm#DRC'> &nbsp Domano Renewal Centre &nbsp </a>";
service[9] = "<a class='basic' href='../Services/index.htm#Engaged Encounter'> &nbsp Engaged Encounter &nbsp </a>";
service[10] = "<a class='basic' href='../Services/index.htm#Hidden Gem'> &nbsp Hidden Gem <br> &nbsp &nbsp Community Home &nbsp </a>";
service[11] = "<a class='basic' href='../Services/index.htm#Hospital Chaplaincy'> &nbsp Hospital Chaplaincy &nbsp </a>";
service[12] = "<a class='basic' href='../Services/index.htm#KofC'> &nbsp Kights of   Columbus &nbsp </a>";
service[13] = "<a class='basic' href='../Services/index.htm#Pontifical Mission'> &nbsp Pontifical Mission &nbsp </a>";
service[14] = "<a class='basic' href='../Services/index.htm#Prison Chaplaincy'> &nbsp Prison Chaplaincy &nbsp </a>";
service[15] = "<a class='basic' href='../Services/index.htm#Rainbows'> &nbsp Rainbows for   all Children &nbsp </a>";
service[16] = "<a class='basic' href='../Services/index.htm#Religious Council'> &nbsp Religious Council &nbsp </a>";
service[17] = "<a class='basic' href='../Services/index.htm#St. Vincent de Paul'> &nbsp St. Vincent  de Paul &nbsp </a>";
service[18] = "<a class='basic' href='../Services/index.htm#Shepherd Corner'> &nbsp Shepherd's Corner &nbsp </a>";

youth = new Array();
youth[0] = "<td id='youthmenu' ";
youth[1] = "onMouseover=fixmenu('youthmenu',1) onMouseout=fixmenu('youthmenu',0)>";
youth[2] = "<a class='basic' href='../Youth/index.htm'> &nbsp Youth &nbsp </a>";
youth[3] = "<a class='basic' href='../Youth/Mission.htm'> &nbsp Mission Statement &nbsp </a>";
youth[4] = "<a class='basic' href='../Youth/Directory.htm'> &nbsp Directory &nbsp </a>";

menu = new Array();
menu[0] = home;
menu[1] = bishop;
menu[2] = chancery;
menu[3] = historyarr;
menu[4] = parish;
menu[5] = school;
menu[6] = domano;
menu[7] = link;
menu[8] = service;
//menu[9] = youth;

color = new Array();
color[0] = "bgcolor='#758ca0'";
color[1] = "bgcolor='#82a2be'";

justcolor= new Array();
justcolor[0] = "color='#758ca0'";
justcolor[1] = "color='#82a2be'";

function fixmenu(menux,a)
{
  test1 = true
  if (document.getElementById) // stdBrowser
  {// alert("hello: " + menux)
	test1 = false
	menux = document.getElementById(menux).style
	if (menux.setProperty) {
		if (a == 1) {menux = menux.setProperty("visibility", "visible", "")}
		if (a == 0) {menux = menux.setProperty("visibility", "hidden", "")}
	}
	else {
		if (a == 1) {menux.visibility="visible"}
		if (a == 0) {menux.visibility="hidden"}
	}
  } // end if stdBrowser
					
  if ((document.all) && (test1))
  {// alert("document.all and test1")
	menux = eval(menux + ".style")
	if (a == 1) {menux.visibility="visible"}
	if (a == 0) {menux.visibility="hidden"}
  } // end if (document.all)

  if ((document.layers) && (test1)) // Netscape 4.?
  {
	menux = eval("document." + menux)
	if (a == 1) {menux.visibility="visible"}
	if (a == 0) {menux.visibility="hidden"}
  } // end if (document.Layers)
  
} // end function fixmenu(menux,a)

function makesidebar(mainmenu)
{
	var outer = 0;
	var inner = 1;
	document.write("<table border='0' width='110'");
	document.write(color[0]);
	document.write(" cellpadding='0' cellspacing='0'>");
	while(outer < mainmenu.length)
	{
		if(mainmenu[outer].length > 0){
			submenu = mainmenu[outer];
			inner = 2;
			if(outer%2){
			    	document.write("<tr><td ");
				document.write(color[1]);
			}else{
			    	document.write("<tr><td ");
			}
		    	document.write(submenu[1]);
		    	document.write(submenu[2]);
		    	document.write("</td><td valign='top'><table border='0' cellpadding='0' cellspacing='0'><tr>");
			document.write(submenu[0]);
			document.write(submenu[1]);
			document.write("<table border='0' ");
			document.write( color[0]);
			document.write(" cellpadding='0' cellspacing='0'>");
			while(inner < submenu.length)
			{
				if((inner+outer)%2==0){
					document.write("<tr><td>");
				}else{
					document.write("<tr><td ");
					document.write(color[1]);
					document.write(">");
				}
				document.write(submenu[inner]);
				document.write("</td></tr>");
				inner ++;
			}
			document.write("</table>");
			document.write("</td></tr></table>");
		    	document.write("</td></tr>");
		}
		outer ++;
	}
	document.write("</table>");
}

function makemenu(mainmenu){
	var outer = 0;
	var inner = 2;
	document.write("<table border='0' ");
	document.write(color[0]);
	document.write(" cellpadding='0' cellspacing='0'><tr>");
	while(outer < mainmenu.length)
	{
		if(mainmenu[outer].length > 0){
			submenu = mainmenu[outer];
			inner = 2;
			document.write("<td valign='top'><table cellpadding='0' cellspacing='0'><tr>");
			document.write(submenu[0]);
			document.write(" valign='top' ");
			document.write(submenu[1]);
			document.write("<table cellpadding='0' cellspacing='0' ");
			document.write(color[0]);
			document.write(" >");
			while(inner < submenu.length)
			{
				if(inner%2==0){
					document.write("<tr><td>");
				}else{
					document.write("<tr><td ");
					document.write(color[1]);
					document.write(">");
				}
				document.write(submenu[inner]);
				document.write("</td></tr>");

				inner ++;
			}
			document.write("</table>");
		    	document.write("</td></tr></table></td><td valign='top'");
		    	document.write(submenu[1]);
		    	document.write(submenu[2]);
		    	document.write("</td>");
			
		}
		outer ++;
	}

	document.write("</tr>");
	document.write("</table>");
}
function printbishop(){
	document.write("<br> <a href='../BishopPage/index.htm'>");
	document.write("<img border='0' height='110' width='110' src='../Image/bishoparms.gif' />");
	document.write("</a> <div align='center'>");
      document.write("<font face='verdana' color='black' size='1'>");
      document.write("Most Rev.<br />Gerald Wiesner<br />O.M.I. </font></div>");
}
function printcontacts(){
	document.write("<hr color='#758ca0' size='5'>");
	document.write("6500 Southridge Ave., Prince George, British Columbia <br>");
	document.write("Mailing Address: Box 7000 Prince George, British Columbia, V2N 3Z2 <br>");
	document.write("Phone: (250) 964-4424 Fax: (250) 964-2101 <br>");

	document.write("<hr color='#758ca0' size='1' width='50%'>");
	document.write("Email questions and comments to: ");
	emailwrite("pgdiocese","gmail",0);

}

extention = new Array();
extention[0] = ".com";
extention[1] = ".ca";
extention[2] = ".bc.ca";
extention[3] = ".org";
extention[4] = ".net";


function emailwrite(name,domain,extentionnumber){
	document.write(name);
	document.write("@");
	document.write(domain);
	document.write(extention[extentionnumber]);
}