rem:  alert(document.iform.proto.selectedIndex); 
context: function proto_change() {	if (document.iform.proto.selectedIndex < 3) {		portsenabled = 1;	} else {		portsenabled = 0;	}	/* Disable OS knob if the proto is not TCP. */	if (document.iform.proto.selectedIndex < 1) {		document.forms[0].os.disabled = 0;	} else {		document.forms[0].os.disabled = 1;	}	if (document.iform.proto.selectedIndex == 3) {		document.iform.icmptype.disabled = 0;	} else {		document.iform.icmptype.disabled = 1;	}	ext_change();	if(document.iform.proto.selectedIndex == 3 || document.iform.proto.selectedIndex == 4) {		document.getElementById("icmpbox").style.display = '';	} else {		document.getElementById("icmpbox").style.display = 'none';	}	if(document.iform.proto.selectedIndex >= 0 && document.iform.proto.selectedIndex <= 2) {		document.getElementById("dprtr").style.display = '';		document.getElementById("showadvancedboxspr").innerHTML='<p><input type="button" onClick="show_source_port_range()" value="Advanced"></input> Show source port range</a>';	} else {		document.getElementById("sprtable").style.display = 'none';		document.getElementById("dprtr").style.display = 'none';	}	alert(document.iform.proto.selectedIndex);}
meta: 2691	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2691/5896157c59c62e4a1c21e02ee406b1010f4bb532/firewall_rules_edit.js/clean/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js