function showdivq6_1y()
{
	div_q6_1y.style.display = 'Block';
	div_q6_1n.style.display = 'none';
}

function showdivq6_1n()
{
	div_q6_1n.style.display = 'Block';
	div_q6_1y.style.display = 'none';
}

function showdiv7()
{	
	if(frm2.txtq7.value == '')
	{
		div_7_1.style.display = "none";
		div_7_2.style.display = "none";
	}
	if((frm2.txtq7.value == 'Not at all') || (frm2.txtq7.value == 'Fairly') || (frm2.txtq7.value == 'Moderately'))
	{
		div_7_1.style.display = "block";
		div_7_2.style.display = "none";
	}
	if((frm2.txtq7.value == 'Interested') || (frm2.txtq7.value == 'Very interested') || (frm2.txtq7.value == 'Totally interested'))
	{
		div_7_1.style.display = "none";
		div_7_2.style.display = "block";
	}
}
function showdiv17()
{
	if(frm2.txtq17.value == "Other")	
		div_17.style.display = "block";			
	else
		div_17.style.display = "none";
}
function showdiv14()
{
	if(frm2.txtq14.value == "Other")	
		div_14.style.display = "block";			
	else
		div_14.style.display = "none";
}
function showdivq9_1y()
{
	div_q9_1y.style.display = 'Block';
}

function showdivq9_1n()
{
	div_q9_1y.style.display = 'none';
	frm2.txtq9_1y.value = '';
}

function showdivq8_1y()
{
	div_q8_1y.style.display = 'Block';
}

function showdivq8_1n()
{
	div_q8_1y.style.display = 'none';
	frm2.txtq8_1y.value = '';
}

var state2 = 'none';	
function showdiv(layer_ref)
{		
	state2 = eval( "document.all." + layer_ref + ".style.display");	
	if (state2 == 'block')
	{
		state2 = 'none';
	}
	else
	{
		state2 = 'block';		
	}
	if (document.all)
	{ //IS IE 4 or 5 (or 6 beta)
		eval( "document.all." + layer_ref + ".style.display = state2");
		if(layer_ref == 'div_11o')
			frm2.txt11o.value = '';
		else
			frm2.txt1o.value = '';
	}
	if (document.layers)
	{ //IS NETSCAPE 4 or below
		document.layers[layer_ref].display = state;
	}
	if (document.getElementById && !document.all)
	{
		showcopy = document.getElementById(layer_ref);
		showcopy.style.display = state;
	}
}

function showdiv16o()
{		
	
	if(frm2.txtq16.value == 'Other')
	{
		div_16o.style.display = "block";	
	}
	else
	{
		div_16o.style.display = "none";
		frm2.txt16o.value = '';
	}
}
function showdiv19o()
{	
	if(frm2.txtq19.value == 'Other')
	{
		div_19o.style.display = "block";	
	}
	else
	{
		div_19o.style.display = "none";
		frm2.txt19o.value = '';
	}
}
