--- erp.inc.orig	2007-02-06 13:05:43.000000000 -0500
+++ erp.inc	2007-02-06 13:06:47.000000000 -0500
@@ -7,7 +7,7 @@
 $erp_base_path = drupal_get_path('module', 'erp');
 variable_set('erp_base_path', $erp_base_path);
 
-theme_add_style($erp_base_path .'/erp.css');
+drupal_add_css($path=NULL,$type=module,$media='all', $preprocess=TRUE);
 
 function shrink($text, $shrink = 0) {
   if (strlen($text) > $shrink + 2) {
