Patent ID: 8387008

Claim:
A method of using a function of which a definition is described in anyone of a plurality of contents associated with a plurality of frames having a parent-child relationship, the method comprising the steps of: when an execution request for a predetermined function occurs when a content associated with a certain frame is executed, searching in the content for a definition of the function for which execution is requested; when the definition of the function is not found in the content, searching for the definition of the function until the definition of the function is found in a content associated with a parent frame of the frame associated with the definition has not been found; and when the definition of the function is found, executing predetermined processing based on the found definition of the function, wherein: the content includes a program described in a script language; the definition of the function is described in the program; a function execution function, which takes a function name of a function to be executed and an argument thereof as arguments, is executed so as to search for the function to be executed and execute the function; and the function execution function is a function which searches for a definition of a function based on the function name specified as an argument, and executes the function to be executed with an argument according to the found definition of the function.