loads menu data from an XML string and calls onLoadFunction when loading is done
new usage
myToolbar.loadStruct (xmlString, function (){});
deprecated from version 4.0