js/mktree/mktree.js
function setDefault(name,val) {
	if (typeof(window[name])=="undefined" || window[name]==null) {
		window[name]=val;
	}
}
function setDefault(name,val) {
	if (typeof(window[name])=="undefined" || window[name]==null) {
		window[name]=val;
	}
}
function setDefault ( name , val ) { if ( typeof ( window [ name ] ) == "undefined" || window [ name ] == null ) { window [ name ] = val ; } }
utility function to set a global variable if it is not already set
utility function to set a global variable if it is not already set