Index: cluetip.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cluetip/cluetip.module,v
retrieving revision 1.1
diff -u -u -p -r1.1 cluetip.module
--- cluetip.module	31 Dec 2007 22:10:59 -0000	1.1
+++ cluetip.module	3 Jun 2008 04:00:32 -0000
@@ -2,20 +2,19 @@
 // $Id: cluetip.module,v 1.1 2007/12/31 22:10:59 stompeers Exp $
 
 function cluetip_load($file) {
-	global $cluetip_added;
-	global $cluetip_files;
-	if ($cluetip_added != 1) {
-		$cluetip_dir = drupal_get_path('module','cluetip') . '/cluetip/';
-		drupal_add_js($cluetip_dir . 'jquery.dimensions.js');
-		drupal_add_js($cluetip_dir . 'jquery.hoverIntent.js');
-		drupal_add_js($cluetip_dir . 'jquery.cluetip.js');
-		drupal_add_css($cluetip_dir . 'jquery.cluetip.css');
-		$cluetip_added = 1;
-	}
-	if (!$cluetip_files[$file]) {
-		drupal_add_js($file);
-		$cluetip_files[$file] = TRUE;
-	}
-	return $file;
-}
-?>
\ No newline at end of file
+  static $cluetip_added;
+  static $cluetip_files;
+  if ($cluetip_added != 1) {
+    $cluetip_dir = drupal_get_path('module', 'cluetip') .'/cluetip/';
+    drupal_add_js($cluetip_dir .'jquery.dimensions.js');
+    drupal_add_js($cluetip_dir .'jquery.hoverIntent.js');
+    drupal_add_js($cluetip_dir .'jquery.cluetip.js');
+    drupal_add_css($cluetip_dir .'jquery.cluetip.css');
+    $cluetip_added = 1;
+  }
+  if (!$cluetip_files[$file]) {
+    drupal_add_js($file);
+    $cluetip_files[$file] = TRUE;
+  }
+  return $file;
+}
\ No newline at end of file
