function preLoad() {
	Image1= new Image (131,41)
	Image1.src = "images/gen_butd.gif"
	Image2= new Image (187,53)
	Image2.src = "images/probs_but.gif"
	Image3= new Image(108,30)
	Image3.src = "images/diy_butd.gif"
	Image4= new Image(138,27)
	Image4.src = "images/get_art_butd.gif"
	Image5= new Image(158,30)
	Image5.src = "images/contacts_butd.gif"
}

function swap (place) {
	if (place==1) document.gen.src="images/gen_butd.gif";
	if (place==2) document.gen.src="images/gen_but.gif";
	if (place==3) document.probs.src="images/probs_butd.gif";
	if (place==4) document.probs.src="images/probs_but.gif";
	if (place==5) document.diy.src="images/diy_butd.gif";
	if (place==6) document.diy.src="images/diy_but.gif";
	if (place==7) document.go.src="images/get_art_butd.gif";
	if (place==8) document.go.src="images/get_art_but.gif";
	if (place==9) document.contacts.src="images/contacts_butd.gif";
	if (place==10) document.contacts.src="images/contacts_but.gif";
}

function list_articles(inForm) {

	document.faq_form.articles.options.length = 0; //clear contents of first drop down menu
	faq_articles = document.faq_form.category.selectedIndex
//	alert (faq_articles);

// Set default options...
	var num_of_opts = 0		// reset count for articles list
	option0 = new Option("Select an article, then click 'Get Article'...")
	option1 = new Option("")

	switch (faq_articles){
		// set options for the list depending on topic choosen...
		case 0:					// nothing to list!
		   option2 = new Option("Select topic above....", "#")
			num_of_opts = 3
			break;
		case 1:					// bodywork
		   option2 = new Option("*Leaks", "error.html")
		   option3 = new Option("*- Boot", "error.html")
		   option4 = new Option("*- Door Mirror", "error.html")
		   option5 = new Option("*- Windows", "error.html")
		   option6 = new Option("*Windows", "error.html")
		   option7 = new Option("*- Broken Window Stops", "error.html")
			num_of_opts = 8
			break;
		case 2:					// engine
			option2 = new Option("*Problems Starting Engine", "error.html")
			option3 = new Option("*Cooling System", "error.html")
			option4 = new Option("*- Coolant Loss", "error.html")
			option5 = new Option("*- Leaking Expansion Tank Cap", "error.html")
			num_of_opts = 6
			break;
		case 3:					// gearbox
			option2 = new Option("Reverse Gear Selection", "probs/gearbox/gearbox.html")
			num_of_opts = 3
			break;
		case 4:					// lights
			option2 = new Option("TF Headlight Converters", "probs/tf_headlights/tf_headlights.html")
			num_of_opts = 3
			break;
		case 5:					// rattles/squeaks
			option2 = new Option("Rattles/Squeaks", "probs/rattles_squeaks/rattles.html")
			option3 = new Option("- Engine", "probs/rattles_squeaks/rattles.html#engine")
			option4 = new Option("- Exhaust", "probs/rattles_squeaks/rattles.html#exhaust")
			option5 = new Option("- Hood Catch(es)", "probs/rattles_squeaks/rattles.html#hood_catch")
			option6 = new Option("- Sun Visors", "probs/rattles_squeaks/rattles.html#sun_visors")
			option7 = new Option("- Rear Window Zip", "probs/rattles_squeaks/rattles.html#window_zip")
			num_of_opts = 8
			break;
		case 6:					// suspension
			option2 = new Option("*Poor Handling", "error.html")
			option3 = new Option("*Uneven Tyre Wear", "error.html")
			num_of_opts = 4
			break;
	}
	// Create the list...
	for (var i=0; i < num_of_opts; i++) {
		eval("inForm.articles.options[i]=option" + i)
		if (i==0) {
			inForm.articles.options[i].selected=true
		}
	}
}

function go(){

	isValArt = document.faq_form.articles.options[document.faq_form.articles.selectedIndex].value;

	if (isValArt > ""){
		document.location = document.faq_form.articles.options[document.faq_form.articles.selectedIndex].value;
	}
	else {
		alert("That was not an article - Try Again...");
	}
}