
  var browserOK = false;

  var pics;

  browserOK = true;

  pics = new Array();


var objCount = 0;

function preload(name, first, second) {  


  if (browserOK) {     

    pics[objCount] = new Array(3);

    pics[objCount][0] = new Image();

    pics[objCount][0].src = first;

    pics[objCount][1] = new Image();

    pics[objCount][1].src = second;

    pics[objCount][2] = name;

    objCount++;

  }

}



function on(name){

  if (browserOK) {

     for (i = 0; i < objCount; i++) {

      if (document.images[pics[i][2]] != null)

        if (name != pics[i][2]) { 

          document.images[pics[i][2]].src = pics[i][0].src;

        } else {

           document.images[pics[i][2]].src = pics[i][1].src;

        }

    }

  }

}



function off(){

  if (browserOK) {

     for (i = 0; i < objCount; i++) {

      // set back all pictures

      if (document.images[pics[i][2]] != null) 

        document.images[pics[i][2]].src = pics[i][0].src;

    }

  }

}


preload("t1", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t2", "../../Buttons/1.gif", "../../Buttons/Message1.gif");
preload("t3", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t4", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t5", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t6", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t7", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t8", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t9", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t10", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t11", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t12", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t13", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t14", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t15", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");
preload("t16", "../../Buttons/arrowcl.gif", "../../Buttons/arrow.gif");

function gotoUrl(url) { if (url != "") location=url }


var bookmarkurl="http://www.theworkofgod.org"
var bookmarktitle="The Work of God Apostolate"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}


window.onerror = null;

bVer = parseInt(navigator.appVersion)



if (bVer >= 3)   ver = "n3"

else   ver = "n2"




if (ver == "n3") 

{





home_on = new Image(92,24)

	home_on.src = "../../Buttons/home_on.gif"

	home_off = new Image(92,24)

	home_off.src = "../../Buttons/home.gif"
up_on = new Image(92,24)

	up_on.src = "../../Buttons/up_on.gif"

	up_off = new Image(92,24)

	up_off.src = "../../Buttons/up.gif"

}



function jp_power(imgDocID1,imgObjName1) 

	{  

	if (ver == "n3") 

	{ 

		if ( imgObjName1 != null )

		{document.images[imgDocID1].src = eval(imgObjName1 + ".src")

	 	}

	}

}



function addBookmark(title,url) {
if (window.sidebar) { 
window.sidebar.addPanel(title,url,""); 
} else if( document.all ) {
window.external.AddFavorite( url,title);
} else if( window.opera && window.print ) {
return true;
}
}

var time = null
function move() {
window.location = 'http://www.theworkofgod.org/'
}



function mailpage()
{
mail_str = "mailto:?subject=Check out: " + document.title 
mail_str +="&body='" 
mail_str +="&body=Hi, I think you will be interested in this page:                                  " + location.href
location.href = mail_str;
}    
  
  <!--

  
  var message="God bless you +";
  function click(e) {
  if (document.all) {
  if (event.button==2||event.button==3) {
  alert(message);
  return false;
  }
  }
  if (document.layers) {
  if (e.which == 3) {
  alert(message);
  return false;
  }
  }
  }
  if (document.layers) {
  document.captureEvents(Event.MOUSEDOWN);
  }
  document.onmousedown=click;

  // -->

