
function checkForm(form)
	{
	
  var MissingStuff = "";
  		
  if (form.on1.value == "")
		{
		MissingStuff = "       City, ST ZIP\n" + MissingStuff
		form.on1.focus();
		}
	
	if (form.os0.value == "")
		{
		MissingStuff = "       Address\n" + MissingStuff
		form.os0.focus();
		}
	
	if (form.on0.value == "")
		{
		MissingStuff = "       Firm Name\n" + MissingStuff
		form.on0.focus();
		}

	if (MissingStuff == "")
		{
	  return true ;
    }
  else
    {
    alert( "The following required item(s)\nhave not yet been filled in:\n\n" + MissingStuff + "\nPlease fill in all required items\nbefore clicking 'Buy Now'.");
    return false ;    
    }		
	}

window.onload = function()
	{
	var form1 = document.getElementById('DL');
	var form2 = document.getElementById('CD');
	form1.onsubmit = function()
		{
		return checkForm(form1)
		};
	form2.onsubmit = function()
		{
		return checkForm(form2);
		}
	}
