if(typeof window.dianshangji_cdr=="undefined")window.dianshangji_cdr={debug_:!1,debug:function(a){this.debug_&&console.debug(a)},sendRequest:function(a,b){var d=this;d.debug("sendRequest "+a);chrome.extension.sendRequest(a,function(c){try{d.debug("responseText "+c),typeof c=="undefined"&&(c=null),b(c)}catch(e){d.debug("cdr exception: "+e+", requestUrl = "+a)}})},getTabUrl:function(a){chrome.tabs.query({active:!0,windowId:chrome.windows.WINDOW_ID_CURRENT},function(b){b=b[0];a({url:b.url,title:b.title})})}};
