var pics=new Array();
var pics_src=new Array();
var ix = 0;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/house/rusticfarmhouse-first-image-comp10.jpg";
pics[ix]["full_info"]= "Finca Pou Clar is a large 6 bedroom property with extensive gardens and pool area. The property has many highly attractive functional and architectural features and is situated in an area of outstanding natural beauty.";
pics[ix]["brief"]= "Finca Pou Clar - Rustic comfort...";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/kitchen/kitchen2.jpg";
pics[ix]["full_info"]= "The very large (36.5m2) kitchen area combines charming rustic style with practicality. A cook's dream and a family 'centre', the open spaces and rustic tones combine with the light to provide a unique part of the house in which to socialise, create or simply chill-out!";
pics[ix]["brief"]= "Kitchen (1/5) - (36.5m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/kitchen/kitchen3.jpg";
pics[ix]["full_info"]= "The kitchen area (36.5m2) links the courtyard with the interior and acts as a natural informal area in which to meet, chat, eat and drink.";
pics[ix]["brief"]= "Kitchen (2/5) - (36.5m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/kitchen/kitchen4.jpg";
pics[ix]["full_info"]= "The kitchen area (36.5m2) features beamed ceilings, a rustic tiled floor and plenty of natural light.";
pics[ix]["brief"]= "Kitchen (3/5) - (36.5m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/kitchen/kitchen5.jpg";
pics[ix]["full_info"]= "From the large hooded oven range to the cook's preparation 'island' this kitchen deserves to be in a magazine!";
pics[ix]["brief"]= "Kitchen (4/5) - (36.5m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/kitchen/kitchen1.jpg";
pics[ix]["full_info"]= "Wooden fitted cupboards play the modern against the old to provide function as well as aesthetic appeal.";
pics[ix]["brief"]= "Kitchen (5/5) - (36.5m2)";
ix = ix + 1;


pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/dining-room/dining-room1.jpg";
pics[ix]["full_info"]= "A large (48m2) comfortable space, ideal for showing off works of art, entertaining and dining. Would make an ideal 'den'!";
pics[ix]["brief"]= "Dining Room (1/3) - (48m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/dining-room/dining-room2.jpg";
pics[ix]["full_info"]= "During the day, this area allows for a cool hideout in summer and a warm snug in winter.";
pics[ix]["brief"]= "Dining Room (2/3) - (48m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/dining-room/dining-room3.jpg";
pics[ix]["full_info"]= "The house shows attention to detail on the architectural finish whilst retaining a 'simple' rustic style.";
pics[ix]["brief"]= "Dining Room (3/3) - (48m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bar/bar1.jpg";
pics[ix]["full_info"]= "Originally a store this room has now been totally transformed into a Bar/Reception room. In excess of 22m2.";
pics[ix]["brief"]= "Bar/Reception room (1/3)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bar/bar2.jpg";
pics[ix]["full_info"]= "Retaining the original curved ceiling and rock walls this room gives the feel of a typical Spanish bodega.";
pics[ix]["brief"]= "Bar/Reception room (1/3)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bar/bar3.jpg";
pics[ix]["full_info"]= "Ample shelving and under bar storage with room for the addition of fridge and wine cooler. An ideal retreat after those hot summer days.";
pics[ix]["brief"]= "Bar/Reception room (1/3)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/pool/pool1.jpg";
pics[ix]["full_info"]= "The pool area offers a beautifully constructed summer house area complete with dining area, Shower and Toilet facility, barbecue/paellaria and summer kitchen with a rustic stone sink providing hot and cold water.";
pics[ix]["brief"]= "The Pool area (1/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/pool/pool2.jpg";
pics[ix]["full_info"]= "The gardens boast a large pool and relaxation area reached by a short path from the main house.";
pics[ix]["brief"]= "The Pool area (2/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/pool/pool3.jpg";
pics[ix]["full_info"]= "The pool offers the chance to keep fit or simply keep cool on hot summer days and warm evenings.";
pics[ix]["brief"]= "The Pool area (3/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/pool/pool4.jpg";
pics[ix]["full_info"]= "The summer kitchen currently consists of a full kitchen area with space for fridge (to keep the wine and beer cold!), a wood/charcoal burning barbecue (for practising your authentic Spanish outdoor cooking) and plenty of space to enjoy the fresh air.";
pics[ix]["brief"]= "The Pool area (4/4)";
ix = ix + 1;



pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/garden/landgarden1.jpg";
pics[ix]["full_info"]= "Enjoy a secluded walk through your own olive groves, almond groves and experience eating oranges from your own trees!";
pics[ix]["brief"]= "The land and garden (1/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/garden/landgarden2.jpg";
pics[ix]["full_info"]= "Although the gardens are very pleasant to explorer, there is plenty of scope for the budding landscape gardener to create something very special.";
pics[ix]["brief"]= "The land and garden (2/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/garden/landgarden3.jpg";
pics[ix]["full_info"]= "There is ample room for children to play, guests to explore and the gardener to cultivate.";
pics[ix]["brief"]= "The land and garden (3/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/garden/landgarden4.jpg";
pics[ix]["full_info"]= "Outside, the land extends to some 7,500m2 containing garden area, olive and almond groves, orange trees and rustic seclusion.";
pics[ix]["brief"]= "The land and garden (4/4)";
ix = ix + 1;


pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/courtyard/courtyard1.jpg";
pics[ix]["full_info"]= "Midway between the garden area and the house interior is a splendid courtyard ideal for relaxing in a secluded spot.";
pics[ix]["brief"]= "The Courtyard (1/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/courtyard/courtyard2.jpg";
pics[ix]["full_info"]= "With plenty of space for a hammock or two and a swing seat, this is the ideal place to snooze away lazy Spanish summers. The courtyard is a natural suntrap and allows for splendid sunbathing.";
pics[ix]["brief"]= "The Courtyard (2/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/courtyard/courtyard3.jpg";
pics[ix]["full_info"]= "The courtyard offers plenty of space for eating and entertaining and captures natural light whilst protecting from the occasional breeze.";
pics[ix]["brief"]= "The Courtyard (3/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/courtyard/courtyard4.jpg";
pics[ix]["full_info"]= "Children and adults alike will enjoy exploring the various nooks, crannies and surprise areas of the exterior and interior of Finca Pou Clar.";
pics[ix]["brief"]= "The Courtyard (4/4)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bedrooms/bedrooms1.jpg";
pics[ix]["full_info"]= "Upstairs in the house, several bedrooms offer surprise touches, lots of space and plenty of light.";
pics[ix]["brief"]= "The Bedrooms...";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bedrooms/bedrooms2.jpg";
pics[ix]["full_info"]= "There are 5 large bedrooms and 1 very large master bedroom (a huge 48m2). Pictured here is one of the smaller bedrooms showing the light and space available.";
pics[ix]["brief"]= "Bedroom ";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bedrooms/bedrooms3.jpg";
pics[ix]["full_info"]= "Each of the bedrooms reflect the care and attention in the house renovation and provide a simple feel whilst retaining rustic comfort.";
pics[ix]["brief"]= "Bedroom";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bedrooms/bedrooms4.jpg";
pics[ix]["full_info"]= "Large Family room or Studio space with en-suite facility";
pics[ix]["brief"]= "Bedroom ";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bedrooms/bedrooms5.jpg";
pics[ix]["full_info"]= "Another large bedroom modernised but retaining original features";
pics[ix]["brief"]= "Bedroom ";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/bedrooms/bedrooms6.jpg";
pics[ix]["full_info"]= "The family bathroom is easily accessed and offers a complete bathroom suite including bath and shower and tastefully decorated with a beautiful selection of rustic tiles.";
pics[ix]["brief"]= "The family bathroom";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/masterbedroom/master1.jpg";
pics[ix]["full_info"]= "The master bedroom boasts plenty of space (48m2), a balcony and large en-suite bathroom.";
pics[ix]["brief"]= "The Master Bedroom (1/3) - 48m2";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/masterbedroom/master2.jpg";
pics[ix]["full_info"]= "The master bedroom (48m2) offers areas to sit and relax as well as plenty of space for dressing.";
pics[ix]["brief"]= "The Master Bedroom (2/3) - 48m2";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/masterbedroom/master3.jpg";
pics[ix]["full_info"]= "The en-suite bathroom offers a complete bathroom suite, including shower, in a rustic style.";
pics[ix]["brief"]= "The Master Bedroom (3/3) - 48m2";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/study/study.jpg";
pics[ix]["full_info"]= "Study also retaining the original beams and other rustic features";
pics[ix]["brief"]= "The Study";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/living-room/living-room1.jpg";
pics[ix]["full_info"]= "Living room (48m2) with real fire and plenty of space for sofas, armchairs, etc. to make a very cosy den.";
pics[ix]["brief"]= "The Living Room (1/2) - (48m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/living-room/living-room2.jpg";
pics[ix]["full_info"]= "The feel of the room follows the rustic theme with wooden shutters, natural light, wood fires and tasteful decoration.";
pics[ix]["brief"]= "The Living Room (2/2) - (48m2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/utilityroom/utility1.jpg";
pics[ix]["full_info"]= "Utility room with a oven, plumbing for washing machine, ample storage space and plenty of room for fridge/freezers.";
pics[ix]["brief"]= "Utility Room (1/2)";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/interior/utilityroom/utility2.jpg";
pics[ix]["full_info"]= "Adjacent to the main kitchen therefore making this extensive utility room extremely convenient.";
pics[ix]["brief"]= "Utility Room (2/2)";
ix = ix + 1;


pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/cave/cave.jpg";
pics[ix]["full_info"]= "One of the more curious features of this property is the internal cave that provides even more storage space.";
pics[ix]["brief"]= "The Cave";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/house/rusticfarmhouse1.jpg";
pics[ix]["full_info"]= "Shows the extensive frontage of this larger than average property ";
pics[ix]["brief"]= "Finca Pou Clar - Natural beauty...";
ix = ix + 1;

pics[ix]=new Array();
pics[ix]["pic"]=new Image();
pics_src[ix]="images/pics/exterior/house/rusticfarmhouse-house-front3.jpg";
pics[ix]["full_info"]= "There are other rooms and areas not pictured on this website which add to the overall character of the property. Please feel free to make contact with us (click on the Contact Us button at the top of the page) to arrange a viewing. Thank you!";
pics[ix]["brief"]= "Finca Pou Clar - Natural beauty...";
ix = ix + 1;

var start_pic_index = 0;
var pic_index = 0;
var num_pics = ix;

function setPic()
{		
	loadPic(pic_index);
	document.getElementById("pic").src=pics[pic_index]["pic"].src;
	document.getElementById("pic").alt=pics[pic_index]["full_info"];
	document.all("brief_text").innerText = pics[pic_index]["brief"];
	document.all("full_info").innerText = pics[pic_index]["full_info"];
	document.all("pic_number").innerText = pic_index+1 + "/" + num_pics;
}

function loadPic(index)
{
	pics[index]["pic"].src=pics_src[index];
	if (index == (num_pics-1))
	{
		pics[index-1]["pic"].src=pics_src[index-1];
		pics[0]["pic"].src=pics_src[0];
	}
	else if (index == 0)
	{
		pics[num_pics-1]["pic"].src=pics_src[num_pics-1];
		pics[index+1]["pic"].src=pics_src[index+1];
	}
	else
	{
		pics[index-1]["pic"].src=pics_src[index-1];
		pics[index+1]["pic"].src=pics_src[index+1];
	}
}

function onStart()
{
	pic_index = start_pic_index;
	setPic();
}

function onPrev()
{
	if (pic_index > 0)
	{
		pic_index = pic_index - 1;
	}
	else
	{
		pic_index = num_pics-1;
	}
	setPic();
}

function onNext()
{
	pic_index++;
	if (pic_index >= num_pics)
	{
		pic_index = 0;
	}
	setPic();
}

function onOpenPanel()
{
	document.getElementById("full_info_pane").style.visibility = "visible";
}

function onClosePanel()
{
	document.getElementById("full_info_pane").style.visibility = "hidden";
}



		