function resetVenue(o) {
	tmp=o.options[o.selectedIndex].text;
	tmp2=MM_findObj("venue").value;
	tmp=tmp.substr(0,3).toLowerCase();

	o=MM_findObj("reception_venueRow");
	if (o.style) o=o.style;
	o.display="none";

	showVal="";
	
	switch (tmp) {
		case "wed" : {
			MM_findObj("venue").value="wedding venue";
			MM_findObj("reception_venue").value="reception / function venue";

			o=MM_findObj("venueRow");
			if (o.style) o=o.style;
			o.display=showVal;

			o=MM_findObj("reception_venueRow");
			if (o.style) o=o.style;
			o.display=showVal;
			break;
		}
		case "sch" : {
			MM_findObj("venue").value="school name";
			MM_findObj("reception_venue").value="";

			o=MM_findObj("venueRow");
			if (o.style) o=o.style;
			o.display=showVal;

			break;
		}
		case "pho" : {
			MM_findObj("venue").value="";
			MM_findObj("reception_venue").value="";

			o=MM_findObj("venueRow");
			if (o.style) o=o.style;
			o.display="none";

			break;
		}
		
		case "lan" : {
			MM_findObj("venue").value="";
			MM_findObj("reception_venue").value="";
		
			o=MM_findObj("venueRow");
			if (o.style) o=o.style;
			o.display="none";
			
			break;
		}

		case "sto" : {
			MM_findObj("venue").value="";
			MM_findObj("reception_venue").value="";
		
			o=MM_findObj("venueRow");
			if (o.style) o=o.style;
			o.display="none";
			
			break;
		}
		default : {
			MM_findObj("venue").value="venue";
			MM_findObj("reception_venue").value="";
			
			o=MM_findObj("venueRow");
			if (o.style) o=o.style;
			o.display=showVal;

		}
	}
}
