/*HM_Loader.js
* by Peter Belesis. v4.0.13 010712
* Copyright (c) 2001 Peter Belesis. All Rights Reserved.
*/
   HM_DOM = (document.getElementById) ? true : false;
   HM_NS4 = (document.layers) ? true : false;
    HM_IE = (document.all) ? true : false;
   HM_IE4 = HM_IE && !HM_DOM;
   HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  HM_IE4M = HM_IE4 && HM_Mac;
HM_IsMenu = (HM_DOM || HM_NS4 || (HM_IE4 && !HM_IE4M));

HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_GL_MenuWidth          = 130;
HM_GL_FontFamily         = "Arial,Tahoma,Helvetica, Verdana, Sans Serif";
HM_GL_FontSize           = 10;
HM_GL_FontBold           = false;
HM_GL_FontItalic         = false;
HM_GL_FontColor          = "#000080";
HM_GL_FontColorOver      = "#9FB3FF";
HM_GL_BGColor            = "#9FB3FF";
HM_GL_BGColorOver        = "#000080";
HM_GL_ItemPadding        = 1;
HM_GL_BorderWidth        = 1;
HM_GL_BorderColor        = "#000080";
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 1;
HM_GL_SeparatorColor     = "#000080";

//4.0.13
HM_GL_ImageSrc = "";
HM_GL_ImageSrcLeft = "";
HM_GL_ImageSrcOver = "";
HM_GL_ImageSrcLeftOver = "";
HM_GL_ImageSize          = 0;
HM_GL_ImageHorizSpace    = 0;
HM_GL_ImageVertSpace     = 0;
HM_GL_KeepHilite         = false;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = 0;
HM_GL_ChildOverlap       = 1;
HM_GL_ChildOffset        = 2;
//HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = .5;
HM_GL_ChildSecondsVisible = .3;
HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = 1;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;

//HM_GL_RightToLeft      = true;
//HM_GL_CreateTopOnly      = HM_NS4 ? true : false;
//HM_GL_ShowLinkCursor     = true;

// the following function is included to illustrate the improved JS expression handling of
// the left_position and top_position parameters introduced in 4.0.9
// you may delete if you have no use for it

function HM_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = HM_DOM ? document.getElementById(topmenuid) : HM_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = HM_IE ? document.body.clientWidth : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(HM_IsMenu) {
    document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/_assets/_js/HM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/_assets/_js/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>"); // HM_BrowserString
}

// addtional functions added for this site only!!
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function showmap(windowVar) { 
windowVar=window.open("/ozmap.html","","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=400,height=370true,left=150,top=150"); return true
}
function resizeWindow(){
	window.moveTo(0,0);
	window.resizeTo(window.screen.width,window.screen.height);
   }
