/***********************************************
* Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
* Instructions: add the script below where you wish slideshow to appear
**********************************************/

var variableslide=new Array()

//variableslide[x]=["image path", "optional image_link", "optional text_description (supports HTML tags)"]

variableslide[0]=
['sfbay_1890_455_fair_oaks_st_2m.jpg', 'sfbay0004ref_slideshow_ec_sf_01.html#455_fair_oaks', '<div align="center">Chapel of the Holy Innocents</div>']
variableslide[1]=
['sfbay_1931_965_clay_stm.jpg', 'sfbay0004ref_jm_11.html#965_Clay', '<div align="center">Chinese Community Center</div>']
variableslide[2]=
['sfbay_1900c_1347_mcallister_st_01m.jpg', 'sfbay0004ref_jfd_1.html#1347_McAllister', '<div align="center">Apartment house</div>']
variableslide[3]=
['sfbay_1909-1925_3500_jackson_st_02m.jpg', 'sfbay0004ref_bm_05.html#3500_Jackson', '<div align="center">Leon L. Roos house</div>']
variableslide[4]=
['sfbay_1964_700_Market_01m.jpg', 'sfbay0004ref_cwm_01.html#700_Market', '<div align="center">First Nationwide Bank</div>']
variableslide[5]=
['sfbay_1892_1013-19_vallejo_stm.jpg', 'sfbay0004ref_wp_1.html#1013-19_vallejo', '<div align="center">Williams-Polk house</div>']
variableslide[6]=
['sfbay_1970_151_union_st_01m.jpg', 'sfbay0004ref_ww_10.html#e07', '<div align="center">Ice Houses Nos. 1 and 2</div>']
variableslide[7]=
['sfbay_1850s_458-60_jackson_st_01m.jpg', 'sfbay0004ref_slideshow_jsqnw_01.html#458-60_jackson', '<div align="center">Moulinie Building</div>']
variableslide[8]=
['sfbay_1923c-1945_lawton-35th_avem.jpg', 'sfbay0004ref_20thc_009.html#lawton-35th', '<div align="center">&quot;Doelger City&quot; houses</div>']
variableslide[9]=
['sfbay_1889_jf_kennedy_and_middle-dr_01m.jpg', 'sfbay0004ref_public_art_001.html#jf_kennedy', '<div align="center">Baseball Player</div>']
variableslide[10]=
['sfbay_1783_presidio_gate_1m.jpg', 'sfbay0004ref_timeline.html', '<div align="center">Presidio Gate Canons</div>']
variableslide[11]=
['sfbay_1937_purdue_ave_02m.jpg', 'sfbay0004ref_works_cited.html', '<div align="center">Wallen Maybeck house (#2)</div>']

//variableslide[00]=['graphim.jpg', 'link.html#e00', '<div align="center">description</div>']

//configure slide variables: width, height, bgcolor, delay (miliseconds)

var slidewidth='210px' 
var slideheight='150px' 
var slidebgcolor='#ffffff'
var slidedelay=5000

////Do not edit below this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<center>'
if (variableslide[currentslide][1]!="")
contentcontainer+='<a href="'+variableslide[currentslide][1]+'">'
contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0" vspace="3">'
if (variableslide[currentslide][1]!="")
contentcontainer+='</a>'
contentcontainer+='</center>'
if (variableslide[currentslide][2]!="")
contentcontainer+=variableslide[currentslide][2]

if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerHTML=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++
setTimeout("rotateimages()",slidedelay)
}

if (ie||dom)
document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')

function start_slider(){
crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}

if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider

