jQuery.template("Tmpl-get-link-dialog",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div id="get-link-dialog" title="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/get-link-dialog.htm","Quick share"))),__.push('">     <div>         '),typeof message!="undefined"&&message!=null&&(typeof message=="function"?message.call($item):message)&&(__.push('         <label class="warning-message">'),typeof message!="undefined"&&message!=null&&__.push($.encode(typeof message=="function"?message.call($item):message)),__.push("<\/label>         ")),__.push('         <label for="link-to-share">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/get-link-dialog.htm","Link to share"))),__.push('<\/label>         <input type="text" value="'),typeof url!="undefined"&&url!=null&&__.push($.encode(typeof url=="function"?url.call($item):url)),__.push('" id="link-to-share" />         '),typeof isPrivateLink!="undefined"&&isPrivateLink!=null&&(typeof isPrivateLink=="function"?isPrivateLink.call($item):isPrivateLink)&&(__.push('         <div id="dialog-warning-message">             <span class="get-private-link-dialog">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/get-link-dialog.htm","This page is private. Anyone would be able to view it having a link above."))),__.push("<\/span>         <\/div>         ")),__.push("     <\/div> <\/div>");return __});jQuery.template("Tmpl-send-link-dialog",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div id="send-link-dialog" title="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/send-link-dialog.htm","Send Link"))),__.push('" class="form">   <label for="send-link-to">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/send-link-dialog.htm","To:"))),__.push('<\/label>   <div id="send-link-to" contenteditable="true">'),typeof to!="undefined"&&to!=null&&__.push($.encode(typeof to=="function"?to.call($item):to)),__.push('<\/div>   <label for="send-link-cc">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/send-link-dialog.htm","Cc:"))),__.push('<\/label>   <div id="send-link-cc" contenteditable="true">'),typeof cc!="undefined"&&cc!=null&&__.push($.encode(typeof cc=="function"?cc.call($item):cc)),__.push('<\/div>   <label for="send-link-subject">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/send-link-dialog.htm","Subject:"))),__.push('<\/label>   <input type="text" id="send-link-subject" value="'),typeof subject!="undefined"&&subject!=null&&__.push($.encode(typeof subject=="function"?subject.call($item):subject)),__.push('" />   <label for="send-link-message">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/send-link-dialog.htm","Message:"))),__.push('<\/label>   <textarea id="send-link-message" rows="10">'),typeof message!="undefined"&&message!=null&&__.push($.encode(typeof message=="function"?message.call($item):message)),__.push('<\/textarea>   <div class="error-message"><\/div>  <\/div>');return __})