function AddRow(_this, Pid) { Row = $("#"+Pid +" tr"); IndexLast = $("#"+Pid +" tr:last").index(); $(Row[IndexLast-1]).after("\