// 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>");
////////////////////////Captions
quote = new Array (
"Br. Joe (standing, c.) with (l. to r.): Frs. Fredric Abiera, Ramón Gaitán, Joseph 	Gallardo, prior provincial, Charles Huse, and Frank Wilder",
"Br. Joe with family members from California, Florida, and Vermont ",
"Br. Joe with (l. to r.) sister Pauline Denault, and cousins Elaine Le Blanc and Jeanne Klinkowski",
"Br. Joe leads entrance procession for Golden Jubilee Mass",
"Kansas City days, c. 1966; Br. Joe stands in front of the garage which he designed and 	built at the Monastery of St. Augustine, former motherhouse of the Augustinian 	Recollects in Kansas City, KS",
"Br. Joe went from carpenter to artist in this photo from the mid-1970s",
"In 1976, Br. Joe made a  mosaic copy of the Tagaste Shield, designed for the Silver Jubilee of the Monastery",
"Br. Joe’s “art deco” workroom at Tagaste with a number of his mosaics",
"An impressive lectern that Br. Joe made for the Tagaste Chapel with the Augustinian motto <i>Tolle Lege</i> (“Take Up, and Read”)",
"Br. Joe stands next to an intricate doll house he built",
"Br. Joe with an image of Our Lady of Guadalupe in stained-glass, one of many which he made over the years",
"One of Br. Joe’s latest creations, a serving table with drop leaves and storage below",
"Br. Joe with his rendition of Van Gough’s “Starry Night” and a stained-glass parrot"

); 
/*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.length; count++){
s = new slide();
s.src = count +'.jpg';
s.link =  count +'.jpg';
s.title = count;
s.text = "<p align=center>" + quote[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>");

//-->

