// JavaScript Document



	function showHide_subcont(id){

		if (!document.getElementById('contact-params-'+id) && !document.getElementById('contact-params-link-'+id))

			return;

		if (document.getElementById('contact-params-'+id).style.display == 'none')

		{

			document.getElementById('contact-params-'+id).style.display = '';

			document.getElementById('contact-params-link-'+id).className = 'link_ov';

		}

		else

		{

			document.getElementById('contact-params-'+id).style.display = 'none';

			document.getElementById('contact-params-link-'+id).className = '';

		}

	}

	

	var faq_col = 9;

	var buisness_col = 10;

	var cosmetology_col = 1;
	
	var makeup_col = 2;

	var showHide_engineer_col = 10;



	function showHide_faq(id){

		showHide_listcont(id, faq_col);

	}

	function showHide_buisness(id){

		showHide_listcont(id, buisness_col);

	}

	function showHide_cosmetology(id){

		showHide_listcont(id, cosmetology_col);

	}

	function showHide_makeup(id){

		showHide_listcont(id, makeup_col);

	}

	function showHide_engineer(id){

		showHide_listcont(id, showHide_engineer_col);

	}


	function showHide_listcont(id, col)

	{

		col=++col;

		if (document.getElementById('btn_show_hide').innerHTML == 'Show All'){

				

			if (document.getElementById('faq_txt_'+id).style.display == 'none'){

				for(var i='1'; i<col; i++){

					document.getElementById('faq_txt_'+i).style.display = 'none';

					document.getElementById('faq_lnk_'+i).className = '';

				}

				document.getElementById('faq_txt_'+id).style.display = '';

				document.getElementById('faq_lnk_'+id).className = 'link_ov';

			}

			else {

				document.getElementById('faq_txt_'+id).style.display = 'none';

				document.getElementById('faq_lnk_'+id).className = '';

			}	

		}

		if (document.getElementById('btn_show_hide').innerHTML == 'Hide All'){

				

			if (document.getElementById('faq_txt_'+id).style.display == 'none'){

				document.getElementById('faq_txt_'+id).style.display = '';

				document.getElementById('faq_lnk_'+id).className = 'link_ov';

			}

			else {

				document.getElementById('faq_txt_'+id).style.display = 'none';

				document.getElementById('faq_lnk_'+id).className = '';

			}	

		}

	}

	

	function showAll_listcont(cont){

		if (document.getElementById('btn_show_hide').innerHTML == 'Show All'){

			for(var i=1; i<=cont; i++){

				document.getElementById('faq_txt_'+i).style.display = '';

				document.getElementById('faq_lnk_'+i).className = 'link_ov';

			}

			document.getElementById('back_to_top').style.display = '';

			document.getElementById('btn_show_hide').innerHTML = 'Hide All';

		}

		else{

			for(var i=1; i<=cont; i++){

				document.getElementById('faq_txt_'+i).style.display = 'none';

				document.getElementById('faq_lnk_'+i).className = '';

			}

			document.getElementById('back_to_top').style.display = 'none';

			document.getElementById('btn_show_hide').innerHTML = 'Show All';

		}

	}

	

	function readData(){

		var url_itm = unescape(location.search.substring(1, location.search.length));

		if (!document.getElementById('faq_txt_'+url_itm) && !document.getElementById('faq_lnk_'+url_itm))

			return;

		document.getElementById('faq_txt_'+url_itm).style.display = '';

		document.getElementById('faq_lnk_'+url_itm).className = 'link_ov';

		if(!location.hash.substring(0, 8))

			location.href += '#faq_lnk_'+url_itm;

	}
