/***
	Created by: Colin Kirsopp
	Needs jquery library to be loaded before this
	Needs cputils loaded before this
***/


// once DOM model loaded
$(document).ready(function() {
	setInitialCookies();
	loadFxRate('GBP', 'EUR', updateEuros);
	loadFxRate('GBP', 'USD', updateDollars);	
});

function updateEuros(rate){ 
	$('#euro_buys').html(rate.toFixed(2)); 
}

function updateDollars(rate){ 
	$('#dollar_buys').html(rate.toFixed(2)); 
}
