	public void renderHead(HtmlHeaderContainer container)
	{
		super.renderHead(container);
		PageParameters parameters = new PageParameters();
		parameters.put("fieldName", this.getId());
		CharSequence url = urlFor(null, page, parameters);
		JavascriptBuilder builder = new JavascriptBuilder();
		builder.addLine("new Ajax.Autocompleter(");
		builder.addLine("  '" + getMarkupId() + "', ");
		builder.addLine("  '" + getAutocompleteId() + "', ");
		builder.addLine("  '" + url + "', {} );");
	}

	public void renderHead(HtmlHeaderContainer container)
	{
		super.renderHead(container);
		PageParameters parameters = new PageParameters();
		parameters.put("fieldName", this.getMarkupId());
		CharSequence url = urlFor(null, page, parameters);
		JavascriptBuilder builder = new JavascriptBuilder();
		builder.addLine("new Ajax.Autocompleter(");
		builder.addLine("  '" + getMarkupId() + "', ");
		builder.addLine("  '" + getAutocompleteId() + "', ");
		builder.addLine("  '" + url + "', {} );");
	}
