// JavaScript Document

//var SymRealOnLoad;
//var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
<!-- Load the slideshow JavaScript code -->


function SymError()
{
  return true;
}

window.onerror = SymError;

//var SymRealWinOpen = window.open;

//function SymWinOpen(url, name, attributes)
//{
  //return (new Object());
//}

window.open = SymWinOpen;

//-->

document.write("<script language=\"JavaScript\" src=\"slideshow.js\" type=\"text\/JavaScript\"></script>");
////////////////////////
quote_gal = new Array (
"Bishop Alphonse Gallegos, OAR, has become the object of popular devotion in California.",
"Cardinal Mahony (c.) with members of the Tribunal (l. to. r.): Frs. Samson Silloriquez, OAR, Mark Richards, William Breault, SJ, Eliseo Gonz&aacute;lez, OAR.",
"The Cathedral of the Blessed Sacrament in Sacramento, CA, where the closing ceremony for the cause of beatification and canonization of Bishop Gallegos was held, November 5, 2006.",
"Mass for Bishop Gallegos begins with the entrance procession",
"The interior of the cathedral is richly decorated in neo-classical style.",
"The ample sanctuary of the cathedral includes a choir area in front of the Blessed Sacrament.",
"Procession of the concelebrants (l. to r.): Frs. James Brown, James McGuire, and Domingos Machado.",
"Frs. John Gruben and Charles Huse (prior provincial).",
"Auxiliary Bishop Richard Garcia, homilist for the liturgy.",
"Bishop William Weigand, Ordinary of the Diocese of Sacramento",
"Concelebrating priests at the Mass for Bishop Gallegos were seated in the left transept.",
"Gallegos family members stand to the left of the concelebrants.",
"Bishop Gallegos' brother and sister.",
"View of the sanctuary with the concelebrants and congregation during the Mass.",
"Bishop Weigand (c.) with Deacon Ascención Esqueda, and Fr. James Murphy, rector of the cathedral, greets the congregation.",
"View of the sanctuary and congregation from the choir loft.",
"Fr. Eliseo González, Secretary\/Notary, summarizes the work that has been accomplished on the Cause of Bishop Gallegos.",
"Auxiliary Bishop Garcia delivers the homily, extolling the life and virtues of Bishop Gallegos.",
"Bishop Weigand receives the Offertory Gifts from Gallegos family members.",
"The solemn incensation of the altar at the Offertory of the Mass.",
"Deacon Esqueda incenses the congregation.",
"The crucified Jesus is a focal point in the cathedral.",
"Principal celebrants (l. to r.): Fr. Charles Huse, Bishop Weigand, and Auxiliary Bishop Garcia.",
"Deacon Esqueda assists Bishop Weigand during the Doxology closing the Eucharistic Prayer.",
"A colorful mosaic honoring the Eucharist and Priesthood, Cathedral of the Blessed Sacrament.",
"Bishop Weigand elevates the consecrated Host at the Doxology.",
"A view of the congregation from the sanctuary",
"\"Father, into your hands I commend my spirit.\"",
"Bishop Weigand distributing Holy Communion during the Mass.",
"A traditional depiction of the Last Supper, Cathedral of the Blessed Sacrament.",
"Fr. Luis Ramírez, OAR, helps distribute Communion.",
"The great dome of the cathedral with a brillant depiction of the Holy Spirit.",
"The table is prepared for the ceremony of receiving the documents on the life and work of Bishop Gallegos",
"Members of the Tribunal assemble around the table as ceremony begins: (l. to r.): Fr. González, Fr. Mark Richards (Promoter of Justice), Bishop Weigand, Fr. David Deibel (Judge-Delegate), and Fr. Samson Silloriquez (Postulator General).",
"Bishop Weigand delegating Frs. Silloriquez and González to carry the documents (Actas) of Bishop Gallegos to Rome.",
"Frs. Silloriquez and González indicate their acceptance of responsibility for the <em>Actas<\/em>.",
"Frs. John Oldfield and John Gruben, together with Fr. Charles Huse (not pictured here) carried <em>Actas<\/em> to the altar.",
"The boxes containing the <em>Actas<\/em> are officially sealed.",
"Bishop Weigand, assisted by Fr. Deibel, signs the document verifying the authenticity of the <em>Actas<\/em>.",
"The congregation shows its approval for Bishop Gallegos with a round of applause.",
"At the reception: Fr. James McGuire is joined by two close friends of the Augustinian Recollects from Santa Ana.",
"Gallegos family members enjoy the reception following the Mass.",
"Fr. John Gruben together with the Augustinian Recollect Sisters from Milpitas, CA.",
"Visiting St. Rose Parish where Bishop Gallegos was stationed (l. to r.): Frs. Huse, Gruben, Oldfield, and Brown.",
"Friars and students gather at the shrine of Our Lady of Lourdes in the cloister of St. Rose Church.",
"Visit to Our Lady of Guadalupe Parish, national shrine of Guadalupe, where Bishop Gallegos had been pastor.",
"A glorious sunset in Sacramento after the conclusion of the liturgy for Bishop Gallegos."


);

