Puzzle of the Week #157 - Binary Determination

Place a 0 or 1 in each of the empty cells so that in each row and column a pair of 5-digit binary numbers can be read (therefore with decimal values between 1 and 31), such that the product of the two numbers in a particular row or column is shown at the end of that row or column.