function assignOrg(theForm)
{
   theForm.org_save.value = theForm.orgName.value;
   
   if (theForm.orgName.value == "" || theForm.orgName.value.charAt(0) == " ")
   {
      alert("Organization Name is a required field.");
	  theForm.orgName.focus();
	  theForm.orgName.select();
	  return false;
   }
   
   if (theForm.orgName.value.length > 50)
   {
      alert("Please enter at most 50 characters in \"Organization Name\" field.");
	  theForm.orgName.focus();
	  theForm.orgName.select();
	  return false;
   }
   
   theForm.submit();
   
   return true;
}

function assignTopic(theForm)
{
	theForm.subject_save.value = theForm.subjectList.options[theForm.subjectList.selectedIndex].value;
}

function assignCatetory(theForm)
{
	theForm.category_save.value = theForm.categoryList.options[theForm.categoryList.selectedIndex].value;
}

function initLoad()
{
   document.guide_searchByOrg.orgName.focus();
}

function assignLanguage(theForm)
{
	theForm.lang_save.value = theForm.langList.options[theForm.langList.selectedIndex].value;
}

function assignDept(theForm)
{
	theForm.dept_save.value = theForm.deptList.options[theForm.deptList.selectedIndex].value;
}

function assignCategoryDept(theForm)
{
	theForm.category_save.value = theForm.categoryList.options[theForm.categoryList.selectedIndex].value;
	theForm.dept_save.value = theForm.deptList.options[theForm.deptList.selectedIndex].value;
}