// description is the specific description to close or open
// the two img_ vars are for the swap_image function
/*
function toggle_description(description,img_id) {
	bHidden=document.getElementById(description).style.display=='none';
	if (bHidden) {
		// toggle/swap the expand image
		swap_image(img_id,1);
		document.getElementById(description).style.display='';
	} else {
		// toggle/swap the expand image
		swap_image(img_id,0);
		document.getElementById(description).style.display='none';
	}

}
*/


// this function replaces one image with another with
// img_id is the id of the image to swap
// img_toggle is weather we are turning the arrow on or off
function swap_image(img_id,img_toggle) {
	switch (img_toggle) {
		case 0:
			document.getElementById(img_id).src = document.getElementById(img_id).src.substring(0,document.getElementById(img_id).src.length-5)+"0.gif";
			return(false);
		case 1:
			document.getElementById(img_id).src = document.getElementById(img_id).src.substring(0,document.getElementById(img_id).src.length-5)+"1.gif";
			return(false);
		}
}