document.all.style == 'none';
var on;

function openGlossary()
{
	window.open('glossary.asp','Glossary','width=450, height=350,left=400,top=450,screenX=400,screenY=400,scrollbars=yes');
}

function showHide(id)
{
	if (document.getElementById(id).style.display == 'none')
	{		
		document.getElementById(id).style.display ='block';	
		document.images.src = 'img/minus.jpg'
	}
	else
	{		
		document.getElementById(id).style.display = 'none';	
		document.images.src = 'img/plus.jpg'
	}
}

function setImage(c_img)
{	

img1 = "img/plus.jpg"; 
img2 = "img/minus.jpg"; 
 
if (c_img.src.indexOf(img1)!= -1) c_img.src = img2; 
else c_img.src = img1;


	//if (document.images.lifeassurance_img) 
//	{		
//		if (on )
//		{ document.images.lifeassurance_img.src = 'img/plus.jpg';on = false;}
//		else
//		{document.images.lifeassurance_img.src = 'img/minus.jpg';on=true;}
//	}
//	
//	if (document.images.accident_img) 
//	{		
//		if (on )
//		{ document.images.accident_img.src = 'img/plus.jpg';on = false;}
//		else
//		{document.images.accident_img.src = 'img/minus.jpg';on=true;}
//	}	
//	
//	if (document.images.mortgage_img) 
//	{		
//		if (on )
//		{ document.images.mortgage_img.src = 'img/plus.jpg';on = false;}
//		else
//		{document.images.mortgage_img.src = 'img/minus.jpg';on=true;}
//	}	
	
}