$( function() {

	var txt = $("h1").text();
	if ( txt != null && txt != "" ) {
		document.title = document.title + " - " + txt;
	}

} );