When i try to go over the image I get this error message in the browser:
'null' is null or not an object
This is what the files look like:
[PHP] $null_str = substr(md5(uniqid(mt_rand())),0,5);
$img_id = $row[item_nid].'_'.$null_str;
if ($db) {
$t=0;
$db->query("select * from mall_color where mc_pid='$row[item_nid]' and mc_part=0 order by mc_nid");
if ($db->numrow>1) {
while ($mrow = $db->nrecord(1)) {
$color_select .="<td style='padding:2 2 2 2'><a href='javascript:void(0)' onMouseOver=\"getElementById('$img_id').src='image/item_color_big/$mrow[mc_bfile]'\" hidefocus='true'><img src='image/item_color_small/$mrow[mc_sfile]' style='border:1px solid #cccccc' height=10 width=18></a></td>\n";
if (!(++$t%5)) $color_select .="</tr><tr>";
}
}
}[/PHP]