// JavaScript Document
$swapped = false;
function iconOn($icon,$file) {
	if($swapped == false) {
		$swapped = true;
		$theIcon = document.getElementById($icon);
		$theIcon.src="images/" + $file;
	}
}

function iconOff($icon,$file) {
	$theIcon = document.getElementById($icon);
	$theIcon.src = "images/" + $file;
	$swapped = false;
}