$(function(){
	// refresh every 2 minutes
	var loc = window.location
	var timer = setTimeout(function() {window.location = loc}, 120000);

	$("#stop").click(function(){
		clearTimeout(timer);
		$(this).attr('id', 'start');
		$(this).val('Start Refresh');

		$("#start").click(function(){
			window.location = loc;
		});
	});
});
