
function twiigsAddStyle43690_73809600(stype, mods)
{
  var params = {
    "background-color" : "transparent",
    "background-image" : "none",
    "border-style" : "none",
    "clear" : "none",
    "display" : "block",
    "float" : "none",
    "position" : "static",
    "visibility" : "visible",
    "height" : "auto",
    "line-height" : "normal", 
    "width" : "auto",
    "margin-top" : "0",
    "margin-right" : "0",
    "margin-bottom" : "0",
    "margin-left" : "0",
    "outline-style" : "none",
    "padding-top" : "0",
    "padding-right" : "0",
    "padding-bottom" : "0",
    "padding-left" : "0",
    "clip" : "auto",
    "overflow" : "hidden",
    "vertical-align" : "baseline",
    "z-index" : "auto",
    "letter-spacing" : "normal", 
    "text-align" : "left",
    "text-decoration" : "none",
    "text-indent" : "0",
    "text-shadow" : "none",
    "text-transform" : "none",
    "white-space" : "normal",
    "word-spacing" : "normal"
  }; 
  
  for(var i in stype)
    params[i] = stype[i];
  for(var i in mods)
    params[i] = mods[i];
  
  var style = ' style="';  
  for(var i in params)
  {
    if(params[i] != null)
      style += i + ": " + params[i] + "; ";
  }
  style += '"';

  return style;
}

function twiigsAddStyleBlock43690_73809600(mods)
{
  var stype = {
  };
  return twiigsAddStyle43690_73809600(stype, mods);
}

function twiigsAddStyleInline43690_73809600(mods)
{
  var stype = {
    "display" : "inline"
  };
  return twiigsAddStyle43690_73809600(stype, mods);
}

function twiigsAddStyleInput43690_73809600(mods)
{
  var stype = { 
    "background-color" : null,
    "background-image" : null,
    "border-style" : null,
    "display" : "inline",
    "text-shadow" : null
  };
  return twiigsAddStyle43690_73809600(stype, mods);
}

function twiigsAddStyleImage43690_73809600(mods)
{
  var stype = { 
    "background-color" : null,
    "background-image" : null,
    "display" : "inline",
    "height" : null, 
    "width" : null 
  };
  return twiigsAddStyle43690_73809600(stype, mods);
}

function twiigsAddStyleLink43690_73809600(mods)
{
  var stype = { 
    "display" : "inline",
    "text-decoration" : null
  };
  return twiigsAddStyle43690_73809600(stype, mods);
}

function twiigsAddStyleList43690_73809600(mods)
{
  var stype = { 
    "display" : "list-item",
    "list-style-type" : "none",
    "list-style-position" : "outside",
    "list-style-image" : "none"
  };
  return twiigsAddStyle43690_73809600(stype, mods);
}

function twiigsPollBarWidthSet43690_73809600()
{
  for(var i = 0; i < 3; i++)
    twiigsPollBarWidthSetBar43690_73809600(i, 20);
}

function twiigsPollBarWidthSetBar43690_73809600(i, n)
{
  var imgObj = document.getElementById("TWIIGSPOLL43690_73809600answerimg" + i);
  if(imgObj)
  {
    var itemObj = document.getElementById("TWIIGSPOLL43690_73809600answeritem" + i);
    if(itemObj)
    {
      if(itemObj.offsetWidth > 0)
      {
        var pctObj = document.getElementById("TWIIGSPOLL43690_73809600answerpct" + i);
        var pct = parseFloat(pctObj.innerHTML);
        imgObj.width = parseInt(pct * (parseInt(itemObj.offsetWidth) - 56));
        pctObj.innerHTML = parseInt(pct * 100) + "%";
      }
      else
      {
        if(n > 0)
        {
          n--;
          setTimeout('twiigsPollBarWidthSetBar43690_73809600(' + i + ', ' + n + ')', 100);
        }
      }
    }
  }
}

