/*
	All code Copy right CodeIsland Limited.
	Written: 29-5-200
	Author: Paul Doherty
	
	Not to be used or modified without the expressed consent of CodeIsland Limited.
	All Rights Reserved.
*/

if (document.all)
{
	n = 0;
	m = 1;
}
else if (document.layers)
{
	n = 1;
	m = 0;
}

/* Function to create our array with the correct div text */
function init()
{
	a_info = new Array();
	a_info[0] = "";
	a_info[1] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Dublin Airport</h2><p class=\"maintext\">Watch for COUNTY CAR RENTALS representative immediately outside customs with your name on a hand-held sign. If you do not notice the representative, proceed direct to the Forte Posthouse Hotel PHONE, located at the left side of arrivals exit door. Lift phone and ask for Courtesy Shuttle to take you and your luggage to the COUNTY CAR RENTALS depot in the Airport Hotel. If you have difficulty phone local 844-5689";
	a_info[2] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Shannon Airport</h2><p class=\"maintext\">Watch for COUNTY CAR RENTALS Representative immediately outside customs who will have your name on a hand-held sign. If you have any difficulty phone TOLL-FREE 1800-268-689";
	a_info[3] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Cork Airport</h2><p class=\"maintext\">Watch for <b>(CARENTAL)</b> COUNTY CAR RENTALS representative at the Meeting Point Location outside customs who will have your name on a hand-held sign. If you have any difficulty phone local 962277";
	a_info[4] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Knock Airport</h2><p class=\"maintext\">Go to <b>(Casey's)</b> COUNTY CAR RENTALS pre-booked desk in the Airport Terminal. If you have any difficulty phone 094-24618";
	a_info[5] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Galway Airport</h2><p class=\"maintext\">Watch for COUNTY CAR RENTALS representative immediately outside customs who will have your name on a hand-held sign. If you have any difficulties please phone TOLL-FREE 1800-268-689";
	a_info[6] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Belfast International Airport</h2><p class=\"maintext\">Go to <b>(McCauslands)</b> COUNTY CAR RENTALS desk in the Airport Terminal. If you have any difficulty phone local 422022.";
	a_info[7] = "<p class=\"maintext\"><b>Airports (You will only be met off your scheduled flight pre-advised to County Car Rentals)</b><br>If not arriving off a scheduled flight please proceed to Walk In Offices during opening hours<p class=\"maintext\"><h2>Waterford Airport</h2><p class=\"maintext\">Go to <b>(SouthEast)</b> COUNTY CAR RENTALS desk in the Airport Terminal. If you have any difficulty phone local 421550";
	a_info[8] = "<p class=\"maintext\"><b>FERRYPORTS (You will only be met off your arrival sailings).</b><br>If not arriving by a sailing please proceed to our WALK-IN offices during opening hours.<p class=\"maintext\"><h2>Dun Laoghaire Ferryport.</h2><p class=\"maintext\">Watch for COUNTY CAR RENTALS representative at Arrivals with your name on a hand-held sign. If you have any difficulty phone local 235-2030.";
	a_info[9] = "<p class=\"maintext\"><b>FERRYPORTS (You will only be met off your arrival sailings).</b><br>If not arriving by a sailing please proceed to our WALK-IN offices during opening hours.<p class=\"maintext\"><h2>Dublin Ferryport</h2><p class=\"maintext\">Watch for COUNTY CAR RENTALS representative at the Car Rental Desk. If you have any difficulty phone local 235-2030.";
	a_info[10] = "<p class=\"maintext\"><b>FERRYPORTS (You will only be met off your arrival sailings).</b><br>If not arriving by a sailing please proceed to our WALK-IN offices during opening hours.<p class=\"maintext\"><h2>Rosslare Ferryport</h2><p class=\"maintext\">Watch for the <b>(South East)</b> COUNTY CAR RENTALS representative at the car rental desk. If you have any difficulty phone local 33318.";
	a_info[11] = "<p class=\"maintext\"><b>FERRYPORTS (You will only be met off your arrival sailings).</b><br>If not arriving by a sailing please proceed to our WALK-IN offices during opening hours.<p class=\"maintext\"><h2>Cork Ferryport</h2><p class=\"maintext\">Watch for <b>(Carental)</b> COUNTY CAR RENTALS representative at the Information Desk. If you have any difficulty phone 962277";
	a_info[12] = "<p class=\"maintext\"><b>FERRYPORTS (You will only be met off your arrival sailings).</b><br>If not arriving by a sailing please proceed to our WALK-IN offices during opening hours.<p class=\"maintext\"><h2>Larne Ferryport</h2><p class=\"maintext\">Watch for <b>(McCauslands)</b> COUNTY CAR RENTALS representative at the Information desk. If you have any difficulties phone 01232-333777.";
	a_info[13] = "<p class=\"maintext\"><b>FERRYPORTS (You will only be met off your arrival sailings).</b><br>If not arriving by a sailing please proceed to our WALK-IN offices during opening hours.<p class=\"maintext\"><h2>Belfast Ferryport</h2><p class=\"maintext\">Watch for <b>(McCauslands)</b> COUNTY CAR RENTALS representative at the Information Desk. If you have any difficulty phone local 333777.";
      a_info[14] = "<p class=\"maintext\"><b>Hotels:</b> Subject to driver availability and prior arrangement you will be collected from your hotel provided you are an overnight guest. Otherwise, if staying in a B&amp;B please proceed to Walk In Offices during opening hours<br><h2>Dublin City Centre Hotels</h2><p class = \"maintext\">Before collection COUNTY CAR RENTALS will phone your Hotel to reconfirm time. A courtesy driver may take you to our Dun Laoghaire depot to the South of the city, or our airport depot to the north of the city, otherwise you will be taken to our Dublin City Centre depot. If you have any difficulty phone local 235-2030.";
	a_info[15] = "<p class = \"maintext\"><b>Hotels:</b> Subject to driver availability and prior arrangement you will be collected from your hotel provided you are an overnight guest. Otherwise, if staying in a B&amp;B please proceed to Walk In Offices during opening hours<br><h2>Other Hotels</h2> <b>(Dun Laoghaire, Limerick, Ennis, Cork, Castlebar)</b><p class=\"maintext\">Subject to availability and prior arrangement you will be collected from the hotel provided that you are an overnight guest. Before collection COUNTY CAR RENTALS will phone your hotel to reconfirm time. If you have any difficulty phone TOLL-FREE 1-800-268-689";
	a_info [16] = "<p class = \"maintext\"><h2>Walk-In Offices</h2>(Open Mon - Fri 9.00am - 5.00pm &amp; Sat 9.00am - 12.00 noon)<br>(Please phone in advance for directions)<br><br><b>Dun Laoghaire/Dublin</b><br>Rochestown Avenue, Dun Laoghaire Ph: 353-1-235-2030<br><br><b>Shannon/Ennis</b><br>Kilrush Road, Ennis, Co.Clare Ph: 353-65-6840940<br><br><b>Cork</b><br>43 McCurtain St. Cork Ph: 353-21-962277<br><br><b>Rosslare</b><br>Rosslare Ferryport, Rosslare, Co.Wexford Ph: 353-51-421670";
}

