
	function hide_show_data( container_obj, display )
	{
		var header_obj = container_obj.getElementsByTagName('h3');
		for( i_h = 0; i_h < header_obj.length; i_h++ )
		{
			if( display )
			{
				header_obj[i_h].style.color = '#003768';
				header_obj[i_h].style.fontSize = '13px';
				header_obj[i_h].style.fontWeight = 'bold';
				header_obj[i_h].style.textDecoration = 'none';
				header_obj[i_h].style.cursor = 'default';
				header_obj[i_h].style.letterSpacing = '0px';
			}
			else
			{
				header_obj[i_h].style.color = '#000000';
				header_obj[i_h].style.fontSize = '12px';
				header_obj[i_h].style.fontWeight = 'normal';
				header_obj[i_h].style.textDecoration = 'none';
				header_obj[i_h].style.cursor = 'pointer';
				header_obj[i_h].style.letterSpacing = '0px';
			}
		}

		var data_obj = container_obj.getElementsByTagName('p');
		for( i_d = 0; i_d < data_obj.length; i_d++ )
		{
			if( display )
			{
				data_obj[i_d].style.display = 'block';
			}
			else
			{
				data_obj[i_d].style.display = 'none';
			}
		}
	}

	function hide_all( wrap_id )
	{
		var container_obj = document.getElementById( wrap_id ).getElementsByTagName('div');
		for( i_c = 0; i_c < container_obj.length; i_c++ )
		{
			hide_show_data( container_obj[i_c] );
		}
	}
	
	function fold( wrap_id, container_obj )
	{
		hide_all( wrap_id );
		hide_show_data( container_obj, true );
	}

	function init()
	{
		if( !document.getElementsByTagName )
		{
			return false;
		}

		hide_all('faq');
		
		var questions = document.getElementById('faq').getElementsByTagName('div');
		
		browser == "Internet Explorer" ? n = 0 : n = 1 ;
		
		for( var i=0; i < questions.length; i++ )
		{
			if( questions[i].className == 'question' )
			{
				questions[i].childNodes[n].onclick = function()
				{
					fold( 'faq', this.parentNode );
					return false;
				}
			}
		}
		document.getElementById('faq').onmouseout = function()
		{
		//	hide_all('faq');
		}
	}

	window.onload = init;

