var PDV_POLLRAND254501 = false;
 
 var PDV_a254501 = "";
 var PDV_o254501 = "";
 var PDV_id254501 = 254501;
 var PDV_pt254501 = 0;
 var PDV_po254501 = 0;
 var PDV_s254501 = 1;
 var PDV_r254501 = 1;
 var PDV_l254501 = 0;
 var PDV_pr254501 = 1;
 var PDV_sl254501 = 1;
 var PDV_va254501 = 0;
 


 var PDV_server254501 = 'http://www.polldaddy.com';

 
 var PDV_html254501 = '<form style="margin-bottom: 0px; margin-top: 0px;" onSubmit="return false;" name="PDI_form254501" id="PDI_form254501"><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">você quer ou não o plugin do Via6?</div></div></div></div><div class="pds-answer"><span id="pds-answer254501"></span>';
  
   

 PDV_html254501 += '</div><div class="pds-vote"><div class="pds-votebutton-outer"><input type="image" class="pds-votebutton" name="Submit" value="Submit" src="http://s3.polldaddy.com/images/spacer.gif" onclick="PD_vote254501(0);"></input><a href="javascript:PD_vote254501(1);">&gt; View Results</a><br /><a href="http://www.polldaddy.com" target="_blank" style="display:inline;visibility:visible;">PollDaddy.com</a><br /></div></div></div></div></div></div></form>';  

 var AA254501=new Array();
      
          AA254501[0]='<input class="pds-radiobutton" type="radio" id="PDI_answer1265714" value="1265714" name="PDI_answer254501"></input><label for="PDI_answer1265714">Manda!</label><br />';
        
          AA254501[1]='<input class="pds-radiobutton" type="radio" id="PDI_answer1265715" value="1265715" name="PDI_answer254501"></input><label for="PDI_answer1265715">Comigo, não, violão</label><br />';
        

function PDF_a254501(r)
{PDF_o254501(r)
 if(PDV_pt254501 == 1)
 
 {for(i=0; i < r.elements.length; i++)

	{if (r.elements[i].type == "checkbox" && r.elements[i].checked)
		{PDV_a254501 = PDV_a254501 + r.elements[i].value + ","}
	}	return PDV_a254501;
 }else{
  for(var i = 0; i < r.PDI_answer254501.length; i++)
  {if(r.PDI_answer254501[i].checked){return r.PDI_answer254501[i].value + ",";}
  }return '';}}
function  PDF_o254501(r){if(PDV_po254501 == 1){PDV_o254501 = r.PDI_OtherText254501.value;}}
function PDI_checkOther254501()
{
	if(PDV_pt254501 == 0)
	{
		document.getElementById("PDI_answerOther254501").checked = true;
	}
}
function PD_vote254501(R)
{
	var ck=0;
	if (Get_Cookie254501('PD_poll_254501') == 'true')
	{
		ck=1;
	}
	else
	{
		if(R==0)
		{
			Set_Cookie254501( 'PD_poll_254501', 'true', 30, '/', '', '' ); 
		}
	}

	var randomnumber=Math.floor(Math.random()*11)

if(R==1)
	{
			var s = document.createElement("SCRIPT");
			s.src = PDV_server254501 + "/pollVote.aspx?s="+ PDV_s254501 +"&vr=1&r="+ PDV_r254501 +"&p="+ PDV_id254501 +"&l="+ PDV_l254501 +"&sl="+ PDV_sl254501 +"&pr="+ PDV_pr254501 +"&pt="+ PDV_pt254501 +"&va="+ PDV_va254501 + "&rdm="+  randomnumber;
      var h = document.getElementsByTagName("head").item(0);
			h.appendChild(s);
	}
	else
{PDV_a254501 = ''; PDV_a254501 = PDF_a254501(document.getElementById("PDI_form254501"));
	if(PDV_a254501.length == 0 && PDV_o254501.length == 0)
	{alert("Please choose an answer first!")}
	else{
		var s = document.createElement("SCRIPT");
		s.src = PDV_server254501 + "/pollVote.aspx?s="+ PDV_s254501 +"&r="+ PDV_r254501 +"&p="+ PDV_id254501 +"&a="+ PDV_a254501 +"&o="+ PDV_o254501 +"&l="+ PDV_l254501 +"&sl="+ PDV_sl254501 +"&pr="+ PDV_pr254501 +"&pt="+ PDV_pt254501 +"&va="+ PDV_va254501 + "&cookie=" + ck + "&rdm=" + randomnumber;
		var h = document.getElementsByTagName("head").item(0);
		h.appendChild(s);}}}
var PD_pollString254501 = PDV_html254501;

function PDV_rand254501 ( 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_go254501()
{
	fileref=document.createElement("link");
	fileref.setAttribute("rel", "stylesheet");
	fileref.setAttribute("type", "text/css");
	fileref.setAttribute("href", "http://www.polldaddy.com/s/"+ PDV_s254501 +".css");
	document.getElementsByTagName("head").item(0).appendChild(fileref);
	if(!document.getElementById('PDI_container254501'))
  {document.write('<div class="PDS_Poll" id="PDI_container254501"></div>');}
	document.getElementById('PDI_container254501').innerHTML = PD_pollString254501;
  
  if(PDV_POLLRAND254501){AA254501 = PDV_rand254501(AA254501);}
  y254501 = '';
  for(x254501=0; x254501< AA254501.length; x254501++){y254501 = y254501 + AA254501[x254501];}
	
	document.getElementById('pds-answer254501').innerHTML = y254501;
	
	
}


function Set_Cookie254501( name, value, expires, path, domain, secure ) 
{
	var today = new Date();
	today.setTime( today.getTime() );

	if ( expires )
	{
		expires = expires * 1000 * 60 * 60 * 24;
	}

	var expires_date = new Date( today.getTime() + (expires) );

	document.cookie = name + "=" +escape( value ) +
	( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + 
	( ( path ) ? ";path=" + path : "" ) + 
	( ( domain ) ? ";domain=" + domain : "" ) +
	( ( secure ) ? ";secure" : "" );
}

function Get_Cookie254501( 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, '') );
			}
			return cookie_value;
			break;
		}		
		a_temp_cookie = null;
		cookie_name = '';
	}	
	if ( !b_cookie_found )
	{
		return null;
	}
}				



PDV_go254501();

  
  



