 	</cfloop>
 	<!--- INSERT --->
 	
-		<tr name="fileAccess">
+		<tr name="fileAccess" style="display:#access.file EQ 'local'?'':'none'#">
 			<td class="tblContent" nowrap><cfinput type="text" name="path_#arrayLen(access.file_access)+1#" value="" required="no" onclick="changeFileAccessVisibility('fileAccess')"  style="width:400px"></td>
 		</tr>
 	

<tr>
	<td ><cfmodule template="tp.cfm"  width="1" height="1"></td>
</tr>
<tr  name="fileAccess">
	<td colspan="5">#stText.Security.FileCustom#<br />
<span class="comment">#stText.Security.FileCustomDesc#</span></td>
</tr>
<tr name="fileAccess">
	<td width="350" class="tblHead" nowrap>#stText.Security.FilePath#</td>
</tr>

	<cfloop index="idx" from="1" to="#arrayLen(access.file_access)#">
		<tr name="fileAccess">
		<!--- path --->
			<td class="tblContent" nowrap><cfinput 
				type="text" name="path_#idx#" 

function changeFileAccessVisibility(name,field){
	var display=0;
	if(field){
		display=field.value!='local'?1:2;
	}
	var tds=document.all?document.getElementsByTagName('tr'):document.getElementsByName(name);
	var s=null;
	for(var i=0;i<tds.length;i++) {
