function NavRollOver(oTd) {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#cc0000";}}function NavRollOut(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#b60202";}} function NavRollOvera(oTd)  {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#ff0000";}} function NavRollOuta(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#c80808";}} function NavRollOverb(oTd)  {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#cc00cc";}} function NavRollOutb(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#980898";}} function NavRollOverc(oTd)  {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#3366ff";}} function NavRollOutc(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#0838c8";}} function NavRollOverd(oTd)  {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#339999";}} function NavRollOutd(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#086868";}} function NavRollOvere(oTd)  {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#009933";}} function NavRollOute(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#086838";}}function NavRollOver2(oTd) {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#FE0202";}}function NavRollOut2(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#8497B4";}}theMessage = new Array("","Abseiling","Assault Coarse","Canoeing","Caving","Clay Pidgeon Shooting","Golf","Gorge Walking","Mountain Biking","Mountain Boarding","Mountain Walking","Orienteering","Paintballing","Pamper Day","Pony Trekking","Quad Challenge","Raft Building","Rally Karting","Rock Climbing","Target Shooting","FAQs","Book Now","Home","Teambuilding","Directions","Accomodation","Enquiry Form","Age Limits and Insurance","Stag weekends","Hen Parties","Birthday Parties","Corporate Activities","Teambuilding","Off-Road Driving","About Us","Facilities");function On(x){window.status=(""+theMessage[x]+"");}function Off(){window.status=(""+theMessage[0]+"");}function pop(a,b,c){window.open(a,b,c);}	var position = 0;		// position in slideshow - image subscript	var all_loaded = false;	// boolean	var so_far = 0;			// preload progress	my_images_src = new Array(			"images/home/1.gif",			"images/home/2.gif",			"images/home/3.gif",			"images/home/4.gif",			"images/home/5.gif",			"images/home/6.gif",			"images/home/7.gif",			"images/home/8.gif",			"images/home/9.gif",			"images/home/10.gif",			"images/home/11.gif",			"images/home/12.gif",			"images/home/13.gif",			"images/home/14.gif",			"images/home/15.gif"		);					// image filenames to load	var array_max =  my_images_src.length -1;	// determine array length	my_images_obj = new Array();	// image objects	function image_counter()	{		if (++so_far == array_max)		{			all_loaded = true;			document.images.bigpic.src = my_images_obj[0].src;	// display main image			document.images.rightarrow.src="images/home/right.gif";				// display arrow		}	}	function my_preload()	{		for (counter in my_images_src)		{			my_images_obj[counter] = new Image();			my_images_obj[counter].src = my_images_src[counter];			my_images_obj[counter].onLoad = image_counter();		}	}	function load_text(mypos)	{		document.images.bigpic.src = my_images_obj[mypos].src;	// swap main image		if (mypos == 0)		{			document.images.leftarrow.src="images/home/left.gif";		// determine button setup (first page has flashing button)			document.images.rightarrow.src="images/home/right.gif";		}		else		{			document.images.leftarrow.src="images/home/left.gif";			document.images.rightarrow.src="images/home/right.gif";		}	return;	}	function move_forward()	{		if (position <array_max)		{			position++;			setTimeout("load_text(position)", 500);			return;		}		if (position == array_max)		{			position=0;			setTimeout("load_text(position)", 500);			return;		}	}	function move_back()	{		if (position >0)		{			position--;			setTimeout("load_text(position)", 500);			return;		}		if (position == 0)		{			position=array_max;			setTimeout("load_text(position)", 500);			return;		}	}function refresh() {  		document.images.rightarrow.src="images/home/right.gif";				// display arrow  }function init() {  setTimeout("window.onresize = window.location.reload()", 1000);}<!-- These do the rollover for the Book Now! in the top bits area-->function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v3.0  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}<!-- You no like.....you slide boy!!-->function pop1(theURL,winName) {window.open(theURL,winName,'width=300,height=396,left=100,top=100,screenX=100,screenY=100,scrollbars=no,menubar=no')}function pop2(theURL,winName) {window.open(theURL,winName,'width=300,height=320,left=100,top=100,screenX=100,screenY=100,scrollbars=no,menubar=no')}function pop3(theURL,winName) {window.open(theURL,winName,'width=300,height=335,left=100,top=100,screenX=100,screenY=100,scrollbars=no,menubar=no')}function pop4(theURL,winName) {window.open(theURL,winName,'width=192,height=160,left=100,top=100,screenX=100,screenY=100,scrollbars=no,menubar=no')}