function initspecs()
{
	a_info = new Array();
	
	a_info[0] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group A ( Manual - Hatchback )</span></font></b> <br><font face=Arial,Helvetica><font size=\"-1\">2 Doors, 3.5 Seats, 1.5 Cases,&nbsp;</font></font><font size=\"-1\"><br><font face=Arial,Helvetica>900-1100 CC Engine, 35 - 50 MPG</font></font>";
	a_info[1] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group B ( Manual - Hatchback )</font></b> <br><font face=Arial,Helvetica><font size=-1>2 Doors, 4 Seats, 2.5 Cases,&nbsp;</font></font><font size=\"-1\"><br><font face=Arial,Helvetica>1100-1300 CC Engine, 30 - 50 MPG</font></font>";
	a_info[2] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group C ( Manual - Saloon )</font></b> <br><font face=Arial,Helvetica><font size=-1>4 Doors, 4 Seats, 2.5 Cases,&nbsp;</font></font><font size=\"-1\"><br><font face=Arial,Helvetica>1300-1500 CC Engine, 30 - 50 MPG</font></font>";
	a_info[3] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group D ( Manual)</font></b> <br><font face=Arial,Helvetica><font size=-1>4 Doors, 5 Seats, 3 Cases,&nbsp;</font></font><br><font face=Arial,Helvetica><font size=-1>1500-1600 CC Engine, 26-40 MPG</font></font>";
	a_info[4] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group E ( Automatic - Hatchback )</font></b> <br><font face=Arial,Helvetica><font size=-1>2 Doors, 3.5 Seats, 1.5 Cases,&nbsp;</font></font> <br><font face=Arial,Helvetica><font size=-1>900-1100 CC Engine, 35 - 50 MPG</font></font>";
	a_info[5] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group F ( Automatic - Saloon )</font></b> <br><font face=Arial,Helvetica><font size=-1>4 Doors, 4 Seats, 2.5 Cases,&nbsp;</font></font> <br><font face=Arial,Helvetica><font size=-1>1300-1500 CC Engine, 30-50 MPG</font></font>";
	a_info[6] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group G ( Automatic - Saloon )</font></b> <br><font face=Arial,Helvetica><font size=-1>4 Doors, 5 Seats, 3 Cases,&nbsp;</font></font> <br><font face=Arial,Helvetica><font size=-1>1500-1600 CC Engine, 26-40 MPG</font></font>";
	a_info[7] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group H ( Manual Estate)</font></b> <br><font face=Arial,Helvetica><font size=-1>4 Doors, 5 Seats, 6 Cases,&nbsp;</font></font> <br><font face=Arial,Helvetica><font size=-1>1500-1600 CC Engine, 26 - 38 MPG</font>";
	a_info[8] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group J ( Manual Luxury - Saloon )</b><br><font face=Arial,Helvetica><font size=-1>4 Doors, 5 Seats, 3.5 Cases,&nbsp;</font></font> <br><font face=Arial,Helvetica><font size=-1>1800-2100 CC Engine, 20-32 MPG</font>";
	a_info[9] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group K ( Manual )</font></b><br><font face=Arial,Helvetica><font size=-1>4 Doors, 8 Seats, 10 Cases,&nbsp;</font></font> <br><font face=Arial,Helvetica><font size=-1>2000-2500 CC Engine, 20-30 MPG</font></font>";
	a_info[10] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group L ( Manual People Carrier )</font></b> <br><font face=Arial,Helvetica><font size=-1>5 Doors, 5 Seats, 6 Cases or 7 Seats with no luggage capacity&nbsp;</font></font><font size=-1>1800-2200 CC Engine, 25-35 MPG</font></font>";
	a_info[11] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group N (Automatic)<br></b><font size=\"2\">4 Doors, 5 Seats, 3 Cases<b>, </b>2000cc 24-30 MPG</font>";
	a_info[12] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group V (Cargo Van)</b><br><font size=\"2\">2 seats Long Wheel Base, 1 Tonne, capacity 6 cubic meters, interior height 1.4m, interior width 1.6m, interior length 2.3m</font>";
	a_info[13] = "<b><font face=Arial,Helvetica><span class=\"color3\">Group W (Cargo Van)</b><br><font size=\"2\">2400CC,1.5 tonne,capacity 6.3m, length 3.2m, height 1.5m,width 1.7m.<br>Ford Transit Van 2 seats Semi high roof, long wheel base.</font>";

	if ((document.form1))
	{
		showCar(document.form1.group.value);
	}
}

function showInstructions(num)
{
	closeIt = "document.layers.instructions.document.close()";
	
	// Remember Netscape and Microsft use a different DOM
	if(n)
	{
		//Each layer has a document associated with it, so you can use write(), close() etc
		obj = "this.instructions.document.write(a_info[num])";
		eval(obj);
		//Always close the document so you don't see multiple layers displayed on the screen
		eval(closeIt);
	}
	else if(m)
	{
		obj = document.all.instructions;
		obj.innerHTML = a_info[num];
	}
}

function showCar(num)
{
	closeIt = "document.layers.instructions.document.close()";
	
	// Remember Netscape and Microsft use a different DOM
	if(n)
	{
		//Each layer has a document associated with it, so you can use write(), close() etc
		obj = "this.instructions.document.write(a_info[num])";
		eval(obj);
		//Always close the document so you don't see multiple layers displayed on the screen
		eval(closeIt);
	}
	else if(m)
	{
		obj = document.all.instructions;
		obj.innerHTML = a_info[num];
	}
	flipImage(num);
}

function home()
{
	// Refreh page so original content is retieved from server
	history.go(0);

	return;
}

function noop()
{
 return;
}