function ValidateForm(i)
{
	var textValue = "";
	var newValue = "";
	var j = 0;
	var theForm = document.getElementById(i);

	for(j; j < theForm.elements.length; j++)
	{
		textValue = theForm.elements[j].value;
			
		var strReplaceAll = textValue;
		var intIndexOfMatch = strReplaceAll.indexOf( ")" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( ")", "" )
			intIndexOfMatch = strReplaceAll.indexOf( ")" );
		}
		textValue = strReplaceAll
		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( "'" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( "'", "" )
			intIndexOfMatch = strReplaceAll.indexOf( "'" );
		}
		textValue = strReplaceAll;
		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( "\"" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( "\"", "" )
			intIndexOfMatch = strReplaceAll.indexOf( "\"" );
		}
		textValue = strReplaceAll
		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( "(" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( "(", "" )
			intIndexOfMatch = strReplaceAll.indexOf( "(" );
		}
		textValue = strReplaceAll;
		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( ";" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( ";", "" )
			intIndexOfMatch = strReplaceAll.indexOf( ";" );
		}
		textValue = strReplaceAll;	
		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( "-" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( "-", "" )
			intIndexOfMatch = strReplaceAll.indexOf( "-" );
		}
		textValue = strReplaceAll;

		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( "<" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( "<", "" )
			intIndexOfMatch = strReplaceAll.indexOf( "<" );
		}
		textValue = strReplaceAll;

		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( ">" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( ">", "" )
			intIndexOfMatch = strReplaceAll.indexOf( ">" );
		}
		textValue = strReplaceAll;

		strReplaceAll = textValue;
		intIndexOfMatch = strReplaceAll.indexOf( "|" );
		while (intIndexOfMatch != -1){
			strReplaceAll = strReplaceAll.replace( "|", "" )
			intIndexOfMatch = strReplaceAll.indexOf( "|" );
		}
		textValue = strReplaceAll;
		theForm.elements[j].value = textValue;
		}
}