//--------------------------------------------------------------
// Copyright (C) 2006 Michael Schwarz (http://www.ajaxpro.info).
// All rights reserved.
//--------------------------------------------------------------
// ms.js
var addNamespace = function(ns) {
var nsParts = ns.split(".");
var root = window;
for(var i=0; i