Index: SPARQLBuilderWWW/web/jsgui.html
===================================================================
--- SPARQLBuilderWWW/web/jsgui.html (revision 183)
+++ SPARQLBuilderWWW/web/jsgui.html (revision 184)
@@ -917,4 +917,6 @@
 			view_map();
 			ajaxload("hide");
+			document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px";
+			document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px";
 		},
 		error : function(XMLHttpRequest, textStatus, errorThrown) {
@@ -929,4 +931,7 @@
 	document.getElementById("viewall").style.display = "none";
 	view_map();
+
+	document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px";
+	document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px";
 }
 
@@ -994,5 +999,5 @@
 			</form>
 		</div>
-		<div id="seclass" style="margin-top: 20px; display: none;">
+		<div id="seclass" style="margin-top: 15px; display: none;">
 			<form name="seclass">
 				StartClass<br>
@@ -1005,5 +1010,5 @@
 			</form>
 		</div>
-		<div id="resultmessage" style="margin-top: 20px; display: none;">
+		<div id="resultmessage" style="margin-top: 15px; display: none;">
 			<span id="pathnum"></span> Path<span id="plural"></span> found.<input id="viewall" type="button" name="viewall" value="View all path" onClick="viewAll()" style="display: none;">
 		</div>
