From £'+this.minPrice+'';
}
var marker = createMarker(point,this.maplink.replace(/\\\"/g,'"')+markerprice);
venuemap.addOverlay(marker);
i=i+1;}}
});
if (p.town.zoomDefault=='0'){
venuemap.setZoom(venuemap.getBoundsZoomLevel(bounds)-1);
}else{
venuemap.setZoom(parseFloat(p.town.zoomDefault));
}
}
/////////////////////////////////////////////////////////////////////////////////
//following are for Autocomplete jquery plugin//
/////////////////////////////////////////////////////////////////////////////////
function findValue(li) {
resultID = '0';
if( li === null ) {return resultID=0;}
// if coming from an AJAX call
if( !!li.extra ) var sValue = li.extra[0];
// otherwise, let's just display the value in the text box
else var sValue = li.selectValue;
return resultID = sValue;
}
function selectItem(li) {
findValue(li);
}
function formatItem(row) {
return row[0] + " (id: " + row[1] + ")";
}
function lookupTown(searchbox){
if(searchbox=='pkgtownsearch'){
var oSuggest = $("#pkgtownsearch")[0].autocompleter;
}else{
var oSuggest = $("#townsearch"+searchbox)[0].autocompleter;
}
oSuggest.findValue();
return resultID;
}
/////////////////////////////////////////////////////////////////////////////////
//initiate the town search boxes on the page
/////////////////////////////////////////////////////////////////////////////////
$(document).ready(function() {
initiateSearchBox();
});
function initiateSearchBox(){
//looks for all occurrences of search boxes and initiates them all
var i=0;
do {
$("#townsearch"+i).autocomplete(
"///LANG///townsearch",
{
delay:10,
minChars:3,
mustMatch:1,
matchSubset:1,
selectFirst:true,
onItemSelect:selectItem,
onFindValue:findValue,
autoFill:false,
maxItemsToShow:10
}
);
i=i+1;
} while ($("#townsearch"+i).length)
}
You can easily and securely book online just navigate to your desired package and click Book Online. If you'd prefer to speak to someone for help selecting a suitable package please call 0844 745 5000.