// JavaScript Document

	// Beauty Shot Images
	BEAUTYSHOT = new slideshow("BEAUTYSHOT");
	BEAUTYSHOT.timeout = 5000;
	BEAUTYSHOT.repeat = true;
	
	BEAUTYSHOT.add_slide(s = new slide('/media/beauty-shots/slideshow-hotel.jpg','/hotel/hotel.php','','',''));
	BEAUTYSHOT.add_slide(s = new slide('/media/beauty-shots/slideshow-gaming.jpg','/gaming','','',''));
	BEAUTYSHOT.add_slide(s = new slide('/media/beauty-shots/slideshow-meeting.jpg','/hotel/hotel_meetings.php','','',''));
	BEAUTYSHOT.add_slide(s = new slide('/media/beauty-shots/slideshow-racing.jpg','/racinginfo.php','','',''));
	BEAUTYSHOT.add_slide(s = new slide('/media/beauty-shots/slideshow-events.jpg','/events.php','','',''));
	BEAUTYSHOT.add_slide(s = new slide('/media/beauty-shots/slideshow-dining.jpg','/dining.php','','',''));

	if (document.images)
	{
	  BEAUTYSHOT.set_image(document.images.slideshow_pics);
	  var fadein_opacity = 1.00;
	  var fadein_img = BEAUTYSHOT.image;
	  function fadein(opacity) {
		if (typeof opacity != 'undefined') { fadein_opacity = opacity; }
		if (fadein_opacity < 0.99 && fadein_img && fadein_img.style &&
			typeof fadein_img.style.MozOpacity != 'undefined') {
		  fadein_opacity += .05;
		  fadein_img.style.MozOpacity = fadein_opacity;
		  setTimeout("fadein()", 50);
		}
	  }
	  BEAUTYSHOT.post_update_hook = function() { fadein(1.00); }
	  BEAUTYSHOT.update();
	  BEAUTYSHOT.play();
	}


	// Web Animation Banners
	BANNERS = new slideshow("BANNERS");
	BANNERS.timeout = 6500;
	BANNERS.repeat = true;

	/* Always Running */
	BANNERS.add_slide(s = new slide('/media/banners/Vernon.jpg','/','Vernon Downs Casino &amp; Hotel'));
	BANNERS.add_slide(s = new slide('/media/banners/VD$30newMemberWA.jpg','/gaming/weekly-gaming.php','New Members Receive $30 Free Play'));
	BANNERS.add_slide(s = new slide('/media/banners/VDfindYourFunWA.jpg','','Find Your Fun!'));
	BANNERS.add_slide(s = new slide('/media/banners/VDcolors.jpg','/hotel/colors.php','COLORS...the retail store at Vernon Downs'));
	BANNERS.add_slide(s = new slide('/media/banners/VDtableGamesWA.jpg','/gaming/featured-games.php','Roulette Electronic Table Game'));
	/*BANNERS.add_slide(s = new slide('/media/banners/VD3xjackpotsWA.jpg','/gaming/monday.php','Jackpot Players receive 3x Points on Mondays'));  Mondays */
	BANNERS.add_slide(s = new slide('/media/banners/VDmrGsWA.jpg','/dining/mrgs.php','Mr. G\'s Food & Spirits Now Open!'));
	/*BANNERS.add_slide(s = new slide('/media/banners/VD2xJackpotsWA.jpg','/gaming/monday.php','Progressive Players receive 2x Points on Mondays'));  Mondays */
	BANNERS.add_slide(s = new slide('/media/banners/VDseniorsdayWA.jpg','/gaming/wednesday.php','Wednesdays - Schuyler Commons Seniors Day')); /* Wednesdays */
	BANNERS.add_slide(s = new slide('/media/banners/VDmrGsWednesdaysWA.jpg','/dining/mrgs.php','Mr. G\'s $7 Wednesdays')); //Wednesdays
	BANNERS.add_slide(s = new slide('/media/banners/VDfridayFeverWA.jpg','/gaming/friday.php','Friday Fever!')) //Fridays
	BANNERS.add_slide(s = new slide('/media/banners/VD$5lincolnBuffetWA.jpg','/dining/champions-buffet.php#holiday','$5 Buffet every Monday, Tuesday & Wednesday!')) //Mon, Tues, Wed
	BANNERS.add_slide(s = new slide('/media/banners/VDrockAroundTheClockWA.jpg','/gaming/sunday.php','Rock Around the Clock')); //Sundays
	BANNERS.add_slide(s = new slide('/media/banners/VDchampionsWA.jpg','/dining/champions-buffet.php','Champions Buffet'));
	BANNERS.add_slide(s = new slide('/media/banners/VDearlyBirdNEWWA.jpg','/dining/champions-buffet.php','Champions Buffet Early Bird'));
	BANNERS.add_slide(s = new slide('/media/banners/VDmrGsTrifectaWA.jpg','/dining/mrgs.php','Mr. G\'s Trifecta Challenge!'));
	BANNERS.add_slide(s = new slide('/media/banners/VDchampagneBrunchWA.jpg','/dining/champions-buffet.php','Champions Sunday Champagne Brunch'));
	BANNERS.add_slide(s = new slide('/media/banners/VDcontinentalBkfstWA.jpg','/dining','Continental Breakfast'));
	BANNERS.add_slide(s = new slide('/media/banners/VDexactaPackageWA.jpg','/hotel/hotel_packages.php','Hot Slots Exacta Package'));
	BANNERS.add_slide(s = new slide('/media/banners/VDmrGsEarlyBirdWA.jpg','/dining/mrgs.php','Mr. G\'s Early Bird Specials!'));
	BANNERS.add_slide(s = new slide('/media/banners/VDbreakfastWA.jpg','/dining/triple-777-cafe-full-house-breakfast.php','Triple 777 Full House Breakfast'));
	BANNERS.add_slide(s = new slide('/media/banners/VDsimulcastHoursWA.jpg','/racing/simulcasting.php','Watch & Wager on our Live Simulcast'));
	BANNERS.add_slide(s = new slide('/media/banners/VDmrGsHappyHourWA.jpg','/dining/mrgs.php','Mr. G\'s Happy Hour!'));
	//BANNERS.add_slide(s = new slide('/media/banners/VDgoldCUPWA.jpg','/dining/gold-cup-buffet.php','Gold Cup Buffet')); //Seasonal
	BANNERS.add_slide(s = new slide('/media/banners/VDREPfootballSpecialsWA.jpg','/dining/ring-eyed-petes-bar.php','Gold Cup Buffet')); //Football Season
	BANNERS.add_slide(s = new slide('/media/banners/VDbandLISTWA.jpg','/events/weekend.php','Weekend Entertainment')); 
	

	
	/* February */
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDluckyLevelWA.jpg','/gaming/saturday.php','What\'s Your Lucky Level?')) //Saturdays
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDbennyMardonesWA.jpg','/events/concerts.php','Benny is Back! Events Center, Feb. 11th')) //Feb. 11
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDvalentinesBuffetWA.jpg','/dining/champions-buffet.php#holiday','Sweetheart Buffets')) //Feb 11 & 14
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDhotelVdaySpecialWA.jpg','/hotel/hotel_packages.php','$99 Sweetheart Valentine Package')) //Feb 14
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDmrGsValentinesWA.jpg','/dining/mrgs.php','Valentine Dinner at Mr. G\'s Food & Spirits')) //Feb 14
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDfebHandicappingContestWA.jpg','/racing/promotions.php','February Handicapping Contest')); //Feb 18
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDpresidentsDayHrsWA.jpg','','Casino Open 9am - 3am')) //Feb 19
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDbridalExpo2012WA.jpg','/hotel/hotel_weddings.php#expo','Bridal EXPO 2012')) //Feb 19
	BANNERS.add_slide(s = new slide('/media/banners/02february/VDleapAseatWA.jpg','/gaming/wednesday.php','LEAP A SEAT $1,125 Cash Giveaway')) //Feb 29
	
	
	
//BANNERS.add_slide(s = new slide('/media/banners/august/VDfacebookWA.jpg','http://www.facebook.com/vernondownscasino?sk=app_4949752878','Facebook Friday'))
//BANNERS.add_slide(s = new slide('/media/banners/august/VDmyspaceWA.jpg','/racing/promotions.php','MySpace Saturdays'))








	if (document.images)
	{
	  BANNERS.set_image(document.images.column_right_banner);
	  var fadein_opacity = 0.04;
	  var fadein_img = BANNERS.image;
	  function fadein(opacity) {
		if (typeof opacity != 'undefined') { fadein_opacity = opacity; }
		if (fadein_opacity < 0.99 && fadein_img && fadein_img.style &&
			typeof fadein_img.style.MozOpacity != 'undefined') {
		  fadein_opacity += .05;
		  fadein_img.style.MozOpacity = fadein_opacity;
		  setTimeout("fadein()", 50);
		}
	  }
	  BANNERS.post_update_hook = function() { fadein(0.04); }
	  BANNERS.set_textid("BANNERSTEXT");
	  BANNERS.update();
	  BANNERS.play();
	}

