var pollClosed1613619 = false;
var PDV_POLLRAND1613619 = false;

var PDV_a1613619 = "";
var PDV_o1613619 = "";
var PDV_id1613619 = 1613619;
var PDV_pt1613619 = 0;
var PDV_po1613619 = 0;
var PDV_s1613619 = 67564;
var PDV_b1613619 = 1;
var PDV_l1613619 = 0;
var PDV_pr1613619 = 2;
var PDV_w1613619 = 1613619;
 
var PDV_sl1613619 = 1;
var PDV_va1613619 = 0;

var PDV_lnk1613619 = 1;



var PDV_def1613619 = '#PDI_container1613619 .pds-box{background:url(\'http://www.robingunn.com/IMAGES/poll_bg_square\') repeat top left;border: 0px solid #C0C0C0;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;width: 150px;} #PDI_container1613619 .pds-question-top{font: normal normal normal 14px/16px Arial;color: #ffffcc;border: 0px none #000000;background-color: Transparent;margin: 0px 0px 20px 0px;padding: 0px 0px 0px 0px;} #PDI_container1613619 .pds-answer{font: normal normal normal 12px/20px Arial;color: #ffff99;background-color: Transparent;border: 0px none #FFFFFF;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;} #PDI_container1613619 .pds-textfield{font: normal normal normal 10px/10px Arial;color: #ffffff;background-color: #ffffff;border: 1px solid #999999;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;width: 130px;} #PDI_container1613619 .pds-answer-feedback{background-color: #ffffcc;border: 1px solid #000033;padding: 0px 0px 0px 0px;margin: 0px 0px 0px 0px;} #PDI_container1613619 .pds-answer-feedback-bar{background-color: #3399cc;border: 0px solid #999999;padding: 3px 3px 3px 3px;margin: 0px 0px 0px 0px;} #PDI_container1613619 .pds-totalvotes-inner{font: normal normal normal 12px/6px Arial;color: #ffffcc;background-color: Transparent;border: 0px solid Transparent;padding: 0px 0px 0px 0px;} #PDI_container1613619 .pds-vote {color:#3d250d;font-size:2px;line-height:15px;padding:0px 0px 0px;} #PDI_container1613619 .pds-vote a {border-bottom:0px solid #3d250d;border-top:0px solid #3d250d;color: #3d250d;font-size:2px;padding:0px 0px;text-decoration:none;} #PDI_container1613619 input.pds-votebutton {background:transparent url(http://www.robingunn.com/IMAGES/vote_button.jpg) no-repeat scroll 0%;float:left;height:20px;margin:10px 0px 0px;outline-color:invert;outline-style:none;outline-width:medium;width:55px;} #PDI_container1613619 .pds-box {color:#3d250d;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left;} #PDI_container1613619 .pds-answer-feedback-bar{height:12px;} #PDI_container1613619 .pds-totalvotes-inner{margin:0px 0px 15px;} #PDI_container1613619 input.pds-votebutton-pack{float: left;font-size: 6px;}';

var PDV_POLL_q1613619 = 'What is your favorite book series?'; var PDV_POLL_medType1613619 = '0'; var PDV_POLL_medID1613619 = '';
var PDV_A1613619 = new Array();


  PDV_A1613619[0] = new Array(4); PDV_A1613619[0][0] = "8220778"; PDV_A1613619[0][1] = "Sisterchicks";   PDV_A1613619[0][2] = "0"; PDV_A1613619[0][3] = "";

  PDV_A1613619[1] = new Array(4); PDV_A1613619[1][0] = "8220779"; PDV_A1613619[1][1] = "Christy Miller";   PDV_A1613619[1][2] = "0"; PDV_A1613619[1][3] = "";

  PDV_A1613619[2] = new Array(4); PDV_A1613619[2][0] = "8220780"; PDV_A1613619[2][1] = "Katie Weldon";   PDV_A1613619[2][2] = "0"; PDV_A1613619[2][3] = "";

  PDV_A1613619[3] = new Array(4); PDV_A1613619[3][0] = "8220781"; PDV_A1613619[3][1] = "Sierra Jensen";   PDV_A1613619[3][2] = "0"; PDV_A1613619[3][3] = "";

  PDV_A1613619[4] = new Array(4); PDV_A1613619[4][0] = "8220782"; PDV_A1613619[4][1] = "Glenbrooke";   PDV_A1613619[4][2] = "0"; PDV_A1613619[4][3] = "";


var PDV_l1_1613619 = 'View Results';
var PDV_l2_1613619 = 'Other:';
var PDV_l3_1613619  = '';

  
var PDV_l4_1613619 = 'Please choose an answer first!';



