A dealer gets Rs.940 more if instead of selling a table at loss of 10%, it is sold at a gain of 10%. Find the cost price of the table.