. qq~key="value"~
####
."px;width:".$width."px;height:".$height."px;cursor:pointer;"
####
. "px;width:${width}px;height:${height}px;cursor:pointer;"
####
$newdiv=''."\n".div({-style=>"position:absolute;left:".($startx+$arealeft)."px;top:".($starty+$areatop)."px;width:".$width."px;height:".$height."px;cursor:pointer;",-onclick=>"Start('$cgiurl?id=$custid');return true;",
####
my $tmp_left = $startx + $arealeft;
my $tmp_top = $starty + $areatop;
$newdiv= "\n" .
div( {
-style => "position:absolute;left:${tmp_left}px;top:${tmp_top}px;width:${width}px;height:${height}px;cursor:pointer;",
-onclick => "Start('$cgiurl?id=$custid');return true;",
...
####
my $tmp_left = $startx + $arealeft;
my $tmp_top = $starty + $areatop;
my $newdiv= "\n" .
div(
{
-style => "position:absolute;left:${tmp_left}px;top:${tmp_top}px;width:${width}px;height:${height}px;cursor:pointer;",
-onmouseover => ( fix this bit... ),
-onclick => "Start('$cgiurl?id=$custid');return true;",
-onmouseout => "window.status=' ';shw('$imagedetails[0]-pop',event);return true;",
},
'' ) ."\n";