// JavaScript Document
var firmName="Mark Young & Co";//Name of firm
var firmAddress1 ="22 St Helens Street";// address line1
var firmAddress2 ="";//address line two
var firmAddress3 ="";//address line three
var firmTown ="Ipswich";//the town firm is located  in
var firmCounty ="Suffolk";//the county firm is lacted in
var firmCountry="U.K.";// country firm is located in
var firmPostcode ="IP4 1HJ";//firm's postcode
var firmPhone ="(01473) 226630";//firm's phone number
var firmFax ="(01473) 226640";//firm fax number
var firmEmail ="enquiries@myco-law.co.uk"//email address
var partnerName ="Mark Young LL.B(Hons) ACII";//insert Partner and conslutants names
var companyReg ="[Limited company registration details (if applicable)]";//limited comapny deatils
var mapURL="http://uk8.multimap.com/map/browse.cgi?client=public&db=pc&addr1=&client=public&addr2=&advanced=&addr3=&pc=IP41HJ&quicksearch=ip4+1hj&cidr_client=none"//map address of firm

function openWindow(){
window.open(mapURL, "window","menubar=yes, scrollbar=yes, resizable=yes, height=500 width=500, locationbar=no");
}
function aaWindow(){
window.open('http://www.theaa.com/travelwatch/planner_main.jsp', "window","menubar=yes, scrollbar=yes, resizable=yes, height=500 width=650, locationbar=no");
}
function sraWindow(){
window.open('http://www.sra.org.uk', "window","menubar=yes,  height=500 width=650, resizable=yes, location=yes, scrollbars=yes");
}
document.write('<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0"><tr><td width=50% align="right"><b><a href="#" onClick=openWindow()>Location Map</a></b></td><td width="50%" align="left"><a href ="#" onClick=aaWindow()><b>Directions</b></a></td></tr><tr><td colspan="2"><h1 class="h1Footer">');
document.write(firmName);
document.write('</h1><p class="h3Footer">Regulated by the <a href ="javascript:void(0)" onClick=sraWindow()>Solicitors Regulation Authority</a></p><p class="h3Footer">');
document.write(firmAddress1);
document.write('<br>');
document.write(firmTown);
document.write('<br>');
document.write(firmCounty);
document.write('<br>');
document.write(firmCountry);
document.write('<br>');
document.write(firmPostcode);
document.write('</p><p class="h3Footer">tel: ');
document.write(firmPhone);
document.write('<br>fax: ');
document.write(firmFax);
document.write('<br> e-mail: <a href="mailto:enquiries@myco-law.co.uk"> ');
document.write(firmEmail);
document.write('</a></p>');
document.write(' <br><p class="h3Footer"><b> Principal </b><br>');
document.write(partnerName);
document.write('</p></td></tr></table>');