diff --git a/src/main/webapp/WEB-INF/tags/form/fields/table.tagx b/src/main/webapp/WEB-INF/tags/form/fields/table.tagx
index 1da77c379e21d7ed2ebb5c81c134a1c0dcd13c03..6e14dae547bf76970e9ccb3e627631d7da84fc35 100644
--- a/src/main/webapp/WEB-INF/tags/form/fields/table.tagx
+++ b/src/main/webapp/WEB-INF/tags/form/fields/table.tagx
@@ -52,9 +52,31 @@
     <c:set var="patterns" value="${fn:split(columnDatePatterns, '&#9999;')}" scope="request" />
 
     <spring:eval var="colCounter" expression="1" />
-
+    
+	<script type="text/javascript">
+    
+		function updateRadioButton(type, id){
+	        var buttonId = document.getElementsByName("radioButton").length + id;
+	        document.getElementById("tmp_"+id).id=buttonId;
+			Spring.addDecoration(new Spring.ElementDecoration({elementId : buttonId, widgetType: 'dijit.form.'+type, widgetAttrs : {}}));
+		}
+		
+		function updateUtilboxPosition(id){
+        	if (document.getElementById(id)){
+           		if ( document.getElementsByClassName("dijitDialogTitleBar").length ){
+           			document.getElementById(id).style.top = "50%";
+           		}
+			}
+			document.getElementById(id).id=id+"_stylized";
+		}
+    			
+	</script>
+    
     <table class="table-with-utilbox">
+    
       <thead>
+      
+
         <tr>
           <th></th>
           <spring:eval var="colCounter" expression="colCounter  + 1" />
@@ -77,15 +99,6 @@
       </thead>
       <spring:eval var="radioId" expression="1" />
       <c:set var="control" value="true" />
-      
-      <script type="text/javascript">
-		function updateRadioButton(type, id){
-	        var buttonId = document.getElementsByName("radioButton").length + id;
-	        document.getElementById("tmp_"+id).id=buttonId;
-			Spring.addDecoration(new Spring.ElementDecoration({elementId : buttonId, widgetType: 'dijit.form.'+type, widgetAttrs : {}}));
-		}
-	  </script>
-	
       <c:forEach items="${data}" var="item">
         <tr>
           <c:set var="itemId"><spring:eval expression="item.${typeIdFieldName}"/></c:set>
@@ -144,16 +157,7 @@
             <td rowspan="${fn:length(data)}" class="utilbox" valign="top">
               
             <div class="utilbox-actions" id="id_utilbox-actions">
-            
-            <script type="text/javascript">
-            	$(document).ready(function(e){
-	            	if ($('#id_utilbox-actions')){
-		           		if ( $('.dijitDialogTitleBar').length ){
-		           			$('#id_utilbox-actions').css({ top: ($(window).height()/2) });
-		           		}
-	            	}
-            	});
-            </script>
+            <script type="text/javascript">updateUtilboxPosition('id_utilbox-actions');</script>
             
             <spring:url value="/resources/images/show.png" var="show_image_url" />
             <spring:message arguments="${typeName}" code="entity_show" var="show_label" htmlEscape="false" />
@@ -285,6 +289,7 @@
     
     <script type="text/javascript">
     
+    
     function showRedirect(){
         var radioElements = document.getElementsByName("radioButton");
         console.log("${path}");