img1 = "/images/M_images/plus.png"; 
img2 = "/images/M_images/minus.png";

function changeDiv(div,imag) {	
var stat = document.getElementById(div).style.visibility;

if (stat == "hidden")
{
	document.getElementById(imag).src=img2;
	document.getElementById(div).style.visibility = "visible";	// show the div
	document.getElementById(div).style.display = "";
}
else
	{
		document.getElementById(imag).src=img1;
		document.getElementById(div).style.visibility = "hidden";	// hide the div
		document.getElementById(div).style.display = "none";
		 }
		
}




/*if (shown == true) {//if (document.getElementById(img).src.indexOf(img1)!= -1) 
		document.getElementById(div).style.visibility = "hidden";	// hide the div
		document.getElementById(div).style.display = "none";
		shown = false;
		}
	else if (shown == false) {
		document.getElementById(div).style.visibility = "visible";	// show the div
		document.getElementById(div).style.display = "";
		shown = true;		
	}*/

