// Check if the user is disabling their own permissions.

function form_Check(inp1, inp2, inp3){

ans = true;

	if(!inp1 && inp2)

		ans = confirm('WARNING:\nIf you proceed you will be unable to edit or post to this section.\nDo you really want to do this? ');

		if(ans == false)

				SetValue(inp3); // If 'Cancel', reset the checkbox to 'checked'



}



// Reset value in the checkbox    

function SetValue(pFld){

  var btype=navigator.appName

  

  if( btype == "Microsoft Internet Explorer" )

    document.getElementById(pFld).setAttribute("checked",true);  // this works

  else 

    if( btype == "Netscape"||"Mozilla")

			document.getElementById(pFld).checked="true";

    else 

    	alert( "This seems to be: " + btype + "\nthe javascript probably won't work \nso you should re-check the box.");

   	

}



