// Gallery script.
// With image cross fade effect for those browsers that support it.
// Script copyright (C) 2004 www.cryer.co.uk.


var j = 0;
var PictArray = new Array();
var CaptionArray = new Array();

PictArray[0] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/ZFeedingTheDucks.jpg";
PictArray[1] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/ZandGator.jpg";
PictArray[2] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/ZandCrane.jpg";
PictArray[3] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/ViewToPool.jpg";
PictArray[4] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/Utility.jpg";
PictArray[5] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/Table.jpg";
PictArray[6] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/RocketPark.jpg";
PictArray[7] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/PoolWithTable.jpg";
PictArray[8] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/PoolWithSign.jpg";
PictArray[9] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/PoolStraight.jpg";
PictArray[10] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/PoolSafetyScreen.jpg";
PictArray[11] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/DiningAndFrontRoom.jpg";
PictArray[12] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/Lakes.jpg";
PictArray[13] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/poolright.jpg";
PictArray[14] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/poolleft.jpg";
PictArray[15] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/PoolCover.jpg";
PictArray[16] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/PoolAtNight.jpg";
PictArray[17] = "http://www.villasfloridavillas.com/villas-florida-villas/images/MasterBedroom.jpg";
PictArray[18] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/MasterBath.jpg";
PictArray[19] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/MagicKingdom.jpg";
PictArray[20] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/LongBoatKey.jpg";
PictArray[21] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/LionKingShow.jpg";
PictArray[22] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/KitchenDiffAngle.jpg";
PictArray[23] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/Kitchen.jpg";
PictArray[24] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/KidsEquipment.jpg";
PictArray[25] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/FrontRoomDiffAngle.jpg";
PictArray[26] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/FrontRoom.jpg";
PictArray[27] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/fountain.jpg";
PictArray[28] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/FloridaTortoise.jpg";
PictArray[29] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/FamilyRoomWithTable.jpg";
PictArray[30] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/familyroom.jpg";
PictArray[31] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/FamilyBathroom.jpg";
PictArray[32] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/ExteriorWithHummer.jpg";
PictArray[33] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/ExteriorWithBigPalm.jpg";
PictArray[34] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/Entrance.jpg";
PictArray[35] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/DoubleBedEnsuite.jpg";
PictArray[36] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/DoubleBed.jpg";
PictArray[37] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/DisneyParade.jpg";
PictArray[38] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/DisneyBedroom.jpg";
PictArray[39] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/DiningRoom.jpg";
PictArray[40] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/CarsBedroom.gif";
PictArray[41] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/bathroom.jpg";
PictArray[42] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/Astronauts.jpg";
PictArray[43] = "http://www.villafloridaorlando.com/villa-florida-orlando/images/AnimalKingdom.jpg";

CaptionArray[-4] = "Please Click Next >>";
CaptionArray[-3] = "Please Click Next >>";
CaptionArray[-2] = "Please Click Next >>";
CaptionArray[-1] = "Please Click Next >>";
CaptionArray[0] = "Ducks At The Door";
CaptionArray[1] = "Local Gator";
CaptionArray[2] = "Sandhill Crane";
CaptionArray[3] = "Pool & Lake View";
CaptionArray[4] = "Utility Room";
CaptionArray[5] = "Breakfast Area";
CaptionArray[6] = "75 minutes From Cape Canaveral";
CaptionArray[7] = "Lanai Table and Fan";
CaptionArray[8] = "Pool with optional heating";
CaptionArray[9] = "Jacuzzi/Spa";
CaptionArray[10] = "Pool Safety Screen (if needed)";
CaptionArray[11] = "Dining and Front Lounge";
CaptionArray[12] = "Local lake and jogging trail";
CaptionArray[13] = "Bubbling Jacuzzi";
CaptionArray[14] = "Tranquil Lake and wildlife haven";
CaptionArray[15] = "Overnight Pool Cover (if desired)";
CaptionArray[16] = "In Pool Lighting";
CaptionArray[17] = "Master Bedroom";
CaptionArray[18] = "Huge Two Person Ensuite Bath";
CaptionArray[19] = "Magic Kingdom 10 Minutes Away";
CaptionArray[20] = "90 Minutes From the Gulf Coast";
CaptionArray[21] = "Lion King Show (worth seeing)";
CaptionArray[22] = "Kitchen/Breakfast Area";
CaptionArray[23] = "Kitchen Area";
CaptionArray[24] = "Some Childrens Equipment";
CaptionArray[25] = "Separate Front Living Area";
CaptionArray[26] = "Front Living Area";
CaptionArray[27] = "Cumbrian Lakes";
CaptionArray[28] = "Local Tortoise - easy to catch!";
CaptionArray[29] = "Front Living Area";
CaptionArray[30] = "Separate Great Room Area";
CaptionArray[31] = "Family Bathroom";
CaptionArray[32] = "Yellow Hummer - not included!";
CaptionArray[33] = "Single Storey for more sun on the pool";
CaptionArray[34] = "Entrance";
CaptionArray[35] = "Second Ensuite";
CaptionArray[36] = "Second Master";
CaptionArray[37] = "Disney Parade";
CaptionArray[38] = "Disney Bedroom";
CaptionArray[39] = "Formal Dining Area";
CaptionArray[40] = "Very Popular Cars Themed Bedroom";
CaptionArray[41] = "Master Ensuite";
CaptionArray[42] = "Meet The Astronauts";
CaptionArray[43] = "Animal Kingdom 10 Minutes Away";
CaptionArray[44] = "Please click << Previous";
CaptionArray[45] = "Please click << Previous";
CaptionArray[46] = "Please click << Previous";
CaptionArray[47] = "Please click << Previous";


