var pollClosed1692228 = false;
var PDV_POLLRAND1692228 = false;

var PDV_a1692228 = "";
var PDV_o1692228 = "";
var PDV_id1692228 = 1692228;
var PDV_pt1692228 = 0;
var PDV_po1692228 = 0;
var PDV_s1692228 = 69366;
var PDV_b1692228 = 0;
var PDV_l1692228 = 0;
var PDV_pr1692228 = 0;
var PDV_w1692228 = 1692228;
var PDV_share1692228 = 0;
var PDV_expire1692228 = 0;

var PDV_sl1692228 = 1;
var PDV_va1692228 = 0;

var PDV_lnk1692228 = 1;



var PDV_def1692228 = '#PDI_container1692228 .pds-box{background-color: Transparent;border: 0px none #C0C0C0;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;width: 240px;} #PDI_container1692228 .pds-question-top{font: normal normal bold 12px/14px Arial;color: #333333;border: 0px none #000000;background-color: Transparent;margin: 0px 0px 10px 0px;padding: 0px 0px 0px 0px;} #PDI_container1692228 .pds-answer{font: normal normal normal 12px/14px Arial;color: #333333;background-color: Transparent;border: 0px none #FFFFFF;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;} #PDI_container1692228 .pds-textfield{font: normal normal normal 12px/12px Arial;color: #333333;background-color: #FFFFFF;border: 1px solid #dadada;margin: 1px 1px 15px 1px;padding: 1px 5px 1px 1px;width: 230px;} #PDI_container1692228 .pds-answer-feedback{background-color: Transparent;border: 0px solid Transparent;padding: 1px 1px 1px 0px;margin: 0px 0px 0px 0px;} #PDI_container1692228 .pds-answer-feedback-bar{background-color: #999999;border: 0px solid #999999;padding: 0px 0px 0px 0px;margin: 0px 3px 3px 0px;} #PDI_container1692228 .pds-totalvotes-inner{font: normal normal bold 12px/20px Arial;color: #333333;background-color: Transparent;border: 0px solid #F0F0F0;padding: 2px 2px 2px 2px;} #PDI_container1692228 .pds-vote {color:#C3C4C7;font-size:9px;line-height:17px;padding:15px 0px 10px;} #PDI_container1692228 .pds-vote a {border-bottom:1px solid #333333;border-top:1px solid #333333;color: #333333;font-size:9px;padding:2px 0px;text-decoration:none;} #PDI_container1692228 input.pds-votebutton {background:transparent url(http://i.polldaddy.com/polls/pdsimple-votebutton.gif) no-repeat scroll 0%;float:right;height:21px;margin:0px 0px 10px;outline-color:invert;outline-style:none;outline-width:medium;width:55px;} #PDI_container1692228 .pds-votebutton-outer {height:21px;} #PDI_container1692228 .pds-box {color:#333333;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left;} #PDI_container1692228 .pds-answer-feedback-bar{height:12px;} #PDI_container1692228 .pds-totalvotes-inner{margin:0px 0px 15px;} #PDI_container1692228 input.pds-votebutton-pack{float: right;font-size: 10px;} #PDI_container1692228 div {margin:0;padding:0;}';

var PDV_POLL_q1692228 = 'What do you think of the new website?'; var PDV_POLL_medType1692228 = '0'; var PDV_POLL_medID1692228 = '';
var PDV_A1692228 = new Array();


  PDV_A1692228[0] = new Array(4); PDV_A1692228[0][0] = "8607368"; PDV_A1692228[0][1] = "Outstanding";   PDV_A1692228[0][2] = "0"; PDV_A1692228[0][3] = "";

  PDV_A1692228[1] = new Array(4); PDV_A1692228[1][0] = "8607369"; PDV_A1692228[1][1] = "Excellent";   PDV_A1692228[1][2] = "0"; PDV_A1692228[1][3] = "";

  PDV_A1692228[2] = new Array(4); PDV_A1692228[2][0] = "8607370"; PDV_A1692228[2][1] = "Good";   PDV_A1692228[2][2] = "0"; PDV_A1692228[2][3] = "";

  PDV_A1692228[3] = new Array(4); PDV_A1692228[3][0] = "12360314"; PDV_A1692228[3][1] = "Okay";   PDV_A1692228[3][2] = "0"; PDV_A1692228[3][3] = "";

  PDV_A1692228[4] = new Array(4); PDV_A1692228[4][0] = "12360315"; PDV_A1692228[4][1] = "Room for Improvement";   PDV_A1692228[4][2] = "0"; PDV_A1692228[4][3] = "";


var PDV_l1_1692228 = 'View Results';
var PDV_l2_1692228 = 'Other:';
var PDV_l3_1692228  = '';

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

