一時停止リンクをクリックすると、プラグイン内の関数を呼び出す必要がある jQuery プラグインを開発しています。私のコードはこのようなものです
$("#pauseAnimation").click(function () { $.fn.cjImageVideoPreviewer().pauseAnimation(); })
呼び出される関数はこれです
(function ($) {
$.fn.cjImageVideoPreviewer = function (options) {
    var settings = {
        // user editable settings
        images: [],
        delay: 1000,
        autoPlay: false,
        showProgress: false
    };
    var sys = {
        // function parameters
        version: '1.0.2',
        elem: null,
        idx: 1,
        timer: null,
        loaded: 0,
        mouseX: null,
        mouseY: null,
        state: false
    };
    /*
        handle transitions
    ***************************************/
    function clearTimer() {
        if (sys.timer !== null) {
            window.clearTimeout(sys.timer);
            sys.timer = null;
        }
    }
    // reset everything
    function stopAnimation() {
        if (sys.state) {
            clearTimer();
            sys.idx = 0;
            sys.state = false;
            // show the first image
            $(sys.elem).find("div.cjImageVideoPreviewer img:first").css({
                "display": "block"
            });
            // hide all the other images
            $(sys.elem).find("div.cjImageVideoPreviewer img:not(:first)").css({
                "display": "none"
            });
        }
    }
    // pause
    function pauseAnimation() {
        if (sys.state) {
            clearTimer();
            sys.idx = 0;
            sys.state = false;
        }
    }
リンクをクリックするとエラーが発生します
Microsoft JScript ランタイム エラー: オブジェクトはこのプロパティまたはメソッドをサポートしていません。