/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

var mygallery=new fadeSlideShow({
	wrapperid: "back_photo_1", //ID of blank DIV on page to house Slideshow
	dimensions: [144, 128], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/header/menu_front_1a.png"],
		["images/header/menu_front_1b.png"],
		["images/header/menu_front_1c.png"]
	],
	displaymode: {type:'auto', pause:8000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 600, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

var mygallery=new fadeSlideShow({
	wrapperid: "back_photo_2", //ID of blank DIV on page to house Slideshow
	dimensions: [169, 152], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/header/menu_front_2a.png"],
		["images/header/menu_front_2b.png"],
		["images/header/menu_front_2c.png"]
	],
	displaymode: {type:'auto', pause:12000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 600, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

var mygallery=new fadeSlideShow({
	wrapperid: "back_photo_3", //ID of blank DIV on page to house Slideshow
	dimensions: [136, 170], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/header/menu_front_3a.png"],
		["images/header/menu_front_3b.png"],
		["images/header/menu_front_3c.png"]
	],
	displaymode: {type:'auto', pause:6000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 600, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

var mygallery=new fadeSlideShow({
	wrapperid: "back_photo_4", //ID of blank DIV on page to house Slideshow
	dimensions: [151, 166], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/header/menu_front_4a.png"],
		["images/header/menu_front_4b.png"],
		["images/header/menu_front_4c.png"]
	],
	displaymode: {type:'auto', pause:10000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 600, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

//--------------------------------------------------------------------------------------
//-- 
//-- onload and onresize functions
//--
//--------------------------------------------------------------------------------------

function checkVersion()
{
  var msg = "You're not using Internet Explorer.";
  var ver = getInternetExplorerVersion();

  if ( ver > -1 )
  {
    if ( ver >= 8.0 ) 
      msg = "You're using a recent copy of Internet Explorer."
    else
      msg = "You should upgrade your copy of Internet Explorer.";
  }
  alert( msg );
}


