			jQ(function(){
				if(typeof(tw_scroller_username) == 'undefined' || !tw_scroller_username)
				{
					jQ("#twitter_scroller_header");
					jQ("#twitter_scroller_mask > #twitter_scroller_list").append("<li>Configure Twitter Scroller</li>");
					return;
				}
				if(typeof(tw_scroller_count) == "undefined" || !tw_scroller_count)
				{
					tw_scroller_count = 10;
				}
				if (jQ("#twitter_scroller_uname").length) {
					jQ("#twitter_scroller_uname").text(tw_scroller_username);
				}
				else {
					jQ("#twitter_scroller_header").append('<div id="twitter_scroller_uname">' + tw_scroller_username + '</div>');
				}
				ONAPI.request({
					data: {module:"twitter", action:"get", user_id:userId, username:tw_scroller_username, count: tw_scroller_count, wrap: "li", elem: "twitter_post"},
					callback: function(data) {
						jQ("#twitter_scroller_mask > #twitter_scroller_list").empty().append(data);
						jQ("#twitter_scroller_wrapper #twitter_scroller_controls .scroller_button").bind('mousedown', function(evt) {
							var id = this.id.split('_')[1],
							height = jQ("#twitter_scroller_mask").height(),
							listHeight = jQ("#twitter_scroller_mask > #twitter_scroller_list").height(),
							$list = jQ('#twitter_scroller_list');
							var param = (id == "up") ? {top:"+="+(height-10)} : {top:"-="+(height-10)};
							var location = parseInt($list.css('top'));
							if(id=="up") {
								//console.log("Location -> "+location);
								if (location < 0) {
									$list.animate({
										top: "+=" + (height-10)
									}, 200, "linear", function(){
										//console.log(parseInt($list.css('top')));
									});
								}				
							} else if(id=="down") {
								var scrollCheck = location - (height-10);
								if (scrollCheck > -listHeight) {
									$list.animate({
										top: "-=" + (height - 10)
									}, 200, "linear", function(){
										//console.log(parseInt($list.css('top')));
									});
								}
							}

						}).bind('mouseup', function(){
							
						});
					},
					error:function(data) {
						//alert(data.error_message);	
					}	
				});
			});