function LoadGallery(pictureName,int,titleCaption,int)
{
  
var picture = document.getElementById(pictureName);

if (picture.filters)
  {
    picture.title = CaptionArray[int];
    picture.alt = CaptionArray[int];
    picture.name = CaptionArray[int];


    picture.style.filter="blendTrans(duration=1)";
    picture.filters.blendTrans.Apply();
  }
    picture.src = PictArray[int];
    picture.title = CaptionArray[int];
    picture.alt = CaptionArray[int];
    picture.name = CaptionArray[int];


  if (picture.filters)
  { 
    picture.title = CaptionArray[int];
    picture.alt = CaptionArray[int];
    picture.name = CaptionArray[int];


  picture.filters.blendTrans.Play();
  }
  

    picture.title = CaptionArray[int];
    picture.alt = CaptionArray[int];
    picture.name = CaptionArray[int];

    document.getElementById(titleCaption).innerHTML=CaptionArray[int];


}




function shortPopUp( url, name, width, height, scrollbars )

{ var top = "50"; var left = "50"; 

if( scrollbars == null ) scrollbars = "0"; str = ""; str += "resizable=1,titlebar=0,menubar=0,"; 
str += "toolbar=0,location=0,directories=0,status=0,"; 
str += "scrollbars=" + scrollbars + ","; str += "width=" + width + ","; str += "height=" + height + ","; 
str += "top=" + top + ","; str += "left=" + left;
 window.open( url, name, str );
}



function echeck(str) {

		var at="@"
		var dot="."
		var lat=str.indexOf(at)
		var lstr=str.length
		var ldot=str.indexOf(dot)
		if (str.indexOf(at)==-1){
		   alert("Please enter a valid E-mail Address to get a Quick Quote")
		   return false
		}

		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   alert("Please enter a valid E-mail Address to get a Quick Quote")
		   return false
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    alert("Please enter a valid E-mail Address to get a Quick Quote")
		    return false
		}

		 if (str.indexOf(at,(lat+1))!=-1){
		    alert("Please enter a valid E-mail Address to get a Quick Quote")
		    return false
		 }

		 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		    alert("Please enter a valid E-mail Address to get a Quick Quote")
		    return false
		 }

		 if (str.indexOf(dot,(lat+2))==-1){
		    alert("Please enter a valid E-mail Address to get a Quick Quote")
		    return false
		 }
		
		 if (str.indexOf(" ")!=-1){
		    alert("Please enter a valid E-mail Address to get a Quick Quote")
		    return false
		 }

 		 return true					
	}

function ValidateForm(){
	var emailID=document.input.emailaddress
	
	if ((emailID.value==null)||(emailID.value=="")){
		alert("Please enter a valid E-mail Address to get a Quick Quote")
		emailID.focus()
		return false
	}
	if (echeck(emailID.value)==false){
		emailID.value=""
		emailID.focus()
		return false
	}
	return true
 }



// ************************************************************************************


var i = 0;
var myArray = new Array();


