// Check what type of browser is in use, need Netscape 3+ or IE 4+
// to allow dynamic images to work
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
dynImg = ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet Explorer" && bVer >= 4));
function frameloader()
{
if (parent.location.href==self.location.href) {
reqPage = extract(self.location.href);
//alert(reqPage)
if (reqPage=='navigate') {reqPage='index';}
// window.location.href='index.htm?'+reqPage+'.htm';}
window.location.href='index.htm?'+reqPage;
}
}
function frameloader2()
{
if (parent.location.href==self.location.href) {window.location.href='index.htm';}
self.parent.frmCont936.location.reload(true)
}
function frameloader3()
{
if (parent.location.href==self.location.href) {
reqPage = 'index.htm?'+extract(self.location.href)+'.htm';
alert(reqPage);
window.location.href=reqPage;}
// if (parent.location.href==self.location.href) {window.location.href='index.htm';}
}
function change(pagename)
{
self.parent.frmCont936.location.href = pagename;
self.parent.frmCont936.focus();
window.status = arText;
}
function notNetscape(pagename)
{
if (bName=="Netscape" && bVer <= 5) {alert("This facility is not available to Netscape users.");}
else {change(pagename);}
}
function openWindow(picName, winDims, tbText)
{
bigPic = window.open('','', winDims); bigPic.focus;
bigPic.document.write('
'+tbText+' ')
bigPic.document.write(' ')
}
function openPopup(pageName, winDims)
{
puWin = window.open('','', winDims); puWin.focus;
puWin.location.href = pageName
}
function setSBText()
{
window.status = arText;
}
var loading = ' '
loading += 'Loading...
'
rnd.today=new Date();
rnd.seed=rnd.today.getTime();
// Date and time stuff /////////////
dayName = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday')
monName = new Array('January','February','March','April','May','June','July','August','September','October','November','December')
var today = new Date()
var year = today.getFullYear()
var mon = today.getMonth()
var day = today.getDate()
var dow = today.getDay()
var todayText = dayName[dow] +', ' + day + ' ' + monName[mon] + ' ' + year
var arText = todayText
/////////////////////////////////////
var email = "kadams"
var email2 = "bgunn"
var email3 = "dberridge"
var email4 = "ado61"
var email5 = "news"
var email6 = "raucock"
function copyright(coWriter)
{
pName = extract(self.parent.frmCont936.location.href)
pRef = "(Ref: " + pName + ")"
eventMon=8; eventYear=2004
eNotice='';
if (mon+1'+ePrefix+eDetail+eSuffix+' '}
}
if (coWriter==null) {coWriter='';}
cNotice = 'Copyright © 2001-' + year + ' Keith Adams ' + coWriter + '
';
fNotice = 'Comments & contributions: If you\'ve got something to say about the content of this page, or if you have some relevant information to contribute, please contact me using this link . I\'d love to hear from you. Alternatively, why not join in the debate or start one of your own at the site\'s online forum .
'
pNotice = 'Spotted an error? If you\'ve noticed a factual or typographical error, missing image or broken link on this page, please let me know about it using this link , and I will attend to it at the next update.
'
document.write(eNotice+cNotice+lastModd()+fNotice+pNotice)
}
function lastModd(moddType)
{
lastmod = self.parent.frmCont936.document.lastModified // get string of last modified date
lastmoddate = Date.parse(lastmod) // convert modified string to date
if(lastmoddate == 0){ // unknown date (or January 1, 1970 GMT)
lmText = ""
} else {
d = new Date(lastmod);
lmday=dayName[d.getDay()];
lmmon=monName[d.getMonth()];
lmdte=d.getDate(); lmyr=d.getFullYear();
lmh=d.getHours(); if (lmh < 10) {lmh = "0"+lmh}
lmm=d.getMinutes(); if (lmm < 10) {lmm = "0"+lmm}
switch (moddType) {
case "homePage": lmprefix = "Last updated: "; break;
default: lmprefix = "
This page was last modified on "
}
lmText = lmprefix + lmday + ", " + lmdte + " " + lmmon + " " + lmyr + " at " + lmh + ":" + lmm + "
";
}
return lmText;
}
function lastModd2()
{
lastmod = self.parent.frmCont936.document.lastModified
lastmoddate = Date.parse(lastmod)
todaydate = Date.parse(today)
alert(lastmoddate + " -- " + todaydate);
}
function contactMe(subject)
{
linkID = findMailtoLink('mailto:kadams')
document.links[linkID].href = 'mailto:' + email + '@aronline.co.uk?Subject=' + subject;
}
function contactHim(subject)
{
linkID = findMailtoLink('mailto:bgunn')
document.links[linkID].href = 'mailto:' + email2 + '@aronline.co.uk?Subject=' + subject;
}
function contactAlex(subject)
{
linkID = findMailtoLink('mailto:ado61')
document.links[linkID].href = 'mailto:' + email4 + '@aronline.co.uk?Subject=' + subject;
}
function contactDeclan(subject)
{
linkID = findMailtoLink('mailto:dberridge')
document.links[linkID].href = 'mailto:' + email3 + '@dberridge.co.uk?Subject=' + subject;
}
function contactNews(subject)
{
linkID = findMailtoLink('mailto:news')
document.links[linkID].href = 'mailto:' + email5 + '@aronline.co.uk?Subject=' + subject;
}
function contactRichard(subject)
{
linkID = findMailtoLink('mailto:raucock')
document.links[linkID].href = 'mailto:' + email6 + '@aronline.co.uk?Subject=' + subject;
}
function findMailtoLink(text)
{
for (var i=0; i -1) {
answer = what.substring(what.lastIndexOf('/')+1,what.length);}
else {
answer = what.substring(what.lastIndexOf('\\')+1,what.length);
}
// answer = answer.substring(answer,answer.length-4)
return answer
}
function rnd()
{
rnd.seed = (rnd.seed*9301+49297) % 233280;
return rnd.seed/(233280.0);
}
function rand(Ndx)
{
return Math.ceil(rnd()*(Ndx-1));
}
function isDefined(obj) {
if (typeof obj != "undefined") {return true;} else {return false;}
}
function unDefined(obj) {
if (typeof obj == "undefined") {return true;} else {return false;}
}
function setPic(linkNdx)
{
if (unDefined(menuPic[linkNdx])) {picNdx=000;} else {picNdx=linkNdx;}
if (unDefined(linkTxt[linkNdx])) {linkText=arText;} else {linkText=linkTxt[linkNdx];}
var menuImg = new Image();
switch (linkNdx) {
case 101:
if (imgCotm==cotmPast.length-1) {imgCotm=1;} else {imgCotm=imgCotm+1;}
menuImg.src = cotmPast[imgCotm].src; break;
case 102:
if (img2003==cotm2003.length-1) {img2003=1;} else {img2003=img2003+1;}
menuImg.src = cotm2003[img2003].src; break;
case 503:
if (imgInho==inhouse.length-1) {imgInho=1;} else {imgInho=imgInho+1;}
menuImg.src = inhouse[imgInho].src; break;
case 504:
if (imgCarr==carrozz.length-1) {imgCarr=1;} else {imgCarr=imgCarr+1;}
menuImg.src = carrozz[imgCarr].src; break;
case 607:
if (imgMem==members.length-1) {imgMem=1;} else {imgMem=imgMem+1;}
menuImg.src = members[imgMem].src; break;
default: menuImg.src = menuPic[picNdx].src;
}
Loading()
self.parent.frmLogo936.document.logo.src = menuImg.src;
window.status = linkText;
}
function setPop(picName)
{
Loading()
self.parent.frmLogo936.document.logo.src = 'popups/' + picName;
}
function setTop(picName)
{
Loading()
self.parent.frmLogo936.document.logo.src = 'toppics/' + picName;
}
function setBiog(biogName)
{
Loading()
self.parent.frmLogo936.document.logo.src = 'biogs/' + biogName + '.jpg';
}
function setBro(broCode)
{
Loading()
self.parent.frmLogo936.document.logo.src = 'brochures/popups/' + broCode + '.jpg';
}
function setLogo()
{
Loading()
self.parent.frmLogo936.document.logo.src = 'arlogo3.jpg';
//self.parent.frmLogo936.document.logo.src = 'ident.jpg';
window.status = arText;
}
function setInfo(filName)
{
if (filName.indexOf('p')==0) {filName = "nocredit"}
Loading()
self.parent.frmLogo936.document.logo.src = 'carinfo/' + filName + '.jpg';
}
function setText(linkNdx)
{
window.status = linkText[linkNdx];
return true;
}
function Loading()
{
self.parent.frmLogo936.document.logo.src = "images/loading.jpg";
}
function pageTurner(newPage)
{
switch (newPage)
{
case 0: if (pageno > 1) {pageno = pageno - 1; break;} else {break;}
case 99: if (pageno < maxpage) {pageno = pageno + 1; break;} else {break;}
default: pageno = newPage;
}
document.brochure.src = bropage[pageno].src
}
/*
REDUNDANT CODE
function setTop(picName)
{
Loading()
self.parent.frmLogo936.document.open();
self.parent.frmLogo936.document.write(' ');
self.parent.frmLogo936.document.close();
self.parent.frmCont936.focus();
alert('Done it!')
}
self.parent.frmLogo936.document.open();
self.parent.frmLogo936.document.write(loading);
self.parent.frmLogo936.document.close();
// self.parent.frmLogo936.location.href = 'brochures/' + broCode + '.jpg';
// self.parent.frmCont936.focus();
*/
// JUST FOR FUN =============================================================
function checkAnswers(gameID)
{
switch (gameID) {
case 1:
var docHead = self.parent.frmSNGH.document;
var docMain = self.parent.frmSNGC.document;
ans = new Array(6,7,11,18,5,2,14,1,4,20,9,10,12,17,8,3,19,13,15,16)
break;
case 2:
var docHead = self.parent.frmSNGH.document;
var docMain = self.parent.frmSNGC.document;
ans = new Array(10,1,7,5,3,6,2,4,9,8)
}
var docForm = docMain.forms[0];
var totScore = 0;
for (thisEle=0; thisEle 0
if (canGo) {targetBlank(webSites[itemID-1]);}
else {if (srcID==1) {alert(noGoPic);} else {alert(noGoBox);}}
}
function targetBlank(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
}
// SITE TOUR CODING =============================================================
var pageID = new Array(
"updatesf",
"greatest01f",
"greatest02f",
"greatest03f",
"greatest04f",
"greatest05f",
"greatest06f",
"greatest07f",
"greatest08f",
"greatest09f",
"greatest10f",
"greatest11f",
"greatest12f",
"greatest13f",
"greatest01f",
"100iswindexf",
"1800f",
"2001rroverf",
"2003necf",
"aboutf",
"ado14aquilaf",
"ado14indexf",
"ado14pubmatf",
"ado14storyf",
"ado15abroadf",
"ado15beachf",
"ado15crayf",
"ado15devf",
"ado15dlf",
"ado15downtonf",
"ado15indexf",
"ado15minissf",
"ado15pubmatf",
"ado15saadsf",
"ado15saf",
"ado15specialf",
"ado15storyf",
"ado15waaf",
"ado161300gtf",
"ado16abroadf",
"ado16ausf",
"ado16chilef",
"ado16commf",
"ado16convf",
"ado16crayf",
"ado16denf",
"ado16devf",
"ado16dlf",
"ado16drivef",
"ado16galleryf",
"ado16hollandf",
"ado16indexf",
"ado16italyf",
"ado16japanf",
"ado16nzf",
"ado16pubmatf",
"ado16sa1f",
"ado16sa2f",
"ado16saf",
"ado16spain1f",
"ado16spain2f",
"ado16spain3f",
"ado16spain4f",
"ado16spainf",
"ado16storyf",
"ado16tlinef",
"ado16usaf",
"ado17crayf",
"ado17cvf",
"ado17devf",
"ado17galleryf",
"ado17indexf",
"ado17mgf",
"ado17pubmatf",
"ado17storyf",
"ado17vdpf",
"ado23indexf",
"ado23pubmatf",
"ado23storyf",
"ado28austinf",
"ado28brof",
"ado28convf",
"ado28cowleyf",
"ado28devf",
"ado28galleryf",
"ado28indexf",
"ado28italf",
"ado28mumfordf",
"ado28pubmatf",
"ado28storyf",
"ado28torf",
"ado28utilityf",
"ado61crayf",
"ado61indexf",
"ado61pubmatf",
"ado61storyf",
"ado67brof",
"ado67convf",
"ado67devf",
"ado67galleryf",
"ado67indexf",
"ado67pubf",
"ado67pubmatf",
"ado67regentf",
"ado67storyf",
"ado6coff",
"ado6convf",
"ado6fl2f",
"ado6indexf",
"ado6repf",
"ado6rivalsf",
"ado6storyf",
"ado711822f",
"ado71ambf",
"ado71brof",
"ado71commf",
"ado71convf",
"ado71crayf",
"ado71devf",
"ado71estf",
"ado71galleryf",
"ado71indexf",
"ado71pubmatf",
"ado71storyf",
"ado71torf",
"ado71tripf",
"ajaxindexf",
"ajaxpubmatf",
"ajaxstoryf",
"ajaxtlinef",
"akaado15f",
"akaado16f",
"akaado17f",
"akaado28f",
"akafarinaf",
"akaindexf",
"akaothersf",
"allegrodlf",
"annivf",
"ar6devf",
"arindexf",
"armgexef",
"arroverccvf",
"ausindexf",
"authigalleryf",
"authiindexf",
"authinmqf",
"avonaccf",
"avonindexf",
"avonxj6f",
"awcolombiaf",
"awindexf",
"awisraelf",
"awlicencef",
"axeemailsf",
"barbdevf",
"barbindexf",
"barbpubmatf",
"barbstoryf",
"baxinterf",
"bertoprotof",
"biblio1f",
"biblio2f",
"biblio3f",
"bibliof",
"blrenaultf",
"carrozzindexf",
"chileindexf",
"cityrovergalleryf",
"cityroverindexf",
"cityroverpressf",
"cityroverstoryf",
"cmilne800f",
"codeadof",
"codeindexf",
"codelclmf",
"codemiscf",
"coderoverf",
"codexcf",
"codeydof",
"concarbodiesf",
"conindexf",
"conjensenf",
"conreliantf",
"convindexf",
"cotm200201f",
"cotm200202f",
"cotm200203f",
"cotm200204f",
"cotm200205f",
"cotm200206f",
"cotm200207f",
"cotm200208f",
"cotm200209f",
"cotm200210f",
"cotm200211f",
"cotm200212f",
"cotm2002f",
"cotm200301f",
"cotm200302f",
"cotm200303f",
"cotm200304f",
"cotm200305f",
"cotm200306f",
"cotm200307f",
"cotm200308f",
"cotm200309f",
"cotm200310f",
"cotm200311f",
"cotm200312f",
"cotm2003f",
"cotmindexf",
"cowleyf",
"crayindexf",
"cv306indexf",
"cv306pubmatf",
"cv306storyf",
"cv306torf",
"denmarkf",
"downloadsf",
"engineaseriesf",
"enginebseriesf",
"enginecseriesf",
"enginehkseriesf",
"engineindex2f",
"engineindexf",
"enginekseriesf",
"engineroverv8f",
"etsongf",
"etsonggalleryf",
"etsonglubaof",
"fakingitf",
"fawindexf",
"fawlubaof",
"fruaprotof",
"ftvfawltyf",
"ftvgetcarterf",
"ftvindexf",
"ftvnewavengersf",
"ftvprofessionalsf",
"ftvquadrof",
"ftvsweeneyf",
"ftvtlgff",
"futuref",
"gaydonsalef",
"harrimanf",
"hhrstoryf",
"hindambyf",
"hindindexf",
"histindexf",
"huachen75f",
"huanduf",
"indiaindexf",
"inhouseindexf",
"innia40f",
"innifactf",
"inniindexf",
"inniminif",
"interindexf",
"irelandf",
"issiinterf",
"italiansf",
"italsprotof",
"jagpubmatf",
"jaguarf",
"jaguarindexf",
"jaguarstudiesf",
"jawsvictindexf",
"jawsvictonef",
"jawsvictoryf",
"jawsvicttwof",
"kinginterf",
"lc8brof",
"lc8buyingf",
"lc8crayf",
"lc8devf",
"lc8galleryf",
"lc8indexf",
"lc8modf",
"lc8pubmatf",
"lc8roverf",
"lc8storyf",
"lc9indexf",
"lc9storyf",
"lcvcdvf",
"lcvindexf",
"lcvprodf",
"lcvpurposef",
"lcvroyalmailf",
"lcvservicef",
"lcvtelecomf",
"lcvtrucksf",
"leyindexf",
"lm10brof",
"lm10buyingf",
"lm10chinaf",
"lm10commf",
"lm10devf",
"lm10indexf",
"lm10memoriesjdf",
"lm10memoriesrbf",
"lm10pubf",
"lm10pubmatf",
"lm10storyf",
"lynxeventf",
"lynxindexf",
"lynxspyderf",
"maltaf",
"manninterf",
"marinadlf",
"memberadamsf",
"memberberridgef",
"memberboucke1f",
"memberboucke2f",
"memberbouckef",
"membercaponf",
"membercollinf",
"memberdavisf",
"membergunnf",
"memberjacobsf",
"memberkuepperf",
"membermorleyf",
"membernicholls1f",
"membernicholls2f",
"membernichollsf",
"membersebbf",
"membersindexf",
"memberthomasf",
"memberturleyf",
"memberturnerbf",
"memberturnerf",
"memberturnermf",
"memberwindf",
"memberwoodf",
"mgcommf",
"mgindexf",
"mgrev1980sf",
"mgrev6r4f",
"mgrevftff",
"mgrevindexf",
"mgrevmaestrosf",
"mgrevmetrosf",
"mgrevmontegosf",
"mgrevrv8f",
"mgrevxtozf",
"mgtfhpdf",
"mgxptf",
"micheprotof",
"minidlf",
"minispainf",
"mysterycarsf",
"nzwholestoryf",
"oldwivesf",
"otherprotof",
"othersdlf",
"ownersindexf",
"p38adevf",
"p6crayf",
"p6indexf",
"p6pubmatf",
"p6storyf",
"p7682indexf",
"p7682infof",
"p7682p82f",
"p7682picsf",
"p76force7f",
"p76storyf",
"p76ukf",
"p8f",
"pantherindexf",
"pantherj72f",
"pantherlazerf",
"pantherriof",
"pantherxj6f",
"peoplef",
"peterboroughf",
"pfkingsburyf",
"pinin1100f",
"pinin1800f",
"pininindexf",
"pininjagf",
"pininotherf",
"policeaustinf",
"policeindexf",
"policejaguarf",
"policemgf",
"policeminif",
"policemorrisf",
"policeroverf",
"policetriumphf",
"policewolsf",
"pr3indexf",
"pr3storyf",
"pressadsf",
"pressf",
"princessdlf",
"prodindexf",
"productionf",
"publicityf",
"quotesf",
"r3galleryf",
"r3indexf",
"r3prodf",
"r3storyf",
"r40galleryf",
"r40indexf",
"r40storyf",
"r40ztef",
"r40ztv8f",
"r50storyf",
"r6buyingf",
"r6indexf",
"r6pubmatf",
"r6scoutf",
"r6storyf",
"r6xdevf",
"r8indexf",
"r8storyf",
"rappfortef",
"rappindexf",
"rappmetrof",
"researchecvf",
"researchindexf",
"researchsrvf",
"rov425f",
"rovindexf",
"rovr30f",
"rovsd2f",
"rovtcvf",
"rrprotof",
"ryderreportf",
"salesf",
"saminimenuf",
"santanaf",
"sd1brof",
"sd1buyingf",
"sd1devf",
"sd1drivef",
"sd1galleryf",
"sd1indexf",
"sd1inspf",
"sd1pressf",
"sd1prodf",
"sd1pubf",
"sd1pubmatf",
"sd1sportf",
"sd1storyf",
"sd3storyf",
"searchf",
"sipanif",
"sipanimontef",
"sk1storyf",
"spaindexf",
"sports_ex234f",
"sportsado21f",
"sportsado34f",
"sportsado56f",
"sportsado68f",
"sportsado70f",
"sportsastonmgbf",
"sportsdlf",
"sportsindexf",
"sportstriumphf",
"standard2000f",
"standardgazelf",
"standardheraldf",
"standardindexf",
"streetwisef",
"super9xf",
"superado74f",
"superado88af",
"superado88bf",
"superado88f",
"superindexf",
"supernewf",
"thosedoorsf",
"timelinef",
"tm1f",
"toptrumpsf",
"torindexf",
"tr7crayf",
"tr7indexf",
"tr7storyf",
"tr7trxf",
"tr7trzf",
"trifactf",
"triumphcommf",
"triumphf",
"triumphindexf",
"turnbullf",
"vandenindexf",
"vandenplasf",
"vdp1822f",
"vdp3litref",
"vdpindexf",
"vdpsmallf",
"whatcarf",
"wilt1100f",
"wilt200brmf",
"wiltallegrof",
"wiltheraldf",
"wiltindexf",
"wiltmaestrof",
"wiltmaxif",
"wiltp6f",
"wiltspridgetf",
"wiltsprintf",
"wiltsterlingf",
"wilttravf",
"wiltxj40f",
"woolleyemailsf",
"wschapter1f",
"wschapter2f",
"wschapter3f",
"wschapter4f",
"wschapter5f",
"wschapter6f",
"wschapter7f",
"wschapter8f",
"wschapter9f",
"wsindexf",
"x6articlesf",
"x6indexf",
"x6picsf",
"x6vdpf",
"x80galleryf",
"x80indexf",
"x80storyf",
"xxbrof",
"xxbuyingf",
"xxcoupecompf",
"xxdevf",
"xxgalleryf",
"xxindexf",
"xxpubf",
"xxpubmatf",
"xxr17coupef",
"xxr17f",
"xxstoryf",
"zagatoprotof",
"zaindexf"
);
function tourSite(curPage, dirNdx)
{
curPage = extract(curPage);
if (dirNdx == 0) {
do {newPno=rand(pageID.length);}
while (pageID[newPno] == undefined )}
//indexOf(pageID[newPno], pageID[newPno].length - 6) == "indexf")
else {
if (curPage.substring(curPage,curPage.length-3) == "greatest")
{
var pCount=0
do {pCount = pCount + 1;window.status=pCount}
while (pageID[pCount] != curPage && pCount<=pageID.length)
if (dirNdx == 1) {newPno=pCount-1;} else {newPno=pCount+1;}
newPage = pageID[newPno]
change(newPage + '.htm');
}
else {
alert("The Site Tour facility has been temporarily suspended while it is being revised and updated. \n\n Its relaunch will be announced on the Latest Updates page.")
}
/*
var pCount=0
do {pCount = pCount + 1;window.status=pCount}
while (pageID[pCount] != curPage && pCount<=pageID.length)
if (dirNdx == 1) {newPno=pCount-1;} else {newPno=pCount+1;}
*/
}
if (dirNdx == 0) {
newPage = pageID[newPno]
if (newPage == undefined) {newPage = curPage}
//alert("Undefined page: "+newPno);
//wsNo = rand(9)
//newPage = "wschapter"+wsNo+"f";}
change(newPage + '.htm');
//alert(newPno + " " + newPage)
}
}
//----------
function randPage(curPage)
{
curPage = extract(curPage);
do {newPno=rand(pageID.length);}
while (pageID[newPno] == undefined )
//indexOf(pageID[newPno], pageID[newPno].length - 6) == "indexf")
var pCount=0
do {pCount = pCount + 1;window.status=pCount}
while (pageID[pCount] != curPage && pCount<=pageID.length)
//if (dirNdx == 1) {newPno=pCount-1;} else {newPno=pCount+1;}
newPage = pageID[newPno]
if (newPage == undefined) {newPage = curPage}
//alert("Undefined page: "+newPno);
//wsNo = rand(9)
//newPage = "wschapter"+wsNo+"f";}
change(newPage + '.htm');
//alert(newPno + " " + newPage)
}