function resWell()
{
	document.opt.site.selectedIndex = 0;
}

function valForm()
{

if(document.opt.site.options.selectedIndex == -1)
{
alert("You must select a well")
return false;
}

if(document.opt.when.selectedIndex == 0)
{
alert("Date must be selected in the First Date Box")
return false;
}

var choice = document.opt.site;
var wells = choice.options.length;
if(choice.options.selectedIndex == 0)
{
for(i=1; i<wells; i++)
{
if(choice.options[i].selected == true)
{
alert("You can not select 'All Sites' and individual wells at the same time")
return false;
}}
return true;
}}
