Hi!
I'm using sugarcrm 5 and I need to add MoreDetail.png image in subpanel. To do this I create new widget.
I codpy code in SugarWidgetSubPanelDetailViewLink.php but at the end I add this code:

return "
<span id='".$layout_def['fields']['ID']."' onmouseover=\"lvg_dtails('".$layout_def['fields']['ID']."')\" onmouseout='return SUGAR.util.clearAdditionalDetailsCall()'>
<img style='padding: 0px 5px 0px 2px;' src='themes/RTCivic/images/MoreDetail.png' border='0' width='8' height='7'></span><a href='#' "
. " class='listViewTdLinkS1' onMouseOver=\"javascript:subp_nav('".$module.$pare nt."', '".$record."', 'd', this);\" "
." onFocus=\"javascript:subp_nav('".$module."', '".$record."', 'd', this);\">$value</a>";

I have this error:

lvg_dtails is not defined

can you help me to correct my code?Thanks!!