function sizeQuickPoll(quickPollId)
{
  if (document.getElementById && !document.all)
  {
    var theFrame = document.getElementById(quickPollId);
    var body = theFrame.contentDocument.getElementsByTagName('body').item(0);
    var height = parseInt(theFrame.contentDocument.body.scrollHeight);
    theFrame.style.height = height + 'px';
  }
  else if (document.all)
  {
    var quickPoll = eval('window.frames.'+quickPollId);
    var h = parseInt(quickPoll.document.body.scrollHeight);
    quickPoll = eval('document.all.'+quickPollId);
    quickPoll.style.height = h + 'px';
  }
}
function hideQuickPoll(quickPollId)
{
  var quickPoll;
  if (document.getElementById && !document.all)
  {
      quickPoll = document.getElementById(quickPollId);
  }
  else if (document.all)
  {
      quickPoll = eval('document.all.'+quickPollId);
  }
  if (quickPoll) quickPoll.style.display = 'none';
}
function initiateQuickPoll()
{
  // only show if we have a DOM-aware browser other than IE on Mac
  document.domain = "xerox.com";
  var isMacIE = (navigator.appVersion.indexOf('MSIE') != -1 && navigator.appVersion.toLowerCase().indexOf('win') == -1);
  if (document.getElementById && !isMacIE)
  {
    var thisPage = escape(location.href);
    document.write('<IFRAME frameborder="0" name="quickpoll_frame" id="quickpoll_frame" scrolling="no" width=167 src="http://www.office.xerox.com/perl-bin/quick_poll.pl?user_type=xcom_enduser&request_page=' + thisPage + '"></IFRAME>');
  }
  -->
}

