
// ************************************************************************************


// INFO!!!



// ************************************************************************************




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 j = 0;
var myArray = new Array();

myArray[-1] = "Please Click Next >>";
myArray[0] = "Please Click Next >>";
myArray[1] = "The Kitchen is well equipped and open plan into one of the living areas. It has all the things you would expect such as waste disposal system,large American fridge freezer, toaster, juicer, microwave, coffee machine, over size hob and oven, twin sinks etc.";
myArray[2] = "The Breakfast area is open plan with the kitchen and has both bar stools and a table and chairs with a view to the lake over the jacuzzi.";
myArray[3] = "The Great Room joins the breakfast area and has two large sofas for conversation or viewing of the large TV (with Cable TV and DVD). A music system, games, and a stock of DVDs are also on hand. The views over the lake through the double sliding doors are superb, and make for a great way to spend time.";
myArray[4] = "The Lanai is a covered patio area outside the sliding doors from the Great Room and Master Bedrooms. It is fully equipped with furniture for al-fresco dining, and relaxing by the pool. It is also equipped with a ceiling fan to help cool you down as you take a break from the sun.";
myArray[5] = "The Jacuzzi is an ideal place to relax away the hours with a fine view of the lake wildlife. A pool side control can start or stop the bubbles as you prefer, and a circulation system with the pool helps keep the water fresh and clean";
myArray[6] = "The Pool is covered with a fine wire screen to prevent insect nuisance, and can be heated if necessary to your preferred temperature. A children's pool safety screen is available at the villa, as is a cover to keep the heat in overnight, an outside shower, and underwater lighting for atmospheric evening use. The garage also holds a large collection of children's pool toys.";
myArray[7] = "The lake is home to an amazing array of wildlife including Gators, Herons, Cranes etc.";
myArray[8] = "The Utility Room has a washing machine machine, tumble dryer, ironing board, iron and space to dry your clothes.";
myArray[9] = "The family-Bathroom is equipped with full size bath with shower over, toilet, sink and linen cupboard.";
myArray[10] = "A king sized master bed with a large walk-in closet/wardrobe and the master bedroom has its own door out to the pool area and lanai, and a window overlooking pool and lake. It also has a remote controlled cable TV";
myArray[11] = "An imrpressive entry to the villa is provided and if you are happy to do so the local ducks will be happy to join you for breakfast every morning";
myArray[12] = "In the foyer there is a mirror, table and ornaments.";
myArray[13] = "The Dining area has a glass topped table to sit six in comfort.";
myArray[14] = "The garage is big enough for two cars to keep the cars away from the hot Florida sunshine.";
myArray[15] = "A seperate area is provided suitable for formal dining.";
myArray[16] = "Cumbrian Lakes is conveniently located four miles down Poinciana Boulevard from the 192 in Kissimmee, about 10 minutes from Disney. Orlando International Airport is only about 25 minutes away and Sanford Airport is about an hours drive from Cumbrian Lakes. Beautiful landscaping surrounds the homes and there is a nature trail around one of the lakes together with a communal children's play area. The central lake, which our villa backs onto, has ornamental fountains tastefully illuminated at night. An executive security gated community set in a conservation area of 120 acres with 4 lovely lakes, providing a haven for wildlife such as ospreys, blue herons and cranes, and if you look very closely you might spot an American bald eagle or even a small alligator!";
myArray[17] = "Large en-suite featuring dual sinks, a large corner bath, separate large shower cubicle and separate toilet.";
myArray[18] = "A large walk-in closet.";
myArray[19] = "The villa has two master bedrooms with ensuite bathrooms.";
myArray[20] = "A children's room themed as Disney Cars.";
myArray[21] = "A Mickey and Minnie themed room.";
myArray[22] = "An ensuite to the second master.";
myArray[23] = "The community provides a safe, quiet location in which to relax after a busy day at the theme parks. There are numerous shops and restaurants including a large twenty four hour Wal-Mart within five minutes drive on the 192. Cumbrian Lakes is centrally situated making it easy to reach all the central attractions in the Orlando and Kissimmee area, for golfers there are at least 50 courses within a 45 minute drive. For beaches, the Atlantic space coast with Kennedy Space Center is only an hour away to the East, with the Gulf Coast less than 90 minutes drive to the West.";
myArray[24] = "Please Click << Previous";
myArray[25] = "Please Click << Previous";
myArray[26] = "Please Click << Previous";

function changeTextUp(){

document.getElementById('guestbook').innerHTML =  myArray[j+1];

j+=1;

}


function changeTextDown(){	

document.getElementById('guestbook').innerHTML = myArray[j-1];
	
j-=1;

  
}

function DisplayText(int){	

document.getElementById('guestbook').innerHTML = myArray[int];
	
  
}


 
/***********************************************
* 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
}
 