// (c) 2009 Positively Creative Solutions, LLC
// http://www.PCSWebDesign.com
// Contact author for licensing options
// NS4-6,IE4-7
// smooth fadein/fadeout effect in IE only
// ===========================================
// setup the slideshow variables
// ===========================================
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3500
// Duration of fadein/fadeout (seconds)
var crossFadeDuration = 3
// Specify the image files
var Pic = new Array() // don't touch these arrays...
var Alt = new Array()
var Title = new Array()
// to add more images, alt, and title tags just continue
// the pattern, adding to the following arrays...
Pic[0] = 'images/photo-taken-by-scenic-inn-in-conway-nh-001-web.jpg'
Pic[1] = 'images/photo-taken-by-scenic-inn-in-conway-nh-002-web.jpg'
Pic[2] = 'images/photo-taken-by-scenic-inn-in-conway-nh-003-web.jpg'
Pic[3] = 'images/photo-taken-by-scenic-inn-in-conway-nh-004-web.jpg'
Pic[4] = 'images/photo-taken-by-scenic-inn-in-conway-nh-005-web.jpg'
Pic[5] = 'images/photo-taken-by-scenic-inn-in-conway-nh-006-web.jpg'
Pic[6] = 'images/photo-taken-by-scenic-inn-in-conway-nh-007-web.jpg'
Pic[7] = 'images/photo-taken-by-scenic-inn-in-conway-nh-008-web.jpg'
Pic[8] = 'images/photo-taken-by-scenic-inn-in-conway-nh-009-web.jpg'
Pic[9] = 'images/photo-taken-by-scenic-inn-in-conway-nh-010-web.jpg'
Pic[10] = 'images/photo-taken-by-scenic-inn-in-conway-nh-011-web.jpg'
Pic[11] = 'images/photo-taken-by-scenic-inn-in-conway-nh-012-web.jpg'
Pic[12] = 'images/photo-taken-by-scenic-inn-in-conway-nh-013-web.jpg'
Pic[13] = 'images/photo-taken-by-scenic-inn-in-conway-nh-014-web.jpg'
Pic[14] = 'images/photo-taken-by-scenic-inn-in-conway-nh-015-web.jpg'
Pic[15] = 'images/photo-taken-by-scenic-inn-in-conway-nh-016-web.jpg'
Pic[16] = 'images/photo-taken-by-scenic-inn-in-conway-nh-017-web.jpg'
Pic[17] = 'images/photo-taken-by-scenic-inn-in-conway-nh-018-web.jpg'
Pic[18] = 'images/photo-taken-by-scenic-inn-in-conway-nh-019-web.jpg'
Pic[19] = 'images/photo-taken-by-scenic-inn-in-conway-nh-020-web.jpg'
Pic[20] = 'images/photo-taken-by-scenic-inn-in-conway-nh-021-web.jpg'
Pic[21] = 'images/photo-taken-by-scenic-inn-in-conway-nh-022-web.jpg'
Pic[22] = 'images/photo-taken-by-scenic-inn-in-conway-nh-023-web.jpg'
Pic[23] = 'images/photo-taken-by-scenic-inn-in-conway-nh-024-web.jpg'
Pic[24] = 'images/photo-taken-by-scenic-inn-in-conway-nh-025-web.jpg'
Pic[25] = 'images/photo-taken-by-scenic-inn-in-conway-nh-026-web.jpg'
Pic[26] = 'images/photo-taken-by-scenic-inn-in-conway-nh-027-web.jpg'
Pic[27] = 'images/photo-taken-by-scenic-inn-in-conway-nh-030-web.jpg'
Pic[28] = 'images/photo-taken-by-scenic-inn-in-conway-nh-031-web.jpg'
Pic[29] = 'images/photo-taken-by-scenic-inn-in-conway-nh-032-web.jpg'
Pic[30] = 'images/photo-taken-by-scenic-inn-in-conway-nh-033-web.jpg'
Pic[31] = 'images/photo-taken-by-scenic-inn-in-conway-nh-034-web.jpg'
Pic[32] = 'images/photo-taken-by-scenic-inn-in-conway-nh-035-web.jpg'
Pic[33] = 'images/photo-taken-by-scenic-inn-in-conway-nh-036-web.jpg'
Pic[34] = 'images/photo-taken-by-scenic-inn-in-conway-nh-037-web.jpg'
Pic[35] = 'images/photo-taken-by-scenic-inn-in-conway-nh-038-web.jpg'

