function confirmReboot () {
	if (confirm('Are you sure you want to reboot the system?')) {
		window.location.href = 'shellscripts/reboot.php?system=y';
	}
	else {
		// Do nothing
	}
}

function checkUpdate () {
	document.getElementById('update_display').style.display = "block";
	document.getElementById('check_update_button').onclick = hideUpdate;
	document.getElementById('check_update_button').innerHTML = "Hide Updates";
}

function hideUpdate () {
	document.getElementById('update_display').src = "";
	document.getElementById('update_display').style.display = "none";
}
function confirmReboot () {
	if (confirm('Are you sure you want to reboot the system?')) {
		window.location.href = 'shellscripts/reboot.php?system=y';
	}
	else {
		// Do nothing
	}
}

function checkUpdate () {
	document.getElementById('update_display').style.display = "block";
	document.getElementById('check_update_button').onclick = hideUpdate;
	document.getElementById('check_update_button').innerHTML = "Hide Updates";
}

function hideUpdate () {
	document.getElementById('update_display').src = "";
	document.getElementById('update_display').style.display = "none";
	document.getElementById('check_update_button').onclick = checkUpdate;
	document.getElementById('check_update_button').innerHTML = "Check for updates";
}
Check updates button trial II
Check updates button trial II
