function validate() //yahoo map
{
x=document.map
adf=x.from_address.value
csz=x.from_location.value
street = "true"
if (adf == '')
	{
	alert("You must enter a Street Address")
	street = "false"
	}
if (csz == '')
	{
	alert("You must enter either a City, State or Zipcode")
	street = "false"
	}
if (street == 'false')
	{
	return false
	}
}
function check() //search the web
{
t=document.websearch
ws=t.web.value
if (ws == '')
	{
	alert("The Web Search field cannot be empty")
	return false
	}
}
function ensure() //search the site
{
v=document.sitesearch
ss=v.s_string.value
if (ss == '')
	{
	alert("The Site Search field cannot be empty")
	return false
	}
}
function arange() //Login
{
k=document.login
tbusr=k.tb_username.value
tbpwd=k.tb_password.value
access = "true"
if (tbusr == '')
	{
	alert("You must enter a valid Username")
	access = "false"
	}
if (tbpwd == '')
	{
	alert("You must enter a valid Password")
	access = "false"
	}
if (access == 'false')
	{
	return false
	}
}
function sectioninfo() //Name a section
{
l=document.nav
tbn=l.name.value
if (tbn == '')
	{
	alert("You must enter a Name for the Section")
	return false
	}
}
function move() //pages and subpage reordering
{
p=document.parent_child
pc=p.sections.value
if (pc == '')
	{
	alert("You must make a selection before submitting")
	return false
	}
}
function movement() //main navigation reordering
{
n=document.main
mn=n.sections.value
if (mn == '')
	{
	alert("You must make a selection before submitting")
	return false
	}
}
<!--
function confirmSubmit() //deleting something
{
var agree=confirm("Are you sure you wish to delete this page/draft? Once you click OK this action cannot be undone.");
if (agree)
	return true ;
else
	return false ;
}
// -->