Convert String var to function()?

Is there some way to convert a dynamically loaded variable to a function name?

Something along the lines of:

for (i=1; i<menuArray.length; i++) {
    var menuSelect = menuArray*+"Open";
    menuSelect = function () {
    ////do something here.../// 

[FONT=Courier New][/FONT]

Basically I have a variablethat stores a string from an Array, and I want that string to then be used as a function name… I’m not sure if this is possible, but I can’t seem to get it to work.