diff --git a/templates/default/logout-iframe.php b/templates/default/logout-iframe.php
index d27a80baebc089e4656e3e6788a319f76618565c..c55eead0955e23659bc4837f036ec58742119a01 100644
--- a/templates/default/logout-iframe.php
+++ b/templates/default/logout-iframe.php
@@ -63,6 +63,7 @@ function slocompletesp($entityhash) {
 /* SLO completed for all sps. */
 function slocompleted() {
 /*	$("div.completedButWarnings").show(); */
+	$("div#interrupt").hide();
 ' . ($nologoutSPs ? ' ' : 'setTimeout("sendResponse()", 2000);') . '
 }
 
diff --git a/www/saml2/idp/SingleLogoutServiceiFrame.php b/www/saml2/idp/SingleLogoutServiceiFrame.php
index d92160e4a920407e65112b871d722c39032349d6..474308ea97da0a9789aa6ff89aacc44f4c53bbc2 100644
--- a/www/saml2/idp/SingleLogoutServiceiFrame.php
+++ b/www/saml2/idp/SingleLogoutServiceiFrame.php
@@ -120,14 +120,10 @@ function updateslostatus() {
 		$spname = is_array($name) ? $t->getTranslation($name) : $name;
 		
 		$objResponse->addScriptCall('slocompletesp', 'e' . sha1($spentityid));
-		// $objResponse->addAssign('e' . sha1($spentityid), "className", 'loggedout');
-		// $objResponse->addAssign('e' . sha1($spentityid), "innerHTML", 'Logging out from <strong>' . $spname . '</strong> successfully completed');
 
 	}
 	
 	if ($session->sp_logout_completed() === TRUE) {
-// 		$objResponse->addAssign('iscompleted', "className", 'allcompleted');
-// 		$objResponse->addAssign('interrupt', "className", 'allcompleted');
 
 		$objResponse->addScriptCall('slocompleted');
 
@@ -315,9 +311,6 @@ foreach ($listofsps AS $spentityid) {
 
 
 
-
-
-
 /*
  * Logout procedure is done and we send a Logout Response back to the SP
  */
@@ -387,19 +380,6 @@ if (array_key_exists('name', $spmeta)) $spname = $spmeta['name'];
 
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-