<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:strip-space elements="*"/>
<xsl:output method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"/>
	<xsl:template match="SITEBUILDER-PAGE">
		<xsl:comment>
		 * FCKeditor - The text editor for internet
		 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
		 *
		 * Licensed under the terms of the GNU Lesser General Public License:
		 * 		http://www.opensource.org/licenses/lgpl-license.php
		 *
		 * For further information visit:
		 * 		http://www.fckeditor.net/
		 *
		 * "Support Open Source software. What about a donation today?"
		 *
		 * File Name: fckeditor.html
		 * 	Main page that holds the editor.
		 *
		 * File Authors:
		 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
		</xsl:comment>
		<html>
			<head>
				<title>FCKeditor</title>
				<meta name="robots" content="noindex, nofollow" />
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
				<script type="text/javascript" src="/wysiwyg/editor/lang/fcklanguagemanager.js?{$version}.{$build}"></script>
				<meta http-equiv="Cache-Control" content="public" />
				<script type="text/javascript" src="/wysiwyg/editor/js/fck_startup.js?{$version}.{$build}"></script>
			</head>
			<body>
				<script>
					function removeDisabler() {
						if (('undefined' == typeof(FCKToolbarSet)) || ('' == FCKToolbarSet)) {
							window.setTimeout('removeDisabler()', 100) ;
						} else if (('undefined' == typeof(FCK)) || ('' == FCK)) {
							window.setTimeout('removeDisabler()', 100) ;
						} else if (FCK.Status != FCK_STATUS_COMPLETE) {
							window.setTimeout('removeDisabler()', 100) ;
						} else {
							var disabler = document.getElementById('disabler');
							disabler.style.width  = "1px";
							disabler.style.height = "1px";
						}
					}
					window.setTimeout( 'removeDisabler()', 100 ) ;
				</script>
				<div id="disabler" style="width:100%;height:100%;text-align:center;position:absolute;left:0px;top:0px;z-index:1001;filter:alpha(opacity=40);background-color:white;-moz-opacity:0.40;cursor: default;"></div>
				<form name="SB_WysiwygForm" method="post" action="" enctype="multipart/form-data" style="margin: 0px;">
					<input type="hidden" name="npage" id="npage" value="" />
					<input type="hidden" name="content" id="content" value="" />
				</form>
				<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; height: 100%;">
					<tr>
						<td style="OVERFLOW: hidden">
							<table width="100%" cellpadding="0" cellspacing="0" border="0">
								<tr id="Collapsed" style="DISPLAY: none">
									<td id="ExpandHandle" class="TB_Expand" colspan="3" onclick="FCKToolbarSet.Expand();return false;"><img class="TB_ExpandImg" src="/wysiwyg/editor/images/spacer.gif" width="8" height="4" /></td>
								</tr>
								<tr id="Expanded" style="DISPLAY: none">
									<td id="CollapseHandle" style="DISPLAY: none" class="TB_Collapse" valign="bottom" onclick="FCKToolbarSet.Collapse();return false;"><img class="TB_CollapseImg" src="/wysiwyg/editor/images/spacer.gif" width="8" height="4" /></td>
									<td id="eToolbar" class="TB_ToolbarSet"></td>
									<td width="1" class="TB_SideBorder"></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr id="eWysiwyg">
						<td id="eWysiwygCell" height="100%" valign="top">
							<iframe id="eEditorArea" name="eEditorArea" height="100%" width="100%" frameborder="no" frameBorder="1" allowtransparency="true" style="width:100%; height:100%;overflow: auto;margin:0px; padding:0px;">
								<xsl:attribute name="src">
									<xsl:value-of select="/SITEBUILDER-PAGE/VIEW-CONTENT/PAGE"/>
								</xsl:attribute>
							</iframe>
						</td>
					</tr>
					<tr id="eSource" style="DISPLAY: none">
						<td class="Source" height="100%" valign="top">
							<textarea id="eSourceField" dir="ltr" style="WIDTH: 100%; HEIGHT: 100%"></textarea>
						</td>
					</tr>
				</table>
			</body>
		</html>
	</xsl:template>
	
</xsl:stylesheet>