if (frm.tbl_freeref.value>'0' || frm.tbl_rating.value>'0') { lprice += target; }
if (+frm['tbl_freeref'].value > 0 || +frm['tbl_rating'].value > 0) { lprice += target; }