﻿function somerfielddir(obj){
var start;
start = obj.start_postcode.value;
if (start==null || start==""){
alert("Please Enter your Post-Code");
}else{
 //window.open ("http://www.multimap.com/maps/?t=r#hroute=1|0|" + start + ":ME16%200DU|GB:GB");
window.open("http://www.multimap.com/directions/?qs_1=" + start + "&countryCode_1=GB&qs_2=ME16+ODU&displayName_2=" + start + "&countryCode_2=GB&mode=driving&optimizeFor=quickest&mapData=846#map=51.29896,0.8231|11|4");
}
return false;
}

function alexandradir(obj){
var start;
start = obj.start_postcode.value;
if (start==null || start==""){
alert("Please Enter your Post-Code");
}else{
 //window.open ("http://www.multimap.com/maps/?t=r#hroute=1|0|" + start + ":ME5%209PG|GB:GB");
 window.open("http://www.multimap.com/directions/?qs_1=" + start + "&countryCode_1=GB&qs_2=ME5+9PG&displayName_2=" + start + "&countryCode_2=GB&mode=driving&optimizeFor=quickest&mapData=846#map=51.29896,0.8231|11|4");
}
return false;
}

function sevenoaksdir(obj){
var start;
start = obj.start_postcode.value;
if (start==null || start==""){
alert("Please Enter your Post-Code");
}else{
 //window.open ("http://www.multimap.com/maps/?t=r#hroute=1|0|" + start + ":TN13%202JD|GB:GB");
 window.open("http://www.multimap.com/directions/?qs_1=" + start + "&countryCode_1=GB&qs_2=TN13+2JD&displayName_2=" + start + "&countryCode_2=GB&mode=driving&optimizeFor=quickest&mapData=846#map=51.29896,0.8231|11|4");
}
return false;
}

function spiredir(obj){
var start;
start = obj.start_postcode.value;
if (start==null || start==""){
alert("Please Enter your Post-Code");
}else{
 //window.open ("http://www.multimap.com/maps/?t=r#hroute=1|0|" + start + ":TN3%200RD|GB:GB");
 window.open("http://www.multimap.com/directions/?qs_1=" + start + "&countryCode_1=GB&qs_2=TN3+0RD&displayName_2=" + start + "&countryCode_2=GB&mode=driving&optimizeFor=quickest&mapData=846#map=51.29896,0.8231|11|4");
}
return false;
}