document.write('<div class="TWIIGSPOLLpollcontainer" '+twiigsAddStyleBlock43690_73809600({})+'>'
+' <div class="TWIIGSPOLLpoll" '+twiigsAddStyleBlock43690_73809600({"margin-top":"5px","margin-right":"5px","margin-left":"5px"})+'>'
+' <div class="TWIIGSPOLLquestion" '+twiigsAddStyleBlock43690_73809600({"margin-bottom":"8px","font-weight":"bold"})+'>'
+' <a class="TWIIGSPOLLquestionlink" href="http://www.twiigs.com/poll/Politics/43690" '+twiigsAddStyleInline43690_73809600({})+'>'
+'Generally speaking, would you say things in this country are heading in the right direction or in the wrong direction?</a>'
+' </div>'
+' <div id="TWIIGSPOLL43690_73809600" class="TWIIGSPOLLresponse" '+twiigsAddStyleBlock43690_73809600({})+'>'
+' <div class="TWIIGSPOLLresults" '+twiigsAddStyleBlock43690_73809600({})+'>'
+' <ul class="TWIIGSPOLLanswerslist" '+twiigsAddStyleBlock43690_73809600({})+'>'
+' <li id="TWIIGSPOLL43690_73809600answeritem0" class="TWIIGSPOLLanswersitem" '+twiigsAddStyleList43690_73809600({"margin-bottom":"7px","margin-left":"4px","*margin-bottom":"2px"})+'>'
+' Right direction<br>'
+' <span title="227 votes" '+twiigsAddStyleInline43690_73809600({})+'>'
+' <img src="http://www.twiigs.com/img/pb_orange_beg03.png" width="2" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+'<img id="TWIIGSPOLL43690_73809600answerimg0" src="http://www.twiigs.com/img/pb_orange_mid03.png" width="0" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+'<img src="http://www.twiigs.com/img/pb_orange_end03.png" width="2" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+' </span>'
+' <span id="TWIIGSPOLL43690_73809600answerpct0" '+twiigsAddStyleInline43690_73809600({})+'>'
+'0.20960295475531</span>'
+' </li>'
+' <li id="TWIIGSPOLL43690_73809600answeritem1" class="TWIIGSPOLLanswersitem" '+twiigsAddStyleList43690_73809600({"margin-bottom":"7px","margin-left":"4px","*margin-bottom":"2px"})+'>'
+' Wrong direction<br>'
+' <span title="816 votes" '+twiigsAddStyleInline43690_73809600({})+'>'
+' <img src="http://www.twiigs.com/img/pb_orange_beg03.png" width="2" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+'<img id="TWIIGSPOLL43690_73809600answerimg1" src="http://www.twiigs.com/img/pb_orange_mid03.png" width="0" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+'<img src="http://www.twiigs.com/img/pb_orange_end03.png" width="2" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+' </span>'
+' <span id="TWIIGSPOLL43690_73809600answerpct1" '+twiigsAddStyleInline43690_73809600({})+'>'
+'0.75346260387812</span>'
+' </li>'
+' <li id="TWIIGSPOLL43690_73809600answeritem2" class="TWIIGSPOLLanswersitem" '+twiigsAddStyleList43690_73809600({"margin-bottom":"7px","margin-left":"4px","*margin-bottom":"2px"})+'>'
+' Don'+"'"+'t know<br>'
+' <span title="40 votes" '+twiigsAddStyleInline43690_73809600({})+'>'
+' <img src="http://www.twiigs.com/img/pb_orange_beg03.png" width="2" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+'<img id="TWIIGSPOLL43690_73809600answerimg2" src="http://www.twiigs.com/img/pb_orange_mid03.png" width="0" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+'<img src="http://www.twiigs.com/img/pb_orange_end03.png" width="2" height="10" '+twiigsAddStyleImage43690_73809600({})+'>'
+' </span>'
+' <span id="TWIIGSPOLL43690_73809600answerpct2" '+twiigsAddStyleInline43690_73809600({})+'>'
+'0.036934441366574</span>'
+' </li>'
+' </ul>'
+' <div class="TWIIGSPOLLpostinfo" '+twiigsAddStyleBlock43690_73809600({"margin-bottom":"8px","text-align":"right","display":"none"})+'>'
+' Created on Nov 12, 2009 </div>'
+' <p class="TWIIGSPOLLclosed" '+twiigsAddStyleBlock43690_73809600({"margin-bottom":"2px","text-align":"center","font-weight":"bold"})+'>'
+'Closed</p>'
+' <p class="TWIIGSPOLLtotalvotes" '+twiigsAddStyleBlock43690_73809600({"text-align":"center"})+'>'
+' Total Votes: 1,083 </p>'
+' </div>'
+' </div>'
+' </div>'
+' </div>'
+'');
twiigsPollBarWidthSet43690_73809600();
