function submitQuestion() { var question = document.getElementById("questionText"); document.location = 'http://answers.edmunds.com/AskQuestion.aspx?question=' + escape(question.value); } function updateCharCount() { questionTextBox = document.getElementById("questionText"); maxCharacters = 115; count = questionTextBox.value.length; var charactersLeft = maxCharacters - count; if (charactersLeft < 0) { charactersLeft = 0; } document.getElementById("characterCount").innerHTML = charactersLeft; if (count >= maxCharacters) { questionTextBox.value = questionTextBox.value.substring(0, maxCharacters - 1); } } var html = ''; html += '
' + '
' + '
' + '
' + ' Ask a Question' + '
' + ' ' + '

115 characters to use

' + '

' + ' Ask Question' + '

' + '
' + '
' + '
' + ' See What People Are Asking' + '
' + ' ' + ' ' + ' View All Edmunds Answers' + '
' + '
' + '
'; document.writeln(html);