ab_ask_widget = new Object(); ab_ask_widget.id = 'ab_ask_container'; ab_ask_widget.title = typeof ab_ask_title == 'string' ? unescape(ab_ask_title) : 'Ask a Question'; ab_ask_widget.subtitle = typeof ab_ask_subtitle == 'string' ? unescape(ab_ask_subtitle) : ''; ab_ask_widget.width = typeof ab_ask_width == 'string' ? ab_ask_width : '200px'; ab_ask_widget.header_col = typeof ab_ask_header_col == 'string' ? ab_ask_header_col : '#000'; ab_ask_widget.background = typeof ab_ask_background == 'string' ? ab_ask_background : '#fff'; ab_ask_widget.border = typeof ab_ask_border == 'string' ? ab_ask_border : '#e0e0e0'; ab_ask_widget.showtitlebar = typeof ab_ask_showtitlebar == 'undefined' ? 1 : parseInt(ab_ask_showtitlebar); ab_ask_widget.showborder = typeof ab_ask_showborder == 'undefined' ? 1 : parseInt(ab_ask_showborder); ab_ask_widget.showmargins = typeof ab_ask_showmargins == 'undefined' ? 1 : parseInt(ab_ask_showmargins); ab_ask_widget.redirectUrl = 'https://paddlepalace.services.answerbase.com/SubmitQuestion.ashx'; ab_ask_widget.loadcssfix = true; document.write(''); document.write(''); document.write('
'); document.write(''); document.write('

Ask a Question

'); document.write(''); document.write('

'); document.write(''); document.write(' at Paddle Palace Q&A'); document.write(''); document.write('

'); document.write(''); document.write(''); document.write('
'); document.write(''); document.write(' '); document.write('
'); document.write(''); document.write('
'); document.write(''); document.write('

'); document.write(''); document.write('

115 characters to use
'); document.write(''); document.write(' '); document.write(''); document.write('

'); document.write(''); document.write('
'); document.write(''); document.write(''); document.write('
 
'); document.write(''); document.write('
'); document.write(''); function LimitChrs(txt) { var MaxCharacters = 115; if(txt != null) { var spn = document.getElementById('txt_count'); var count = txt.value.length; var charactersLeft = MaxCharacters - count; if(spn != null) { if (charactersLeft < 0) charactersLeft = 0; spn.innerHTML = charactersLeft; } if (count > MaxCharacters) { txt.value = txt.value.substring(0, MaxCharacters); } } } function LoadCSSFix() { var width_parsed = parseInt(ab_ask_widget.width); document.getElementById('ab_ask_question').style.width = width_parsed - 12 + "px"; } function PseudoSubmit() { window.location = ab_ask_widget.redirectUrl + "?q=" + escape(document.getElementById('ab_ask_question').value + "&widget=1"); } window.addEventListener("load", function () { if (ab_ask_widget.loadcssfix) { LoadCSSFix(); } //Show Title Bar? if(ab_ask_widget.showtitlebar == 0) { document.getElementById('ab_ask_header').style.display = 'none'; document.getElementById('ab_ask_subheader').style.display = 'none'; } document.getElementById('ab_ask_header').innerHTML = ab_ask_widget.title; document.getElementById('ab_ask_header').style.color = ab_ask_widget.header_col; document.getElementById('ab_ask_subheader').innerHTML = ab_ask_widget.subtitle; var width_parsed = parseInt(ab_ask_widget.width); document.getElementById('ab_ask_widget_container').style.width=width_parsed+"px"; document.getElementById('ab_ask_widget_container').style.backgroundColor = ab_ask_widget.background; //Show Border? if(ab_ask_widget.showborder == 0) { document.getElementById('ab_ask_widget_container').style.border = 'none'; } else { document.getElementById('ab_ask_widget_container').style.border = '1px solid ' + ab_ask_widget.border; } //Remove padding? if(ab_ask_widget.showmargins == 0) { //Container var el = document.getElementById('ab_ask_widget_container'); if (el && el.style) { el.style.padding = '0'; } } }); document.write("");