public function render ($returnOutput = false)
 {
     extract ($this->data);
     ob_start ();
     
     $t = $this->getTemplatePath ();
     include ($t);
     $this->output = ob_get_clean ();
     
     if ($this->wrapper)
     {
         $data =& $this->data;
         $data[self::CONTENT_VAR] = $this->output;
         
         $wrapper = new Duckk_Template ('wrappers/' . SKIN . "/{$this->wrapper}", $data);
         $this->output = $wrapper->render (true);                
     }
     
     if ($returnOutput)
     {
         return $this->output;
     }
     else
     {
         echo $this->output;
     }
     
 }
 public static function render500 ()
 {
 	header ('HTTP/1.0 500 Internal Server Error');
     $t = new Duckk_Template ('status/500.php', array ('url' => $_SERVER['REQUEST_URI']));
     $t->render ();   
 }