<!--

var photos=new Array()
var photosinfo=new Array()
var photoslink=new Array()
var photoname=new Array()
var preloadedimages=new Array()
var isloaded=new Array()
var which=0
var linkornot=1

// Define images and links. Images MUST be of the same dimensions (for NS's sake)

var photocount=17

photoname[0]="1/17:  Market Mini-Calendar"
photoname[1]="2/17:  Price Inflation & Life Expectancy"
photoname[2]="3/17:  Value and Growth Styles"
photoname[3]="4/17:  The Fiduciary Duties"
photoname[4]="5/17:  Importance of Retirement Plans"
photoname[5]="6/17:  Mutual Fund Fees"
photoname[6]="7/17:  IRS Retirement Plan Limits"
photoname[7]="8/17:  404(c) Employee Investment Info"
photoname[8]="9/17:  Prevalence of Hedge Fund Strategies"
photoname[9]="10/17: Why Workers Are Not Saving Enough"
photoname[10]="11/17: Company Stock and 401(k) Plans"
photoname[11]="12/17: Defined Contribution Advice Landscape"
photoname[12]="13/17: Oil Production Flow and Prices"
photoname[13]="14/17: Impact of Inflation by Sector"
photoname[14]="15/17: 53 Years of Personal Savings"
photoname[15]="16/17: Leverage, Leverage Everywhere"
photoname[16]="17/17: Volatility, the Market's Heartbeat"

for (i=0;i<photocount;i++){
   isloaded[i]=0
   photos[i]="/fyi/fyi"+(i+1)+".gif"
   photosinfo[i]="/fyi/fyi"+(i+1)+".htm"
   photoslink[i]="/fyi/fyi"+(i+1)+".pdf"
   }

loadimage(0)
if (photocount>1)
   loadimage(1)

// ------------------------------------
// Functions start here.

function loadimage(whichimage) {
if (isloaded[whichimage]==0) {
      window.status="Downloading card " + (whichimage+1) + "..."
      preloadedimages[whichimage]=new Image()
      preloadedimages[whichimage].src=photos[whichimage]
      isloaded[whichimage]=1
      window.status=""
   }
}

function applyeffect(){
if (document.all){
   photoslider.filters.revealTrans.duration=0.5
   photoslider.filters.revealTrans.stop()
   photoslider.filters.revealTrans.apply()
   }
}

function playeffect(){
if (document.all)
   photoslider.filters.revealTrans.play()
}

function keeptrack(){
document.indexForm.indexSelectBox.selectedIndex=which
}

function backward(){
if (which>0){
   which--
   loadimage(which)
   if (document.all)
      photoslider.filters.revealTrans.Transition=6
   applyeffect()
   document.images.photoslider.src=photos[which]
   playeffect()
   keeptrack()
   if (which>0)
      loadimage(which-1)
   }
}

function forward(){
if (which<photocount-1){
   which++
   loadimage(which)
   if (document.all)
      photoslider.filters.revealTrans.Transition=7
   applyeffect()
   document.images.photoslider.src=photos[which]
   playeffect()
   keeptrack()
   if (which<photocount-1)
      loadimage(which+1)
   }
}

function transport(){
window.open(photoslink[which], "")
}

function getinfo(){
window.open(photosinfo[which], "")
}

function gethelp(){
window.open("fyi/fyihelp.htm", "")
}

function indexChange(){
which=document.indexForm.indexSelectBox.selectedIndex
loadimage(which)
if (document.all)
   photoslider.filters.revealTrans.Transition=4
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}

// -->