$(document).ready(function()
{

	$("#left_text").cycle({
		fx: 'scrollVert',
		timeout: 0,
		next: '#scroll_up',
		prev: '#scroll_down',
		cleartype:  true,
		cleartypeNoBg:  true
	});
	
	$("#right_image").cycle({
		fx: 'scrollVert',
		timeout: 10000,
		next: '#show_next',
		prev: '#show_prev',
		cleartype:  true,
		cleartypeNoBg:  true,
		pause: 0
	});
	
	
	 var options_twiddle = {
    /* this array must be a subset of the columns that are "send to iPhone"  */
    /* cc_pos is a virtual column. It doesn't exist in cocoslive, but it is simulated in the widget */
    'columns' : [ 'cc_pos', 'cc_playername', 'usr_level', 'cc_score', 'usr_time', 'cc_country'],

    /* Name of the columns. Display it in your onw language */
    'columnsNames' : ['Pos', 'Player Name', 'Level', 'Score', 'Time', 'Country'],

    /* 0 = All scores, 1 = Scores by Country */
    'flags' : 0,

    /* how many scores must be displayed per page ? */
    'limit' : 50,

    /* starting from what score. leave it in 0 */
    'offset' : 0,

    /* What's the default category ? */
    'category' : '',

    /* Game Name, as it is in CocosLive */
    'gameName' : "Twiddle",

    /* Title of the table. If title='' then the title won't be displayed */
    'title' : 'Twiddle Best Scores', // this is optional

    /* if the game has categories, put the categories here */
    /* these categories MUST match with the same that are registered in cocosLive */
    /* If you don't want categories, set it as an empty array */
    // var categories = [];
    'categories' : []
  };
  
	cocosLiveRequestScores( "cocoslive-scores-twiddle", options_twiddle);
	

});