-<div id="sandbox" style="visibility:hidden;"></div>
-<table style="table-layout: fixed; width:100%; height:100%; border-spacing: 0px; border-style: none;">
-<tr>
-<td style="padding: 0px; width:67%; border-style: none;">
- <textarea id="unescape" style="display:none;"></textarea>
- <p><INPUT type="BUTTON" value="advance" id="advance" ONCLICK="advanceForm1()">
- <INPUT type="BUTTON" value="go back" id="retract" ONCLICK="retract()">
- <INPUT type="BUTTON" value="go to cursor" id="cursor" ONCLICK="gotoPos()">
- <INPUT type="BUTTON" value="bottom" id="bottom" ONCLICK="gotoBottom()">
- <INPUT type="TEXT" id="filename" value=""><INPUT type="BUTTON" value="Open" ONCLICK="openFile()"></p>
- <INPUT type="BUTTON" value="show sequent" id="showseq" ONCLICK="showSequent()">
+<textarea id="unescape" style="display:none;"></textarea>
+<div id="sandbox" style="display:none;"></div>
+
+<div class="matitaapparea" id="matitaapparea">
+
+<div class="titlebar" id="titlebar">
+ <div class="mainTitle"><H2 id="matitaTitle">Matita - <<Filename>></H2></div>
+ <div class="mainRight" id="matitaLogout"><A id="hlogout" href="/logout.html">Log out</A></div>
+</div>
+
+
+<div class="toparea" id="toparea">
+<div class="navibar">
+ <A href="javascript:advanceForm1()"><IMG class="topimg" src="icons/advance.png"
+ id="advance" alt="Advance"
+ title="Execute one step of the script."></A>
+ <A href="javascript:retract()"><IMG class="topimg" src="icons/retract.png"
+ id="retract" alt="Retract"
+ title="Undo execution of one step of the script."></A>
+ <A href="javascript:gotoTop()"><IMG class="topimg" src="icons/top.png"
+ id="top" alt="Top" title="Undo execution of the whole script."></A>
+ <A href="javascript:gotoPos()"><IMG class="topimg" src="icons/position.png"
+ id="cursor" alt="Play"
+ title="Execute the script until the current position of the cursor."></A>
+ <A href="javascript:gotoBottom()"><IMG class="topimg" src="icons/bottom.png"
+ id="bottom" alt="Bottom" title="Execute the whole script."></A>
+</div>
+<div class="toolbar">
+ <table>
+ <tr>
+ <td>
+ <INPUT type="BUTTON" value="New" id="newbutton" ONCLICK="newDialog()">
+ <INPUT type="BUTTON" value="Open" id="showdialog" ONCLICK="openDialog()">
+ <INPUT type="BUTTON" value="Save" id="savebutton" ONCLICK="saveFile()">
+ <INPUT type="BUTTON" value="Save as" id="saveasbutton" ONCLICK="saveDialog()">
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <INPUT type="BUTTON" value="Upload" id="uploadbutton" ONCLICK="uploadDialog()">
+ <INPUT type="BUTTON" value="Commit" id="commitbutton" ONCLICK="commitAll()">
+ <INPUT type="BUTTON" value="Update" id="updatebutton" ONCLICK="updateAll()">
+ <INPUT type="BUTTON" value="Log" id="logbutton" ONCLICK="showLog()">
+ <INPUT type="BUTTON" value="Del hrefs" id="delintbutton" ONCLICK="strip_interpr()">
+<!-- <INPUT type="BUTTON" value="show sequent" id="showseq" ONCLICK="showSequent()">