nType = oRoot.ClientType
By this property it is possible to conditionally run different algorithms in the application and in the Web browser. It is relevant only if the panel is used locally in the application and also for Web as Web panels (i.e. if the Web sharing is enabled in the Web server page).
if (1 == pMe.Root.ClientType)
//algorithm for local panel
else if (2 == pMe.Root.ClientType)
//algorithm for Web