How to call onChange() function in the jquery plugin

How to call onChange() function in the jquery plugin

Hi,
I have a jquery pagination plug in in which I need to call the subject function, I have tried it as follows :
 
                <script src="js/jquery.paginate.js" type="text/javascript"></script>
                <script type="text/javascript">
                \$(function() {
                       
                        \$("#demo2").paginate({
                                count           : $pagenum,
                                start           : $current_page,
                                onChange        : function() {return true;}{
                                     \$('vieword2.pl?page=')};,
                                display         : 28,
                                border                  : false,
                                text_color              : '#888',
                                background_color        : '#EEE',      
                                text_hover_color        : 'black',
                                background_hover_color  : '#CFCFCF'
                        });
                        });
                </script>
 
But it does not work, here is the relevant code piece from the plugin:
 
 
        $.fn.paginate.defaults = {
count : 5,
start : 12,
display : 5,
border : true,
border_color : '#fff',
text_color : '#8cc59d',
background_color : 'black',
border_hover_color : '#fff',
text_hover_color : '#fff',
background_hover_color : '#fff',
rotate : true,
images : true,
mouse : 'slide',
onChange : function(){return true;}
};
 
The help on the web site says :

onChange : The callback function when clicking on a page. As argument the number of the page clicked can be used.                     

 

Here is the link to the website where I downloaded it from : http://tympanus.net/codrops/2009/11/17/jpaginate-a-fancy-jquery-pagination-plugin/

Please help,  

Many thanks !!
Tonya