define([],function(){$("#wen").delegate(".ll","click",function(){function b(b,c){a||typeof c.toPage!="string"&&$.ajax({type:"get",url:"json/"+i+".json",dataType:"json",success:function(b){$("#give").setTemplateURL("template/jt1.html"),$("#give").processTemplate(b),a=!0}})}page="link2.html",i=this.id,$.mobile.changePage(page,{transition:"slide"});var a=!1;$(document).delegate("#detailsPage","pageinit",b)})})