var PDV_l12_1692228  = 'Share This';

var PDV_l12_1692228 = 'Share This';


//v2.75 26/July/10
var protocol = document.location.protocol;
var a2a_track_pub = 'polldaddy';
var a2a_no_3p = 1;
var PD_ck1692228 = 0;
var PD_ck_name1692228 = 'PD_poll_1692228';

if (pollClosed1692228 == false)
 {
    var PDV_server1692228 = protocol + '//polls.polldaddy.com';
    var AA1692228 = new Array();
    var PDV_html1692228 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1692228" id="PDI_form1692228"><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_medID1692228 + ' ' + unescape_HTML_1692228( PDV_POLL_q1692228 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer1692228"></span>';
    if (PDV_po1692228 == 1)
    {
		PDV_html1692228 += '<span class="pds-answer-group">';
		
        if (PDV_pt1692228 == 0) {
            PDV_html1692228 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer1692228" id="PDI_answerOther1692228" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html1692228 += '<label for="PDI_answerOther1692228" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_1692228 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText1692228" name="PDI_OtherText1692228" onclick="PDI_checkOther1692228();" onchange="PDI_checkOther1692228(true);" /></span>';

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

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

    if ( PDV_l3_1692228 == '' )
    {
		PDV_l3_1692228 = 'Vote';
    }
	
	if ( PDV_s1692228 < 99 || PDV_def1692228.indexOf('input.pds-votebutton') != -1 )	
	{
		if (PDV_l3_1692228 == 'Vote' || PDV_l3_1692228 == '')
	    {
	        PDV_html1692228 += '<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_vote1692228(0);">';
	    }
	    else
	    {
	        PDV_html1692228 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_1692228 + '"  onclick="PD_vote1692228(0);" />';
	    }
	}
	else
	{
		PDV_html1692228 += '<a href="javascript:PD_vote1692228(0);" id="pd-vote-button1692228" class="pds-vote-button"><span>' + PDV_l3_1692228 + '</span></a>';
	}

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

    if (PDV_pr1692228 == 2) {
        PDV_html1692228 += '<br/>';
    }
    else {
        PDV_html1692228 += '<a href="javascript:PD_vote1692228(1);" class="pds-view-results">' + PDV_l1_1692228 + '</a><br/>';
    }

	if( typeof PDV_share1692228 != "undefined") {
		if (PDV_share1692228 == 1 ) {
			PDV_html1692228 += '<a class="a2a_dd pds-share"  href="javascript:">' + PDV_l12_1692228 + '</a>';
		}
	}
	
    if (PDV_lnk1692228 == 1) {
        PDV_html1692228 += '<a href="' + protocol + '//polldaddy.com/signup-now/?ad=poll-front" target="_blank" class="pds-pd-link">Create A Poll</a>';
    }

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

    for (PDV_x = 0; PDV_x < PDV_A1692228.length; PDV_x++)
    {
        if (PDV_pt1692228 == 0)
        {
            AA1692228[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A1692228[PDV_x][0] + '" value="' + PDV_A1692228[PDV_x][0] + '" name="PDI_answer1692228" /></span><label for="PDI_answer' + PDV_A1692228[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1692228( PDV_A1692228[PDV_x][1] ) + '</span></label>' + PDV_A1692228[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA1692228[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A1692228[PDV_x][0] + '" value="' + PDV_A1692228[PDV_x][0] + '" name="PDI_answer' + PDV_A1692228[PDV_x][0] + '" onclick="javascript:PDF_mc1692228(this);" /></span><label for="PDI_answer' + PDV_A1692228[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1692228( PDV_A1692228[PDV_x][1] ) + '</span></label>' + PDV_A1692228[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a1692228()
 {
    PDF_o1692228();
    var r;
    if (PDV_pt1692228 == 0)
    {
    	for (var i = 0; i < AA1692228.length; i++)
        {
            r = document.getElementById(AA1692228[i].substring(AA1692228[i].indexOf('id=') + 4, AA1692228[i].indexOf('"', AA1692228[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther1692228");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA1692228.length; i++)
        {
            r = document.getElementById(AA1692228[i].substring(AA1692228[i].indexOf('id=') + 4, AA1692228[i].indexOf('"', AA1692228[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a1692228 = PDV_a1692228 + r.value + ",";
            }
        }
        return PDV_a1692228;
    }
}
function PDF_o1692228(r) {
    if (PDV_po1692228 == 1) {
        PDV_o1692228 = document.getElementById("PDI_OtherText1692228").value;
    }
}
function PDI_checkOther1692228( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText1692228").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt1692228 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther1692228").checked = false; }
		else{ document.getElementById("PDI_answerOther1692228").checked = true; }
    }
	else if ( PDV_pt1692228 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText1692228");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA1692228.length; i++)
	    {
	        r = document.getElementById(AA1692228[i].substring(AA1692228[i].indexOf('id=') + 4, AA1692228[i].indexOf('"', AA1692228[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt1692228 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA1692228.length; i++)
		    {
		        r = document.getElementById(AA1692228[i].substring(AA1692228[i].indexOf('id=') + 4, AA1692228[i].indexOf('"', AA1692228[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt1692228 ){
			obj.disabled=false;
			for (i = 0; i < AA1692228.length; i++)
		    {
		        r = document.getElementById(AA1692228[i].substring(AA1692228[i].indexOf('id=') + 4, AA1692228[i].indexOf('"', AA1692228[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote1692228(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    var tags = pd_get_tags1692228();
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server1692228 + "/vote-js.php?s=" + PDV_s1692228 + "&vr=1&b=" + PDV_b1692228 + "&p=" + PDV_id1692228 + "&l=" + PDV_l1692228 + "&sl=" + PDV_sl1692228 + "&pr=" + PDV_pr1692228 + "&pt=" + PDV_pt1692228 + "&va=" + PDV_va1692228 + "&cookie=" + PD_ck1692228 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1692228 + ( tags.length > 0 ? '&tags=' + tags : '' );
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b1692228 > 0 && PD_ck1692228 == 0 ) {
            Set_Cookie1692228(PD_ck_name1692228, 'true', 0, '/', '', '');
        }
        PDV_a1692228 = '';
        PDV_a1692228 = PDF_a1692228(document.getElementById("PDI_form1692228"));
        if (PDV_a1692228.length == 0 && PDV_o1692228.length == 0)
        {
            alert(PDV_l4_1692228);
        }
        else
        {
			if ( PDV_def1692228.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button1692228').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server1692228 + "/vote-js.php?s=" + PDV_s1692228 + "&b=" + PDV_b1692228 + "&p=" + PDV_id1692228 + "&a=" + PDV_a1692228 + "&o=" + PDV_o1692228 + "&l=" + PDV_l1692228 + "&sl=" + PDV_sl1692228 + "&pr=" + PDV_pr1692228 + "&pt=" + PDV_pt1692228 + "&va=" + PDV_va1692228 + "&cookie=" + PD_ck1692228 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1692228 + ( tags.length > 0 ? '&tags=' + tags : '' );
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}

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

function pd_url_encode1692228( 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_pollString1692228 = PDV_html1692228;

function PDV_rand1692228(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_go1692228()
 {
 	if ( is_secure() ){
 		PDV_def1692228 = PDV_def1692228.replace(/http:\/\/i.polldaddy/g,'https://polldaddy');
 		PDV_def1692228 = PDV_def1692228.replace(/http:\/\/s3.wordpress/g,'https://s-ssl.wordpress');
 	}
    if (!document.getElementById('poll_style1692228')) {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style1692228");
        if (fileref.styleSheet) { // IE
            fileref.styleSheet.cssText = PDV_def1692228;
        }
        else { // the world
            fileref.appendChild(document.createTextNode(PDV_def1692228));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (typeof load_audioLibrary_1692228 == "function" && typeof PDV_audio_1692228 !== "undefined" && PDV_audio_1692228 > 0 ) {
    	load_audioLibrary_1692228();
    }
    if (!document.getElementById('PDI_container1692228')) {
        document.write('<a name="pd_a_1692228" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container1692228"></div>');
    }    
    if( typeof PDV_version1692228 !== "undefined" ) {
       	PD_ck_name1692228 += ( PDV_version1692228 > 0 ? '.' + PDV_version1692228 : '' );
    }    
    if (Get_Cookie1692228(PD_ck_name1692228) == 'true') {
        PD_ck1692228 = 1;
    }

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

    if (PDV_POLLRAND1692228) {
        AA1692228 = PDV_rand1692228(AA1692228);
    }
    y1692228 = '';
    for (x1692228 = 0; x1692228 < AA1692228.length; x1692228++) {
        y1692228 = y1692228 + AA1692228[x1692228];
    }
    document.getElementById('pds-answer1692228').innerHTML = y1692228;
	share1692228();
}
function Set_Cookie1692228(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire1692228) !== 'undefined') {
    	expires = parseInt( PDV_expire1692228 );
    }
    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_Cookie1692228(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 (pollClosed1692228 == false) {
    PDV_go1692228();
}


function share1692228()
{
	if( typeof PDV_share1692228 != "undefined") {
		if (PDV_share1692228 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q1692228;
			a2a_linkurl = document.location + '#pd_a_1692228';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_1692228';
			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_1692228(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed1692228 == true) {
	share1692228();
}

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