//
//
//
function addressesEdit(tB)
{
document.addressEdit.aid.value = tB;
document.addressEdit.submit();
}
//
//
//
function glossaryChg(tB)
{
document.glossaryOpts.chgChar.value = tB;
document.glossaryOpts.submit();
}
//
//
//
function staffBio(tB)
{
document.staffBiosResults.b.value = tB;
document.staffBiosResults.submit();
}
//
//
//
function staffBioAlpha(tB)
{
document.staffBios.strAlphabet.value = tB;
document.staffBios.submit();
}
//
//
//
function OfficeSelect(t)
{
document.offices.o.value = t;
document.offices.submit();
}
//
//
//
function articles(tB)
{
document.articlesForm.a.value = tB;
document.articlesForm.submit();
}
//
//
//
function articlearchive(tB)
{
document.articlesarchiveForm.d.value = tB;
document.articlesarchiveForm.submit();
}
//
//
//
function viewanswer(tB)
{
document.viewanswerForm.z.value = tB;
document.viewanswerForm.submit();
}
//
//
//
function download(tD)
{
document.downloadForm.d.value = tD;
document.downloadForm.submit();
}
//
//
//
function event(tE)
{
document.eventForm.e.value = tE;
document.eventForm.submit();
}
//
//
//
function bookmark(title,url)
{
  if (window.sidebar)
	{ // Mozilla Firefox Bookmark
    window.sidebar.addPanel(title, url,"");
  }
	else if( window.external )
	{ // IE Favorite
    window.external.AddFavorite( url, title);
	}
  else if(window.opera && window.print)
	{ // Opera Hotlist
    return true;
	}
}
//
// Send Email To Friend(s)
//
function emailafriend(URLNAME,LANGCODE,MODID)
{
  URL = "/email/?p="+URLNAME+"&l="+LANGCODE+"&mI="+MODID;
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=778,height=320,left = 451,top = 225');");
}
//
// Change Font
//
function changefont(URLNAME,LANGCODE,SIZE)
{
  URL = "/fontchg/?p="+URLNAME+"&l="+LANGCODE+"&s="+SIZE;
	window.location = URL;
}
//
//
//
function printpage(URLNAME,LANGCODE,MODID)
{
  URL = "/print/?p="+URLNAME+"&l="+LANGCODE+"&mI="+MODID;
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=778,height=600,left = 451,top = 225');");
}
