anchor.diff:  	}
   	
   	$(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}"/>"
  -				};
  +		msgs = {
  +				syllabus_title: $("#messages #syllabus_title").html(),
  +				clickToAddTitle: $("#messages #clickToAddTitle").html(),
  +				startdatetitle: $("#messages #startdatetitle").html(),
  +				clickToAddStartDate: $("#messages #clickToAddStartDate").html(),
  +				clickToAddEndDate: $("#messages #clickToAddEndDate").html(),
  +				clickToAddBody: $("#messages #clickToAddBody").html(),
  +				saved: $("#messages #saved").html(),
  +				error: $("#messages #error").html(),
  +				required: $("#messages #required").html(),
  +				startBeforeEndDate: $("#messages #startBeforeEndDate").html(),
  +				calendarDatesNeeded: $("#messages #calendarDatesNeeded").html(),
  +				clickToExpandAndCollapse: $("#messages #clickToExpandAndCollapse").html(),
  +				bar_delete: $("#messages #bar_delete").html(),
  +				bar_cancel: $("#messages #bar_cancel").html(),
  +				confirmDelete: $("#messages #confirmDelete").html(),
  +				deleteItemTitle: $("#messages #deleteItemTitle").html(),
  +				deleteAttachmentTitle: $("#messages #deleteAttachmentTitle").html(),
  +				bar_new: $("#messages #bar_new").html(),
  +				addItemTitle: $("#messages #addItemTitle").html()
  +			};
   		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'}"/>){
  
positive.code: <sakai:stylesheet path="/syllabus/css/syllabus.css" />
  
  <script type="text/javascript">
  	// if redirected, just open in another window else
  	// open with size approx what actual print out will look like
  	function printFriendly(url) {
  
negative.code: 			</f:verbatim>
  
  		</h:form>
  		
  		<!-- This section is used for internationalization for JS files
  			This method is b/c of SAK-25424.  The original method was to use 
  			saved: "<h:outputText value="#{msgs.saved}"/>"
  			but that doesn't work for accent characters, hence this messages table below
  		 -->
  	
  		<f:verbatim>
  			<span id="messages" style="display:none">
  				<span id="syllabus_title"></f:verbatim><h:outputText value="#{msgs.syllabus_title}"/><f:verbatim></span>
  				<span id="clickToAddTitle"></f:verbatim><h:outputText value="#{msgs.clickToAddTitle}"/><f:verbatim></span>
  				<span id="startdatetitle"></f:verbatim><h:outputText value="#{msgs.startdatetitle}"/><f:verbatim></span>
  				<span id="clickToAddStartDate"></f:verbatim><h:outputText value="#{msgs.clickToAddStartDate}"/><f:verbatim></span>
  				<span id="clickToAddEndDate"></f:verbatim><h:outputText value="#{msgs.clickToAddEndDate}"/><f:verbatim></span>
  				<span id="clickToAddBody"></f:verbatim><h:outputText value="#{msgs.clickToAddBody}"/><f:verbatim></span>
  				<span id="saved"></f:verbatim><h:outputText value="#{msgs.saved}"/><f:verbatim></span>
  				<span id="error"></f:verbatim><h:outputText value="#{msgs.error}"/><f:verbatim></span>
  				<span id="required"></f:verbatim><h:outputText value="#{msgs.required}"/><f:verbatim></span>
  				<span id="startBeforeEndDate"></f:verbatim><h:outputText value="#{msgs.startBeforeEndDate}"/><f:verbatim></span>
  				<span id="calendarDatesNeeded"></f:verbatim><h:outputText value="#{msgs.calendarDatesNeeded}"/><f:verbatim></span>
  				<span id="clickToExpandAndCollapse"></f:verbatim><h:outputText value="#{msgs.clickToExpandAndCollapse}"/><f:verbatim></span>
  				<span id="bar_delete"></f:verbatim><h:outputText value="#{msgs.bar_delete}"/><f:verbatim></span>
  				<span id="bar_cancel"></f:verbatim><h:outputText value="#{msgs.bar_cancel}"/><f:verbatim></span>
  				<span id="confirmDelete"></f:verbatim><h:outputText value="#{msgs.confirmDelete}"/><f:verbatim></span>
  				<span id="deleteItemTitle"></f:verbatim><h:outputText value="#{msgs.deleteItemTitle}"/><f:verbatim></span>
  				<span id="deleteAttachmentTitle"></f:verbatim><h:outputText value="#{msgs.addItemTitle}"/><f:verbatim></span>
  				<span id="bar_new"></f:verbatim><h:outputText value="#{msgs.bar_new}"/><f:verbatim></span>
  				<span id="addItemTitle"></f:verbatim><h:outputText value="#{msgs.addItemTitle}"/><f:verbatim></span>
  			</span>
  		</f:verbatim>
  	</sakai:view_content>
  	</sakai:view_container>
  </f:view>
  