....
var strFirst = "First-Level"
var strSecond = "Second-level"
var strYes = "Yes-level"
var objTest={};
objTest[strFirst]={};
objTest[strFirst][strSecond] = function(){
alert("Second")
}
objTest[strFirst][strYes] = function(){
alert("Yes")
}
objTest[strFirst][strSecond]();
objTest[strFirst][strYes]();