myArray[-4] = "Please Click Next >>";
myArray[-3] = "Please Click Next >>";
myArray[-2] = "Please Click Next >>";
myArray[-1] = "Please Click Next >>";
myArray[0] = "Lovely villa which was an ideal base for our visit to Orlando. The peace of the lakeside, whilst enjoying the pool, was an ideal refuge from the activity of Orlando.<BR><BR>Henry Family<BR><BR>Cheshire, UK.";
myArray[1] = "Wonderful weather, wonderful home. Thanks Michelle and family.<BR><BR>Lazenby and Goodman families<BR><BR>Texas";
myArray[2] = "We were very pleased with the high standard and layout of the accommodation. We found it very relaxing and thoroughly enjoyed our one week stay.<BR><BR>Creamer family<BR><BR>Amersham, UK";
myArray[3] = "We came to Florida hoping to find a home-to-home and thats exactly what we found. We had a great time here swimming, sight-seeing, dodging alligators. We hope to come back soon.<BR><BR>Purssell and Bridges Families<BR><BR>UK";
myArray[4] = "Fantastic time, did plenty of shopping!!! The villa was everything we dreamed of, fully catered for our every need, which meant a totally relaxing holiday. We will come back again. Hope everyone who comes experiences the same joy as we have.<BR><BR>Pollen and Kate Families<BR><BR>Reading, UK";
myArray[5] = "Had a wonderful time, house great, wouldnt want any better.<BR><BR>McConville Family<BR><BR>Ireland";
myArray[6] = "We have loved our home away from home. The kids have been in the pool everyday and are as happy there as would be in the theme parks! Bonus! We have shopped, dined and Disneyed, but still felt we got to relax. Now thats a holiday.<BR><BR>Cole and Prince families<BR><BR>Ontario, Canada";
myArray[7] = "We had a fantastic week once again in this luxury villa. It was a great time of the year to visit Disney as the queues were minimal, especially in Animal Kingdom where we literally walked onto the popular rides. We enjoyed lots of shopping in the various malls and also various restaurants. Thanks for making sure this is a comfortable and well-equipped place for our holiday.<BR><BR>Nicole and Leon Esteban<BR><BR>Netherlands Antilles";
myArray[8] = "Enjoyed lovely holiday. Mornings, evenings and after dinner spell spent in relaxation with superb view of trees reflected on lake, sounds of various wildlife enhance the aura. Days spent sight seeing and shopping. Enjoyed the many bargains. You have to visit Ross at least once. Food at various nearby restaurants to our taste.<BR><BR>Dunsmuir family<BR><BR>Glasgow Scotland UK";
myArray[9] = "Had a wonderful time. Enjoyed the parks and the crazy golf (recommend Pirates Cove). Very nice to have the pool to come back to for a dip in the evening.<BR><BR>Ormond family<BR><BR>UK";
myArray[10] = "Nice house, pool was great. Went to two parks, Animal Kingdom and Disney World, both were good but extremely crowded. Spent New Years Eve in Old Town, was good but no cars were there, it being a Sunday. Kid enjoyed all the rides. Saw the alligator several days. Enjoyed the great weather, not wanting to go home.<BR><BR>Smith, Stukey and Lamb families.<BR><BR>Ohio and Colorado, USA.";
myArray[11] = "We really enjoyed our stay, the house was very pretty, the accommodations were awesome. The kids enjoyed the pool, but we never saw the alligator. Thanks for a great stay. Hope to be back.<BR><BR>Greg Family.<BR><BR>Winchester, Tennessee, USA.";
myArray[12] = "Very nice house and pool. The two little ones loved the Minnie and Mickey bedroom. So nice that there were pool toys and towels already provided. We spent the majority of each day at Disney but loved coming back to the house in the evenings. Saw the alligator on Tuesday, at first in the water but then he came up onto the grass. Thank you for a great week.<BR><BR>Oberhaus and Taylor Families.<BR><BR>USA";
myArray[13] = "A great holiday in a lovely house which was perfect for us. Thanks for letting us have use of the house. PS: gator came out to say hi on the last day, had a fab time, pool and Jacuzzi were lovely. Thanks again.<BR><BR>Coulthard and Tonge families<BR><BR>Liverpool UK";
myArray[14] = "We have had a great holiday. Little one (aged 3) learned to swim. Our son was a little uptight when barbequeing and watching George the alligator over his shoulder. Spa was great.<BR><BR>Ball Family.<BR><BR>Oldham Lancashire UK";
myArray[15] = "This holiday was the best one I had in a long time. I came with my Mum, Step Dad and best friend, Emily. Loved the pool and the lilos. Stayed in the Cars room. Went to Gatorland and sat on a gator. We went to Universal Studios, Epcot, MGM and Paradise Island. We did the Pirate and Congo crazy golfs. We ate at Dennys, Red Lobster, Pon-de-rosa, Uno, Perkins, Bob Evans and Grill. Altogether a lovely stay and would love to come back another time. Lots of love Ami x PS Loved the channels on the TV and the PS2 and the Cars room.<BR><BR>Amy Family<BR><BR>Guildford<BR><BR>UK";
myArray[16] = "Our second visit to Cumbrian Lakes. A wonderful two weeks, they seem to have flown by. Did Epcot, MGM and Animal Kingdom, Cirque du Soleil La Nouba in Downtown Disney well worth it, fantastic. Im sure well be back.<BR><BR>Weekes Family.<BR><BR>Berkshire UK";
myArray[17] = "Our two week stay at the villa was excellent! Done all the major attractions, even done Daytona and Cocoa Beaches. Saw George the crocodile at least six times. The heating on the pool was excellent, made it much more enjoyable. We all found the villa very comfortable and homely. We would recommend the villa to our family and friends. Found the setting beautiful with the lake behind.<BR><BR>Watson family.<BR><BR>Bedford UK";
myArray[18] = "Once again, enjoyed a superb family vacation. The children spent much more time in the pool and we explored a little further, visiting Kennedy Space Centre and Cocoa Beach (an hours drive) plus Lido Beach, Sarasota (two hours drive but definitely worthwhile for the aqua water and white sandy beach). St Armands Circle is lovely for pedestrianised window shopping (a rarity in the USA).<BR><BR>Nicole, Leon and Chloe Esteban<BR><BR>Netherlands Antilles";
myArray[19] = "Lovely villa, great place for a wonderful holiday, visited all the Disney parks. Really enjoyed them all and the water parks too! The kids thought the pool was excellent, it was hard to get them out! Thanks for a great time. We hope to be back soon!<BR><BR>Kessell and Taylor Families.<BR><BR>Cornwall UK";
myArray[20] = "Had a great time, pool was a great bonus. Saw the alligator a few times, impressive! Highlights: Seaworld, Kennedy and Universal. And the airboats at Boggy Creek!<BR><BR>Clarke family<BR><BR>Leeds UK";
myArray[21] = "Had a great time in your lovely villa. Had everything we could need and more. Went to all of the major Disney theme parks plus a trip to Gatorland. Had a great trip on the airboat at Boggy Creek. All in all a super holiday, many thanks to Michelle and family.<BR><BR>Sergeant family<BR><BR>Bristol UK";
myArray[22] = "Back again for a fantastic holiday. Future guests must look out for tortoises and alligators crossing the path by the lakes near the entrance. We also kept seeing the alligator in the house lake and the children had fun feeding ducks and inspecting the catfish caught by the fisherman. Great family meals out a lot of nights, recommend Red Lobster, Olive Garden and TGI Fridays. Pirate Cove crazy golf was great pre meal. Animal Kingdom was definitely the highlight.<BR><BR>Nicole and Leon Esteban<BR><BR>Netherlands Antilles.";
myArray[23] = "Thanks for the use of your home, accommodation is great. We loved sitting around the pool, weathers been good, had a great time. Many thanks. TIP, if you like your steaks you must try Outback.<BR><BR>Amos family<BR><BR>Shropshire UK";
myArray[24] = "This is our second time in this house. We loved to stay here! Always dream of coming back. Thank you Michelle. PS: We saw the alligator.<BR><BR>Jakubi family<BR><BR>Buenos Aires.";
myArray[25] = "Lovely villa which was an ideal base for our visit to Orlando. The peace of the lakeside, whilst enjoying the pool, was an ideal refuge from the activity of Orlando.<BR><BR>Henry family<BR><BR>Cheshire, UK";
myArray[26] = "House was great!<BR><BR>Stephens Family<BR><BR>Ontario, Canada";
myArray[27] = "Please Click << Previous";
myArray[28] = "Please Click << Previous";
myArray[29] = "Please Click << Previous";
myArray[30] = "Please Click << Previous";



