anchor.diff:  	});
   	
   	function showConfirmDeleteHelper(deleteButton, event){
  -		var msgs = {
  -					saved: "<h:outputText value="#{msgs.saved}"/>",
  -					error: "<h:outputText value="#{msgs.error}"/>",
  -					bar_delete: "<h:outputText value="#{msgs.bar_delete}"/>",
  -					bar_cancel: "<h:outputText value="#{msgs.bar_cancel}"/>",
  -					confirmDelete: "<h:outputText value="#{msgs.confirmDelete}"/>",
  -					deleteItemTitle: "<h:outputText value="#{msgs.deleteItemTitle}"/>"
  -					};
   		showConfirmDelete(deleteButton, msgs, event);
   	}
   	
   	function showConfirmDeleteAttachmentHelper(deleteButton, event){
  -		var msgs = {
  -					saved: "<h:outputText value="#{msgs.saved}"/>",
  -					error: "<h:outputText value="#{msgs.error}"/>",
  -					bar_delete: "<h:outputText value="#{msgs.bar_delete}"/>",
  -					bar_cancel: "<h:outputText value="#{msgs.bar_cancel}"/>",
  -					confirmDelete: "<h:outputText value="#{msgs.confirmDelete}"/>",
  -					deleteAttachmentTitle: "<h:outputText value="#{msgs.deleteAttachmentTitle}"/>"
  -					};
   		showConfirmDeleteAttachment(deleteButton, msgs, event);
   	}
   	
   	function showConfirmAddHelper(){
  -		var msgs = {
  -					saved: "<h:outputText value="#{msgs.saved}"/>",
  -					error: "<h:outputText value="#{msgs.error}"/>",
  -					bar_new: "<h:outputText value="#{msgs.bar_new}"/>",
  -					bar_cancel: "<h:outputText value="#{msgs.bar_cancel}"/>",
  -					syllabus_title: "<h:outputText value="#{msgs.syllabus_title}"/>",
  -					addItemTitle: "<h:outputText value="#{msgs.addItemTitle}"/>",
  -					required: "<h:outputText value="#{msgs.required}"/>"
  -					};
   		showConfirmAdd(msgs,'<%= org.sakaiproject.util.Web.escapeJavascript(thisId)%>');
   	}
   </script>
  
positive.code: 	}
  	
  	$(function() {
  		var msgs = {
  					syllabus_title: "<h:outputText value="#{msgs.syllabus_title}"/>",
  					clickToAddTitle: "<h:outputText value="#{msgs.clickToAddTitle}"/>",
  					startdatetitle: "<h:outputText value="#{msgs.startdatetitle}"/>",
  					clickToAddStartDate: "<h:outputText value="#{msgs.clickToAddStartDate}"/>",
  					enddatetitle: "<h:outputText value="#{msgs.enddatetitle}"/>",
  					clickToAddEndDate: "<h:outputText value="#{msgs.clickToAddEndDate}"/>",
  					clickToAddBody: "<h:outputText value="#{msgs.clickToAddBody}"/>",
  					saved: "<h:outputText value="#{msgs.saved}"/>",
  					error: "<h:outputText value="#{msgs.error}"/>",
  					required: "<h:outputText value="#{msgs.required}"/>",
  					startBeforeEndDate: "<h:outputText value="#{msgs.startBeforeEndDate}"/>",
  					calendarDatesNeeded: "<h:outputText value="#{msgs.calendarDatesNeeded}"/>",
  					clickToExpandAndCollapse: "<h:outputText value="#{msgs.clickToExpandAndCollapse}"/>"
  				};
  		setupAccordion('<%= org.sakaiproject.util.Web.escapeJavascript(thisId)%>',<h:outputText value="#{SyllabusTool.editAble == 'true' ? true : false}"/>, msgs, 
  							'<h:outputText value="#{SyllabusTool.openDataId}"/>');
  		if(<h:outputText value="#{SyllabusTool.editAble == 'true'}"/>){
  
negative.code: <sakai:stylesheet path="/syllabus/css/syllabus.css" />
  
  <script type="text/javascript">
  	var msgs;
  	// if redirected, just open in another window else
  	// open with size approx what actual print out will look like
  	function printFriendly(url) {
  