static function array2Parameters($params, $stringdelim)
	{
		$s = "";
		
		foreach ( $params as $p )
		{
			if ( is_int($p) )
				$s .= "$p, ";
			else
				$s .= $stringdelim . $p . $stringdelim . ", ";
		}
				
		if ( $s )
			// remove last ', ' (comma and space)
			$s = substr($s, 0, -2);
			
		return $s;
	}