$(document).ready(function() {
	
	/* open links with rel="external" in new window and amend link title */
	$('a[rel*="external"]').each(function() {
		var title = $(this).attr('title') ? $(this).attr('title') + ' (opens in a new tab or window)' : 'This link will open in a new tab or window';
		$(this).attr('title',title).click(function() {
			window.open($(this).attr('href'));
			return false;
		});
	});
	
	// execute sIRF after DOM load
	if(typeof sIFR == "function"){
		sifr_exec();
	};
	
	$('.quote_block').mouseover(function() {
		$(this).css('cursor', 'pointer');
	});
	
	$('.quote_block').click(function() {
		window.location = '/contact-us/';
	});
	
	$('#quote_block embed').click(function() {
		window.location = '/contact-us/';
	});
});

