public function add_element($url,$name,$active=true,$class='',$children=array()){
		$this->elements[]=(object)array(
			'url'=>$url,
			'name'=>$name,
			'active'=>$active,
			'class'=>$class,
			'children'=>$children,
			);
		}