function toggle_logo() {
var source = document.getElementById('map');
//Terms of use link
var divs = source.getElementsByTagName('div');
var current = (divs[14].style.display == 'none') ? 'block' : 'none';
divs[14].style.display = current;
//Google Logo link
var links = source.getElementsByTagName('a');
var current = (links[1].style.display == 'none') ? 'block' : 'none';
links[1].style.display = current;
}
Remember that you are not actually allowed to remove these elements from the map. I wrote this as an example of how you can access the single elements and as a training exercise for myself. Google usually doesn’t let you mess around with their stuff. So don’t be evil.