Alt[0] = 'Welcome to the Scenic Inn in Conway, NH'
Alt[1] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[2] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[3] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[4] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[5] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[6] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[7] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[8] = 'Guest Registration Desk at the Scenic Inn in Conway, NH'
Alt[9] = 'We are pet-friendly, too.'
Alt[10] = 'Guest Registration Desk at the Scenic Inn in Conway, NH'
Alt[11] = 'The Lobby Lounge at the Scenic Inn with its fireplace is a great way to relax after a day of shopping, skiing, or sightseeing!'
Alt[12] = 'Come in, sit down, and relax at the Scenic Inn in Conway, NH'
Alt[13] = 'Come in, sit down, and relax at the Scenic Inn in Conway, NH'
Alt[14] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[15] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[16] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[17] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[18] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[19] = 'The Scenic Inn in Conway, NH offers Spacious, Comfortable, Ultra-Clean Rooms'
Alt[20] = 'Winter wonderland at the Scenic Inn in Conway, NH'
Alt[21] = 'Christmas at the Scenic Inn in Conway, NH is magical!'
Alt[22] = 'Christmas at the Scenic Inn in Conway, NH is magical!'
Alt[23] = 'Christmas at the Scenic Inn in Conway, NH is magical!'
Alt[24] = 'The Porch and Balcony at the Scenic Inn in Conway, NH'
Alt[25] = 'The Porch at the Scenic Inn in Conway, NH'
Alt[26] = 'Scenic Inn in Conway, NH has spacious, comfortable, ultra-clean rooms.'
Alt[27] = 'Halloween is kid-friendly spooky at the Scenic Inn in Conway, NH!'
Alt[28] = 'Winter time is a great time at the Scenic Inn in Conway, NH'
Alt[29] = 'NH Roadside Attraction - MOOSE!'
Alt[30] = 'NH Roadside Attraction - MOOSE!'
Alt[31] = 'NH Roadside Attraction - MOOSE!'
Alt[32] = 'NH Roadside Attraction - MOOSE!'
Alt[33] = 'Mount Washington Observatory, NH'
Alt[34] = 'Mount Washington Observatory, NH'
Alt[35] = 'Mount Washington Observatory, NH'

Title[0] = 'Welcome to the Scenic Inn in Conway, NH'
Title[1] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[2] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[3] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[4] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[5] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[6] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[7] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[8] = 'The Guest Registration Desk at the Scenic Inn in Conway, NH'
Title[9] = 'We are pet-friendly, too.'
Title[10] = 'The Guest Registration Desk at the Scenic Inn in Conway, NH'
Title[11] = 'The Lobby Lounge at the Scenic Inn with its fireplace is a great way to relax after a day of shopping, skiing, or sightseeing!'
Title[12] = 'Come in, sit down, and relax at the Scenic Inn in Conway, NH'
Title[13] = 'Come in, sit down, and relax at the Scenic Inn in Conway, NH'
Title[14] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[15] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[16] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[17] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[18] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[19] = 'Spacious, Comfortable, Ultra-Clean Rooms'
Title[20] = 'Winter is a wonderland at the Scenic Inn in Conway, NH'
Title[21] = 'Christmas at the Scenic Inn in Conway, NH is magical!'
Title[22] = 'Christmas at the Scenic Inn in Conway, NH is magical!'
Title[23] = 'Christmas at the Scenic Inn in Conway, NH is magical!'
Title[24] = 'The Porch and Balcony at the Scenic Inn in Conway, NH'
Title[25] = 'The Porch at the Scenic Inn in Conway, NH'
Title[26] = 'Our rooms are spacious, comfortable and ultra-clean'
Title[27] = 'Halloween is kid-friendly spooky at the Scenic Inn in Conway, NH!'
Title[28] = 'Winter time is a great time at the Scenic Inn in Conway, NH'
Title[29] = 'NH Roadside Attraction - MOOSE!'
Title[30] = 'NH Roadside Attraction - MOOSE!'
Title[31] = 'NH Roadside Attraction - MOOSE!'
Title[32] = 'NH Roadside Attraction - MOOSE!'
Title[33] = 'Mount Washington Observatory, NH'
Title[34] = 'Mount Washington Observatory, NH'
Title[35] = 'Mount Washington Observatory, NH'

// ===========================================
// IMPORTANT! do not edit beneath this line
// ===========================================
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
   preLoad[i].alt = Alt[i]
   preLoad[i].title = Title[i]
}
function runSlideShow(){
   if (document.all){
	  document.images.SlideShow.style.filter="blendTrans(duration=2)"
	  document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
	  document.images.SlideShow.filters.blendTrans.Apply  ()	  
   }
   document.images.SlideShow.src = preLoad[j].src
   document.images.SlideShow.alt = preLoad[j].alt
   document.images.SlideShow.title = preLoad[j].title
   document.getElementById('PIC_CAPTION').value = preLoad[j].alt

   if (document.all){
	  document.images.SlideShow.filters.blendTrans.Play(  )
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}