ComCore.Queuer.add(function(){debug("profile.photos.one.js");var D,C;var B=$("photoAjaxNav");if(B&&(B.value==="YES")){C=new ComCore.Controls.Comments("commentsWrapper");try{D=new ComCore.PhotoScroller.Controller(C)}catch(A){}C.observe("onCommentFormSubmitCallBack",function(){if(D){D.notify("onCommentFormSubmitCallBack")}})}else{C=new ComCore.Controls.Comments("commentsWrapper")}if($("photoNote")&&($("photoAjaxNav").value!=="YES")){ComCore.photoNoteManager=new PhotoNoteManager("photoNote",$("hasNotes").value==="YES")}});