

function displayAnswer1(a)
{
	if ( a == 1)
	{
				if(document.getElementById('maintable').style.display == 'none')
				{
					document.getElementById('minus1').src = 'http://lxmoodlenew1.sebiz.net/images/minus.gif';
					document.getElementById('maintable').style.display = 'block';
				} else {
					document.getElementById('minus1').src = 'http://lxmoodlenew1.sebiz.net/images/plus.gif';
					document.getElementById('maintable').style.display = 'none';
				}
	}
				
	if ( a == 2)
	{
				
				if(document.getElementById('maintable2').style.display == 'none')
				{
				document.getElementById('minus2').src = 'http://lxmoodlenew1.sebiz.net/images/minus.gif';
				document.getElementById('maintable2').style.display = 'block';
				} else{
				document.getElementById('minus2').src = 'http://lxmoodlenew1.sebiz.net/images/plus.gif';
				document.getElementById('maintable2').style.display = 'none';
				}
		}
	
	// federal permit
	if ( a == 11)	
	{
				if(document.getElementById('subtable1').style.display == 'none')
				{
				document.getElementById('11').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('subtable1').style.display = 'block';
				} else {
				document.getElementById('11').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('subtable1').style.display = 'none';
				}
	}
	
	// resources
	if ( a == 111)	
	{
				if(document.getElementById('subtable111').style.display == 'none')
				{
				document.getElementById('111').src = 'http://lxmoodlenew1.sebiz.net/images/minus.gif';
				document.getElementById('subtable111').style.display = 'block';
				} else {
				document.getElementById('111').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('subtable111').style.display = 'none';
				}
	}
	
	// glossary of terms
	if ( a == 3)
	{
				if(document.getElementById('maintable3').style.display == 'none')
				{
					document.getElementById('minus3').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
					document.getElementById('maintable3').style.display = 'block';
				} else {
					document.getElementById('minus3').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
					document.getElementById('maintable3').style.display = 'none';
				}
	}
	
	// State specific	
	if ( a == 4)
	{
				if(document.getElementById('maintable4').style.display == 'none')
				{
					document.getElementById('minus4').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
					document.getElementById('maintable4').style.display = 'block';
				} else {
					document.getElementById('minus4').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
					document.getElementById('maintable4').style.display = 'none';
				}
	}
	/*if ( a == 44)	
	{
				if(document.getElementById('subtable4').style.display == 'none')
				{
				document.getElementById('44').src = 'http://lxmoodlenew1.sebiz.net/images/minus.gif';
				document.getElementById('subtable4').style.display = 'block';
				} else {
				document.getElementById('44').src = 'http://lxmoodlenew1.sebiz.net/images/plus.gif';
				document.getElementById('subtable4').style.display = 'none';
				}
	}*/
	if(a== 'am')
	{
				if(document.getElementById('as').style.display == 'none')
				{
				document.getElementById('am').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('as').style.display = 'block';
				} else {
				document.getElementById('am').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('as').style.display = 'none';
				}
	}
	
	if(a== 'as1')
	{			
				if(document.getElementById('as11').style.display == 'none')
				{
				document.getElementById('as1').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('as11').style.display = 'block';
				} else {
				document.getElementById('as1').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('as11').style.display = 'none';
				}
	} 
	
	if ( a == 444)	
	{			
				if(document.getElementById('subtable44').style.display == 'none')
				{
				document.getElementById('444').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('subtable44').style.display = 'block';
				} else {
				document.getElementById('444').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('subtable44').style.display = 'none';
				}
	}

	if ( a == 4444)	
	{
				if(document.getElementById('subtable444').style.display == 'none')
				{
				document.getElementById('4444').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('subtable444').style.display = 'block';
				} else {
				document.getElementById('4444').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('subtable444').style.display = 'none';
				}
	}

	if ( a == 44444)	
	{
				if(document.getElementById('s4').style.display == 'none')
				{
				document.getElementById('m4').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s4').style.display = 'block';
				} else {
				document.getElementById('m4').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s4').style.display = 'none';
				}
	}

	if ( a == 45)	
	{			
				if(document.getElementById('s45').style.display == 'none')
				{
				document.getElementById('m45').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s45').style.display = 'block';
				} else {
				document.getElementById('m45').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s45').style.display = 'none';
				}
	}

	if ( a == 44)	
	{			
				if(document.getElementById('s44').style.display == 'none')
				{
				document.getElementById('m44').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s44').style.display = 'block';
				} else {
				document.getElementById('m44').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s44').style.display = 'none';
				}
	}

	if ( a == 43)	
	{			
				if(document.getElementById('s43').style.display == 'none')
				{
				document.getElementById('m43').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s43').style.display = 'block';
				} else {
				document.getElementById('m43').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s43').style.display = 'none';
				}
	}

	if ( a == 42)	
	{			
				if(document.getElementById('s42').style.display == 'none')
				{
				document.getElementById('m42').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s42').style.display = 'block';
				} else {
				document.getElementById('m42').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s42').style.display = 'none';
				}
	}

	if ( a == 41)	
	{			
				if(document.getElementById('s41').style.display == 'none')
				{
				document.getElementById('m41').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s41').style.display = 'block';
				} else {
				document.getElementById('m41').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s41').style.display = 'none';
				}
	}

	if ( a == 40)	
	{			
				if(document.getElementById('s40').style.display == 'none')
				{
				document.getElementById('m40').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s40').style.display = 'block';
				} else {
				document.getElementById('m40').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s40').style.display = 'none';
				}
	}

	if ( a == 39)	
	{			
				if(document.getElementById('s39').style.display == 'none')
				{
				document.getElementById('m39').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s39').style.display = 'block';
				} else {
				document.getElementById('m39').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s39').style.display = 'none';
				}
	}

	if ( a == 38)	
	{			
				if(document.getElementById('s38').style.display == 'none')
				{
				document.getElementById('m38').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s38').style.display = 'block';
				} else {
				document.getElementById('m38').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s38').style.display = 'none';
				}
	}

	if ( a == 37)	
	{			
				if(document.getElementById('s37').style.display == 'none')
				{
				document.getElementById('m37').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s37').style.display = 'block';
				} else {
				document.getElementById('m37').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s37').style.display = 'none';
				}
	}

	if ( a == 36)	
	{			
				if(document.getElementById('s36').style.display == 'none')
				{
				document.getElementById('m36').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s36').style.display = 'block';
				} else {
				document.getElementById('m36').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s36').style.display = 'none';
				}
	}

	if ( a == 35)	
	{			
				if(document.getElementById('s35').style.display == 'none')
				{
				document.getElementById('m35').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s35').style.display = 'block';
				} else {
				document.getElementById('m35').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s35').style.display = 'none';
				}
	}

	if ( a == 34)	
	{			
				if(document.getElementById('s34').style.display == 'none')
				{
				document.getElementById('m34').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s34').style.display = 'block';
				} else {
				document.getElementById('m34').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s34').style.display = 'none';
				}
	}

	if ( a == 33)	
	{			
				if(document.getElementById('s33').style.display == 'none')
				{
				document.getElementById('m33').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s33').style.display = 'block';
				} else {
				document.getElementById('m33').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s33').style.display = 'none';
				}
	}

	if ( a == 32)	
	{			
				if(document.getElementById('s32').style.display == 'none')
				{
				document.getElementById('m32').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s32').style.display = 'block';
				} else {
				document.getElementById('m32').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s32').style.display = 'none';
				}
	}

	if ( a == 31)	
	{			
				if(document.getElementById('s31').style.display == 'none')
				{
				document.getElementById('m31').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s31').style.display = 'block';
				} else {
				document.getElementById('m31').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s31').style.display = 'none';
				}
	}

	if ( a == 30)	
	{			
				if(document.getElementById('s30').style.display == 'none')
				{
				document.getElementById('m30').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s30').style.display = 'block';
				} else {
				document.getElementById('m30').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s30').style.display = 'none';
				}
	}

	if ( a == 29)	
	{			
				if(document.getElementById('s29').style.display == 'none')
				{
				document.getElementById('m29').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s29').style.display = 'block';
				} else {
				document.getElementById('m29').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s29').style.display = 'none';
				}
	}

	if ( a == 28)	
	{			
				if(document.getElementById('s28').style.display == 'none')
				{
				document.getElementById('m28').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s28').style.display = 'block';
				} else {
				document.getElementById('m28').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s28').style.display = 'none';
				}
	}

	if ( a == 27)	
	{			
				if(document.getElementById('s27').style.display == 'none')
				{
				document.getElementById('m27').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s27').style.display = 'block';
				} else {
				document.getElementById('m27').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s27').style.display = 'none';
				}
	}

	if ( a == 26)	
	{			
				if(document.getElementById('s26').style.display == 'none')
				{
				document.getElementById('m26').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s26').style.display = 'block';
				} else {
				document.getElementById('m26').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s26').style.display = 'none';
				}
	}

	if ( a == 25)	
	{			
				if(document.getElementById('s25').style.display == 'none')
				{
				document.getElementById('m25').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s25').style.display = 'block';
				} else {
				document.getElementById('m25').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s25').style.display = 'none';
				}
	}

	if ( a == 24)	
	{			
				if(document.getElementById('s24').style.display == 'none')
				{
				document.getElementById('m24').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s24').style.display = 'block';
				} else {
				document.getElementById('m24').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s24').style.display = 'none';
				}
	}

	if ( a == 23)	
	{			
				if(document.getElementById('s23').style.display == 'none')
				{
				document.getElementById('m23').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s23').style.display = 'block';
				} else {
				document.getElementById('m23').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s23').style.display = 'none';
				}
	}

	if ( a == 22)	
	{			
				if(document.getElementById('s22').style.display == 'none')
				{
				document.getElementById('m22').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s22').style.display = 'block';
				} else {
				document.getElementById('m22').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s22').style.display = 'none';
				}
	}

	if ( a == 21)	
	{			
				if(document.getElementById('s21').style.display == 'none')
				{
				document.getElementById('m21').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s21').style.display = 'block';
				} else {
				document.getElementById('m21').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s21').style.display = 'none';
				}
	}

	if ( a == 20)	
	{			
				if(document.getElementById('s20').style.display == 'none')
				{
				document.getElementById('m20').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s20').style.display = 'block';
				} else {
				document.getElementById('m20').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s20').style.display = 'none';
				}
	}
	if ( a == 19)	
	{			
				if(document.getElementById('s19').style.display == 'none')
				{
				document.getElementById('m19').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s19').style.display = 'block';
				} else {
				document.getElementById('m19').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s19').style.display = 'none';
				}
	}

	if ( a == 18)	
	{			
				if(document.getElementById('s18').style.display == 'none')
				{
				document.getElementById('m18').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s18').style.display = 'block';
				} else {
				document.getElementById('m18').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s18').style.display = 'none';
				}
	}

	if ( a == 17)	
	{			
				if(document.getElementById('s17').style.display == 'none')
				{
				document.getElementById('m17').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s17').style.display = 'block';
				} else {
				document.getElementById('m17').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s17').style.display = 'none';
				}
	}

	if ( a == 16)	
	{			
				if(document.getElementById('s16').style.display == 'none')
				{
				document.getElementById('m16').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s16').style.display = 'block';
				} else {
				document.getElementById('m16').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s16').style.display = 'none';
				}
	}

	if ( a == 15)	
	{			
				if(document.getElementById('s15').style.display == 'none')
				{
				document.getElementById('m15').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s15').style.display = 'block';
				} else {
				document.getElementById('m15').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s15').style.display = 'none';
				}
	}

	if ( a == 14)	
	{			
				if(document.getElementById('s14').style.display == 'none')
				{
				document.getElementById('m14').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s14').style.display = 'block';
				} else {
				document.getElementById('m14').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s14').style.display = 'none';
				}
	}

	if ( a == 13)	
	{			
				if(document.getElementById('s13').style.display == 'none')
				{
				document.getElementById('m13').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s13').style.display = 'block';
				} else {
				document.getElementById('m13').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s13').style.display = 'none';
				}
	}

	if ( a == 12)	
	{			
				if(document.getElementById('s12').style.display == 'none')
				{
				document.getElementById('m12').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s12').style.display = 'block';
				} else {
				document.getElementById('m12').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s12').style.display = 'none';
				}
	}

	if ( a == 11)	
	{			
				if(document.getElementById('s11').style.display == 'none')
				{
				document.getElementById('m11').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s11').style.display = 'block';
				} else {
				document.getElementById('m11').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s11').style.display = 'none';
				}
	}

	if ( a == 10)	
	{			
				if(document.getElementById('s10').style.display == 'none')
				{
				document.getElementById('m10').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s10').style.display = 'block';
				} else {
				document.getElementById('m10').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s10').style.display = 'none';
				}
	}

	if ( a == 9)	
	{			
				if(document.getElementById('s9').style.display == 'none')
				{
				document.getElementById('m9').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s9').style.display = 'block';
				} else {
				document.getElementById('m9').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s9').style.display = 'none';
				}
	}

	if ( a == 8)	
	{			
				if(document.getElementById('s8').style.display == 'none')
				{
				document.getElementById('m8').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s8').style.display = 'block';
				} else {
				document.getElementById('m8').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s8').style.display = 'none';
				}
	}

	if ( a == 7)	
	{			
				if(document.getElementById('s7').style.display == 'none')
				{
				document.getElementById('m7').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s7').style.display = 'block';
				} else {
				document.getElementById('m7').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s7').style.display = 'none';
				}
	}

	if ( a == 6)	
	{			
				if(document.getElementById('s6').style.display == 'none')
				{
				document.getElementById('m6').src = 'http://lxmoodlenew1.sebiz.net/images/minusbottom.gif';
				document.getElementById('s6').style.display = 'block';
				} else {
				document.getElementById('m6').src = 'http://lxmoodlenew1.sebiz.net/images/plusbottom.gif';
				document.getElementById('s6').style.display = 'none';
				}
	}

	
	
}