static private void _createAgents()
{
Map<String, String> headerMap = new HashMap<String,String>();
AgentFactoryImpl factory = new AgentFactoryImpl();
headerMap.put("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20050207 Firefox/1.0.1");
_geckoAgent = factory.createAgent(headerMap);
headerMap.clear();
headerMap.put("User-Agent","Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
_ieAgent = factory.createAgent(headerMap);
// Give a Safari 2.0 agent
headerMap.clear();
headerMap.put("User-Agent","Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, like Gecko) Safari/412");
_safariAgent = factory.createAgent(headerMap);
headerMap.clear();
headerMap.put("User-Agent","Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)");
headerMap.put("UA-pixels","240x320");
_pocketPCAgent = factory.createAgent(headerMap);
}