protected function styles($style, $element)
 {
     parent::style($style, $element);
     $element->setAttribute('titlecolor', $style->getStyle('titlecolor'));
 }
 protected function styles($style, $element)
 {
     parent::style($style, $element);
     $element->setAttribute('height', $style->getStyle('height'));
     $element->setAttribute('color', $style->getStyle('color'));
     $element->setAttribute('align', $style->getStyle('align'));
     $element->setAttribute('imagex', $style->getStyle('imagex'));
     $element->setAttribute('imagey', $style->getStyle('imagey'));
     $element->setAttribute('titlex', $style->getStyle('titlex'));
     $element->setAttribute('titley', $style->getStyle('titley'));
     $element->setAttribute('titlesize', $style->getStyle('titlesize'));
     $element->setAttribute('enablefavourite', $style->getStyle('enablefavourite'));
     $element->setImageAttribute('thumbnail', $style->getStyle('thumbnail'));
     $element->setImageAttribute('backgroundimage', $style->getStyle('backgroundimage'));
     $element->setImageAttribute('foregroundimage', $style->getStyle('foregroundimage'));
     $element->setImageAttribute('foregroundimagealternate', $style->getStyle('foregroundimagealternate'));
 }