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_butd.gif"
	Image4= new Image(138,27)
	Image4.src = "images/get_art_butd.gif"
	Image5= new Image(158,30)
	Image5.src = "images/contacts_but.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:					// mg clubs
		   option2 = new Option("*MGCC", "error.html")
			num_of_opts = 3
			break;
		case 2:					// specialists
			option2 = new Option("*Brown and Gammons", "error.html")
		   option3 = new Option("*Mike Satur", "error.html")
			num_of_opts = 4
			break;
		case 3:					// websites
			option2 = new Option("*MG Clubs/Organisations", "error.html")
			option3 = new Option("*- MGCC", "error.html")
			option4 = new Option("*- MG Enthusiasts Club", "error.html")
			option5 = new Option("*Personal Websites", "error.html")
			num_of_opts = 6
			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...");
	}
}