public Object getChild(Object parent, int index) {
		Object o = null;
		
		if(parent.getClass().getName().contains("SPFolder")){
			if(((SPFolder) parent).getChildNodes().size() < index){
				return null;
			}else{
				o = ((SPFolder) parent).getChildNodes().get(index);
			}
		} else {
			o = null;
		}
		
		return o;
	}