

var hide;
var show;

function showMe(section) {

	if(document.getElementById(section))
	{
		for (i=0; i<gate.length; i++) {
			if(document.getElementById(gate[i]))
			{
				var hide = document.getElementById(gate[i]).style;
				hide.display = "none";
			}
		}
		show = document.getElementById(section).style;
		show.display = "block";
	}
}

/*FOR PRE-BUILD FORMS*/


var hideForm;
var showForm;

function showMeForm(section) {

	listcount = document.getElementById('count').value;

	for (i=1; i<=listcount; i++) {
		var hideForm = document.getElementById(i).style;
		hideForm.display = "none";
	}
	showForm = document.getElementById(section).style;
	showForm.display = "block";
}

function showMeSchedule(thisSched) {

	document.getElementById("usreleasepanel").style.display = "none";
	document.getElementById("twreleasepanel").style.display = "none";
	document.getElementById("hkreleasepanel").style.display = "none";

	showForm = document.getElementById(thisSched).style;
	showForm.display = "block";
}

function highLight(field)
{
	eval("document.x."+field+".focus();");
	eval("document.x."+field+".select();");
}