function changeTextUp(){

document.getElementById('guestbook').innerHTML =  myArray[i+1];

i+=1;

}


function changeTextDown(){	

document.getElementById('guestbook').innerHTML = myArray[i-1];
	
i-=1;

  
}


 
/***********************************************
* Drop Down Date select script- by JavaScriptKit.com
* This notice MUST stay intact for use
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and more
***********************************************/
 
var daytext= ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31'];
var monthtext=['January','February','March','April','May','June','July','August','September','October','November','December'];
 
function populatedropdown(dayfield, monthfield, yearfield){
var today=new Date()
var dayfield=document.getElementById(dayfield)
var monthfield=document.getElementById(monthfield)
var yearfield=document.getElementById(yearfield)


for (var i=0; i<31; i++)

dayfield.options[i]=new Option(daytext[i], daytext[i])
dayfield.options[today.getDate()]=new Option(daytext[today.getDate()], daytext[today.getDate()], true, true) //select today's day

for (var m=0; m<12; m++)
monthfield.options[m]=new Option(monthtext[m], monthtext[m])
monthfield.options[today.getMonth()]=new Option(monthtext[today.getMonth()], monthtext[today.getMonth()], true, true) //select today's month
var thisyear=today.getFullYear()
for (var y=0; y<5; y++){
yearfield.options[y]=new Option(thisyear, thisyear)
thisyear+=1
}
yearfield.options[0]=new Option(today.getFullYear(), today.getFullYear(), true, true) //select today's year
}
 
