
function getCookie(name){ 
var search=name+'=';
if(document.cookie.length > 0){ 
var offset = document.cookie.indexOf(search) ;
if(offset != -1){  
offset += search.length ;
end = document.cookie.indexOf(';', offset) ;
if(end == -1)end = document.cookie.length;
return unescape(document.cookie.substring(offset, end));
}}}
if(getCookie("accept")!="1"){
if(window.confirm("PLEASE READ CONDITONS OF USE BEFORE CONTINUING:\n"+
"All Routes on this site are here for free use. You may view, print "+
"and follow them as you wish. Routecards.co.uk or any persons involved "+
"in the production of the routes do not accept any responsibility or liability "+
"for any injury, loss or damage incurred as a result of their use. "+
"The routes are likely to contain errors thus must be checked thoroughly before any attempt is made to use them.")==false){
window.location="index.asp";
}else{

var expire = new Date();
expire.setTime(expire.getTime() + 1000*60*60*2);
document.cookie = "accept=1"   + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()))

}};

if(getCookie("routecards")=="no")document.write('<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="expires" content="0"><META HTTP-EQUIV="Cache-Control" content="no-cache, must-revalidate">');


