As mentioned in my comment you cannot have duplicate ID values or else javascript does not know which one to grab (as it expects only one, you stop at the first);
if you change your ID's to classes you can do something like this:
<div id='contact-form'>
<input type='button' name='contact' value='Ask a question / book' class='tour-button contact button-white' title="Tour: Ushuaia / Puerto Madryn">
</div>
var buttons = document.getElementsByClassName('tour-button');
for( var i = 0, l = buttons.length; i < l; i++ ) {
buttons[i].addEventListener('click', function() { alert( this.title ); }, false);
}
as for Number 2, you should ask this in a new question with the code you have tied.
edit:
Assuming you have the variable defined somewhere else as var title = '';
or just var title;
then change the above code to this:
var buttons = document.getElementsByClassName('tour-button');
for( var i = 0, l = buttons.length; i < l; i++ ) {
buttons[i].addEventListener('click', function() { title = this.title; }, false);
}
that assigns to the variable 'title' the value of the title in the last button clicked. If you are trying to do changes on the click action I suggest you also put that code in the event handler for the button clicks.