#LOCAL("RequestProtocolAndServer", "")#IF(#INPUT.SERVER_PORT_SECURE)#SET("RequestProtocolAndServer", "https://".#INPUT.HTTP_HOST)#ENDIF #IF(#System.JSDebugLevel == 0 AND NOT(#DEFINED(#INPUT.Debug)) OR (#DEFINED(#INPUT.Debug) AND #INPUT.Debug == 0)) #ELSIF(#System.JSDebugLevel == 1 AND NOT(#DEFINED(#INPUT.Debug)) OR (#DEFINED(#INPUT.Debug) AND #INPUT.Debug == 1)) #ELSE #ENDIF #ENDLOCAL