

try {
	var topVal = 50, leftVal = 50;
	topVal  = (screen.availHeight / 2);
	leftVal = (screen.availWidth / 2);
	window.status = " ... great waterways outdoors .. britain's canals .. boating, walking, cycling ...";

}catch(e) {	
}



var permSection_Disabled = false;





function SetStatusCaption(str) {
  try {
		window.status = str;
	}catch(e) {
	}
}



function ShowPrivacy(pathToCommon) {
	try {
		var a = window.open(pathToCommon+'docs/privacy-policy.php', 'PrivacyPopUp', 'width=500,height=500,top='+(topVal-280)+',left='+(leftVal-250)+',resizable,scrollbars,toolbar');
	}catch(e) {
		return;
	}
	a.focus();
}



function ShowW3CValid(pathToCommon) {
	try {
		var a = window.open(pathToCommon+'docs/site-standards.php', 'W3CPopUp', 'width=700,height=550,top='+(topVal-305)+',left='+(leftVal-350)+',resizable,scrollbars,toolbar');
	}catch(e) {
		return;
	}
	a.focus();
}



function ShowPayPalInfoPop() {
	try {
		var a = window.open('https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');
	}catch(e) {
		return;
	}
	a.focus();
}




function ShowDirectoryWaterwayFilter() {
	try {	
		var popObj = document.getElementById('chgWaterwayPop');
		
		if(popObj.style.display != 'block') {
			popObj.style.display = 'block';
		}else {
			popObj.style.display = 'none';
		}
	
	}catch(e) {
	}
}



function QuickSearchWaterwayChange(obj) {
  if(obj.value == '') {
    if(obj.selectedIndex < (obj.length - 1)) {
      obj.selectedIndex++;
    }else {
      obj.selectedIndex = 2;
    }
  }
}



