// This javascript allows you to submit a form using a link. Use this html:
// 1) name="linkform" in the <form> tag
// 2) href="javascript:linkform('#')" in the link, where # is the value (multiple links are supported)
// 3) <input type="hidden" name="linktype" />
// http://www.thesitewizard.com/archive/textsubmit.shtml

function linkform(selectedtype) {
	document.linkform.linktype.value=selectedtype;
	document.linkform.submit();
}
