hice asi :) y se soluciono el problema
Código PHP:
Ver original$attributes = array("id" => "login", "action" => "javascript:cuentas.login_ajax()",
"method" => "post",
"class" => "form",
"enctype" => "multipart/form-data");
$legend = "Form";
print formOpen
(is_array($attributes), $legend);