var setup=[];
setup.cssfile="http://www.mattcardy.co.uk/showroom/client/orange.css";
setup.pagesizes=[5,10,25,50,0];
setup.site="lhdaudi";
setup.locale="GBP";
setup.searchURL="http://www.mattcardy.co.uk/showroom/carlistsearch.php?site=lhdaudi&search=";
setup.viewURL="http://www.mattcardy.co.uk/showroom/viewupdate.php?site=lhdaudi&amp;id=";
setup.emailURL="http://www.mattcardy.co.uk/showroom/emailsales.php?site=lhdaudi&id=";
setup.thumburl="http://www.mattcardy.co.uk/showroom/data/lhdaudi/thumbs/";
setup.picurl="http://www.mattcardy.co.uk/showroom/data/lhdaudi/pics/";
setup.picsize=600;
setup.licprod=true;
setup.showform=true;
setup.adverton=true;
setup.orderbyon=true;
setup.advert="powered by Corrupted Design";
setup.advertURL="http://www.corrupteddesign.com/";

var vehiclelist;
function DefineVehicles() {
	vehiclelist=[];
	vehiclelist[0]=new Vehicle(275, true, 2009, "Audi A3 A4 A5 A6 A8 Q7 Q5 R8 TT S3  Your Choice", 0, "your choice", "automatic", "We are able to supply brand new LHD Audi, All Models Tax Free for export with discount. For more information fill in the form below. Thank you.|Choose your own colours specification and features. Prices on application.", 999999, []);
	vehiclelist[1]=new Vehicle(276, false, 2009, "Audi S5 4.2 V8 Quattro Coupe", 7000, "meteor grey metallic", "manual", "Price: £51,875 - UK or Netto for European buyers - £44,500. This is a unique opportunity to buy a cut-price Audi S5 Coupe - Fully optioned worth in excess of 82,000 Euros and selling for less than half that price to continental Europeans!!!|This car has only 7,000 Miles on the clock and has been garaged since new. The owner bought this car 4 months ago brand new and has to leave the country to go to Australia. This car has been the owners pride and joy being garaged every night and day. Don't miss out if you're in the market for a unique, one of a kind Audi S5 Coupe. Call 0207 993 8447 or fill in the form below to find out more.|Thanks.", 888888, [1]);
	vehiclelist[2]=new Vehicle(183, false, 2007, "Audi R8 4.2 Quattro Coupé", 8467, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Radio/CD, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 128997, []);
	vehiclelist[3]=new Vehicle(188, false, 2007, "Audi R8 4.2 Quattro R Tronic Coupé", 15500, "Metallic Phantom Black", "manual", "- Description|Full Service History, Warranty, Four Wheel Drive, 420 BHP, ABS, ESP, Auto Air Con, Alloys, Leather Interior with Heated, Elec Adjust Seats, Navigation System, Parking Sensors, Cruise, Xenons, Multi-Function Wheel, Electric Windows and Mirrors, Central Locking, Airbags, Radio/CD, Olufsen Sound System, Immobiliser and Alarm System, Bluetooth|- Features|* Excellent Value For Money!", 94947, []);
	vehiclelist[4]=new Vehicle(189, false, 2007, "Audi R8 4.2 R Tronic Coupé", 7950, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, 420 BHP, Full Service History, Immobilizer, Leather seats, Metallic, Navigation system, Parking sensors, Warranty, Xenon headlights, Multi Function Steering Wheel, Radio/CD|- Features|* Excellent Value For Money!", 89697, []);
	vehiclelist[5]=new Vehicle(187, false, 2007, "Audi R8 4.2 Quattro R Tronic Coupé", 9838, "Metallic Daytona Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Radio/CD, Onboard Computer, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 88297, []);
	vehiclelist[6]=new Vehicle(252, false, 2007, "Audi S8 5.2 FSI Quattro Saloon", 14400, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Onboard Computer, Radio/CD, Bang&Olufsen Advanced Sound System, 450 BHP, Petrol|- Features|* Excellent Value For Money!", 72697, []);
	vehiclelist[7]=new Vehicle(152, false, 2007, "Audi A8 W12 Quattro Saloon", 13610, "Metallic Brown", "manual", "- Description|450 BHP, ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights|- Features|* Excellent Value For Money!", 71347, []);
	vehiclelist[8]=new Vehicle(258, false, 2007, "Audi S8 Quattro Saloon", 30146, "Metallic Black", "manual", "- Description|Four Wheel Drive, Leather Seats, Cruise Control, Radio/CD, Navigation System, Traction Control, Alloy Wheels, Airbags, Multi Function Wheel, 450 BHP, Petrol|- Features|* Excellent Value For Money!", 68647, []);
	vehiclelist[9]=new Vehicle(253, false, 2007, "Audi S8 5.2 FSI V10 Quattro Saloon", 16500, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, 450 BHP, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 63947, []);
	vehiclelist[10]=new Vehicle(257, false, 2007, "Audi S8 Quattro Saloon", 25318, "Metallic Daytona Grey", "manual", "- Description|Air Conditioning, Four Wheel Drive, Cruise Control, Radio/CD, Alloy Wheels, Leather Seats, Traction Control, Trip Computer, Navigation System, Xenon Headlights, 450 BHP, Petrol|- Features|* Excellent Value For Money!", 62647, []);
	vehiclelist[11]=new Vehicle(241, false, 2007, "Audi S6 5.2 FSI Saloon", 15900, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Leather seats, Navigation system, Sunroof, Warranty, Radio/CD, BOSE Sound System, Auto Air Con, 435 BHP, Petrol|- Features|* Excellent Value For Money!", 62447, []);
	vehiclelist[12]=new Vehicle(149, false, 2007, "Audi A8 4.2 TDI Quattro Saloon", 17825, "Metallic Dark Blue", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Stereo, BOSE Sound System, TV Function, 325 BHP, Diesel|- Features|* Excellent Value For Money!", 61747, []);
	vehiclelist[13]=new Vehicle(256, false, 2007, "Audi S8 Quattro Saloon", 27763, "Metallic Silver", "manual", "- Description|Air Conditioning, Cruise Control, Alloy Wheels, Navigation System, Four Wheel Drive, Heated Leather Seats, Multi Function Wheel, BOSE Sound System, 450 BHP, Petrol|- Features|* Excellent Value For Money!", 59947, []);
	vehiclelist[14]=new Vehicle(254, false, 2007, "Audi S8 5.2 Quattro Saloon", 16227, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Sound System, 450 BHP, Petrol|- Features|* Excellent Value For Money!", 59147, []);
	vehiclelist[15]=new Vehicle(251, false, 2007, "Audi S8 5.2 FSI Quattro Saloon", 15000, "Metallic Daytona Grey", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Stereo/DVD/TV Function, Bluetooth, 450 BHP, Petrol|- Features|* Excellent Value For Money!", 58547, []);
	vehiclelist[16]=new Vehicle(255, false, 2006, "Audi S8 Quattro Saloon", 29278, "Metallic Silver", "manual", "- Description|450 BHP, ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD, Front Fog Lights|- Features|* Excellent Value For Money!", 53797, []);
	vehiclelist[17]=new Vehicle(243, false, 2007, "Audi S6 5.2 FSI Quattro Saloon", 11700, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD/DVD, 6x Airbags|- Features|* Excellent Value For Money!", 53447, []);
	vehiclelist[18]=new Vehicle(148, false, 2007, "Audi A8 4.2 Quattro Saloon", 107, "Metallic Charcoal", "manual", "- Description|Four Wheel Drive, Alloy Wheels, DVD Navigation System, Leather Seats, Air Conditioning, Cruise Control, Traction Control, Radio/CD, ABS, Airbags, Petrol|- Features|* Excellent Value For Money!", 52497, []);
	vehiclelist[19]=new Vehicle(261, false, 2007, "Audi TT 3.2 Quattro Sport Exclusive Coupé", 15500, "Metallic Grey", "manual", "- Description|500 BHP, ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Xenon headlights, Stereo, Front Fog Lights|- Features|* Excellent Value For Money!", 52397, []);
	vehiclelist[20]=new Vehicle(132, false, 2006, "Audi A6 Avant V10 Estate", 19500, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Radio/CD, BOSE Sound System|- Features|* Excellent Value For Money!", 52397, []);
	vehiclelist[21]=new Vehicle(197, false, 2007, "Audi RS4 4.2 FSI Quattro Saloon", 15299, "Metallic Orange", "manual", "- Description|ABS, Alloy wheels, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Auto Air Con, Stereo, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 51197, []);
	vehiclelist[22]=new Vehicle(249, false, 2006, "Audi S8 4.2 TDI Saloon", 7000, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlight, Radio/CD/DVD/TV, Front Fog Lights|- Features|* Excellent Value For Money!", 50397, []);
	vehiclelist[23]=new Vehicle(147, false, 2007, "Audi A8 4.2 Quattro Saloon", 32824, "Metallic Light Silver", "manual", "- Description|Four Wheel Drive, Cruise Control, Air Conditioning, Radio/CD, BOSE Speakers, Leather Seats, Alloy Wheels, Front Fog Lights, Xenon Headlights, Electric Windows, Electric Mirrors, Trip Computer, Petrol|- Features|* Excellent Value For Money!", 49247, []);
	vehiclelist[24]=new Vehicle(134, false, 2007, "Audi A8 3.0 TDI Saloon", 9999, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Radio/CD, 6x Airbags|- Features|* Excellent Value For Money!", 49047, []);
	vehiclelist[25]=new Vehicle(247, false, 2006, "Audi S6 Avant 5.2 Quattro Estate", 10000, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Trailer coupling, Warranty, Xenon headlights, Radio/CD/DVD, BOSE Sound System, 435 BHP, Petrol|- Features|* Excellent Value For Money!", 48697, []);
	vehiclelist[26]=new Vehicle(229, false, 2007, "Audi S4 Cabriolet Cabriolet", 11800, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Radio/CD, BOSE Sound System|- Features|* Excellent Value For Money!", 48047, []);
	vehiclelist[27]=new Vehicle(202, false, 2007, "Audi RS4 Avant Estate", 13900, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Airbags, Stereo, Auto Air Con, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 47647, []);
	vehiclelist[28]=new Vehicle(206, false, 2006, "Audi RS4 Cabriolet 4.2 Quattro Cabriolet", 28000, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, 420 BHP, Central locking, Cruise control, Electric heated seats, Electric windows, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Radio/CD/TV, BOSE Sound System|- Features|* Excellent Value For Money!", 47447, []);
	vehiclelist[29]=new Vehicle(203, false, 2007, "Audi RS4 Avant 4.2 FSi Quattro Estate", 13900, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Speakers, Auto Air Con, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 46947, []);
	vehiclelist[30]=new Vehicle(246, false, 2007, "Audi S6 5.2 V10 Quattro Saloon", 18500, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD, BOSE Sound System, Auto Air Con, 435 BHP, Petrol|- Features|* Excellent Value For Money!", 46897, []);
	vehiclelist[31]=new Vehicle(160, false, 2008, "Audi Q7 3.0 TDI DPF Quattro 4x4", 9000, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Four Wheel Drive, Immobilizer, Leather Seats, Navigation System, Parking Sensors, Sunroof, Trailer Coupling, Xenon Headlights, Front Fog Lights, Radio/CD, Auto Air Con, 3.0 Litre, 235 BHP|- Features|* Excellent Value For Money!", 45947, []);
	vehiclelist[32]=new Vehicle(196, false, 2006, "Audi RS4 4.2 Avant Quattro Estate", 20500, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, 420 BHP, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, 6x Airbags, Onboard Computer|- Features|* Excellent Value For Money!", 45647, []);
	vehiclelist[33]=new Vehicle(201, false, 2007, "Audi RS4 Avant Estate", 23100, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Front Fog Lights, Airbags, Onboard Computer, Stereo, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 45597, []);
	vehiclelist[34]=new Vehicle(233, false, 2007, "Audi S5 Coupé", 12000, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Xenon headlights|- Features|* Excellent Value For Money!", 45597, []);
	vehiclelist[35]=new Vehicle(173, false, 2006, "Audi Q7 4.2 FSI Quattro 4x4", 17793, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD, BOSE Sound System, Onboard Computer, 350 BHP, Petrol|- Features|* Excellent Value For Money!", 45597, []);
	vehiclelist[36]=new Vehicle(191, false, 2007, "Audi RS4 Saloon", 32656, "Metallic Phantom Black Pearl E", "manual", "- Description|Four Wheel Drive, Xenon Headlights, Front Fog Lights, Cruise Control, Air Conditioning, Sunroof, Multi Function Wheel, Leather Seats, Stereo, Trip Computer, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 45197, []);
	vehiclelist[37]=new Vehicle(231, false, 2007, "Audi S4 Quattro Cabriolet", 14139, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Radio/CD, BOSE Sound System, 345 BHP, Petrol|- Features|* Excellent Value For Money!", 44597, []);
	vehiclelist[38]=new Vehicle(208, false, 2007, "Audi RS4 Quattro 4.2 V8 Saloon", 18896, "Dark Grey", "manual", "- Description|4.2 V8, 420 BHP, Four Wheel Drive, Full Service History, Warranty, ABS, ESP, Auto Air Con, 19 Inch Anthracite Alloy Wheels, Leather Interior with Heated, Elec Adjust Seats, DVD Navigation System, Onboard Computer, Parking Sensors, Cruise, Xenons, Rain Sensor, Centre Armrest, Front Fog Lights, Multi-Function Leather Steering Wheel, Electric Windows, Mirrors and Sunroof, Central Locking, 10x Airbags, Radio/CD, BOSE Sound System, Immobiliser and Alarm System, Sports Exhaust System, H&R Sports Suspension|- Features|* Excellent Value For Money!", 44297, []);
	vehiclelist[39]=new Vehicle(244, false, 2006, "Audi S6 5.2 Quattro Saloon", 12359, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD/DVD, BOSE Sound System, Auto Air Con, 435 BHP, Petrol|- Features|* Excellent Value For Money!", 44247, []);
	vehiclelist[40]=new Vehicle(235, false, 2007, "Audi S5 4.2 Quattro Exclusive Coupé", 13100, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Leather seats, Navigation system, Parking sensors, Xenon headlights, Front Fog Lights, Radio/CD/iPod Connection, 350 BHP, Petrol|- Features|* Excellent Value For Money!", 43847, []);
	vehiclelist[41]=new Vehicle(158, false, 2007, "Audi Q7 3.0 TDI DPF Quattro 4x4", 29000, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Four Wheel Drive, Full Service History, Immobilizer, Navigation System, Parking Sensors, Power Steering, Sunroof, Trailer Coupling, Xenon Headlights, Front Fog Lights, Centre Armrest, Radio/CD, 3.0 Litre, 230 BHP|- Features|* Excellent Value For Money!", 43647, []);
	vehiclelist[42]=new Vehicle(234, false, 2007, "Audi S5 4.2 FSI Quattro Coupé", 14966, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/DVD, Onboard Computer, 350 BHP, Petrol|- Features|* Excellent Value For Money!", 43647, []);
	vehiclelist[43]=new Vehicle(232, false, 2007, "Audi S5 Coupé", 23350, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Xenon headlights, Front Fog Lights, Radio/CD/DVD, Bluetooth, 350 BHP, Petrol|- Features|* Excellent Value For Money!", 43347, []);
	vehiclelist[44]=new Vehicle(157, false, 2007, "Audi MTM TT Coupe 3.2 Turbo Quattro Coupé", 29000, "Metallic Grey", "manual", "- Description|495 BHP, ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights|- Features|* Excellent Value For Money!", 42297, []);
	vehiclelist[45]=new Vehicle(114, false, 2007, "Audi A5 3.0 TDI Quattro Coupé", 15000, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/DVD, Onboard Computer, Diesel|- Features|* Excellent Value For Money!", 42197, []);
	vehiclelist[46]=new Vehicle(236, false, 2007, "Audi S5 FSI Quattro Coupé", 9500, "Metallic Grey", "manual", "- Description|ABS, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Parking sensors, Xenon headlights, Front Fog Lights, Bluetooth, Auto Air Con, 350 BHP, Petrol|- Features|* Excellent Value For Money!", 42197, []);
	vehiclelist[47]=new Vehicle(66, false, 2006, "Audi A4 (RS4 Replica) Saloon", 21000, "Metallic Yellow", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Sunroof, Xenon headlights, Front Fog Lights, Radio/CD/DVD, Bluetooth, Multi Function Wheel, Auto Air Con, 420 BHP, Petrol|- Features|* Excellent Value For Money!", 42047, []);
	vehiclelist[48]=new Vehicle(190, false, 2006, "Audi RS4 Saloon", 19950, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, 420 BHP, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Xenon headlights, Stereo, Bose Sound System|- Features|* Excellent Value For Money!", 41797, []);
	vehiclelist[49]=new Vehicle(182, false, 2007, "Audi Q7 Premium S-Line 4x4", 24851, "Metallic Silver", "manual", "- Description|Four Wheel Drive, Front Fog Lights, Alloy Wheels, Sunroof, Stereo, Air Conditioning, Electric Windows, Leather Seats, Petrol|- Features|* Excellent Value For Money!", 41097, []);
	vehiclelist[50]=new Vehicle(159, false, 2007, "Audi Q7 3.0 TDI DPF Quattro 4x4", 13900, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Four Wheel Drive, Full Service History, Immobilizer, Navigation System, Parking Sensors, Sunroof, Trailer Coupling, Xenon Headlights, Front Fog Lights, Stereo, 3.0 Litre, 230 BHP|- Features|* Excellent Value For Money!", 40947, []);
	vehiclelist[51]=new Vehicle(109, false, 2007, "Audi A4 S Line Cabriolet", 6990, "Metallic Dark Brown", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Trailer coupling, Xenon headlights, Front Fog Lights, Multi Function Wheel, Onboard Computer, Radio/CD, BOSE Speakers, 230 BHP, Diesel|- Features|* Excellent Value For Money!", 40897, []);
	vehiclelist[52]=new Vehicle(112, false, 2007, "Audi A5 3.0 TDI Coupé", 7950, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 40897, []);
	vehiclelist[53]=new Vehicle(226, false, 2007, "Audi S4 Avant Estate", 23500, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD/DVD, BOSE Sound System|- Features|* Excellent Value For Money!", 40897, []);
	vehiclelist[54]=new Vehicle(207, false, 2006, "Audi RS4 Quattro 4.2 Saloon", 23400, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, 420 BHP, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Bose Sound System|- Features|* Excellent Value For Money!", 40847, []);
	vehiclelist[55]=new Vehicle(144, false, 2006, "Audi A8 4.2 Quattro Saloon", 33120, "Metallic Black", "manual", "- Description|Four Wheel Drive, Alloy Wheels, Leather Seats, Navigation System, Onboard Computer, Front Fog Lights, Multi Function Wheel, Electric Windows, Centre Armrest, Petrol|- Features|* Excellent Value For Money!", 40497, []);
	vehiclelist[56]=new Vehicle(137, false, 2006, "Audi A8 3.0 TDI Quattro Saloon", 28200, "Metallic Beige", "manual", "- Description|- Features|* Excellent Value For Money!", 40097, []);
	vehiclelist[57]=new Vehicle(143, false, 2006, "Audi A8 4.2 Quattro Saloon", 29859, "Metallic Artic White", "manual", "- Description|Four Wheel Drive, Alloy Wheels, Leather Seats, Multi Function Wheel, Traction Control, Navigation System, Onboard Computer, Electric Windows, Stereo, Xenon Headlights, Front Fog Lights, Petrol|- Features|* Excellent Value For Money!", 39297, []);
	vehiclelist[58]=new Vehicle(274, false, 2007, "Audi TT Roadster 3.2 Quattro S-Tron Roadster", 9900, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 39047, []);
	vehiclelist[59]=new Vehicle(122, false, 2007, "Audi A5 Coupe 2.7 TDI Coupé", 9856, "Metallic Blue", "manual", "- Description|Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, ESP, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 38597, []);
	vehiclelist[60]=new Vehicle(227, false, 2007, "Audi S4 Avant 4.2 V8 Quattro Estate", 12775, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Leather seats, Navigation system, Parking sensors, Xenon headlights, Front Fog Lights, Stereo, BOSE Sound System|- Features|* Excellent Value For Money!", 38347, []);
	vehiclelist[61]=new Vehicle(130, false, 2007, "Audi A6 Avant 3.0 TDI Quattro Estate", 27000, "Metallic Green", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/DVD, Airbags, Diesel|- Features|* Excellent Value For Money!", 38197, []);
	vehiclelist[62]=new Vehicle(113, false, 2007, "Audi A5 3.0 TDI Quattro Saloon", 22550, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Onboard Computer, Stereo, Auto Air Con, Diesel|- Features|* Excellent Value For Money!", 38047, []);
	vehiclelist[63]=new Vehicle(121, false, 2007, "Audi A5 3.2 Quattro S-Line Coupé", 8500, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Leather seats, Navigation system, Parking sensors, Xenon headlights, Front Fog Lights, Radio/CD, 6x Airbags, Onboard Computer, Auto Air Con, 265 BHP, Petrol|- Features|* Excellent Value For Money!", 37947, []);
	vehiclelist[64]=new Vehicle(178, false, 2007, "Audi Q7 4.2 Premium 4x4", 32064, "Metallic Red", "manual", "- Description|Four Wheel Drive, Air Conditioning, Cruise Control, Power Steering, Electric Windows, Sunroof, Airbags, ABS, Traction Control, Radio/CD/DVD, TV Screens in Front Headrests, Xenon Headlights, Front Fog Lights, Navigation System, Centre Armrest, PArking Sensors, Petrol|- Features|* Excellent Value For Money!", 37847, []);
	vehiclelist[65]=new Vehicle(115, false, 2007, "Audi A5 3.0 TDI Quattro Coupé", 24800, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Stereo, Auto Air Con, 240 BHP, Diesel|- Features|* Excellent Value For Money!", 37647, []);
	vehiclelist[66]=new Vehicle(172, false, 2007, "Audi Q7 4.2 4x4", 62546, "Metallic Silver", "manual", "- Description|Four Wheel Drive, Air Conditioning, Climate Control, Radio/CD, BOSE Speakers, Xenon Headlights, Front Fog Lights, Heated Leather Seats, Navigation System, Alloy Wheels, Traction Control, Petrol|- Features|* Excellent Value For Money!", 37347, []);
	vehiclelist[67]=new Vehicle(174, false, 2006, "Audi Q7 4.2 FSI Quattro 4x4", 27500, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Trailer coupling, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/TV Function, 350 BHP, Petrol|- Features|* Excellent Value For Money!", 37347, []);
	vehiclelist[68]=new Vehicle(111, false, 2007, "Audi A5 3.0 TDI Coupé", 13800, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, 8x Airbags, Radio/CD/MP3/DVD, Bang & Olufsen Sound System, Bluetooth, Onboard Computer, Auto Air Con, 240 BHP, Diesel|- Features|* Excellent Value For Money!", 36947, []);
	vehiclelist[69]=new Vehicle(108, false, 2007, "Audi A4 Cabriolet 3.0 V6 TDI Quattr Cabriolet", 8400, "Metallic Black", "manual", "- Description|Warranty, Four Wheel Drive, ABS, ESP, Auto Air Con, 18 Inch Alloys, Leather Interior with Heated, Elec Adjust Seats, Navigation System, Onboard Computer, Parking Sensors, Xenons, Centre Armrest, Front Fog Lights, Multi-Function Wheel, Electric Windows and Mirrors, Central Locking, 4x Airbags, Stereo/DVD, BOSE Sound System, Immobiliser and Alarm System, Removable Trailer Coupling, Mobile Phone Preparation|- Features|* Excellent Value For Money!", 36447, []);
	vehiclelist[70]=new Vehicle(126, false, 2006, "Audi A6 3.0 TDI Quattro Saloon", 18000, "Metallic Dark Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 36347, []);
	vehiclelist[71]=new Vehicle(127, false, 2007, "Audi A6 Allroad Avant Quattro 3.0 T Estate", 24768, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Trailer coupling, Xenon headlights, Front Fog Lights, Radio/CD/DVD|- Features|* Excellent Value For Money!", 36197, []);
	vehiclelist[72]=new Vehicle(151, false, 2006, "Audi A8 4.2 V8 Quattro Saloon", 47574, "Metallic Akoya Silver", "manual", "- Description|Four Wheel Drive, 19&#34; Alloys, Leather Seats, Front Fog Lights, Onboard Computer, Navigation Sysetm, Radio/CD, BOSE Speakers, Multi Function Wheel, Electric Windows, Petrol|- Features|* Excellent Value For Money!", 35928, []);
	vehiclelist[73]=new Vehicle(65, false, 2006, "Audi A3 Sportpack Z445 HPG Hatchback", 17000, "Metallic Grey", "manual", "- Description|445 BHP, ABS, 19 Inch Alloy wheels, Stereo, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights|- Features|* Excellent Value For Money!", 35797, []);
	vehiclelist[74]=new Vehicle(125, false, 2007, "Audi A6 3.0 TDI Quattro Saloon", 7165, "Metallic Dark Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 35597, []);
	vehiclelist[75]=new Vehicle(153, false, 2007, "Audi Allroad Quattro 3.0 TDI Estate", 26244, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/DVD|- Features|* Excellent Value For Money!", 34647, []);
	vehiclelist[76]=new Vehicle(224, false, 2007, "Audi S4 4.2 Quattro Saloon", 29123, "Metallic White", "manual", "- Description|Four Wheel Drive, Heated Leather Seats, Navigation System, Bluetooth Interface, Stereo, Alloy Wheels, Multi Function Wheel, Electric Windows, 340 BHP, Petrol|- Features|* Excellent Value For Money!", 34147, []);
	vehiclelist[77]=new Vehicle(110, false, 2007, "Audi A5 3.0 Coupé", 26000, "Metallic Silver", "manual", "- Description|- Features|* Excellent Value For Money!", 33997, []);
	vehiclelist[78]=new Vehicle(101, false, 2007, "Audi A4 Cabriolet 2.0 TDI DPF S-Lin Cabriolet", 10500, "Metallic Grey", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Full Service History, Immobilizer, Leather Seats, Navigation System, Parking Sensors, Xenon Headlights, Front Fog Lights, Multi Function Wheel, Radio/CD, BOSE Speakers, 2.0 Litre, 140 BHP|- Features|* Excellent Value For Money!", 33497, []);
	vehiclelist[79]=new Vehicle(98, false, 2007, "Audi A4 Avant S-Line 3.0 TDI Quattr Estate", 11968, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Xenon headlights, Front Fog Lights, BOSE Sound System|- Features|* Excellent Value For Money!", 33297, []);
	vehiclelist[80]=new Vehicle(220, false, 2007, "Audi S4 4.2 Saloon", 9300, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD, BOSE Sound System, 345 BHP, Petrol|- Features|* Excellent Value For Money!", 33197, []);
	vehiclelist[81]=new Vehicle(266, false, 2007, "Audi TT Coupe 3.2 Quattro S-Tronic  Coupé", 10500, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Sound System|- Features|* Excellent Value For Money!", 32997, []);
	vehiclelist[82]=new Vehicle(139, false, 2006, "Audi A8 4.2 Quattro Saloon", 72768, "Metallic Artic White", "manual", "- Description|Four Wheel Drive, Alloy Wheels, Leather Seats, Onboard Computer, Stereo, BOSE Surround Sound, Multi Function Wheel, Electric Windows, Centre Armrest, 335 BHP, Petrol|- Features|* Excellent Value For Money!", 32897, []);
	vehiclelist[83]=new Vehicle(169, false, 2007, "Audi Q7 3.6 Premium 4x4", 15109, "Metallic Light Silver", "manual", "- Description|Four Wheel Drive, Xenon Headlights, Front Fog Lights, Alloy Wheels, Multi Function Wheel, Electric Windows, Stereo, BOSE Speakers, Leather Seats, Sunroof, Petrol|- Features|* Excellent Value For Money!", 32297, []);
	vehiclelist[84]=new Vehicle(216, false, 2007, "Audi S3 2.0T FSI Quattro Hatchback", 13510, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Stereo|- Features|* Excellent Value For Money!", 32247, []);
	vehiclelist[85]=new Vehicle(230, false, 2005, "Audi S4 Quattro Cabriolet", 27858, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric Windows, ESP, Four wheel drive, Immobiliser, Leather seats, Navigation system, Warranty, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 31897, []);
	vehiclelist[86]=new Vehicle(168, false, 2007, "Audi Q7 3.6 Premium 4x4", 19360, "Metallic Grey", "manual", "- Description|Four Wheel Drive, Navigation System, Sunroof, Bluetooth Telephone Preparation, Climate Control, Heated Leather Seats, Radio/CD, Alloy Wheels, Front Fog Lights, Petrol|- Features|* Excellent Value For Money!", 31597, []);
	vehiclelist[87]=new Vehicle(273, false, 2007, "Audi TT Roadster 3.2 Quattro Roadster", 6010, "Metallic Grey", "manual", "- Description|ABS, 20 Inch Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Stereo|- Features|* Excellent Value For Money!", 31597, []);
	vehiclelist[88]=new Vehicle(84, false, 2006, "Audi A4 3.0 TDI Quattro Cabriolet", 7657, "Metallic Green", "manual", "- Description|ABS, Alloys, Central locking, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Particulate filter, Front Fog Lights, Stereo, BOSE Speakers, Auto Air Con, Telephone, 230 BHP, Diesel|- Features|* Excellent Value For Money!", 31247, []);
	vehiclelist[89]=new Vehicle(123, false, 2006, "Audi A6 2.7 TDI Quattro Saloon", 20027, "Metallic Green", "manual", "- Description|ABS, Alloy wheels, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Diesel|- Features|* Excellent Value For Money!", 31197, []);
	vehiclelist[90]=new Vehicle(181, false, 2007, "Audi Q7 Premium 4x4", 9611, "Metallic Silver", "manual", "- Description|Four Wheel Drive, Heated Leather Seats, Sunroof, Air Conditioning, Cruise Control, Electric Windows/ Mirrors, Radio/CD, BOSE Speakers, Airbags, Traction Control, Front Fog Lights, Petrol|- Features|* Excellent Value For Money!", 30897, []);
	vehiclelist[91]=new Vehicle(228, false, 2005, "Audi S4 Cabrio 4.2 Quattro Saloon", 27200, "Metallic Black", "manual", "- Description|340 BHP, ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Radio/CD, Bose Sound System, Airbags|- Features|* Excellent Value For Money!", 30547, []);
	vehiclelist[92]=new Vehicle(124, false, 2006, "Audi A6 3.0 TDI Quattro Saloon", 17136, "Metallic Beige", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/DVD, 6x Airbags, Diesel|- Features|* Excellent Value For Money!", 30497, []);
	vehiclelist[93]=new Vehicle(210, false, 2007, "Audi S3 2.0 T Quattro Hatchback", 12000, "Black", "manual", "- Description|265 BHP, Four Wheel Drive, Warranty, ABS, ESP, Auto Air Con, Alloys, Leather Interior with Heated, Elec Adjust Seats, DVD Navigation System, Parking Sensors, Cruise, Xenons, Rain Sensor, Centre Armrest, Front Fog Lights, Multi-Function Wheel, Electric Windows, Central Locking, Airbags, Stereo, BOSE Sound System, Immobiliser and Alarm System, Bluetooth|- Features|* Excellent Value For Money!", 30347, []);
	vehiclelist[94]=new Vehicle(100, false, 2007, "Audi A4 Cabriolet 2.0 TDI DPF Cabriolet", 10220, "Metallic Red", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Full Service History, Immobilizer, Navigation System, Parking Sensors, Power Steering, Xenon Headlights, Front Fog Lights, Radio/CD, Multi Function Wheel, Auto Air Con, 2.0 Litre, 140 BHP|- Features|* Excellent Value For Money!", 30197, []);
	vehiclelist[95]=new Vehicle(268, false, 2007, "Audi TT Coupe S-Tronic S-Line Coupé", 10700, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Sound System|- Features|* Excellent Value For Money!", 29847, []);
	vehiclelist[96]=new Vehicle(83, false, 2006, "Audi A4 3.0 TDI Quattro Cabriolet", 17500, "Metallic Dark Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Centre Armrest, Auto Air Con, 230 BHP, Diesel|- Features|* Excellent Value For Money!", 29847, []);
	vehiclelist[97]=new Vehicle(269, false, 2007, "Audi TT Roadster Cabriolet", 9980, "Metallic Silver", "manual", "- Description|FSH, ABS, ESP, Climate Control, Alloys, Leather Interior with Heated Elec Adjust Seats, Navigation System, Cruise, Xenon Headlights,  Electric Windows & Mirrors, Central Locking, Airbags, Stereo/CD, CD Change, BOSE Sound System, Roof Rails, Alarm & Immobiliser.|- Features|* Excellent Value For Money!", 29747, []);
	vehiclelist[98]=new Vehicle(209, false, 2007, "Audi S3 Hatchback", 7900, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Speakers, Bluetooth, Auto Air Con, 265 BHP, Petrol|- Features|* Excellent Value For Money!", 29597, []);
	vehiclelist[99]=new Vehicle(82, false, 2007, "Audi A4 2.7 V6 TDI Cabriolet", 13104, "Metallic Blue", "manual", "- Description|ABS, Alloys, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, ImmobiliSer, Navigation System, Xenon Headlights, Front Fog Lights, Stereo/iPod Connection, Bluetooth Interface|- Features|* Excellent Value For Money!", 29497, []);
	vehiclelist[100]=new Vehicle(52, false, 2007, "Audi A3 Sport Pack 2.0 TDI Ambition Hatchback", 13700, "Metallic Red", "manual", "- Description|Cruise control, Electric heated seats, Four wheel drive, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Front Fog Lights, Multi Function Steering Wheel, Stereo|- Features|* Excellent Value For Money!", 29247, []);
	vehiclelist[101]=new Vehicle(75, false, 2007, "Audi A4 2.0 TDi DPF Saloon", 12000, "Metallic Grey", "manual", "- Description|ABS, ESP, Alloys, Central Locking, Cruise, Electric Heated Leather Seats, Electric Windows, Immobilizer, Navigation System, Xenons, Armrest in Front, 4 x Airbags, Multi-Function Leather Steering Wheel, Mobile Phone Preparation, Onboard Computer, AUDI Sound System.|- Features|* Excellent Value For Money!", 28997, []);
	vehiclelist[102]=new Vehicle(73, false, 2007, "Audi A4 2.0 TDI Cabriolet", 8900, "Metallic Akoya Silver", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Immobilizer, Navigation System, Parking Sensors, Xenon Headlights, Front Fog Lights, Radio/CD, Airbags, Multi Function Wheel, 2.0 Litre, 140 BHP|- Features|* Excellent Value For Money!", 28847, []);
	vehiclelist[103]=new Vehicle(80, false, 2007, "Audi A4 2.7 TDI S-Line Cabriolet", 9800, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Leather seats, Navigation system, Parking sensors, Particulate filter, Xenon headlights, Front Fog Lights, Radio/CD, 180 BHP, Diesel|- Features|* Excellent Value For Money!", 28747, []);
	vehiclelist[104]=new Vehicle(76, false, 2007, "Audi A4 2.0 TDi S-Line Cabriolet", 9580, "Metallic Silver", "manual", "- Description|ABS, Alloy Wheels, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Immobiliser, Navigation System, Parking Sensors, Power Steering, Xenon Headlights, Front Fog Lights, Onboard Computer, Auto Air Con,|- Features|* Excellent Value For Money!", 28597, []);
	vehiclelist[105]=new Vehicle(77, false, 2007, "Audi A4 2.0 TFSI Quattro DTM Editio Saloon", 19900, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Xenon headlights, Front Fog Lights, Stereo|- Features|* Excellent Value For Money!", 28547, []);
	vehiclelist[106]=new Vehicle(46, false, 2005, "Audi A3 3.2 Quattro DSG Ambition Hatchback", 13500, "Metallic Grey", "manual", "- Description|ABS,Alloys, Central locking, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Xenon headlights, Front Fog Lights, Rain Sensor, Radio/CD, Multi Function Wheel, Airbags, 250 BHP, Petrol|- Features|* Excellent Value For Money!", 28547, []);
	vehiclelist[107]=new Vehicle(64, false, 2007, "Audi A3 Sportpack 2.0 TDI Quattro Hatchback", 10000, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Radio/CD/DVD, Rain Sensor, 170 BHP, Diesel|- Features|* Excellent Value For Money!", 28497, []);
	vehiclelist[108]=new Vehicle(99, false, 2006, "Audi A4 Avant TDI 3.0 Quattro Estate", 15900, "Metallic Beige", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Stereo|- Features|* Excellent Value For Money!", 28497, []);
	vehiclelist[109]=new Vehicle(91, false, 2007, "Audi A4 Avant 2.0 TFSI S-Line Estate", 20135, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD|- Features|* Excellent Value For Money!", 28247, []);
	vehiclelist[110]=new Vehicle(219, false, 2007, "Audi S3 2.0T Quattro Hatchback", 7200, "Metallic Black", "manual", "- Description|Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, 265 BHP, Petrol|- Features|* Excellent Value For Money!", 28247, []);
	vehiclelist[111]=new Vehicle(54, false, 2007, "Audi A3 Sport Pack 2.0 TDI S-Line Hatchback", 8500, "Metallic Orange", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Trailer coupling, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Sound System, Diesel|- Features|* Excellent Value For Money!", 27797, []);
	vehiclelist[112]=new Vehicle(215, false, 2007, "Audi S3 2.0 TFSI Quattro Hatchback", 6900, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Warranty, Xenon headlights, Radio/CD, 265 BHP, Petrol|- Features|* Excellent Value For Money!", 27797, []);
	vehiclelist[113]=new Vehicle(60, false, 2007, "Audi A3 Sportpack 1.8 TFSI S-Line Estate", 9190, "Metallic Phantom Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Radio/CD, Front Fog Lights, Airbags|- Features|* Excellent Value For Money!", 27647, []);
	vehiclelist[114]=new Vehicle(259, false, 2007, "Audi TT  2.0 Coupé", 9600, "Metallic Blue", "manual", "- Description|FSH,ABS, ESP, Alloys, Heated Elec Adjust Seats, Parking Sensors, Navigation System,  Cruise,  Electric Windows, Central Locking,  Airbags, Radio/CD, Immobiliser|- Features|* Excellent Value For Money!", 27397, []);
	vehiclelist[115]=new Vehicle(89, false, 2007, "Audi A4 Avant 2.0 TDi Estate", 19000, "Metallic Dark Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Stereo|- Features|* Excellent Value For Money!", 27197, []);
	vehiclelist[116]=new Vehicle(55, false, 2007, "Audi A3 Sport Pack 2.0 TDI S-Tronc  Hatchback", 10400, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Onboard Computer, Diesel|- Features|* Excellent Value For Money!", 27147, []);
	vehiclelist[117]=new Vehicle(88, false, 2007, "Audi A4 Avant 2.0 TDI Estate", 10420, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Xenon headlights, Front Fog Lights, Radio/CD, Bluetooth, Auto Air Con, Diesel|- Features|* Excellent Value For Money!", 27147, []);
	vehiclelist[118]=new Vehicle(128, false, 2006, "Audi A6 Avant 2.0 TDI S-Line Estate", 24000, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Auxiliary heating, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Xenon headlights, Front Fog Lights, Radio/CD/DVD, BOSE Sound System, 12x Airbags, Diesel|- Features|* Excellent Value For Money!", 27147, []);
	vehiclelist[119]=new Vehicle(8, false, 2007, "Audi A3 1.8T FSI S-Line Hatchback", 12500, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, 6x Airbags, Multi Function Steering Wheel, Auto Air Con, 160 BHP, Petrol|- Features|* Excellent Value For Money!", 27097, []);
	vehiclelist[120]=new Vehicle(85, false, 2006, "Audi A4 3.2 FSI Quattro Cabriolet", 16292, "Metallic Red", "manual", "- Description|ABS, Alloys, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobiliser, Leather seats, Parking sensors, Warranty, Front Fog Lights, Radio/CD, 4x Airbags, Auto Air Con, 255 BHP, Petrol|- Features|* Excellent Value For Money!", 27047, []);
	vehiclelist[121]=new Vehicle(39, false, 2007, "Audi A3 3.2 Quattro Hatchback", 15342, "Metallic Red", "manual", "- Description|ABS, Alloy Wheels, Air Conditioning, Cruise Control, Leather Seats, Electric Windows, Radio/CD, Multi Function Wheel, Front Fog Lights, 250 BHP, Petrol|- Features|* Excellent Value For Money!", 26947, []);
	vehiclelist[122]=new Vehicle(69, false, 2006, "Audi A4 2.0 S-Line Cabriolet", 14500, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Xenon headlights, Front Fog Lights, Radio/CD, Auto Air Con, 4x Airbags, Onboard Computer, Diesel|- Features|* Excellent Value For Money!", 26797, []);
	vehiclelist[123]=new Vehicle(90, false, 2007, "Audi A4 Avant 2.0 TFSI Estate", 12319, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Bluetooth|- Features|* Excellent Value For Money!", 26547, []);
	vehiclelist[124]=new Vehicle(53, false, 2007, "Audi A3 Sport Pack 2.0 TDI Quattro  Estate", 11226, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Trailer coupling, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, BOSE Sound System, Auto Air Con|- Features|* Excellent Value For Money!", 26497, []);
	vehiclelist[125]=new Vehicle(133, false, 2007, "Audi A6 DPF TDi Saloon", 26615, "Metallic Phantom Black", "manual", "- Description|FSH, ABS, ESP, ASR, Auto Air Con, Alloys, Leather Interior with Heated Seats, Navigation System with DVD, Onboard Computer, Parking Sensors, Cruise, Xenons, Rain Sensor, Centre Armrest, Front Fog Lights, Multi-Function Wheel, Electric Windows, Mirrors, Central Locking, Airbags, Radio/CD, Immobiliser|- Features|* Excellent Value For Money!", 26447, []);
	vehiclelist[126]=new Vehicle(43, false, 2007, "Audi A3 3.2 Quattro Hatchback", 31224, "Metallic Grey", "manual", "- Description|Four Wheel Drive, Air Conditioning, ABS, Alloy Wheels, Cruise Control, Radio/CD, BOSE Speakers, Leather Seats, Electric Windows, Multi Function Wheel, 250 BHP, Petrol|- Features|* Excellent Value For Money!", 26297, []);
	vehiclelist[127]=new Vehicle(56, false, 2007, "Audi A3 Sport Pack Ambition 2.0 TDI Hatchback", 20216, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Front Fog Lights, BOSE Sound System|- Features|* Excellent Value For Money!", 26047, []);
	vehiclelist[128]=new Vehicle(50, false, 2007, "Audi A3 Ambition Sport Pack 2.0 TDI Hatchback", 6000, "Metallic Beige", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Auto Air Con, Radio/CD|- Features|* Excellent Value For Money!", 25847, []);
	vehiclelist[129]=new Vehicle(71, false, 2007, "Audi A4 2.0 TDI Cabriolet", 7756, "Metallic Silver", "manual", "- Description|ASR, ABS, Alloys, Cruise Control, Electric Heated Leather Seats, Electric Windows, ESP, Immobilizer, Navigation System, Parking Sensors, Power Steering, Trailer coupling, Xenon Headlights, Front Fog Lights, Radio/CD, Airbags,|- Features|* Excellent Value For Money!", 25147, []);
	vehiclelist[130]=new Vehicle(22, false, 2007, "Audi A3 2.0 TDI Sport Pack S-Line Hatchback", 15800, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Stereo, Bluetooth, Diesel|- Features|* Excellent Value For Money!", 25097, []);
	vehiclelist[131]=new Vehicle(156, false, 2007, "Audi Cabriolet 2.0 TDi Cabriolet", 27000, "Metallic Phantom Black", "manual", "- Description|FSH, ABS, ESP, Auto Air Con, Alloys, Leather Interior with Heated Seats, Navigation System with DVD, Onboard Computer, Leather Steering Wheel, Cruise, Leather Centre Armrest, Front Fog Lights, Electric Windows, Mirrors, Central Locking, Radio/CD, Immobiliser|- Features|* Excellent Value For Money!", 24997, []);
	vehiclelist[132]=new Vehicle(47, false, 2006, "Audi A3 3.2 V6 Ambition Hatchback", 16800, "Metallic Dark Green", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Four wheel drive, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Warranty, Xenon headlights, Front Fog Lights, Stereo, 250 BHP, Petrol|- Features|* Excellent Value For Money!", 24447, []);
	vehiclelist[133]=new Vehicle(14, false, 2007, "Audi A3 2.0 TDI Ambition Hatchback", 10580, "Metallic Silver", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Warranty, Xenon headlights, Front Fog Lights, Auto Air Con, Stereo, Diesel|- Features|* Excellent Value For Money!", 23847, []);
	vehiclelist[134]=new Vehicle(81, false, 2006, "Audi A4 2.7 TDI S-Line Saloon", 28555, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Stereo|- Features|* Excellent Value For Money!", 23847, []);
	vehiclelist[135]=new Vehicle(6, false, 2007, "Audi A3 1.8 TFSI Ambition Sport Pac Hatchback", 14800, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Trailer coupling, Warranty, Front Fog Lights, Radio/CD, Auto Air Con|- Features|* Excellent Value For Money!", 23797, []);
	vehiclelist[136]=new Vehicle(86, false, 2007, "Audi A4 Avant 1.8T Estate", 9860, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Onboard Computer, Auto Air Con, 160 BHP, Petrol|- Features|* Excellent Value For Money!", 23797, []);
	vehiclelist[137]=new Vehicle(57, false, 2007, "Audi A3 Sportback S-Line 2.0 TDI+ D Hatchback", 14100, "Metallic Black", "manual", "- Description|Four Wheel Drive, 170 BHP, ABS, ESP, Auto Air Con, Alloys, Leather Interior with Heated, Elec Adjust Seats, Navigation System,  Parking Sensors, Xenons, Front Fog Lights, Multi-Function Wheel, Electric Windows, Central Locking, 4x Airbags, Radio/CD, BOSE Sound System, Immobiliser and Alarm System|- Features|* Excellent Value For Money!", 23747, []);
	vehiclelist[138]=new Vehicle(74, false, 2007, "Audi A4 2.0 TDI Avant Estate", 20100, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Front Fog Lights, Stereo, 6x Airbags, Auto Air Con|- Features|* Excellent Value For Money!", 23647, []);
	vehiclelist[139]=new Vehicle(26, false, 2007, "Audi A3 2.0T Hatchback", 2165, "Metallic Brilliant Black", "manual", "- Description|ABS, Alarm, Multi Function Wheel, Leather Seats, Alloy Wheels, Centre Armrest, Cruise Control, Climate Control, Electric Windows, Stereo, Petrol|- Features|* Excellent Value For Money!", 23597, []);
	vehiclelist[140]=new Vehicle(42, false, 2007, "Audi A3 3.2 Quattro Hatchback", 57027, "Metallic Grey", "manual", "- Description|Four Wheel Drive, Air Conditioning, Radio/CD/MP3, Airbags, Alloy Wheels, ESP, ASR, Traction Control, Cruise Control, Trip Computer, Leather Seats, 250 BHP, Petrol|- Features|* Excellent Value For Money!", 23597, []);
	vehiclelist[141]=new Vehicle(16, false, 2007, "Audi A3 2.0 TDI S-Line Hatchback", 19200, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Xenon headlights, Front Fog Lights, Radio/CD/MP3/DVD, BOSE Sound System, Auto Air Con, Diesel|- Features|* Excellent Value For Money!", 23297, []);
	vehiclelist[142]=new Vehicle(155, false, 2007, "Audi Cabriolet 1.8 T Cabriolet", 8800, "Metallic Silver", "manual", "- Description|ABS, ESP, Auto Air Con, Alloys, Leather Interior with Heated, Elec Adjust Seats, Navigation System, Onboard Computer, Parking Sensors, Centre Arm Rest, Front Fog Lights, Electric Windows, Central Locking, Airbags, Radio/CD Immobiliser and Alarm System|- Features|* Excellent Value For Money!", 23197, []);
	vehiclelist[143]=new Vehicle(19, false, 2007, "Audi A3 2.0 TDI S-Line Quattro Hatchback", 14100, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Four wheel drive, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Xenon headlights, Front fog Lights, Stereo, Onboard Computer, 6x Airbags, Diesel|- Features|* Excellent Value For Money!", 22997, []);
	vehiclelist[144]=new Vehicle(87, false, 2007, "Audi A4 Avant 2.0 Estate", 7800, "Metallic Blue", "manual", "- Description|FSH, ABS, ESP, Auto Air Con, Alloys, Leather Interior with Heated Seats, Navigation System, Parking Sensors, Cruise, Xenons, Front Fog Lights, Multi-Function Leather Wheel, Electric Windows, Mirrors, Central Locking, Radio/CD, Roof Rails, Immobiliser|- Features|* Excellent Value For Money!", 22947, []);
	vehiclelist[145]=new Vehicle(23, false, 2006, "Audi A3 2.0 TDI Sportpack S-Line Hatchback", 29000, "Metallic Black", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric heated seats, Electric windows, ESP, Full Service History, Immobilizer, Leather seats, Navigation system, Parking sensors, Particulate filter, Sunroof, Warranty, Xenon headlights, Radio/CD, Front Fog Lights|- Features|* Excellent Value For Money!", 22647, []);
	vehiclelist[146]=new Vehicle(5, false, 2007, "Audi A3 1.8 TFSI Ambition Hatchback", 7400, "Metallic Orange", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric windows, ESP, Immobilizer, Leather seats, Navigation system, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Auto Air Con|- Features|* Excellent Value For Money!", 22597, []);
	vehiclelist[147]=new Vehicle(30, false, 2007, "Audi A3 2.0T Hatchback", 16536, "Metallic Red", "manual", "- Description|Air Conditioning, Alloy Wheels, Cruise Control, Electric Windows, Electric Mirrors, Power Steering, Leather Seats, Radio/CD, Multi Function Wheel, Petrol|- Features|* Excellent Value For Money!", 22447, []);
	vehiclelist[148]=new Vehicle(41, false, 2006, "Audi A3 3.2 Quattro Hatchback", 49394, "Metallic Red", "manual", "- Description|Air Conditioning, ABS, Radio/CD, BOSE Speakers, Alloy Wheels, Leather Seats, Sunroof, Multi Function Wheel, Traction Control, Electric Windows,  250 BHP, Petrol|- Features|* Excellent Value For Money!", 22047, []);
	vehiclelist[149]=new Vehicle(67, false, 2007, "Audi A4 1.8T Cabriolet", 9661, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Parking sensors, Front Fog Lights, Stereo, Centre Armrest, Auto Air Con, 160 BHP, Petrol|- Features|* Excellent Value For Money!", 21847, []);
	vehiclelist[150]=new Vehicle(260, false, 2006, "Audi TT 2.0 Coupe T FSI Coupé", 19960, "Metallic Silver", "manual", "- Description|ABS, ESP, Alloys, Leather Interior with Heated, Elec Adjust Sports Seats, Cruise Control, Xenon Headlights, Centre Armrest, Multi-Function Wheel, Electric Windows, Central Locking, Airbags, Radio/CD,  CD Changer, BOSE Sound System, Alarm and Immobiliser|- Features|* Excellent Value For Money!", 21847, []);
	vehiclelist[151]=new Vehicle(38, false, 2007, "Audi A3 2.0T S-Line Hatchback", 7032, "Metallic White", "manual", "- Description|17 Inch Alloy Wheels, Heated Leather Seats, Radio/CD Changer, Multi Function Wheel, ABS, Airbags, Cruise Control, Air Conditioning, Electric Windows, Petrol|- Features|* Excellent Value For Money!", 21747, []);
	vehiclelist[152]=new Vehicle(37, false, 2007, "Audi A3 2.0T Hatchback", 21024, "Metallic Liquid Blue", "manual", "- Description|Traction Control, Air Conditioning, Cruise Control, Alloy Wheels, Radio/CD, ABS, Electric Windows, Leather Seats, Multi Function Wheel, Centre Armrest, Petrol|- Features|* Excellent Value For Money!", 21697, []);
	vehiclelist[153]=new Vehicle(32, false, 2007, "Audi A3 2.0T Hatchback", 13749, "Metallic Lava Grey Pearl", "manual", "- Description|Alloy Wheels, Front Fog Lights, Radio/CD, Air Conditioning, Leather Seats, Multi Function Wheels, Electric Windows, Centre Armrest, Petrol|- Features|* Excellent Value For Money!", 21447, []);
	vehiclelist[154]=new Vehicle(154, false, 2006, "Audi Cabriolet Cabriolet", 27000, "Metallic Silver", "manual", "- Description|Full Service History, ABS, ESP, Auto Air Con, 18 Inch Alloys, Leather Interior with Heated, Elec Adjust Seats, Parking Sensors, Cruise, Xenons, Centre Armrest, Front Fog Lights, Multi-Function Wheel, Electric Windows, Central Locking, Airbags, Radio/CD, Immobiliser and Alarm System, Mobile Phone Preparation with Bluetooth|- Features|* Excellent Value For Money!", 21297, []);
	vehiclelist[155]=new Vehicle(25, false, 2007, "Audi A3 2.0T Hatchback", 18562, "Metallic Brilliant Black", "manual", "- Description|Air Conditioning, Cruise Control, ABS, Alloy Wheels, Multi Function Wheel, Airbags, Electric Windows, Electric Mirrors, Traction Control, Centre Armrest, Leather Seats, Petrol|- Features|* Excellent Value For Money!", 21097, []);
	vehiclelist[156]=new Vehicle(29, false, 2007, "Audi A3 2.0T Hatchback", 11746, "Metallic White", "manual", "- Description|Air Conditioning, Electric Windows, Power Steering, Airbags, Radio/CD, Cruise Control, Alloy Wheels, Leather Seats, Multi Function Wheel, Petrol|- Features|* Excellent Value For Money!", 21097, []);
	vehiclelist[157]=new Vehicle(34, false, 2007, "Audi A3 2.0T Hatchback", 8802, "Metallic Black", "manual", "- Description|Air Conditioning, Power Steering, Electric Windows, Cruise Control, Radio/CD/MP3, Alloy Wheels, Leather Seats, ABS, Multi Function Wheel, Petrol|- Features|* Excellent Value For Money!", 20747, []);
	vehiclelist[158]=new Vehicle(68, false, 2006, "Audi A4 1.8T S-Line Cabriolet", 12500, "Metallic Blue", "manual", "- Description|ABS, Alloys, Central locking, Electric heated seats, Electric windows, Full Service History, Immobiliser, Leather seats, Front Fog Lights, Onboard Computer, 4x Airbags, Stereo, Auto Air Con, Multi-Function Wheel|- Features|* Excellent Value For Money!", 20547, []);
	vehiclelist[159]=new Vehicle(24, false, 2006, "Audi A3 2.0 TFSI Ambition Hatchback", 27550, "Metallic Red", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Leather seats, Navigation system, Warranty, Xenon headlights, Front Fog Lights, Radio/CD, Auto Air Con, Onboard Computer, 200 BHP, Petrol|- Features|* Excellent Value For Money!", 20297, []);
	vehiclelist[160]=new Vehicle(13, false, 2006, "Audi A3 2.0 FSI S-Line Sportpack Pl Hatchback", 18950, "Metallic Blue", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric windows, ESP, Immobilizer, Leather seats, Front Fog Lights, Radio/CD, BOSE Speakers, 6x Airbags, Centre Armrest, Auto Air Con, 150 BHP, Petrol|- Features|* Excellent Value For Money!", 19597, []);
	vehiclelist[161]=new Vehicle(40, false, 2006, "Audi A3 3.2 Quattro Hatchback", 95688, "Metallic Red", "manual", "- Description|Heated Leather Seats, 18 Inch Alloy Wheels, Xenon Headlights, Bluetooth Interface, Radio/CD Changer, Airbags, Electric Windows, Roof Rails, 250 BHP, Petrol|- Features|* Excellent Value For Money!", 19447, []);
	vehiclelist[162]=new Vehicle(11, false, 2007, "Audi A3 1.9 TDI Sportpack Ambition  Hatchback", 24200, "Metallic White", "manual", "- Description|ABS, Alloy wheels, Central locking, Cruise control, Electric windows, ESP, Immobilizer, Particulate filter, Warranty, Radio/CD, Front Fog Lights, Auto Air Con, Diesel|- Features|* Excellent Value For Money!", 18997, []);
	vehiclelist[163]=new Vehicle(3, false, 2007, "Audi A3 1.6 Ambition S-Line Hatchback", 15000, "Metallic Blue", "manual", "- Description|Alloy wheels, Central locking, Electric windows, ESP, Leather seats, Front Fog Lights, Radio/CD, Auto Air Con, Petrol|- Features|* Excellent Value For Money!", 18447, []);
	vehiclelist[164]=new Vehicle(10, false, 2007, "Audi A3 1.9 TDI S-Line Plus Hatchback", 21952, "Metallic Grey", "manual", "- Description|ABS, Alloy wheels, Central locking, Electric heated seats, Electric windows, ESP, Immobilizer, Leather seats, Particulate filter, Warranty, Radio/CD, Airbags, Auto Air Con, Diesel|- Features|* Excellent Value For Money!", 17797, []);
}
setup.searchon=true;



// Client JavaScript, (C)AutoDirector
var run=[];setup.comlimit=1000;setup.timeout=10000;setup.thisURL=location.protocol+"//"+location.host+(location.port!='' ? ":"+location.port:"")+location.pathname;setup.activesearch=false;setup.JSsearch=null;setup.activesend=false;setup.JSsend=null;setup.senderror='';setup.salesemail='';setup.divs=['licence','search','jumptop','list','jumpend','backtop','vehicle','enqresult','enquiry','backend','sponsor'];
if(setup.orderbyon||setup.searchon){setup.Tsearch='<form id="adsearch" action="'+setup.thisURL+'" method="get"><fieldset><legend>search</legend>'
setup.Tsearch+='<div class="order"><label for="adorderby" title="change the vehicle order">order by:</label><select id="adorderby" name="adorderby"></select></div>';
if(setup.searchon) setup.Tsearch+='<div class="search"><label for="adsearchterm" title="search for a vehicle">search:</label><input id="adsearchterm" name="adsearchterm" type="text" size="20" maxlength="50" /><input type="submit" value="go" class="button" /></div>';
setup.Tsearch+='</fieldset></form>';}
else setup.Tsearch='';
setup.Tlist='<a id="ad_id[id]" href="#" title="click for more details...">[pic]<dl><dt class="model">model:</dt><dd class="model">[newcar] [year] [model]</dd><dt class="colour">'+(setup.locale=='USD' ? 'color':'colour')+':</dt><dd class="colour">[colour]</dd><dt class="gearbox">'+(setup.locale=='USD' ? 'transmission':'gearbox')+':</dt><dd class="gearbox">[gearbox]</dd><dt class="mileage">mileage:</dt><dd class="mileage">[mileage]</dd></dl><div class="price">[price]</div></a>';
setup.Tlistnone='<p>No vehicles are available at this time. Please return later.</p>';
setup.Tdetail='[pics]<dl><dt class="model">model:</dt><dd class="model">[newcar] [year] [model]</dd><dt class="colour">'+(setup.locale=='USD' ? 'color':'colour')+':</dt><dd class="colour">[colour]</dd><dt class="gearbox">'+(setup.locale=='USD' ? 'transmission':'gearbox')+':</dt><dd class="gearbox">[gearbox]</dd><dt class="mileage">mileage:</dt><dd class="mileage">[mileage]</dd><dt class="details">details:</dt><dd class="details">[info]</dd></dl><div class="price">[price]</div><img src="'+setup.viewURL+'[id]" class="count" />';
setup.Tdetailnone='The vehicle you requested is not available. Please return to the showroom.';
setup.Tenquiry='<form id="adenquiry" action="'+setup.thisURL+'" method="get"><fieldset><legend>contact us about this vehicle</legend><div><label for="adname" title="enter your name">name:</label><input id="adname" name="adname" type="text" size="20" maxlength="50" /></div><div><label for="ademail" title="enter your email address">email:</label><input id="ademail" name="ademail" type="text" size="20" maxlength="100" /></div><div><label for="adtel" title="enter your telephone number">telephone:</label><input id="adtel" name="adtel" type="text" size="20" maxlength="20" /></div><div><label for="adcomments" title="enter any questions or comments">questions:</label><textarea id="adcomments" name="adcomments" rows="4" cols="20"></textarea></div><div><input type="submit" value="send enquiry" class="button" /></div></fieldset></form>';
setup.Tback='<a href="#">&lt; back to the showroom</a>';
setup.Tsponsor="";
if(setup.adverton!=""){setup.Tsponsor+=setup.advert;
if(setup.advertURL !="") setup.Tsponsor='<a href="'+setup.advertURL+'">'+setup.Tsponsor+'</a>';}
setup.Tunlic='This showroom is powered by an unlicenced trial copy of AutoDirector. You may evaluate the AutoDirector system for 30 days. To remove this message, please visit <a href="http://www.autodirector.co.uk/">http://www.autodirector.co.uk/</a> and purchase a licence key.';
var sortTypes=[];var st=0;
sortTypes[st++]={name: "price, highest first", sort: function(a, b){return SortCars(a.price, b.price, -1);}}
sortTypes[st++]={name: "price, lowest first", sort: function(a, b){return SortCars(a.price, b.price, 1);}}
sortTypes[st++]={name: "make/model, A to Z", sort: function(a, b){return SortCars(a.model, b.model, 1);}}
sortTypes[st++]={name: "make/model, Z to A", sort: function(a, b){return SortCars(a.model, b.model, -1);}}
sortTypes[st++]={name: "year, youngest first", sort: function(a, b){return SortCars(a.year, b.year, -1);}}
sortTypes[st++]={name: "year, oldest first", sort: function(a, b){return SortCars(a.year, b.year, 1);}}
sortTypes[st++]={name: "mileage, lowest first", sort: function(a, b){return SortCars(a.mileage, b.mileage, 1);}}
sortTypes[st++]={name: "mileage, highest first", sort: function(a, b){return SortCars(a.mileage, b.mileage, -1);}}
sortTypes[st++]={name: "search result", sort: function(a, b){return SortCars(a.searchrank, b.searchrank, -1);}}
sortTypes[st++]={name: "search (reversed)", sort: function(a, b){return SortCars(a.searchrank, b.searchrank, 1);}}
function SortCars(a, b, asc){if(a<b) return -1*asc;if(a>b) return 1*asc;return 0;}
function ADstart(){if(setup.cssfile!="") DOM.LoadCSS(setup.cssfile);
setup.adnode=DOM.Id("autodirector");DefineVehicles();DefineDefaults();DefineNodes();var list=run.list;
if(!setup.orderbyon&&!setup.searchon) ShowVehicleList();
else{var adorderby=DOM.Id("adorderby");
var adsearchterm=DOM.Id("adsearchterm");
if(adsearchterm&&run.searchresult==null){list=true;adsearchterm.value=run.search;run.search="";EventSearchSubmit();}
else if(adorderby){var page=run.thispage;adorderby.value=run.orderby;EventChangeOrder();
if(run.thispage!=page){run.thispage=page;ShowVehicleList();}}}
if(!list&&run.ID>0){var id=run.ID;run.ID=0;ShowVehicle(id);}
else run.ID=0;}
function DefineDefaults(){var adcs=[];adcs.LoadAll("adcs");
var adqs=HTTParguments();var Define=function(name, def){var ret=def;if(adcs.Exists(name)) ret=adcs[name];if(adqs.Exists(name)) ret=adqs[name];
return ret;}
run.ID=Define("id", 0).toInt();run.list=(Define("list", true)==true);
if(run.ID>0&&run.list==true&&adqs.Exists('id')&&!adqs.Exists('list')) run.list=false;
run.orderby=Define("orderby", 0).toInt();run.pagesize=Define("pagesize", setup.pagesizes[0]).toInt();run.thispage=Define("thispage", 1).toInt();run.name=Define("name", "");run.email=Define("email", "");run.tel=Define("tel", "");run.comments=Define("comments", "");run.scrollpos=Define("scrollpos", 0).toInt();
var sext=(adqs.Exists("search") ? adqs.search:"");var sint=(adcs.Exists("search") ? adcs.search:"");if(sext!=""&&setup.searchon){run.orderby=(setup.orderbyon ? sortTypes.length-2:0);run.list=true;}
if(sext!=""&&sext!=sint){run.search=sext;run.searchresult=null;}
else{run.search=sint;run.searchresult=Define("searchresult", "");
if(run.searchresult!="") run.searchresult=run.searchresult.split(',');
else for(var v=0;v<vehiclelist.length;v++) run.searchresult[v]=vehiclelist[v].id;
UpdateSearchResult();}}
function SaveDefaults(){run.StoreAll("adcs");}
function DefineNodes(){DOM.RemoveChildren(setup.adnode);
var node;for(var i=0;i<setup.divs.length;i++){node=document.createElement("div");
node.id="autodirector_"+setup.divs[i];setup["node"+setup.divs[i]]=setup.adnode.appendChild(node);setup["node"+setup.divs[i]].style.display="none";}
if(!setup[String.fromCharCode(108,105,99,112,114,111,100)]){var unl=setup[String.fromCharCode(84,117,110,108,105,99)];
var unn=setup['node'+'li'+'ce'+'nce'];
if(unl.substr(31,5)=='un'+'li'+'c') DOM.NodeAdd(unn, unl);
else DOM.NodeAdd(unn, String.fromCharCode(85,78,76,73,67,69,78,67,69,68));
var us=unn.style;
us.position="static";us.display="block";us.visibility="visible";
us.width="auto";us.height="auto";
us.fontSize="1.2em";us.fontWeight="bold";us.textAlign="center";
us.padding="0.5em";us.marginBottom="0.5em";
us.color='#c00';us.backgroundColor='#ffc';us.border='3px solid #c00';}
if(setup.orderbyon||setup.searchon){DOM.NodeAdd(setup.nodesearch, setup.Tsearch);
var adorderby=DOM.Id("adorderby");
if(adorderby){var opt;for(var s=(setup.orderbyon ? 0:sortTypes.length-2);s<sortTypes.length - (setup.searchon ? 0:2);s++){opt=document.createElement("option");
opt.setAttribute("value", s);
opt.appendChild(document.createTextNode(sortTypes[s].name));
adorderby.appendChild(opt);}
adorderby.value=run.orderby;
new Event(adorderby, "change", EventChangeOrder);}
var adsearch=DOM.Id("adsearch");
if(adsearch) new Event(adsearch, "submit", EventSearchSubmit);}
if(setup.showform){DOM.NodeAdd(setup.nodeenquiry, setup.Tenquiry);
DOM.Id("adname").value=run.name;DOM.Id("ademail").value=run.email;DOM.Id("adtel").value=run.tel;DOM.Id("adcomments").value=run.comments;
new Event(DOM.Id("adenquiry"), "submit", EventSendEnquiry);new Event(DOM.Id("adcomments"), "keypress", EventLimitComments);}
DOM.NodeAdd(setup.nodebacktop, setup.Tback);DOM.NodeAdd(setup.nodebackend, setup.Tback);
if(setup.Tsponsor!=""){DOM.NodeAdd(setup.nodesponsor, setup.Tsponsor);setup.nodesponsor.style.display="block";}
new Event(setup.nodelist, "click", EventVehicleClick);new Event(setup.nodejumptop, "click", EventPageClick);new Event(setup.nodejumpend, "click", EventPageClick);new Event(setup.nodevehicle, "click", EventVehicleImageClick);new Event(DOM.Tags("a", setup.nodebacktop)[0], "click", EventBackClick);
new Event(DOM.Tags("a", setup.nodebackend)[0], "click", EventBackClick);}
function ShowVehicleList(render){run.list=true;render=(render !== false);var show="list";
if(vehiclelist.length>0){if(setup.orderbyon||setup.searchon) show+=",search";show+=",jumptop,jumpend";
var pages=Math.floor((vehiclelist.length-1) / run.pagesize)+1;
if(run.thispage>pages) run.thispage=pages;
if(render){var vs=(run.thispage-1) * run.pagesize;
var ve=vs+run.pagesize-1;
if(ve>vehiclelist.length-1) ve=vehiclelist.length-1;
var list="";
for(var v=vs;v<=ve;v++) list+=vehiclelist[v].Replace(setup.Tlist);
DOM.NodeAdd(setup.nodelist, list, true);
var pagelist='<p>'+vehiclelist.length+' vehicle'+(vehiclelist.length>1 ? 's':'')+': show ';
for(var s=0;s<setup.pagesizes.length;s++){pagelist+='<a href="#*'+setup.pagesizes[s]+'"'+(run.pagesize==setup.pagesizes[s] ? ' class="active"':'')+'>'+setup.pagesizes[s]+'</a>';
if(s+2<=setup.pagesizes.length) pagelist+=(s+2==setup.pagesizes.length ? ' or ':', ');}
pagelist+=" per page</p>";
if(pages>1){pagelist+="<ol>";
if(run.thispage>1) pagelist+='<li><a href="#-1" class="back" title="previous page">&lt;back</a></li>';
for(var p=1;p<=pages;p++){pagelist+='<li><a href="#'+p+'" title="page '+p+'"'
if(p==run.thispage) pagelist+=' class="active"';
pagelist+='>'+p+'</a></li>';}
if(run.thispage<pages) pagelist+='<li><a href="#+1" class="next" title="next page">next &gt;</a></li>';
pagelist+="</ol>";}
DOM.NodeAdd(setup.nodejumptop, pagelist, true);
DOM.NodeAdd(setup.nodejumpend, pagelist, true);}}
else{if(render) DOM.NodeAdd(setup.nodelist, setup.Tlistnone, true);}
ShowNodes(show);
SaveDefaults();}
function ShowVehicle(id){run.list=false;
var show='vehicle,backtop,backend';
var sform=setup.showform;
if(id!=run.ID){run.ID=id;
var vIndex=VehicleIndex(id);
if(vIndex>=0) DOM.NodeAdd(setup.nodevehicle, vehiclelist[vIndex].Replace(setup.Tdetail), true);
else{run.ID=0;
DOM.NodeAdd(setup.nodevehicle, setup.Tdetailnone, true);
sform=false;}}
if(sform) show+=',enquiry';
ShowNodes(show);Graphic.PositionViewport("autodirector", 0, 30);SaveDefaults();}
function ShowNodes(list){for(var n=1;n<setup.divs.length-1;n++) setup["node"+setup.divs[n]].style.display=(list.indexOf(setup.divs[n])>=0 ? "block":"none");}
function VehicleIndex(id){var i=0;
while (id!=vehiclelist[i].id&&i<vehiclelist.length-1) i++;
return (vehiclelist[i].id==id ? i:-1);}
function UpdateSearchResult(){vehiclelist.sort(sortTypes[0].sort);
var nv=vehiclelist.length;var vi;
for(var v=0;v<nv;v++){vi=0;
while (vehiclelist[v].id!=run.searchresult[vi]&&vi<run.searchresult.length) vi++;
vehiclelist[v].searchrank=(vehiclelist[v].id==run.searchresult[vi] ? nv-vi:-v);}}
function Vehicle(id, newcar, year, model, mileage, colour, gearbox, info, price, pics){this.id=id;
this.newcar=(newcar ? "NEW":"");
this.year=year.toInt();
this.model=model;
this.mileage=mileage.toInt();
this.colour=(colour!="" ? colour:"&nbsp;");
this.gearbox=(gearbox!="" ? gearbox:"&nbsp;");
this.info="|"+info+"|";
this.info=reRepeat(this.info, /\|\-+\|/g, "|<hr />|");
this.info=reRepeat(this.info, /\|-([^\|]+)\|/g, "|<h2>$1</h2>|");
this.info=reRepeat(this.info, /\_([^\|]+)\_/g, "{{strong}}$1{{/strong}}");
this.info=reRepeat(this.info, /!\(([^\||\(]+)\)/g, '{{img src="$1" /}}');
this.info=reRepeat(this.info, /\[([^\||\[]+)\]\(\(([^\||\(]+)\)\)/g, '{{a href="$2"}}$1{{/a}}');
this.info=reRepeat(this.info, /\(\(([^\||\(]+)\)\)/g, '{{a href="$1"}}$1{{/a}}');
this.info=reRepeat(this.info, /\|\*([^\|]+)\|/g, "|<li>$1</li>|");
this.info=reRepeat(this.info, /\|\+([^\|]+)\|/g, "|<liN>$1</liN>|");
this.info=reRepeat(this.info, /\|([^\<][^\|]+)\|/g, "|<p>$1</p>|");
this.info=reRepeat(this.info, /<\/li>\|<li>/g, "</li><li>");
this.info=reRepeat(this.info, /<\/liN>\|<liN>/g, "</liN><liN>");
this.info=reRepeat(this.info, /\|(<li>[^\|]+<\/li>)\|/g, "|<ul>$1</ul>|");
this.info=reRepeat(this.info, /\|(<liN>[^\|]+<\/liN>)\|/g, "|<ol>$1</ol>|");
this.info=reRepeat(this.info, /liN>/g, "li>");
this.info=reRepeat(this.info, /\{\{/g, "<");
this.info=reRepeat(this.info, /\}\}/g, ">");
this.info=reRepeat(this.info, /\|/g, "");
this.price=(price!=null ? price.toInt():null);
this.pics=pics;
this.searchrank=0;}
function reRepeat(str, regex, rep){var ostr;
do {ostr=str;str=str.replace(regex, rep);} while (str!=ostr);
return str;}
Vehicle.prototype.Replace=function(template){template=template.replace(/\[id\]/gi, this.id);
template=template.replace(/\[newcar\]/gi, this.newcar);
template=template.replace(/\[year\]/gi, this.year);
template=template.replace(/\[model\]/gi, this.model);
template=template.replace(/\[mileage\]/gi, this.mileage.format(0)+" miles");
template=template.replace(/\[colour\]/gi, this.colour);
template=template.replace(/\[gearbox\]/gi, this.gearbox);
template=template.replace(/\[info\]/gi, this.info);
var price;
switch(this.price){case null: price="sold";break;
case 1: price="please call";break;
default: price=this.price.format(0,true);}
template=template.replace(/\[price\]/gi, price);
if(this.pics.length>0){template=template.replace(/\[pic\]/gi, '<img src="'+setup.thumburl+this.pics[0]+'.jpg" title="'+this.model+'" />');
var pics="<ol>";
for(var p=0;p<this.pics.length;p++) pics+='<li><img src="'+setup.thumburl+this.pics[p]+'.jpg" alt="'+this.model+' picture" title="'+this.model+' picture '+(p+1)+' - click to enlarge..." /></li>';
pics+="</ol>";
template=template.replace(/\[pics\]/gi, pics);}
else{template=template.replace(/\[pic\]/gi, '');
template=template.replace(/\[pics\]/gi, '');}
return template;}
function EventVehicleClick(evt){evt.Raised.StopDefaultAction();
run.scrollpos=Graphic.ViewportScrollY();
var node=DOM.ParentFind(evt.Raised.Element, "a");
var id=(node ? String(node.id).substr(5).toInt():0);
if(id>0) ShowVehicle(id);}
function EventChangeOrder(evt){if(evt) evt.Raised.StopDefaultAction();
var adorderby=DOM.Id("adorderby");
if(adorderby){Graphic.ClassApply(adorderby.parentNode, "active");
run.orderby=adorderby.value;
vehiclelist.sort(sortTypes[run.orderby].sort);
var adsearchterm=DOM.Id("adsearchterm");
if(adsearchterm){if(run.orderby>=sortTypes.length-2) adsearchterm.value=run.search;
else adsearchterm.value="";}
run.thispage=1;
ShowVehicleList();
Graphic.ClassRemove(adorderby.parentNode, "active");
Graphic.PositionViewport("autodirector", 0, 30);}}
function EventSearchSubmit(evt){if(evt) evt.Raised.StopDefaultAction();
var adsearchterm=DOM.Id("adsearchterm");
if(!setup.activesearch&&adsearchterm){var sterm=adsearchterm.value.Clean();
if(sterm.length>0){if(sterm==run.search){DOM.Id("adorderby").value=sortTypes.length-2;
EventChangeOrder();}
else{setup.activesearch=true;
run.search=sterm;
adsearchterm.value=run.search;
Graphic.ClassApply(adsearchterm.parentNode, "active");
if(setup.JSsearch) DOM.HeadRemove(setup.JSsearch);
setup.JSsearch=DOM.LoadJS(setup.searchURL+escape(run.search)+"&callback=EventSearchResult()");
setTimeout(EventSearchTimeout, setup.timeout);}}}}
function EventSearchResult(){SearchReset();
UpdateSearchResult();
DOM.Id("adorderby").value=sortTypes.length-2;
EventChangeOrder();}
function EventSearchTimeout(){if(setup.activesearch){SearchReset();
DOM.HeadRemove(setup.JSsearch);
setup.JSsearch=null;
run.search="";
alert("Sorry, but your search is taking too long.\nPlease try again later.");}}
function SearchReset(){Graphic.ClassRemove(DOM.Id("adsearchterm").parentNode, "active");
setup.activesearch=false;}
function EventPageClick(evt){evt.Raised.StopDefaultAction();
var node=DOM.ParentFind(evt.Raised.Element, "a");
if(node){var href=node.getAttribute("href");
var h=href.lastIndexOf("#");
if(h>=0){var num=href.substr(h+1);
var sign=num.charAt(0);
var ps=(sign=="*");
var inc=(sign=="-"||sign=="+");
num=num.toInt();
if(ps){if(num!=run.pagesize){run.pagesize=num;
ShowVehicleList();}}
else{var newpage=(inc ? run.thispage+num:num);
if(run.thispage!=newpage){run.thispage=newpage;
ShowVehicleList();
Graphic.PositionViewport("autodirector", 0, 30);}}}}}
function EventVehicleImageClick(evt){var eNode=evt.Raised.Element;
if(eNode.nodeName.toLowerCase()!="a"&&eNode.parentNode.nodeName.toLowerCase()!="a"){evt.Raised.StopDefaultAction();
if(eNode.nodeName.toLowerCase()=="img"&&eNode.title) PopupImage(String(eNode.src).replace(new RegExp(setup.thumburl), setup.picurl));}}
function EventBackClick(evt){evt.Raised.StopDefaultAction();
if(!setup.activesend) ShowVehicleList(false);
window.scrollTo(0, run.scrollpos);}
function EventSendEnquiry(evt){evt.Raised.StopDefaultAction();
if(!setup.activesend){var msg="";
var hl=false;var nComments=DOM.Id("adcomments");run.comments=nComments.value.Trim().replace(/\r/g, "").replace(/\n/g, "\n");var oc;
do{oc=run.comments;
run.comments=run.comments.replace(/\n\n/g, "\n");} while (run.comments!=oc);
run.comments=run.comments.substr(0, setup.comlimit);
nComments.value=run.comments;
var nTel=DOM.Id("adtel");
run.tel=nTel.value.Trim();nTel.value=run.tel;
var nEmail=DOM.Id("ademail");
run.email=nEmail.value;
if(run.email!=""){run.email=verify_email(run.email);
if(run.email==""){msg="\t - a valid email address\n"+msg;hl=nEmail;}
else nEmail.value=run.email;}
if(run.email==""&&run.tel==""&&msg==""){msg=" - an email address or telephone number";hl=nEmail;}
var nName=DOM.Id("adname");
run.name=nName.value.Clean();nName.value=run.name;
if(run.name.length<4){msg=" - your name\n"+msg;hl=nName}
if(hl){alert("Please enter:\n"+msg);
try {hl.select();} catch(e){}
try {hl.focus();} catch(e){}}
else{setup.activesend=true;
setup.nodeenquiry.style.display="none";
Graphic.ClassApply(setup.nodeenqresult, "active");
DOM.SetText(setup.nodeenqresult, "sending your enquiry...");
setup.nodeenqresult.style.display="block";
var send=setup.emailURL+run.ID;
send+="&callback=EventSendResult()";
send+="&url="+escape(setup.thisURL);
send+="&name="+escape(run.name);
send+=(run.email!="" ? "&email="+escape(run.email):"");
send+=(run.tel!="" ? "&tel="+escape(run.tel):"");
send+=(run.comments!="" ? "&comments="+escape(run.comments):"");
if(setup.JSsend) DOM.HeadRemove(setup.JSsend);
setup.JSsend=DOM.LoadJS(send);
setTimeout(EventSendTimeout, setup.timeout);
SaveDefaults();}}}
function EventSendResult(){SendReset();
var msg='';
switch (setup.senderror){case '': msg+="Your enquiry was sent successfully. We will contact you shortly.";break;
case 'noemail':msg+="Sorry, but your enquiry could not be sent at this time. Please try again later";if(setup.salesemail!='') msg+=" or contact us at "+setup.salesemail+" directly";msg+=".";setup.nodeenquiry.style.display="block";break;
default:msg+="Sorry, but there was a technical problem with your enquiry.";
if(setup.salesemail!='') msg+=" Please contact us at "+setup.salesemail+" directly.";break;}
DOM.SetText(setup.nodeenqresult, msg);}
function EventSendTimeout(){if(setup.activesend){SendReset();
DOM.HeadRemove(setup.JSsend);setup.JSsend=null;
DOM.SetText(setup.nodeenqresult, "Sorry, but your enquiry is taking too long. Please try again later.");
setup.nodeenquiry.style.display="block";}}
function SendReset(){Graphic.ClassRemove(setup.nodeenqresult, "active");
setup.activesend=false;}
function EventLimitComments(evt){var key=evt.Raised.Key;
if(evt.Raised.Element.value.length>setup.comlimit) evt.Raised.Element.value=evt.Raised.Element.value.substr(0, setup.comlimit);
if(evt.Raised.ControlKey==''&&key.length+evt.Raised.Element.value.length>setup.comlimit) evt.Raised.StopDefaultAction();}
function PopupImage(img){var scnWidth=(screen.availWidth ? screen.availWidth:640);
var scnHeight=(screen.availHeight ? screen.availHeight:480);
var size=setup.picsize+20;
var win=window.open(img, "", "width="+size+",height="+size+",left="+Math.floor((scnWidth-size)/2)+",top="+Math.floor((scnHeight-size)/2)+",location=0,directories=0,menubar=0,toolbar=0,status=0,scrollbars=0,resizable=1");
var cImage=new Image;cImage.src=img;
if(cImage.complete) PopupImageResize(win, cImage);
else new Event(cImage, "load", function(evt){evt.Detach();PopupImageResize(win, cImage);});}
function PopupImageResize(win, cImage){var imgWidth=cImage.width+30;
var imgHeight=cImage.height+70;
var scnWidth=(screen.availWidth ? screen.availWidth:640);
var scnHeight=(screen.availHeight ? screen.availHeight:480);
if(scnWidth>imgWidth&&scnHeight>imgHeight){try {win.resizeTo(imgWidth, imgHeight);} catch(e){}
try {win.moveTo(Math.floor((scnWidth-imgWidth)/2), Math.floor((scnHeight-imgHeight)/2));} catch(e){}}
win.focus();}
Object.prototype.toInt=function(){var str=String(this);
str=str.replace(/[^0-9-.]/g, "");
var ret=parseInt(str, 10);
if(isNaN(ret)) ret=0;
return ret;}
Number.prototype.format=function(dp, currency){var num=this;
var ThousandsSep=(setup.locale=="EURO" ? " ":",");var DecimalPoint=(setup.locale=="EURO" ? ",":".");var NegativePre="-";var NegativePost="";var CurrencyPre="\u00a3";var CurrencyPost="";if(setup.locale=="USD") CurrencyPre="$";if(setup.locale=="EURO"){CurrencyPre="";CurrencyPost="\u20ac";}
var neg, bdp, adp, obdp;if(isNaN(num)) num=0;
dp=Math.abs(dp.toInt());neg=(num<0);
num=String(Math.round(Math.abs(num) * Math.pow(10, dp))).Pad(dp, '0');
bdp=num.substr(0, num.length - dp);adp=num.substr(num.length - dp);
if(bdp=="") bdp="0";
else{do {obdp=bdp;
bdp=bdp.replace(/(\d+)(\d{3})/g, "$1" + ThousandsSep + "$2");} while (bdp!=obdp);}
num=bdp + (dp>0 ? DecimalPoint + adp:"");
if(currency === true) num=CurrencyPre + num + CurrencyPost;
if(neg) num=NegativePre + num + NegativePost;
return num;}
String.prototype.Trim=function(){return this.replace(/^\s*|\s*$/g, "");}
String.prototype.Clean=function(){return this.replace(/[^\w|\s|@|&|.|,|!|%|(|)|+|-]/g, "").replace(/_/g, " ").replace(/\s+/g, " ").Trim();}
String.prototype.Pad=function(length, padChar){var str=String(this);
length=length.toInt();
if(typeof padChar=='undefined') padChar=" ";
else{padChar=String(padChar);
if(padChar.length<1) padChar=" ";}
while (str.length<length) str=padChar + str;
return str;}
function HTTParguments(){var args=new Array();
var arglist=location.search.Trim();
if(arglist.charAt(0)=='?') arglist=arglist.substr(1);
var argsep=arglist.split('&');
var thisValue;
for(var i=0;i<argsep.length;i++){thisValue=argsep[i].split("=");
if(thisValue.length==2) args[unescape(thisValue[0].toLowerCase())]=unescape(thisValue[1]);}
return args;}
Array.prototype.Exists=function(key){var type=typeof(this[key]);
return (type!='undefined'&&type!='function');}
Array.prototype.StoreAll=function(name, minutes){var values="";
for(var key in this) if(typeof(this[key])!='function') values+=(values=="" ? "":"[:]") + key.toLowerCase() + "[=]" + String(this[key]);
CookieSet(name, values, minutes);}
Array.prototype.LoadAll=function(name){var allValues=CookieGet(name);
var values=allValues.split("[:]");
var thisValue;
for(var i=0;i<values.length;i++){thisValue=values[i].split("[=]");
if(thisValue.length==2){if(thisValue[1]=="true"||thisValue[1]=="false") this[thisValue[0].toLowerCase()]=(thisValue[1]=="true");
else this[thisValue[0].toLowerCase()]=thisValue[1];}}}
function CookieSet(name, value, minutes){value=String(value).replace(/\r/g, "").replace(/\n/g, "[#]");
if(minutes){var date=new Date();
date.setTime(date.getTime()+(minutes*60000));
var expires=";expires="+date.toGMTString();}
else expires="";
document.cookie=name+"="+String(value)+expires+";path="+location.pathname.substr(0, location.pathname.indexOf("/",1)+1);}
function CookieGet(name){var ret="";
name+="=";
var allCookies=document.cookie.split(';');
var thisCookie;
for(var i=0;i<allCookies.length&&ret=="";i++){thisCookie=allCookies[i].Trim();
if(thisCookie.indexOf(name)==0) ret=thisCookie.substring(name.length).replace(/\[#\]/g, "\n");}
return ret;}
function CookiesEnabled(){CookieSet("testcookie", "testvalue", 0.05);
return (CookieGet("testcookie")=="testvalue");}
function verify_email(email){email=email.Trim().toLowerCase();
if(email!="") if(email.replace(/^.+@[a-z0-9]+([_\.\-]{0,1}[a-z0-9]+)*([\.]{1}[a-z0-9]+)+$/, "")!="") email="";
return email;}
var DOM=new function(){this.ElementNode=1;
this.AttributeNode=2;
this.TextNode=3;
this.CommentNode=8;
this.Enabled=(document.getElementById&&document.getElementsByTagName);
this.Id=function(id, rootElement){var element=null;
if(this.Enabled){if(typeof rootElement=='string') rootElement=this.Id(rootElement);
if(!rootElement) rootElement=document;
element=rootElement.getElementById(String(id));}
return element;}
this.Tags=function(tag, rootElement){var elements=new Array(0);
if(this.Enabled){if(typeof rootElement=='string') rootElement=this.Id(rootElement);
if(!rootElement) rootElement=document;
elements=rootElement.getElementsByTagName(String(tag));}
return elements;}
this.NodeAdd=function(element, content, clear){if(typeof element=='string') element=this.Id(element);
if(clear === true) this.RemoveChildren(element);
return (element.innerHTML=content);}
this.ParentFind=function(element, nodename){if(typeof element=='string') element=this.Id(element);
nodename=nodename.toLowerCase();
while (element.nodeName.toLowerCase()!=nodename&&element.parentNode) element=element.parentNode;
if(element.nodeName.toLowerCase()!=nodename) element=false;
return element;}
this.ChildElements=function(element){var ce=new Array();
if(typeof element=='string') element=this.Id(element);
if(element){for(var i=0;i<element.childNodes.length;i++){if(element.childNodes[i].nodeType==this.ElementNode&&element.childNodes[i].nodeName!="!") ce.push(element.childNodes[i]);}}
return ce;}
this.FindNodeType=function(element, ntype){var found=null;
if(typeof element=='string') element=this.Id(element);
if(element){var thisNode;
for(var i =0;i<element.childNodes.length&&found==null;i++){thisNode=element.childNodes[i];
if(thisNode.nodeType==ntype) found=thisNode;
else found=this.FindNodeType(thisNode, ntype);}}
return found;}
this.SetText=function(element, text){if(typeof element=='string') element=this.Id(element);
if(element){var tNode=this.FindNodeType(element, this.TextNode);
if(tNode) tNode.nodeValue=text;
else element.appendChild(document.createTextNode(text));}}
this.RemoveChildren=function(element){if(typeof element=='string') element=this.Id(element);
if(element) while (element.lastChild) element.removeChild(element.lastChild);}
this.AbsoluteX=function(element){var pos=0;
if(typeof element=='string') element=this.Id(element);
if(element&&typeof element.offsetLeft!='undefined'){pos=element.offsetLeft;
while ((element=element.offsetParent)) pos+=element.offsetLeft;}
return pos;}
this.AbsoluteY=function(element){var pos=0;
if(typeof element=='string') element=this.Id(element);
if(element&&typeof element.offsetTop!='undefined'){pos=element.offsetTop;
while ((element=element.offsetParent)) pos+=element.offsetTop;}
return pos;}
this.HeadAppend=function(element){var head=this.Tags("head");
return (head.length==1 ? head[0].appendChild(element):null);}
this.HeadRemove=function(element){var head=this.Tags("head");
return (head.length==1 ? head[0].removeChild(element):null);}
this.LoadJS=function(file){var jsfrag=document.createElement("script");
jsfrag.setAttribute("type", "text/javascript");jsfrag.setAttribute("src", file);
return this.HeadAppend(jsfrag);}
this.LoadCSS=function(file){var cssfrag=document.createElement("link");
cssfrag.setAttribute("type", "text/css");cssfrag.setAttribute("rel", "stylesheet");cssfrag.setAttribute("media", "screen");cssfrag.setAttribute("href", file);
return this.HeadAppend(cssfrag);}}
var Graphic=new function(){if(typeof window.innerWidth!='undefined'){this.ViewportWidth=function(){return window.innerWidth;}
this.ViewportHeight=function(){return window.innerHeight;}}
else{this.ViewportWidth=function(){if(typeof document.documentElement!='undefined'&&typeof document.documentElement.clientWidth!='undefined'&&document.documentElement.clientWidth!=0) return document.documentElement.clientWidth;
else return DOM.Tags("body")[0].clientWidth;}
this.ViewportHeight=function(){if(typeof document.documentElement!='undefined'&&typeof document.documentElement.clientHeight!='undefined'&&document.documentElement.clientHeight!=0)return document.documentElement.clientHeight;
else return DOM.Tags("body")[0].clientHeight;}}
if(typeof window.pageXOffset!='undefined'){this.ViewportScrollX=function(){return window.pageXOffset;}
this.ViewportScrollY=function(){return window.pageYOffset;}}
else{this.ViewportScrollX=function(){if(typeof document.documentElement.scrollLeft!='undefined'&&document.documentElement.scrollLeft>0) return document.documentElement.scrollLeft;
else if(typeof document.body.scrollLeft!='undefined') return document.body.scrollLeft;
else return 0;}
this.ViewportScrollY=function(){if(typeof document.documentElement.scrollTop!='undefined'&&document.documentElement.scrollTop>0) return document.documentElement.scrollTop;
else if(typeof document.body.scrollTop!='undefined') return document.body.scrollTop;
else return 0;}}
this.ClassApply=function(element, cname){if(typeof element=='string') element=DOM.Id(element);
if(element&&cname.length>0){var cc=" "+element.className+" ";
if(cc.indexOf(" "+cname+" ")<0) cc+=cname;
element.className=cc.Trim();}}
this.ClassRemove=function(element, cname){if(typeof element=='string') element=DOM.Id(element);
if(element&&cname.length>0){var cc=" "+element.className+" ";
cc=cc.replace(new RegExp(" "+cname+" ", "gi"), "");
element.className=cc.Trim();}}
this.PositionViewport=function(element, vtop, vbottom, absolute){if(absolute !== true){var vh=this.ViewportHeight();
vtop=Math.floor((vtop/100) * vh);
vbottom=Math.ceil((vbottom/100) * vh);}
var ey=DOM.AbsoluteY(element);
var vy=this.ViewportScrollY();
if(ey<vy+vtop) this.ScrollViewport(ey-vtop);
else if(ey>vy+vbottom) this.ScrollViewport(ey-vbottom);}
this.AnimationFrames=10;
this.AnimationPause=300;
this.ScrollViewport=function(moveTo, frame, pause){if(isNaN(frame)){var cTime=new Date();frame=this.AnimationFrames;}
var moveFrom=this.ViewportScrollY();
window.scrollTo(0, moveFrom+Math.floor((moveTo - moveFrom) / frame));
if(frame>1&&moveFrom!=this.ViewportScrollY()){if(isNaN(pause)){pause=((new Date() - cTime) + 8) * 2;
frame=Math.floor(this.AnimationPause / pause);}
else frame--;
setTimeout(function(){Graphic.ScrollViewport(moveTo, frame, pause);}, pause);}}}
function Event(element, type, handler){this.Raised=null;
if(typeof element.AttachedEvents=='undefined'||element.AttachedEvents==null){element.AttachedEvents=new EventStore();
var existingEvent=element["on"+type];
if(existingEvent) new Event(element, type, existingEvent);
EventStore.ElementList[EventStore.ElementList.length]=element;
if(EventStore.ElementList.length==1) new Event(window, "unload", EventStore.CleanUp);}
var hIndex=element.AttachedEvents.Add(element, type, this);
this.Handler=function(evtinfo){this.Raised=evtinfo;
return handler(this);}
this.Detach=function(){element.AttachedEvents.Detach(type, hIndex);}}
function EventStore(){this.Type=[];}
EventStore.prototype.Add=function(element, type, EventObj){if(typeof this.Type[type]=='undefined'){this.Type[type]=[];
element["on"+type]=EventStore.Handler;}
var hIndex=this.Type[type].length;
this.Type[type][hIndex]=EventObj;
return hIndex;}
EventStore.prototype.Detach=function(type, hIndex){if(typeof this.Type[type][hIndex]=='object') delete this.Type[type][hIndex];}
EventStore.prototype.RunEvents=function(evtinfo){var ret=true;
if(typeof this.Type[evtinfo.Type]!='undefined'){var EventObj;
for(var h=0;h<this.Type[evtinfo.Type].length;h++){EventObj=this.Type[evtinfo.Type][h];
if(typeof EventObj=='object') ret &= (EventObj.Handler(evtinfo) !== false);}}
return ret;}
EventStore.Handler=function(evt){return (this.AttachedEvents ? this.AttachedEvents.RunEvents(new EventInformation(evt)):null);}
EventStore.ElementList=[];
EventStore.CleanUp=function(){for(var e=0;e<EventStore.ElementList.length;e++) EventStore.ElementList[e].AttachedEvents=null;
EventStore.ElementList=null;}
function EventInformation(event){if(event){this.Event=event;
this.StopPropagation=function(){this.Event.stopPropagation();}
this.StopDefaultAction=function(){this.Event.preventDefault();}}
else{this.Event=window.event;
this.StopPropagation=function(){this.Event.cancelBubble=true;};this.StopDefaultAction=function(){this.Event.returnValue=false;}}
this.Type="";this.Element=null;this.Key="";this.ControlKey="";this.Shift=false;this.Ctrl=false;this.Alt=false;this.MouseX=0;this.MouseY=0;
if(this.Event){this.Type=String(this.Event.type).toLowerCase();
this.Element=(this.Event.target ? this.Event.target:this.Event.srcElement);
var charCode=this.Event.charCode;
var keyCode=(this.Event.keyCode ? this.Event.keyCode:charCode);
if(charCode!=0&&keyCode>=32) this.Key=String.fromCharCode(keyCode);
if(this.Key==""){this.ControlKey=Event.CK[keyCode];
if(!this.ControlKey) this.ControlKey="";}
this.Ctrl=this.Event.ctrlKey;this.Alt=this.Event.altKey;this.Shift=this.Event.shiftKey;var mre=/mouse|click/i;
if(mre.test(this.Type)){this.MouseX=(this.Event.pageX ? this.Event.pageX:this.Event.clientX + Math.max(document.documentElement.scrollLeft, document.body.scrollLeft));
this.MouseY=(this.Event.pageY ? this.Event.pageY:this.Event.clientY + Math.max(document.documentElement.scrollTop, document.body.scrollTop));}}}
Event.CK=[];Event.CK[8]="backspace";Event.CK[9]="tab";Event.CK[13]="enter";Event.CK[27]="esc";Event.CK[33]="pageup";Event.CK[34]="pagedown";Event.CK[35]="end";Event.CK[36]="home";Event.CK[37]="left";Event.CK[38]="up";Event.CK[39]="right";Event.CK[40]="down";Event.CK[45]="insert";Event.CK[46]="delete";Event.CK[112]="f1";Event.CK[113]="f2";Event.CK[114]="f3";Event.CK[115]="f4";Event.CK[116]="f5";Event.CK[117]="f6";Event.CK[118]="f7";Event.CK[119]="f8";Event.CK[120]="f9";Event.CK[121]="f10";Event.CK[122]="f11";Event.CK[123]="f12";Event.CK[144]="numlock";Event.CK[145]="scrolllock";
setup.OK=true;
if(!DOM.Enabled){setup.OK=false;document.write("<p>Please use a more modern browser to view the showroom.</p>");}
else{if(!DOM.Id("autodirector")){setup.OK=false;document.write('<p><strong>AutoDirector error</strong>: the page is missing the &lt;div id="autodirector"&gt;tag.</p>');}
if(DOM.Tags("head").length!=1){setup.OK=false;document.write('<p><strong>AutoDirector error</strong>: the page does not have one &lt;head&gt;tag.</p>');}}
if(setup.OK) new Event(window, "load", ADstart);

