$(document).ready(function () { $(document).ready(function(){ $('#where-we-buy-map').flash( { src: 'media/London-Area-Map.swf', width: 292, height: 228, wmode: "transparent", flashvars :{baseURL: "http://www.thelondonpropertybuyers.co.uk/"} }, { expressInstall: true } ); }); });