/**
		 * Draws the objects and their corresponding buttons. 
		 * makes use of draw_dispatcher.
		 */
		function draw_objects() {
			global $lang;
			$grid = new NXGrid("grid", 7);
			$grid->setRatio(array (	140,
									140,
									150,
									20,
									30,
									70,									
									70));
			
			$grid->addTitleRow(array( $lang->get("name"), $lang->get("type"), $lang->get("status"), " ", " ", " ", " "));

			for ($i=1; $i <= count( $this->objects ); $i++) {
				$grid->addRow( 	array( 	new Label("lbl", "<b>".$i.". ".$this->objects[$i]["name"]."</b>", "cwhite_small" ),
			  							new Label("lbl", $this->getType($i), "cwhite_small"),
			  							new Label("lbl", $this->getInformation($i), "cwhite_small"),			  							
			  							new LinkButtonInCell("s".$this->objects[$i]["id"], $lang->get("up"), "navelement", "submit"),
			  					 		new LinkButtonInCell("s".$this->objects[$i]["id"], $lang->get("down"), "navelement", "submit"),
										new LinkButtonInCell("s".$this->objects[$i]["id"], $lang->get("config"), "navelement", "submit"),
			  					 		new LinkButtonInCell("s".$this->objects[$i]["id"], $lang->get("delete"), "navelement", "submit")));
			  retain("s".$this->objects[$i]["id"], "");
			}			
				
			echo '<tr><td colspan="2" class="informationheader">';
			$lbi = new ButtonInline("neu", $lang->get("new"), "navelement", "submit");
			echo $lbi->draw().'<br><br>';
			retain("neu", "");
			echo '<tr>';
			$cl = new Cell("clc", "standardwhite", 2, 600, 1);
			$cl->draw();
			echo '</tr>';
			echo '</td></tr>';
			echo '<tr>';
			$grid->draw();
			echo '</tr>';

		}