
// remap jQuery to $





$(function() {
 $("#map").gMap({ 
 controls: ["GSmallMapControl", "GMapTypeControl"],zoom: 15,icon: { image: "http://www.liddicoatgoldhill.com/new/wp-content/themes/Liddicoat-Goldhill/assets/google-icon.png", 
                           iconsize: [60, 57],
                           iconanchor: [23, 55]},
 markers: [{ latitude: 51.536032213209815,
                               longitude: -0.13301610946655273 }] });});





// usage: log('inside coolFunc',this,arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/window.log = function(){
  log.history = log.history || [];
// store logs to an array for reference log.history.push(arguments);
  if(this.console){
    console.log( Array.prototype.slice.call(arguments) );
  }
};




// catch all document.write() calls

(function(doc){
  var write = doc.write;
  doc.write = function(q){ 
    log('document.write(): ',arguments); 
    if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);  
  };
})(document);



