else if("undefined".equals(className)) { throw new JavaScriptException("Java script error"); }
	public Object jsToJava( Object jsValue )	{		if ( jsValue instanceof Scriptable )		{			String className = ( (Scriptable) jsValue ).getClassName( );			if ( "Date".equals( className ) )			{				return Context.toType( jsValue, java.util.Date.class );			}			else if ( "Boolean".equals( className ) )			{				return Boolean.valueOf( Context.toString( jsValue ) );			}			else if ( "String".equals( className ) )			{				return Context.toString( jsValue );			}			else if("undefined".equals(className))			{				throw new JavaScriptException("Java script error");			}		}		if(jsValue instanceof Integer)		{			return jsValue;		}		return Context.toType( jsValue, Object.class );	}