Index: advanced_help/advanced_help.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advanced_help/advanced_help.module,v
retrieving revision 1.20
diff -u -p -r1.20 advanced_help.module
--- advanced_help/advanced_help.module	30 May 2008 18:55:44 -0000	1.20
+++ advanced_help/advanced_help.module	22 Aug 2008 23:43:55 -0000
@@ -395,8 +395,12 @@ function advanced_help_perm() {
  *   - 'icon' to display the question mark icon
  *   - 'title' to display the topic's title
  *   - any other text to display the text. Be sure to t() it!
+ * @param $width
+ *   The width of the popup window.
+ * @param $height
+ *   The height of the popup window.
  */
-function theme_advanced_help_topic($module, $topic, $type = 'icon') {
+function theme_advanced_help_topic($module, $topic, $type = 'icon', $width = 500, $height = 500) {
   $info = advanced_help_get_topic($module, $topic);
   if (!$info) {
     return;
@@ -422,7 +426,7 @@ function theme_advanced_help_topic($modu
     return l($text, "help/$module/$topic", array(
       'attributes' => array(
         'class' => $class,
-        'onclick' => "window.open(this.href, 'advanced_help_window', 'width=500,height=500,scrollbars,resizable'); return false;",
+        'onclick' => "window.open(this.href, 'advanced_help_window', 'width=". $width .",height=". $height .",scrollbars,resizable'); return false;",
         'title' => $info['title']
       ),
       'query' => array('popup' => TRUE),
