Microsoft VBScript runtime error '800a000d'

Type mismatch: 'createSubMenu'

/training_module_menu.asp, line 7