'+l+"<\/span>
"+c+"<\/div>")}n==0&&$(".pagination").pagination({items:e,cssStyle:"compact-theme",currentPage:n,itemsOnPage:t,prevText:"Prev",nextText:"Next",displayedPages:5,edges:3,onPageClick:pageselectCallback15})}})}function pageselectCallback15(n){return getFeedbacks(n,maxFeedbacks),!1}function AddNewFeedback(){var n=tinyMCE.get("FComments").getContent(),r=tinyMCE.get("FComments").getContent({format:"text"}),t,i;if(n==""||n.length<5){alert("Please enter comments!");return}t="3";$("input.star").each(function(){this.checked&&(t=this.value)});i={param1:"1111114",param2:"",param3:n,param4:r,param5:"11",param6:t};$.ajax({url:"/api/SystemAPI/AddNewFeedback",type:"POST",data:JSON.stringify(i,jasonReplacer),dataType:"json",contentType:"application/json; charset=utf-8",success:function(n){n&&location.reload()}})}var maxFeedbacks=20;$(document).ready(function(){getFeedbacks(0,maxFeedbacks);setTimeout(function(){$.runGeneralTextEditor({selector:"#FComments",popupdivname:"divAddImages9",language:"",insertimagetitle:"Insert Image",readonly:1,height:120,url:"/api/SystemAPI/RetrieveFilesNotInAlbumAll",AlbumID:"0",prePage:"Prev",nexPage:"Next"})},3e3)})