// functions below for loading of local pages from visual map only
function adelaide(windowVar) { 
windowVar=window.open("/adelaide/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function ballarat(windowVar) { 
windowVar=window.open("/ballarat/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function brisbane(windowVar) { 
windowVar=window.open("/brisbane/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function canberra(windowVar) { 
windowVar=window.open("/canberra/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function hurstville(windowVar) { 
windowVar=window.open("/hurstville/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function perthNCIA(windowVar) { 
windowVar=window.open("http://www.newchurchperth.org.au","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function perthGCNJ(windowVar) { 
windowVar=window.open("/perth-gcnj/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function melbourne(windowVar) { 
windowVar=window.open("/melbourne/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
function nccollege(windowVar) { 
windowVar=window.open("/nc-college/index.html","_blank","toolbar=yes,location=no,directories=no,status=no,menubar=yes,resizable=yes,scrollbars,,left=0,top=0" );
}
// Example:
// writeCookie("myCookie", "my name", 24);
// Stores the string "my name" in the cookie "myCookie" which expires after 24 hours.
function writeCookie(name,value,hours) {
  var expire = "";
  if(hours != null)
  {
    expire = new Date((new Date()).getTime() + hours * 3600000);
    expire = "; expires=" + expire.toGMTString();
  }
  document.cookie = name + "=" + escape(value) + expire;
}

// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================
function showRandomQuote(){
var Quote = new Array()
Quote[0] = "Conscience is God's presence in you";
Quote[1] = "the nearer a person is conjoined with the Lord the more free he seems, and consequently the more he seems to be master of himself";
Quote[2] = "The desire and effort to be useful is true charity";
Quote[3] = "Forgiving is regarding someone not from the point of view of evil but good";
Quote[4] = "The Lord is as if He did not see and perceive the sins of men, for He leads men gently, bending and not breaking them, thus withdrawing them from evils, and leading them to good";
Quote[5] = "The Lord regards nothing else in man, but his very aim or purpose, which is his very life";
Quote[6] = "Faith is truth acknowledged in the heart";
Quote[7] = "The Divine Providence has as its purpose a person's eternal salvation, not his or her worldly welfare";
Quote[8] = "The more we love what is good and true, the more angels love to be with us";
Quote[9] = "The Lord does good to people through others";
Quote[10] = "The Lord guards freedom in man as man guards the pupil of his eye";
Quote[11] = "So long as a person is anguished over evil committed and remembered, there is hope for him";
Quote[12] = "All the elements of people's minds are within their acts or deeds";
Quote[13] = "In Jesus the Divine, although apart from space filled all space, came and dwelt amongst us";
Quote[14] = "every idea received from the Lord contains an image of the entire heaven, because it comes from Him who is heaven.";
Quote[15] = "They who die and are buried, do not die, but pass from a dim life to a clear one; for the death of the body is only the continuation, and also the perfection, of life";
Quote[16] = "the spiritual idea of the death of the body is that of newness of life";
Quote[17] = "the Word is the medium that unites earth with heaven, and through heaven with the Lord";
Quote[18] = "Without [knowledges from the Word] man does not know the way to heaven, and without these the Lord cannot dwell with him";
Quote[19] = "the good that a man does from the Word is spiritual good, and this conjoins man to the Lord and to heaven";
Quote[20] = "When goodness takes on a form which can be understood, it is called truth.";
Quote[21] = "Man is not born for the sake of himself but for the sake of others";
Quote[22] = "the Lord forgives all men their sins, nor does He impute a single sin to any one, for He says, 'They know not what they do'";
Quote[23] = "[The Lord] continually excuses, and continually forgives, for He continually feels compassion";
Quote[24] = "the forgiveness of sins is the separation of evil from good, and the rejection of evil to the sides";
Quote[25] = "all the laws of the Divine Providence have for their end the reformation and thus the salvation of man";
Quote[26] = "heaven is implanted in man by regeneration, and thereby the hell which is with him is removed";
Quote[27] = "God is justice itself, love itself, mercy itself, and good itself; and where these are, there is not anything of vengeance, and therefore no vengeful justice";
Quote[28] = "Divine Providence deals with eternal things, and not temporary things, except so far as they accord with eternal things";
Quote[29] = "regarded essentially love is something purely spiritual, the natural counterpart of which is the delight that comes with companionship and that kind of togetherness";
Quote[30] = "A person has as his end what he loves above all; he has it in view in every single thing.  It resides in his will like the hidden current of a river which draws him to itself and carries him away";
Quote[31] = "Love consists in intending and doing; for what a person loves he intends and does";
Quote[32] = "angels are in a state of peace when they are in a state of love";
Quote[33] = "love receives everything which is in agreement with itself";
Quote[34] = "after death a person is his own love";
Quote[35] = "nothing becomes part of a person unless it is the result of some affection of his love.  Other things may come into him, but they come no farther than his thinking - they do not enter his intention";
Quote[36] = "We can know, think and understand many things, but left alone we reject anything which is not in harmony with our love";
Quote[37] = "as far as our minds are concerned we are spirits, and if we are involved in love and wisdom we are angels.";
Quote[38] = "out of love, which makes the very life of a person, all other things flow like streams from their source.";
Quote[39] = "Every link is forged by love, and love is not love if there is no trust.";
Quote[40] = "heavenly and spiritual love is Heaven with a person, because on this love are inscribed all things of heaven; but bodily and worldly love without heavenly and spiritual love is Hell with that person.";
var Q = Quote.length;
var QuoteNo = Math.round(Math.random()*(Q-1));
	
document.write(Quote[QuoteNo]);
	}
//end