Google Maps and jQuery window size issue

I am trying to incorporate a Google map in my website. Using samples from Google I have my map… but no markers. So… I have found a sample (here someplace) that uses javascript to load multiple markers called markers.js. I am now trying to change what I can in the *.js file to reflect “my” map.

First of probably a number of problems. I want my map to be 100%, the code in the *.js seems to regulate the size of the map by…

$(document).ready(function() {

$(“#map”).css({

    height: 500,

    width: 600

});

My good map does it this way

<style type=“text/css”>

  html { height: 100% }

  body { height: 100%; margin: 0; padding: 0 }

  #map_canvas { height: 100% }

&lt;/style&gt;

Can anyone advise me on what / how I can change this?

Thanks again for your time

Ralph

Question now moot, using a different approach . Thanks to anyone that considered my problem