function submitForm(strAction){

	/*<XML>
		<NAME>submitForm</NAME>
		<PAGE>ecrm.js</PAGE>
		<DESCRIPTION>submits a form with a specific value for action, on the querystring</DESCRIPTION>
		<PARAMETERS>
			<PARAMETER>
				<NAME>strAction</NAME>
				<DESCRIPTION>String. The value to set the querystring to.</DESCRIPTION>
				</PARAMETER>
				</PARAMETERS>
			<RETURNVALUE>None</RETURNVALUE>
	</XML>
	*/
	document.forms[1].action = document.forms[0].action + "?action=" + strAction;
	document.forms[1].submit();

}
function formSubmit(strAction, strForm){

	/*<XML>
		<NAME>submitForm</NAME>
		<PAGE>ecrm.js</PAGE>
		<DESCRIPTION>submits a form with a specific value for action, on the querystring</DESCRIPTION>
		<PARAMETERS>
			<PARAMETER>
				<NAME>strAction</NAME>
				<DESCRIPTION>String. The value to set the querystring to.</DESCRIPTION>
				</PARAMETER>
				</PARAMETERS>
			<RETURNVALUE>None</RETURNVALUE>
	</XML>
	*/
	document.forms[strForm].action = document.forms[strForm].action + "?action=" + strAction;
	document.forms[strForm].submit();

}
function openProfile(szEmail){
		var surl = "viewprofile.asp?szEmail=" + szEmail;
		window.open(surl,"frmProfile","width=480px,height=250px,scrollbars=no");
	
}
