Index: img_assist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/img_assist.module,v
retrieving revision 1.56.2.18
diff -u -r1.56.2.18 img_assist.module
--- img_assist.module	14 Dec 2006 14:41:42 -0000	1.56.2.18
+++ img_assist.module	15 Feb 2007 21:15:38 -0000
@@ -428,8 +428,12 @@
 	$output .= "<script type=\"text/javascript\" src=\"$editor_js\"></script>\n";
 
 	$output .= "</head>\n\n";
-
-	$output .= "<frameset rows=\"38, *\" onload=\"initLoader()\" frameborder=\"0\" border=\"0\" framespacing=\"0\"> >\n";
+        if (variable_get('site_offline', 0)){
+          $framerows=70;
+        } else {
+          $framerows=38;
+        }
+	$output .= "<frameset rows=\"$framerows, *\" onload=\"initLoader()\" frameborder=\"0\" border=\"0\" framespacing=\"0\"> >\n";
 	$output .= "<frame name=\"img_assist_header\" src=\"\" class=\"img_assist_header\" noresize=\"noresize\">\n";
 	$output .= "<frame name=\"img_assist_main\" src=\"\" class=\"img_assist_main\" noresize=\"noresize\">\n";
 	$output .= "</frameset>\n";
