
// Slides and Fades

var btopacityincr = 0.3				// amount to increase banner text (right column) fadein
var btopacitydelay = 150			// delay (in milliseconds) between banner text (right column) fadeins

var darkenincr = 0.05				// amount to decrease image opacity
var darkendelay = 150				// delay (in milliseconds) between changes in image opacity
var darkenlimit = 0.4				// limit to reduced opacity

function effects(e)
{ var bl, sl
  // Fade in the right side words
  setTimeout("fadeinbannertexts()",1500)
  bl = document.getElementById('bannerleft1')
  bl.style.backgroundImage = 'url(/images/header/skyline.jpg)'
  bl.style.opacity = 1
  if (bl.filters) {bl.filters.alpha.opacity = 100}
  setTimeout("darkenskyline()",1500)
}

function fadeinbannertexts()
{ document.getElementById('bannertext21').style.opacity = 0
  document.getElementById('bannertext22').style.opacity = 0
  document.getElementById('bannertext23').style.opacity = 0
  document.getElementById('bannertext24').style.opacity = 0
  document.getElementById('bannertext25').style.opacity = 0
  fadein('bannertext21','bt')
  setTimeout("fadein('bannertext22','bt')",5000)
  setTimeout("fadein('bannertext23','bt')",10000)
  setTimeout("fadein('bannertext24','bt')",15000)
  setTimeout("fadein('bannertext25','bt')",20000)
}

function darkenskyline()
{ var bl = document.getElementById('bannerleft1')
  darken('bannerleft1')
}
