<?xml version="1.0" encoding="UTF-8" ?>
<!--
/**********************************************************************************
 * $URL: https://source.sakaiproject.org/svn/rwiki/tags/sakai_2-3-1/rwiki-tool/tool/src/webapp/WEB-INF/command-pages/header.jsp $
 * $Id: header.jsp 9108 2006-05-08 14:30:57Z ian@caret.cam.ac.uk $
 ***********************************************************************************
 *
 * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
 *
 * Licensed under the Educational Community License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.opensource.org/licenses/ecl1.php
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 **********************************************************************************/
-->
<jsph:root xmlns:jsph="http://java.sun.com/JSP/Page" version="2.0" 
  xmlns:ch="http://java.sun.com/jsp/jstl/core"
  >
  <jsph:directive.page language="java"
    contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"/>
  <jsph:scriptlet>
  	String hss = (String)request.getAttribute("headerScriptSource");
  	if ( hss != null &amp;&amp; hss.trim().length() &gt; 0 ) {
  </jsph:scriptlet>
  <script  type="text/javascript" src="${requestScope.headerScriptSource}"> <!-- don't reduce this! --></script>
  <jsph:scriptlet>
  	}
  </jsph:scriptlet>
<script type="text/javascript" >
var placementid = "Main<jsph:expression>request.getAttribute("sakai.tool.placement.id").toString().replace('-','x')</jsph:expression>";
</script>  
</jsph:root>
