function addCount(c, type, siteroot) {

   // leaving comment bellow in case a rollback is needed.  (Don't want to have to untangle verbose JS in subversion)
   /*var div = '<div>\r\n<p>Thank you for your feedback.</p>\r\n<p><a id="email_button" class="button enter" style="margin:40px 0pt 0pt 66px !important;" onclick="$(\'email_button\').hide();$(\'email_box\').show();">Email this review to a friend</a></p>\r\n</div><div id="email_box" style="background : none;height:170px;background-color: #C6E6F7;display:none;"><div  style="background:none; width: 200px;height: 50px; padding: 2px;;margin: auto;"><label for="email">Recipient Email</label><input type="text" value="" name="email" ></div><div  style="background:none; width: 200px; margin: 0 auto;height: 50px; padding: 2px;"><label for="from">From</label><input type="text" value="" name="from"> <br /><br /><input type="button" value="Send" onclick=""></div></div>'; */
  
   var div = '<div><p>Thank you for your feedback.</p>' + 
	      '<p><a id="email_button" class="button enter" style="margin:40px 0pt 0pt 66px !important;" onclick="$(\'email_button\').hide();$(\'email_box\').show();">' +
		'Email this review to a friend</a>' +
	      '</p>' +
              ' </div> ' +
              '<div id="email_box"  style="background : none;height:170px;background-color: #C6E6F7;display:none;">' +
                  '<div  style="background:none; width: 170px;height: 50px; padding: 2px;;margin: auto;">' +
                    '<label for="email">Recipient Email</label>' +
                    '<input type="text" value="" name="email" ></div>' +
                  '<div style="background:none; width: 170px; margin: 0 auto;height: 50px; padding: 2px;">' +
                    '<label for="from">From</label><input type="text" value="" name="from"> <br /><br />' +
                    '<input type="button" value="Send" onclick="">' +
                  '</div>' +
               '</div>';

   if (c == 0 || undefined == $('review_id') || undefined == type) {
      $('question').update(div);
      return;
   }

   var url = siteroot + 'ajax'; 
   var id = ($('review_id').value);

   new Ajax.Updater('question', url, {
    method: 'get',
    parameters: "f=addcount&t=" + type + "&id=" + id
   });
}
