function click_add_colorless() { document.location = "request.php?a=cost_editor&cost=" + clp1 + soFar; } function click_base(index) { addAndForward(bases[index]); } function click_up(index) { addAndForward(strs[hov][index]); } </script> <table style="border-spacing:0px;"> <tr> <td width="30"> </td> <td id="cost_specifics"> </td> </tr> <tr> <td width="30"> </td> <td><span onclick="click_add_colorless();"><img src="Views/img/mana_symbols/one.gif" /></span><?php echo $basics; ?></td> </tr> <tr style="border: 1px solid black; border-radius: 5px;"> <td width="30" style="height: 35px;border: 1px solid black; border-radius: 7px 0px 0px 7px; border-right: none;"><input type="checkbox" /></td> <td style="border: 1px solid black; border-radius: 7px;text-align:right;"><?php echo $cost->PrettyCost(); ?></td> </tr> </table>