$(document).bind("pagebeforeshow",function(a){$("span.timeago").timeago();$(".subnav").hide();$(".TopicsLabel").html('Topic<span class="arrowU"></span>')});$(".Topics").live("change",function(a,b){if($(".subnav").is(":visible")){$(".subnav").hide();$(".TopicsLabel").html('Topic<span class="arrowU"></span>')}else{$(".subnav").show();$(".TopicsLabel").html('Topic<span class="arrowD"></span>')}return false});$(".comment").live("vclick",function(a,b){$.mobile.silentScroll($("#article").height()+20);return false});$(".adfooterclose").live("vclick",function(a,b){$(".adfooter").attr("data-position","inline");$(".adfooter").attr("style","top: 0x; ");$(".adfooter").removeClass("ui-footer-fixed fade ui-fixed-overlay");$(".adfooterclose").hide().trigger("updatelayout");return false});$(".morearticle").live("vclick",function(b){$.mobile.showPageLoadingMsg();var a=parseInt($(this).attr("pagenum"))+1;$(this).attr("pagenum",a);var c=$(this).closest(".placeholder").find(".ArticleList");$.ajax({type:"GET",url:"/ajax/mobilelist.php",data:"topic="+$.mobile.activePage.attr("id")+"&page="+a,cache:false,success:function(d){$.mobile.hidePageLoadingMsg();c.append(d);c.listview("refresh");$("span.timeago").timeago()}});return false});
