function loadJS(params){ var head= document.getElementsByTagName('head')[0]; var script= document.createElement('script'); script.type= 'text/javascript'; script.src= 'https://www.taxtim.com/za/help/ask-a-tax-question.php?'+params; head.appendChild(script); } function showDiv(div,how){ if (document.getElementById(div)) document.getElementById(div).style.visibility = (how == 1 ? "visible" : "hidden"); if (document.getElementById(div)) document.getElementById(div).style.display = (how == 1 ? "block" : "none"); } function validateAsk(goahead){ var errmessg = ""; var score = 0; if (document.getElementById('detail').value.length<5) errmessg+="Please enter your question.\n"; if (document.getElementById('question').value.length<5) errmessg+="Please enter a short version of your question.\n"; var atsign = document.getElementById("eml").value.indexOf("@"); var dot = document.getElementById("eml").value.indexOf("."); if (atsign>0 && dot>0 && document.getElementById("eml").value.indexOf(".",atsign)>0) score++; else errmessg+="Please enter a valid email address.\n"; if (document.getElementById('fname').value.length==0) errmessg+="Please enter your name.\n"; if (errmessg=="") { showDiv('restofform',0); document.getElementById('success').innerHTML = "Submitting your question. Please wait..."; showDiv('success',1); showDiv('error',0); showDiv('previousQs',0); var url = 'r='+Math.floor(Math.random()*500)+'&widget=1&detail='+encodeURIComponent(document.getElementById('detail').value)+'&question='+encodeURIComponent(document.getElementById('question').value)+'&eml='+encodeURIComponent(document.getElementById('eml').value)+'&fname='+encodeURIComponent(document.getElementById('fname').value)+'&from='+encodeURIComponent(source)+'&fromcode='+encodeURIComponent('48769')+(goahead==1?'&goahead=1':'')+(showed_questions!=''?'&showed_questions='+showed_questions:'')+'&list-back='+encodeURIComponent('#EEE')+'&list-border='+encodeURIComponent('#DDD'); //ajaxConn.connect('https://www.taxtim.com/za/help/ask-a-tax-question.php','GET',url,whenDone); loadJS(url); } else alert(errmessg); } var showed_questions = ""; var source = "All Quotes"; var question_num = 11; setTimeout("setHeight()",1); setTimeout("rotateQs()",5000); function setHeight(){ var container = document.getElementById('container'); var children = container.childNodes; var setHeight = 0; if (children!=null){ var limit = children.length - 1; if (50) setTimeout("scrollQs("+remaining+");",50); else setTimeout("rotateQs()",10000); }document.getElementById('taxtim-helpdesk').innerHTML="

Ask your Tax Question Here

Enter your question below and get it answered by tax professionals at TaxTim:


Latest tax questions from All Quotes:
Powered by
\"TaxTim\"
";