
	answers = new Array();
	answers[0] = new Array();
	answers[0][0] = "Fiscalreps would recommend your organisation gives more focus and priority to Premium Tax compliance. ";
	answers[0][1] = "Fiscalreps would recommend your organisation gives more focus and priority to Premium Tax compliance. ";
	answers[0][2] = "";
	answers[0][3] = "";
	
	answers[1] = new Array();
	answers[1][0] = "Please see our Training Calendar for 2012 for our full course syllabus covering IPT Basics, IPT Intermediate and IPT Advanced. Your employees will get comprehensive training in IPT, giving them the tools to complete their job accurately. ";
	answers[1][1] = "Please see our Training Calendar for 2012 for our full course syllabus covering IPT Basics, IPT Intermediate and IPT Advanced. Your employees will get comprehensive training in IPT, giving them the tools to complete their job accurately. ";
	answers[1][2] = "Please see our Training Calendar for 2012 for details on our IPT Advanced course. Your employees will get comprehensive training in IPT, giving them the tools to complete their job accurately. ";
	answers[1][3] = " ";
	
	answers[2] = new Array();
	answers[2][0] = "Sign up to our online mailer for up to date Premium Tax Alerts, free of charge! ";
	answers[2][1] = "Sign up to our online mailer for up to date Premium Tax Alerts, free of charge! ";
	answers[2][2] = "Sign up to our online mailer for up to date Premium Tax Alerts, free of charge! ";
	answers[2][3] = " ";

	answers[3] = new Array();	
	answers[3][0] = "Fiscalreps Outsourcing service allows you to have complete faith in the processing of your tax returns. Our expert team of specialists ensure deadlines are met and penalties are a thing of the past. ";
	answers[3][1] = "Fiscalreps Outsourcing service allows you to have complete faith in the processing of your tax returns. Our expert team of specialists ensure deadlines are met and penalties are a thing of the past. ";
	answers[3][2] = "Fiscalreps Outsourcing service allows you to have complete faith in the processing of your tax returns. Our expert team of specialists ensure deadlines are met and penalties are a thing of the past. ";
	answers[3][3] = " ";
	
	answers[4] = new Array();
	answers[4][0] = "TaxBox and TaxDNA have been developed in house and is used daily to process tax returns for over 200 clients. Contact us for a free demonstration and to understand how these systems can improve your business. ";
	answers[4][1] = "TaxBox and TaxDNA have been developed in house and is used daily to process tax returns for over 200 clients. Contact us for a free demonstration and to understand how these systems can improve your business. ";
	answers[4][2] = "TaxBox and TaxDNA have been developed in house and is used daily to process tax returns for over 200 clients. Contact us for a free demonstration and to understand how these systems can improve your business. ";
	answers[4][3] = " ";
	
	answers[5] = new Array();
	answers[5][0] = "Fiscalreps Outsourcing service allows you to have complete faith in the processing of your tax returns. Our expert team of specialists ensure deadlines are met and penalties are a thing of the past. ";
	answers[5][1] = "Fiscalreps Outsourcing service allows you to have complete faith in the processing of your tax returns. Our expert team of specialists ensure deadlines are met and penalties are a thing of the past. ";
	answers[5][2] = "Fiscalreps Outsourcing service allows you to have complete faith in the processing of your tax returns. Our expert team of specialists ensure deadlines are met and penalties are a thing of the past. ";
	answers[5][3] = " ";
	
	answers[6] = new Array();
	answers[6][0] = " ";
	answers[6][1] = "Contact the Fiscalreps Consulting team who will review your potential liabilities and help you to close out these liabilities with European tax offices with minimal financial and reputational exposure. ";
	answers[6][2] = "Contact the Fiscalreps Consulting team who will review your potential liabilities and help you to close out these liabilities with European tax offices with minimal financial and reputational exposure. ";
	answers[6][3] = " ";
	
	answers[7] = new Array();
	answers[7][0] = " ";
	answers[7][1] = "FiscalReps can analyse the reasons for failure and identify process improvements. ";
	answers[7][2] = " ";
	answers[7][3] = " ";
	
	answers[8] = new Array();
	answers[8][0] = "Contact the Fiscalreps Consulting team who will review your potential liabilities and help you to close out these liabilities with European tax offices with minimal financial and reputational exposure. ";
	answers[8][1] = " ";
	answers[8][2] = " ";
	answers[8][3] = " ";
	
	answers[9] = new Array();
	answers[9][0] = " ";
	answers[9][1] = "Fiscalreps would recommend your organisation gives more focus and priority to Premium Tax compliance. ";
	answers[9][2] = " ";
	answers[9][3] = " ";
	
	answers[10] = new Array();
	answers[10][0] = "Contact the Fiscalreps Consulting team who will review your potential liabilities and help you to close out these liabilities with European tax offices with minimal financial and reputational exposure. ";
	answers[10][1] = "Contact the Fiscalreps Consulting team who will review your potential liabilities and help you to close out these liabilities with European tax offices with minimal financial and reputational exposure. ";
	answers[10][2] = " ";
	answers[10][3] = " ";
	
	answers[11] = new Array();
	answers[11][0] = "FiscalReps can assist you with your next Premium Tax Audit. ";
	answers[11][1] = "FiscalReps can assist you with your next Premium Tax Audit. ";
	answers[11][2] = "FiscalReps can assist you with your next Premium Tax Audit. ";
	answers[11][3] = "FiscalReps can assist you with your next Premium Tax Audit. ";
	
	answers[12] = new Array();
	answers[12][0] = " ";
	answers[12][1] = " ";
	answers[12][2] = " ";
	answers[12][3] = " ";
	
	var solution = new Array();
	
	function getDTIndex(){};
	
	function setRadios(){
		var radioArr = document.getElementById('qAndA').getElementsByTagName('input');
		
		for(var i = 0; i < radioArr.length; i++){
			if(radioArr[i].getAttribute('type') == "radio"){
				radioArr[i].checked = false;
				radioArr[i].onclick = function(){
					addClass(document.getElementById('btnNextQ'),'showEle',true);
					var siblings = this.parentNode.parentNode.getElementsByTagName('label');
					index = parseInt(this.getAttribute('name').substr(2));
					//alert(typeof index);
					//alert(this.getAttribute('name') + parseInt(this.getAttribute('name').substr(2)));
					
					
					for(var i =0; i < siblings.length; i++){
						if(this.parentNode == siblings[i]){
							siblings[i].className = "selected";
						}else{
							siblings[i].className = "";
						}
					}
					solution[index] = answers[index][this.value];
				}
			}
		}
	}
	function setNextBtn(){
		document.getElementById('btnNextQ').onclick = function(){
			addClass(this,'showEle',false);
			revealNext(index);
		}
	}
	function setQandASubmit(){
		if(!document.getElementById('qAndA')){
			return false;
		}
		dtArr = document.getElementById('qAndA').getElementsByTagName('dt');
		ddArr = document.getElementById('qAndA').getElementsByTagName('dd');
		setRadios();
		setNextBtn();
		/*document.getElementById('qAndA').onsubmit = function(){
			showSolution();
			return false;
		}*/
	}
	function revealNext(index){
		
		if(index + 1 < dtArr.length){
			
			dtArr[index+1].className = "open";
			ddArr[index+1].className = "open";
			dtArr[index].className = "";
			ddArr[index].className = "";			
			document.getElementById('currNum').innerHTML = index+2;
			progBar(index);
			//alert('reveal next' + (index+1));
			//qAndAObj.style.background = "#ff0000";
		}else{
			showSolution();
			addClass(document.getElementById('qAndA'),'hideEle',true);
		}
	}
	function showSolution(){
		var finalMsg = "";
		for(var i = 0; i < solution.length; i++){
			//finalMsg += '<p>' + (i + 1) + '- ' + solution[i] + '</p>';
			finalMsg += solution[i];
		}
		var contentArea = getEleByClass(Array('content'),document.getElementById('finalMsg'))[0];
		//document.getElementById('finalMsg').innerHTML = finalMsg;
		contentArea.innerHTML = '<p>' + finalMsg + '</p>';
		addClass(document.getElementById('finalMsg'),'showEle',true);
	}
	function progBar(currNum){
		var progBar = document.getElementById('progressBar').getElementsByTagName('li');
		addClass(progBar[currNum],'open',true);
	}
