function AddFile(addFileId)
{
	GetById(addFileId).click();
}

function ViewFile(fileListId)
{
	var sDoc = GetById(fileListId).value;
	if(IsNotEmpty(sDoc)) window.open(sDoc, "AttachedFile", "location = yes, menubar = no, resizable = yes,scrollbars = yes, status = no, titlebar = no, toolbar = no");
}
