//ns.ModuleClass.method1=
function
()
{
////};
function
namespace(newns,oldns) {
var
arr =
oldns.split(
'.'
),i
= 0,method;
var
root =
newns;
for
(;
method= arr[i++];) {
if
(!split[method])
{
split[method]
= {};
}
root
= root[method];
}
}