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";