function display (cat1, cat2) {
	var whichcat = document.getElementById(cat1);
	if (whichcat.className=="show") {
			whichcat.className="hide";
	} else {
		whichcat.className="show";
	  }
	 
	var selectcat = document.getElementById(cat2);
	if (selectcat.className=="appear") {
			selectcat.className="disappear";
	} else {
		selectcat.className="appear";
	}
}

function appear (cat1, cat2, cat3, cat4, cat5, cat6,cat7,cat8) {
	var whichcat = document.getElementById(cat1);
	if (whichcat.className=="show") {
			whichcat.className="hide";
	} else {
		whichcat.className="show";
	}
	
	var selectcat = document.getElementById(cat2);
	if (selectcat.className=="appear") {
			selectcat.className="disappear";
	} else {
		selectcat.className="appear";
	}
	
	var thirdcat = document.getElementById(cat3);
	if (thirdcat.className=="show") {
			thirdcat.className="hide";
	}
	
	var fourthcat = document.getElementById(cat4);
	if (fourthcat.className=="disappear") {
			fourthcat.className="appear";
	}
	
	var fifthcat = document.getElementById(cat5);
	if (fifthcat.className=="show") {
			fifthcat.className="hide";
	}
	
	var sixthcat = document.getElementById(cat6);
	if (sixthcat.className=="disappear") {
			sixthcat.className="appear";
	}
	
	var seventhcat = document.getElementById(cat7);
	if(seventhcat.className=="show"){
			seventhcat.className="hide";
	}
	
	var eightthcat = document.getElementById(cat8);
	if(eightthcat.className=="disappear"){
			eightthcat.className="appear";
	}
}

function clearSearch() {
			searchtext = document.topsearch.searchform.value;
			if (searchtext == 'Search Here') {
				document.topsearch.searchform.value = '';
			} else {
				null;
			}
}
