+ if {![info exists debug]} {
+ if {[lindex $sessionParms 1] == "1"} {
+ set debug 1
+ } else {
+ set debug 0
+ }
+ }
+ set html3 [lindex $sessionParms 0]
+ if {[string length $html3] == 0} {
+ if {![info exists env(HTTP_USER_AGENT)]} {
+ set html3 1
+ } elseif {[string first Mozilla $env(HTTP_USER_AGENT)] == 0} {
+ set html3 1
+ egw_log debug "New user using Netscape"
+ } else {
+ set html3 0
+ egw_log debug "New user Not using Netscape"
+ }
+ }