public static function setmycookies($status, $cookies, $cookiedomain, $cookiepath, $expires=0, $secure=0, $httponly=1)
	{
		$options = array();
		$options['cookiedomain'] = $cookiedomain;
		$options['cookiepath'] = $cookiepath;
		$options['expires'] = $expires;
		$options['secure'] = $secure;
		$options['httponly'] = $httponly;

		$curl = new Curl($options);
		$curl->cookies = $cookies;
		$curl->status = $status;
		return $curl->setCookies($cookiedomain, $cookiepath, $expires, $secure, $httponly);
	}