var nowTime = (new Date()).getTime();
var requestHeader = "?TransID=RVOTES04";
var url = "http://www.voote.com/jsp/WAppServerPage.jsp" + requestHeader + "&Web=Y&VoteID=" + voteid + "&rt=" + nowTime + "&ori=" + ori + "&size=" + size + "&limit=" + limit + "&bcolor=" + bcolor + "&bbcolor=" + bbcolor + "&bfcolor=" + bfcolor + "&hbcolor=" + hbcolor + "&hfcolor=" + hfcolor + "&desc=" + dispDesc + "&percent=" + dispPerc;

var output = '<iframe id="Vootlet" name="Vootlet" src="' + url + '" frameborder="0" scrolling="no" marginwidth="0" style="margin:0px; border:0px padding:0px; width:' + fwidth + ';height:' + fheight + ';"></iframe>';
document.write(output);

function get_radio_value(radioObj) {
    
    for (var i=0; i < radioObj.length; i++) {
        if (radioObj[i].checked) {
            return radioObj[i].value;
        }
    }
}

