@staticmethod
def make_show_page_link(page_id, sub_page, text):
    """
        Prepares a link to call the JavaScript method "showSubPage"

        :param page_id: ID of the page to show
        :param sub_page: Sub-URL of the page to show
        :param text: Link text
        :return: The link string
        """
    return (
        '<a href="javascript:GlobalPagesIDs[\'{0}\'].showSubPage(\'{1}\')">{2}</a>'
        .format(page_id, sub_page, text))
