function preLoad() {
	Image1= new Image (131,41)
	Image1.src = "images/gen_butd.gif"
	Image2= new Image (187,53)
	Image2.src = "images/probs_butd.gif"
	Image3= new Image(108,30)
	Image3.src = "images/diy_but.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("Replacing Broken Window Stops", "diy/bodywork/windows/window_stops_diy.html")
			num_of_opts = 3
			break;
		case 2:					// electrics
			option2 = new Option("*Exterior Lights", "error.html")
		   option3 = new Option("*- Remove Indicator Lenses", "error.html")
			num_of_opts = 4
			break;
		case 3:					// engine
			option2 = new Option("How To...", "")
			option3 = new Option("- Check Coolant", "diy/engine/coolant/level.html")
			option4 = new Option("- Fit A Catalyst Bypass-Tube", "diy/engine/catbypass/catbypass.html")
			option5 = new Option("- Fit A K&N 57i Induction Kit", "diy/engine/kn_filter/kn_filter.html")
			option6 = new Option("- Fit New HT Leads", "diy/engine/ht_leads/ht_leads.html")
			option7 = new Option("- Open Engine Compartment", "diy/engine/access/engine.html")
			option8 = new Option("- Replace Spark Plugs", "diy/engine/plugs/plugs.html")
			num_of_opts = 9
			break;
		case 4:					// exterior
			option2 = new Option("How to remove...", "")
			option3 = new Option("- Hood", "diy/exterior/hood/hood.html")
			num_of_opts = 4
			break;
		case 5:					// interior
			option2 = new Option("How to remove...", "")
			option3 = new Option("- Seat(s)", "diy/interior/seats/seats.html")
			option4 = new Option("- T-Bar", "diy/interior/tbar/tbar.html")
			option5 = new Option("", "") //BLANK LINE
			option6 = new Option("Fixing Rattles/Squeaks...", "")
			option7 = new Option("- Sun Visors", "diy/interior/sun_visors/sun_visors.html")
			num_of_opts = 8
			break;
		case 6:					// suspension
			option2 = new Option("How To Check Ride Height", "diy/suspension/ride_height/ride.html")
			num_of_opts = 3
			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...");
	}
}