i have a problem with displaying GoogleMap.
Here is the website source code: http://pastebin.com/LjhVbEF7
When i'm trying to run this website, map is not displayed.
Firebug console says Uncaught TypeError: Cannot read property 'offsetWidth' of null
Have you any idea what am i doing wrong? I know that there are many working examples on the net but this code is generated by a special script and i'm not able to interfere it to much. Maybe i forgot to set some variables?
thanks, Mike
=================
EDIT: This code is working only when i'll put JS in function definition and call it in body onload param. Do you have any idea how can i make it working without using such function and onload param ?