public static function vindb_connect()
 {
     if (self::$_vindb == null) {
         $vin_config = new Zend_Config_Ini(dirname(__FILE__) . "/../config.ini", "vin-db");
         $vin_params = array('host' => $vin_config->vin_params->host, 'username' => $vin_config->vin_params->username, 'password' => $vin_config->vin_params->password, 'dbname' => $vin_config->vin_params->dbname, 'charset' => 'utf8', 'profiler' => true);
         self::$_vindb = Zend_Db::factory($vin_config->adapter, $vin_params);
         Zend_Db_Table_Abstract::setDefaultAdapter(self::$_vindb);
     }
     return self::$_vindb;
 }