CREATE TABLE table_51377 ("Home team" TEXT, "Home team score" TEXT, "Away team" TEXT, "Away team score" TEXT, "Venue" TEXT, "Crowd" FLOAT, "Date" TEXT)

Who played as the home team when Footscray was the away team?
SELECT "Home team" FROM table_51377 WHERE "Away team" = 'footscray'
SELECT "Home team" FROM "table_51377" WHERE "Away team" = 'footscray'