/* ================================================================================
Name     	: submitForm
Versions 	: 1.0 Salcescu Cristian
Description : Submit form using diffrent actions' modes
In 			: string as the action mode
Examples    :
			- submitForm('?mode=d')			  
Remarks     :
            - work only with form named 'form1'			
  ================================================================================ */
function submitForm(strAction)
{
    var objForm;
    var browserName = new String(navigator.appName);
	if (browserName == "Netscape")
	{
		objForm = document.form1;
	}
	else
	{
		objForm = document.all.form1;
	}
	
	objForm.action = strAction;
	objForm.submit();   
}
/* ================================================================================
Name     	: resetForm
Versions 	: 1.0 Salcescu Cristian
Description : Reset form
Remarks     :
            - work only with form named 'form1'			
  ================================================================================ */
function resetForm()
{
    var objForm;
    var browserName = new String(navigator.appName);
	if (browserName == "Netscape")
	{
		objForm = document.form1;
	}
	else
	{
		objForm = document.all.form1;
	}

	objForm.reset();   
}