protected AjaxPluginIncludes extractIncludes(String strResult) {
AjaxPluginIncludes result = new AjaxPluginIncludes();
if (strResult == null || strResult.length() == 0)
return result;
StringInspector strResultInspector = new StringInspector(strResult);
int headStartIdx = strResultInspector.indexOfIgnoreCase(Tag.HEAD.start);
int headEndIdx = strResultInspector.indexOfIgnoreCase(Tag.HEAD.end);
if (headEndIdx == -1 || headStartIdx == -1) {
return result;
}