{
// String[] data = Util.patternExtract( "\\?newdid=(\\d+)", domVillageUrls[i].toString(), 2);
// int codD = Integer.parseInt( Util.patternExtract( "\\?newdid=(\\d+)", domVillageUrls[i].toString(), 1)[0]);
// if( !villages.exists( id)) {
Village v = new Village( );
v.setName( domVillageNames[i].toString());
v.setUrl( new URL( "http://s3.travian.net/" + domVillageUrls[i].toString()));
// v.setId( id);
// v.setCoordX( Integer.parseInt( domVillageCoordX[i].toString().replace( "(", "")));
// v.setCoordY( Integer.parseInt( domVillageCoordY[i].toString().replace( ")", "")));
// System.out.println( domVillageCoords[i].toString());
Scanner s = new Scanner( domVillageCoords[i].toString());
s.useDelimiter( "[ ()|\n\r\f\t]+");
// s.findInLine( "\\s*\\((\\d+)\\s*|\\s*(\\d+)\\)");
// s.findInLine( "\\s*\\((\\d+)\\s*|\\s*(\\d+)\\)");
// String[] data = Util.patternExtract( "\\(([+\\-\\d]+)[^|]*.*|.*([+\\-\\d]+)\\)", domVillageCoords[i].toString(), 2);
//System.out.println( data[0]);
//System.out.println( data[1]);
v.setCoordX( s.nextInt());
v.setCoordY( s.nextInt());
player.addVillage( v);
// }
}