

var poll_96338 = "";
var results_96338 = "";

var pollElem_96338 = document.getElementById("pliner_poll_form_96338");
var resultsElem_96338 = document.getElementById("pliner_poll_results_96338");

poll_96338 += "<table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"font-size: 12px; font-family: Calibri, Arial, sans-serif;\">";
poll_96338 += "<tr><td align=\"left\" id=\"pliner_poll_96338_container\">";
poll_96338 += "<div style=\"font-size: 14px; font-weight: bold;\">How would you describe yourself?</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"1\" id=\"answer_96338_1\" />";
poll_96338 += "<label for=\"answer_96338_1\">A Believer</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"2\" id=\"answer_96338_2\" />";
poll_96338 += "<label for=\"answer_96338_2\">A Skeptic</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"3\" id=\"answer_96338_3\" />";
poll_96338 += "<label for=\"answer_96338_3\">A Medium</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"4\" id=\"answer_96338_4\" />";
poll_96338 += "<label for=\"answer_96338_4\">A Clairvoyant</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"5\" id=\"answer_96338_5\" />";
poll_96338 += "<label for=\"answer_96338_5\">A Psycic</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"6\" id=\"answer_96338_6\" />";
poll_96338 += "<label for=\"answer_96338_6\">Just Interested</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"7\" id=\"answer_96338_7\" />";
poll_96338 += "<label for=\"answer_96338_7\">Undecided</label>";
poll_96338 += "</div>";
poll_96338 += "<div style=\"cursor: pointer; cursor: hand; padding-left: 19px; padding-right: 10px; text-indent: -20px;\" onmouseover=\"this.style.backgroundColor='#CCCCFF';\" onmouseout=\"this.style.backgroundColor='transparent';\" onclick=\"pliner_poll_96338_select(this);\">";
poll_96338 += "<input type=\"radio\" name=\"pliner_poll_96338\" value=\"8\" id=\"answer_96338_8\" />";
poll_96338 += "<label for=\"answer_96338_8\">None of the Above</label>";
poll_96338 += "</div>";
poll_96338 += "<br /><div align=\"center\"><input type=\"button\" value=\"Vote\" onclick=\"pliner_poll_96338_vote();\" /></div>";
poll_96338 += "<div align=\"center\"><a href=\"javascript:pliner_poll_96338_results();\" onclick=\"pliner_poll_96338_results();return false;\">View the Poll Results</a></div>";
poll_96338 += "</td></tr></table><br />";



results_96338 += "<div style=\"position: relative; background-image(http://www.pliner.net/apppoll2/images/loading.gif); background-position: center top; background-repeat: no-repeat;\">";
results_96338 += "<div style=\"position: absolute; top: 6px; right: 5px; z-index: 15; font-size: 11px;\">";
results_96338 += "<a href=\"javascript:\" onclick=\"resultsElem_96338.style.display = 'none';return false;\" style=\"color: #000000; text-decoration: none; font-family: Arial, Sans-Serif;\">";
results_96338 += "Close <img src=\"http://www.pliner.net/apppoll2/images/closemessage.gif\" width=\"10\" height=\"10\" align=\"absmiddle\" alt=\"Close Results\" border=\"0\" />";
results_96338 += "</a>";
results_96338 += "</div>";
results_96338 += "<iframe style=\"background-color: Transparent;\" height=\"300\" width=\"370\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" id=\"pliner_poll_frame_96338\"></iframe>";
results_96338 += "</div>";

pollElem_96338.innerHTML = poll_96338;
resultsElem_96338.innerHTML = results_96338;

resultsElem_96338.style.display = "none";
resultsElem_96338.style.position = "absolute";
resultsElem_96338.style.top = "0px";
resultsElem_96338.style.left = "0px";

function pliner_poll_96338_vote()
{
    var radioGroup = document.getElementsByName("pliner_poll_96338");
    var selectedValue = -1;

    for (var i=0; i < radioGroup.length; i++)
        if (radioGroup[i] != null && radioGroup[i].checked)
            selectedValue = radioGroup[i].value;
            
    if (selectedValue == -1) { alert("You have not made a selection yet!"); return; }

    pliner_poll_96338_results(selectedValue);
}

function pliner_poll_96338_results(answer)
{
    if (answer == null || answer == undefined || !answer) answer = -1;
    var addr = "http://www.pliner.net/apppoll2/results.aspx?p=19e252&v=" + answer;
    document.getElementById("pliner_poll_frame_96338").src = addr;
    
    var cont = document.getElementById("pliner_poll_96338_container");
    resultsElem_96338.style.display = "block";
    resultsElem_96338.style.top = FindPosY_96338(cont) + "px";
    resultsElem_96338.style.left = FindPosX_96338(cont) + "px";
}

function pliner_poll_96338_select(elem)
{
    if (elem == null || !elem) return;
    for (var n=0; n < elem.childNodes.length; n++)
        if (elem.childNodes[n].nodeName.toLowerCase() == 'input') 
            if (elem.childNodes[n].type.toLowerCase() == 'radio')
                elem.childNodes[n].checked = true;
}

function FindPosX_96338(obj) {
	var curleft = 0;
	if(obj.offsetParent)
		while(1) {
			curleft += obj.offsetLeft;
			if(!obj.offsetParent) break;
			obj = obj.offsetParent; }
	else if(obj.x) curleft += obj.x;
	return curleft; }
function FindPosY_96338(obj) {
	var curtop = 0;
	if(obj.offsetParent)
		while(1) {
			curtop += obj.offsetTop;
			if(!obj.offsetParent) break;
			obj = obj.offsetParent; }
	else if(obj.y) curtop += obj.y;
	return curtop; }