//v2.76 9/Aug/10
var protocol = document.location.protocol;
var a2a_track_pub = 'polldaddy';
var a2a_no_3p = 1;
var PD_ck1613619 = 0;
var PD_ck_name1613619 = 'PD_poll_' + PDV_id1613619;

if (pollClosed1613619 == false)
 {
    var PDV_server1613619 = protocol + '//polls.polldaddy.com';
    var AA1613619 = new Array();
    var PDV_html1613619 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1613619" id="PDI_form1613619"><div class="pds-box"><div class="pds-box-outer"><div class="pds-box-inner"><div class="pds-box-top"><div class="pds-question"><div class="pds-question-outer"><div class="pds-question-inner"><div class="pds-question-top">' + PDV_POLL_medID1613619 + ' ' + unescape_HTML_1613619( PDV_POLL_q1613619 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer1613619"></span>';
    if (PDV_po1613619 == 1)
    {
		PDV_html1613619 += '<span class="pds-answer-group">';
		
        if (PDV_pt1613619 == 0) {
            PDV_html1613619 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer1613619" id="PDI_answerOther1613619" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html1613619 += '<label for="PDI_answerOther1613619" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_1613619 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText1613619" name="PDI_OtherText1613619" onclick="PDI_checkOther1613619();" onchange="PDI_checkOther1613619(true);" /></span>';

		PDV_html1613619 += '<span class="pds-clear"></span>';
		PDV_html1613619 += '</span>';
    }

    PDV_html1613619 += '</div><div class="pds-vote"><div class="pds-votebutton-outer">';

    if ( PDV_l3_1613619 == '' )
    {
		PDV_l3_1613619 = 'Vote';
    }
	
	if ( PDV_s1613619 < 99 || PDV_def1613619.indexOf('input.pds-votebutton') != -1 )	
	{
		if (PDV_l3_1613619 == 'Vote' || PDV_l3_1613619 == '')
	    {
	        PDV_html1613619 += '<input type="button" class="pds-votebutton" style="border:none;cursor: pointer;" src="' + ( is_secure() ? 'https://polldaddy' : 'http://i.polldaddy' ) + '.com/polls/spacer.gif" onclick="PD_vote1613619(0);">';
	    }
	    else
	    {
	        PDV_html1613619 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_1613619 + '"  onclick="PD_vote1613619(0);" />';
	    }
	}
	else
	{
		PDV_html1613619 += '<a href="javascript:PD_vote1613619(0);" id="pd-vote-button1613619" class="pds-vote-button"><span>' + PDV_l3_1613619 + '</span></a>';
	}

	PDV_html1613619 += '<span class="pds-links">';

    if (PDV_pr1613619 == 2) {
        PDV_html1613619 += '<br/>';
    }
    else {
        PDV_html1613619 += '<a href="javascript:PD_vote1613619(1);" class="pds-view-results">' + PDV_l1_1613619 + '</a><br/>';
    }

	if( typeof PDV_share1613619 != "undefined") {
		if (PDV_share1613619 == 1 ) {
			PDV_html1613619 += '<a class="a2a_dd pds-share"  href="javascript:">' + PDV_l12_1613619 + '</a>';
		}
	}
	
    if (PDV_lnk1613619 == 1) {
        PDV_html1613619 += '<a href="' + protocol + '//polldaddy.com/signup-now/?ad=poll-front" target="_blank" class="pds-pd-link">Polldaddy.com</a>';
    }

	PDV_html1613619 += '<span class="pds-clear"></span>';
	PDV_html1613619 += '</span><span class="pds-clear"></span>';
	
    PDV_html1613619 += '</div></div></div></div></div></div></div>';

    for (PDV_x = 0; PDV_x < PDV_A1613619.length; PDV_x++)
    {
        if (PDV_pt1613619 == 0)
        {
            AA1613619[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A1613619[PDV_x][0] + '" value="' + PDV_A1613619[PDV_x][0] + '" name="PDI_answer1613619" /></span><label for="PDI_answer' + PDV_A1613619[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1613619( PDV_A1613619[PDV_x][1] ) + '</span></label>' + PDV_A1613619[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA1613619[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A1613619[PDV_x][0] + '" value="' + PDV_A1613619[PDV_x][0] + '" name="PDI_answer' + PDV_A1613619[PDV_x][0] + '" onclick="javascript:PDF_mc1613619(this);" /></span><label for="PDI_answer' + PDV_A1613619[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1613619( PDV_A1613619[PDV_x][1] ) + '</span></label>' + PDV_A1613619[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

function PDF_mc1613619(obj){
	if ( PDV_pt1613619 > 1 ){
		var nc = 0;
		for (i = 0; i < AA1613619.length; i++)
	    {
	        r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }
	
		if (PDV_po1613619 == 1)
	    {
			var otherText = document.getElementById("PDI_OtherText1613619").value;
			if( otherText.length > 0 ) { nc += 1; }	
		}		
		
		if ( nc > PDV_pt1613619 ){
			obj.checked = false;
			obj.disabled = true;
		}
		
		if ( nc >= PDV_pt1613619 ){
			for (i = 0; i < AA1613619.length; i++)
		    {
		        r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else{
			if (PDV_po1613619 == 1) { document.getElementById("PDI_OtherText1613619").disabled=false; }
			for (i = 0; i < AA1613619.length; i++)
		    {
		        r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}

function PDF_a1613619()
 {
    PDF_o1613619();
    var r;
    if (PDV_pt1613619 == 0)
    {
    	for (var i = 0; i < AA1613619.length; i++)
        {
            r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther1613619");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA1613619.length; i++)
        {
            r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a1613619 = PDV_a1613619 + r.value + ",";
            }
        }
        return PDV_a1613619;
    }
}
function PDF_o1613619(r) {
    if (PDV_po1613619 == 1) {
        PDV_o1613619 = document.getElementById("PDI_OtherText1613619").value;
    }
}
function PDI_checkOther1613619( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText1613619").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt1613619 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther1613619").checked = false; }
		else{ document.getElementById("PDI_answerOther1613619").checked = true; }
    }
	else if ( PDV_pt1613619 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText1613619");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA1613619.length; i++)
	    {
	        r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt1613619 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA1613619.length; i++)
		    {
		        r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt1613619 ){
			obj.disabled=false;
			for (i = 0; i < AA1613619.length; i++)
		    {
		        r = document.getElementById(AA1613619[i].substring(AA1613619[i].indexOf('id=') + 4, AA1613619[i].indexOf('"', AA1613619[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote1613619(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    var tags = pd_get_tags1613619();
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server1613619 + "/vote-js.php?s=" + PDV_s1613619 + "&vr=1&b=" + PDV_b1613619 + "&p=" + PDV_id1613619 + "&l=" + PDV_l1613619 + "&sl=" + PDV_sl1613619 + "&pr=" + PDV_pr1613619 + "&pt=" + PDV_pt1613619 + "&va=" + PDV_va1613619 + "&cookie=" + PD_ck1613619 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1613619 + ( tags.length > 0 ? '&tags=' + tags : '' );
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b1613619 > 0 && PD_ck1613619 == 0 ) {
            Set_Cookie1613619(PD_ck_name1613619, 'true', 0, '/', '', '');
        }
        PDV_a1613619 = '';
        PDV_a1613619 = PDF_a1613619(document.getElementById("PDI_form1613619"));
        if (PDV_a1613619.length == 0 && PDV_o1613619.length == 0)
        {
            alert(PDV_l4_1613619);
        }
        else
        {
			if ( PDV_def1613619.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button1613619').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server1613619 + "/vote-js.php?s=" + PDV_s1613619 + "&b=" + PDV_b1613619 + "&p=" + PDV_id1613619 + "&a=" + PDV_a1613619 + "&o=" + PDV_o1613619 + "&l=" + PDV_l1613619 + "&sl=" + PDV_sl1613619 + "&pr=" + PDV_pr1613619 + "&pt=" + PDV_pt1613619 + "&va=" + PDV_va1613619 + "&cookie=" + PD_ck1613619 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1613619 + ( tags.length > 0 ? '&tags=' + tags : '' );
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}

function pd_get_tags1613619() {
	if( typeof pd_tags == "undefined" ) return '';
	var tags = '';
					
	for ( var key in pd_tags )
		tags += pd_url_encode1613619( key ) + ':' + pd_url_encode1613619( pd_tags[ key ] ) + ';';
		
	return tags.slice(0,-1);
}

function pd_url_encode1613619( s ) {
	return encodeURIComponent( s ).replace( /\%20/g, '+' ).replace( /!/g, '%21' ).replace( /'/g, '%27' ).replace( /\(/g, '%28' ).replace( /\)/g, '%29' ).replace( /\*/g, '%2A' ).replace( /\~/g, '%7E' );
}

var PD_pollString1613619 = PDV_html1613619;

function PDV_rand1613619(myArray) {
    var i = myArray.length;
    if (i == 0) return false;
    while (--i) {
        var j = Math.floor(Math.random() * (i + 1));
        var tempi = myArray[i];
        var tempj = myArray[j];
        myArray[i] = tempj;
        myArray[j] = tempi;
    }
    return myArray;
}


function PDV_go1613619()
 {
 	if ( is_secure() ){
 		PDV_def1613619 = PDV_def1613619.replace(/http:\/\/i.polldaddy/g,'https://polldaddy');
 		PDV_def1613619 = PDV_def1613619.replace(/http:\/\/s3.wordpress/g,'https://s-ssl.wordpress');
 	}
    if (!document.getElementById('poll_style1613619')) {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style1613619");
        if (fileref.styleSheet) { // IE
            fileref.styleSheet.cssText = PDV_def1613619;
        }
        else { // the world
            fileref.appendChild(document.createTextNode(PDV_def1613619));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (typeof load_audioLibrary_1613619 == "function" && typeof PDV_audio_1613619 !== "undefined" && PDV_audio_1613619 > 0 ) {
    	load_audioLibrary_1613619();
    }
    if (!document.getElementById('PDI_container1613619')) {
        document.write('<a name="pd_a_1613619" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container1613619"></div>');
    }    
    if( typeof PDV_version1613619 !== "undefined" ) {
       	PD_ck_name1613619 += ( PDV_version1613619 > 0 ? '.' + PDV_version1613619 : '' );
    }    
    if (Get_Cookie1613619(PD_ck_name1613619) == 'true') {
        PD_ck1613619 = 1;
    }

    document.getElementById('PDI_container1613619').innerHTML = PD_pollString1613619 + '<img src="' + protocol + '//pixel.quantserve.com/pixel/p-ab3gTb8xb3dLg.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>';

    if (PDV_POLLRAND1613619) {
        AA1613619 = PDV_rand1613619(AA1613619);
    }
    y1613619 = '';
    for (x1613619 = 0; x1613619 < AA1613619.length; x1613619++) {
        y1613619 = y1613619 + AA1613619[x1613619];
    }
    document.getElementById('pds-answer1613619').innerHTML = y1613619;
	share1613619();
}
function Set_Cookie1613619(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire1613619) !== 'undefined') {
    	expires = parseInt( PDV_expire1613619 );
    }
    if (expires>0) {
        expires = expires * 1000;
    } else{
    	expires = 60 * 60 * 24 * 30 * 1000;
    }
    
    expires = today.getTime() + (expires);
    var expires_date = new Date(expires);

    document.cookie = name + "=" + escape(expires) +
    ((expires) ? ";expires=" + expires_date.toGMTString() : "") +
    ((path) ? ";path=" + path: "") +
    ((domain) ? ";domain=" + domain: "") +
    ((secure) ? ";secure": "");
}

function Get_Cookie1613619(check_name)
 {
    var a_all_cookies = document.cookie.split(';');
    var a_temp_cookie = '';
    var cookie_name = '';
    var cookie_value = '';
    var b_cookie_found = false;

    for (i = 0; i < a_all_cookies.length; i++)
    {
        a_temp_cookie = a_all_cookies[i].split('=');
        cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');
        if (cookie_name == check_name)
        {
            b_cookie_found = true;
            if (a_temp_cookie.length > 1)
       		{
                cookie_value = unescape(a_temp_cookie[1].replace(/^\s+|\s+$/g, ''));
            }
            if( cookie_value == 'true' )
            {
            	return cookie_value;
            }
            else
			{
				var today = new Date();
   			 	cookie_value = parseInt( cookie_value );
   			 	if( cookie_value > today.getTime() )
				{
					return 'true';
				}
			}
            break;
        }
        a_temp_cookie = null;
        cookie_name = '';
    }
    if (!b_cookie_found)
    {
        return null;
    }
}

if (pollClosed1613619 == false) {
    PDV_go1613619();
}


function share1613619()
{
	if( typeof PDV_share1613619 != "undefined") {
		if (PDV_share1613619 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q1613619;
			a2a_linkurl = document.location + '#pd_a_1613619';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_1613619';
			a2a_onclick = 1;
			
	        var s = document.createElement("SCRIPT");
	        s.charset = "utf-8";
	        s.src = protocol + "//static.addtoany.com/menu/page.js";
	        var h = document.getElementsByTagName("head").item(0);
	        h.appendChild(s);
		}
	}
}

function unescape_HTML_1613619(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed1613619 == true) {
	share1613619();
}

function is_secure() {
	return "https:" == document.location.protocol ? true: false;
}
