	function writeFlash(flashdata) 
	{ 
	document.write(flashdata); 
	}
	function InvokeAction(A)
	{
		document.forms[0].action += A;
		document.forms[0].submit();
	}

	function EditCustomer()
	{
		location.href = 'EditCustomer.asp';
	}

	function ViewCustomer()
	{
		location.href = 'ViewCustomer.asp';
	}

	function SetPassword()
	{
		location.href = 'SetPassword.asp';
	}

	function ViewDirectives(CategoryId)
	{
		location.href = 'ViewDirectives.asp' + (CategoryId != undefined ? '?CategoryId=' + CategoryId : '');
	}
	
	function ClearTextBox()
	{
		document.getElementByID('News').value = ""
	}