/*for (var i = 0; i < quote_gal.length; ++i) {
document.write("<p>" + quote_gal[i]);
}*/
/////////////////

<!--

ss = new slideshow('ss');
ss.prefetch = 3;
ss.timeout = 7000;

for (var count=1; count <= quote_gal.length; count++){
s = new slide();//Picture Location
s.src = count +'.jpg';
s.link = count +'.jpg';
s.title = count;
s.text = "<p align=center>" + quote_gal[count-1];
ss.add_slide(s);

}
// The following loop sets an attribute for all of the slides.
// This is easier than setting the attributes individually.

for (var j=0; j < ss.slides.length; j++) {

  s = ss.slides[j];
  s.target = "slideshow_popup";
  s.attr = "width=620,height=420,resizable=yes,scrollbars=yes";
}

document.write("<script language=\"JavaScript\" src=\"slideshow.js\" type=\"text/JavaScript\"><\/script>");
document.write("<body><FORM NAME=\"slideshow_form\" ACTION=\"\" METHOD=\"GET\"> ");
document.write("<DIV ID=\"slideshow\"> <DIV ID=\"slideshow_controls\"> ");
document.write("<p>"); 
document.write("  <INPUT TYPE=\"button\" VALUE=\"play\" onClick=\"ss.next();ss.play()\"> ");
document.write("  <INPUT TYPE=\"button\" VALUE=\"stop\" onClick=\"ss.pause()\"> ");
// document.write(" &nbsp; 
 document.write(" <INPUT TYPE=\"button\" VALUE=\"previous\" onClick=\"ss.previous()\"> ");
document.write("  <INPUT TYPE=\"button\" VALUE=\"next\" onClick=\"ss.next()\"> ");
 document.write(" <SELECT ID=\"slideshow_select\" NAME=\"slideshow_select\" ");
document.write("onChange=\"ss.goto_slide(this.selectedIndex)\"> ");
document.write("<OPTION>Welcome to the JavaScript Slideshow");
document.write("  <\/SELECT>");
//document.write("  &nbsp; */


function set_slideshow_select_options(selectlist) {

  selectlist.options.length = 0;

  for (var i = 0; i < ss.slides.length; i++) {
    selectlist.options[i] = new Option();
    selectlist.options[i].text = (i + 1) + '. ' + ss.slides[i].title;
  }

  selectlist.selectedIndex = ss.current;
}

set_slideshow_select_options(document.slideshow_form.slideshow_select);

//-->
document.write("<TABLE width=\"75%\" BORDER=0 align=\"center\" CELLPADDING=0 CELLSPACING=0>");
document.write("<Td><Tr ALIGN=center>");
document.write("<A ID=\"slideshow_image_link\" HREF=\"javascript:ss.hotlink()\" TITLE=\"De Click para Alargar\"><IMG SRC=\"Gallegos\/1a.jpg\" ");
document.write("ALT=\"Slideshow image\" ");
document.write("NAME=\"slideshow_img\" ");
 document.write("WIDTH=450 ID=\"slideshow_img\" ");
 document.write("STYLE=\"filter:progid:DXImageTransform.Microsoft.Fade()\" BORDER=0><\/A>");
 document.write(" <\/Tr>");
 ////Captions
 //document.write("<TD ID=\"slideshow_text\">");
document.write("<Td align=center ID=\"slideshow_text\">");
 //document.write("<p>Bienvenidos! Si usted ve estas palabras es que su \"Buscador\" no soporta el cambio de palabras en la presentacion.");

document.write("<\/Td>");
/////
document.write("<\/TABLE>");
	//document.write("<p align=\"center\"><font color=\"#0000FF\">" + texto[i][0] + "<\/font>");

<!--
// Tell the slideshow which image and text id to change 
if (document.images)
{
  ss.image = document.images.slideshow_img;
  ss.textid = "slideshow_text";

  ss.post_update_hook = function() {
document.slideshow_form.slideshow_select.selectedIndex = ss.current;
}

  ss.update();
  //ss.play();
}

// Display all of the text from the slideshow.
//Esta Linea de abajo solo sirve para que el texto aparesca en la parte de abajo
//
//document.write(ss.get_all_text("<DIV STYLE=\"border-top:1px solid #ddd;padding:6px 0px 16px 0px;\">\n", "<\/DIV>\n"));

// The following function is normally left commented out.
// It is used only to produce the HTML that is copied
// into the NOSCRIPT section below, then it is commented out again.
// The HTML produced will contain all of the slideshow images,
// plus the text for each image.

//document.write("<PRE>" + ss.noscript() + "<" + "/PRE>");

//-->

