onload function throws up an error

The seemingly simple code below fails to invoke the function DisplayGrid() in IE 7 , but works well in Safari.

On loading the page I get “Object expected” javascript error at the line " "

Any idea ?

Table display evaluation






Column1 Column2 Column3
a1 a2 a3
b1 b2 b3

a) script tag must always have closing tag
b) correct type - text/javascript