  
  
 var pollClosed1364551 = false;
var PDV_POLLRAND1364551 = false;

 var PDV_a1364551 = "";
 var PDV_o1364551 = "";
 var PDV_id1364551 = 1364551;
 var PDV_pt1364551 = 1;
 var PDV_po1364551 = 1;
 var PDV_s1364551 = 60063;
 var PDV_b1364551 = 1;
 var PDV_l1364551 = 0;
 var PDV_pr1364551 = 1;
 var PDV_w1364551 = 1364551;
 
 var PDV_sl1364551 = 1;
 var PDV_va1364551 = 0;
 
var PDV_lnk1364551 = 1;



var PDV_def1364551 = '#PDI_container1364551 .pds-box{background-color:#ffffff;border:2px solid #fb5200;margin:0px 0px 0px 0px;padding:10px 10px 10px 10px;width:140px} #PDI_container1364551 .pds-question-top{font:normal normal bold 12px/14px Verdana;color:#fb5200;border:0px solid #000000;background-color:#ffffff;margin:0px 0px 10px 0px;padding:0px 0px 0px 0px} #PDI_container1364551 .pds-answer{font:normal normal normal 11px/24px Verdana;color:#555555;background-color:;border:0px none #000000;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container1364551 .pds-textfield{font:normal normal normal 12px/12px Verdana;color:#333333;background-color:#FFFFFF;border:1px solid #fb5200;margin:1px 1px 15px 1px;padding:1px 5px 1px 1px;width:130px} #PDI_container1364551 .pds-answer-feedback{background-color:#ffffff;border:0px solid #999999;padding:1px 1px 1px 1px;margin:0px 0px 0px 0px} #PDI_container1364551 .pds-answer-feedback-bar{background-color:#fb5200;border:0px solid #999999;padding:0px 0px 0px 0px;margin:3px 3px 3px 3px} #PDI_container1364551 .pds-totalvotes-inner{font:normal normal bold 12px/20px Verdana;color:#333333;background-color:#F0F0F0;border:0px solid #F0F0F0;padding:2px 2px 2px 2px} #PDI_container1364551 .pds-vote{color:#C3C4C7;font-size:9px;line-height:17px;padding:15px 0px 10px} #PDI_container1364551 .pds-vote a{border-bottom:1px solid #555555;border-top:1px solid #555555;color:#555555;font-size:9px;padding:2px 0px;text-decoration:none} #PDI_container1364551 input.pds-votebutton{background:transparent url(http://s3.polldaddy.com/images/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_container1364551 .pds-box{color:#333333;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left} #PDI_container1364551 .pds-answer-feedback-bar{height:12px} #PDI_container1364551 .pds-totalvotes-inner{margin:0px 0px 15px} #PDI_container1364551 input.pds-votebutton-pack{float:right;font-size:10px}';

var PDV_POLL_q1364551 = 'What phone would you like wireless charging to support?'; var PDV_POLL_medType1364551 = '0'; var PDV_POLL_medID1364551 = '';
var PDV_A1364551 = new Array();


  PDV_A1364551[0] = new Array(4); PDV_A1364551[0][0] = "7010467"; PDV_A1364551[0][1] = "HTC Touch Diamond";   PDV_A1364551[0][2] = "0"; PDV_A1364551[0][3] = "";

  PDV_A1364551[1] = new Array(4); PDV_A1364551[1][0] = "7010468"; PDV_A1364551[1][1] = "LG Vu";   PDV_A1364551[1][2] = "0"; PDV_A1364551[1][3] = "";

  PDV_A1364551[2] = new Array(4); PDV_A1364551[2][0] = "7010469"; PDV_A1364551[2][1] = "Blackberry Bold";   PDV_A1364551[2][2] = "0"; PDV_A1364551[2][3] = "";

  PDV_A1364551[3] = new Array(4); PDV_A1364551[3][0] = "7010470"; PDV_A1364551[3][1] = "T-Mobile G1";   PDV_A1364551[3][2] = "0"; PDV_A1364551[3][3] = "";

  PDV_A1364551[4] = new Array(4); PDV_A1364551[4][0] = "7035237"; PDV_A1364551[4][1] = "Blackberry Storm";   PDV_A1364551[4][2] = "0"; PDV_A1364551[4][3] = "";

  PDV_A1364551[5] = new Array(4); PDV_A1364551[5][0] = "7035238"; PDV_A1364551[5][1] = "HTC Touch Pro";   PDV_A1364551[5][2] = "0"; PDV_A1364551[5][3] = "";

  PDV_A1364551[6] = new Array(4); PDV_A1364551[6][0] = "7035239"; PDV_A1364551[6][1] = "Samsung Omnia";   PDV_A1364551[6][2] = "0"; PDV_A1364551[6][3] = "";

  PDV_A1364551[7] = new Array(4); PDV_A1364551[7][0] = "7035240"; PDV_A1364551[7][1] = " Blackberry Curve";   PDV_A1364551[7][2] = "0"; PDV_A1364551[7][3] = "";

  PDV_A1364551[8] = new Array(4); PDV_A1364551[8][0] = "7035241"; PDV_A1364551[8][1] = "Apple iPhone 3G";   PDV_A1364551[8][2] = "0"; PDV_A1364551[8][3] = "";


var PDV_l1_1364551 = 'View Results';
var PDV_l2_1364551 = 'Other:';
var PDV_l3_1364551  = '';

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


//v1.4 09/jan/09

if(pollClosed1364551 == false)
{
  var PDV_server1364551 = 'http://polls.polldaddy.com';
  var AA1364551 = new Array();
  var PDV_html1364551 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1364551" id="PDI_form1364551"><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">'+ media1364551(PDV_POLL_medType1364551, PDV_POLL_medID1364551) +' '+ PDV_POLL_q1364551 +'</div></div></div></div><div class="pds-answer"><span id="pds-answer1364551"></span>';
  if(PDV_po1364551 == 1)
  {
    if(PDV_pt1364551 == 0)
    {
      PDV_html1364551 += '<input type="radio" name="PDI_answer1364551" id="PDI_answerOther1364551" value="other" class="pds-radiobutton"/>';
    }
    PDV_html1364551 += '<label for="PDI_answerOther1364551">'+ PDV_l2_1364551 +'</label><br/><input class="pds-textfield" type="text" id="PDI_OtherText1364551" name="PDI_OtherText1364551" onclick="PDI_checkOther1364551();">';
  }

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

  if(PDV_l3_1364551 == 'Vote' || PDV_l3_1364551 == '')
  {
    PDV_html1364551 += '<input type="button" class="pds-votebutton" style="border:none;cursor: pointer;" src="http://i.polldaddy.com/polls/spacer.gif" onclick="PD_vote1364551(0);">';
  }
  else
  {
    PDV_html1364551 += '<input type="button" class="pds-votebutton-pack" value="'+ PDV_l3_1364551 +'"  onclick="PD_vote1364551(0);" />';
  }

  PDV_html1364551 += '<a href="javascript:PD_vote1364551(1);">'+ PDV_l1_1364551 +'</a><br/>';

  if(PDV_lnk1364551 == 1){PDV_html1364551 += '';}
  PDV_html1364551 += '</div></div></div></div></div></div></div>';  

  for(PDV_x=0;PDV_x<PDV_A1364551.length;PDV_x++)
  {
  if(PDV_pt1364551 == 0)
  {
    AA1364551[PDV_x]='<input class="pds-radiobutton" type="radio" id="PDI_answer'+ PDV_A1364551[PDV_x][0] +'" value="'+ PDV_A1364551[PDV_x][0] +'" name="PDI_answer1364551"><label for="PDI_answer'+ PDV_A1364551[PDV_x][0] +'">'+ PDV_A1364551[PDV_x][1] +'</label>'+ media1364551(PDV_A1364551[PDV_x][2], PDV_A1364551[PDV_x][3]) +'<br/>';
  }
  else
  {
    AA1364551[PDV_x]='<input class="pds-checkbox" type="checkbox" id="PDI_answer'+ PDV_A1364551[PDV_x][0] +'" value="'+ PDV_A1364551[PDV_x][0] +'" name="PDI_answer'+ PDV_A1364551[PDV_x][0] +'"><label for="PDI_answer'+ PDV_A1364551[PDV_x][0] +'">'+ PDV_A1364551[PDV_x][1] +'</label>'+ media1364551(PDV_A1364551[PDV_x][2], PDV_A1364551[PDV_x][3]) +'<br/>';
  }
  }
}

function PDF_a1364551()
{
 PDF_o1364551();
 var r;
 if(PDV_pt1364551 == 1) 
 {
  for(i=0; i < AA1364551.length; i++)
  {
   r = document.getElementById(AA1364551[i].substring(AA1364551[i].indexOf('id=')+4, AA1364551[i].indexOf('"', AA1364551[i].indexOf('id=')+4)));
   if (r.type == "checkbox" && r.checked)
	 {
     PDV_a1364551 = PDV_a1364551 + r.value + ",";
   }
  }
  return PDV_a1364551;
}
else
{
 for(var i = 0; i < AA1364551.length; i++)
 {
  r = document.getElementById(AA1364551[i].substring(AA1364551[i].indexOf('id=')+4, AA1364551[i].indexOf('"', AA1364551[i].indexOf('id=')+4)));
  if(r.checked){return r.value + ",";}
 }
 r = document.getElementById("PDI_answerOther1364551");
 if(r){if(r.checked){return r.value + ",";}else{return '';}}else{return "";}}}
 function  PDF_o1364551(r){if(PDV_po1364551 == 1){PDV_o1364551 = document.getElementById("PDI_OtherText1364551").value;}}
function PDI_checkOther1364551()
{
	if(PDV_pt1364551 == 0)
	{
		document.getElementById("PDI_answerOther1364551").checked = true;
	}
}
function PD_vote1364551(R)
{
	var randomnumber=Math.floor(Math.random()*11);
	if(R==1)
	{
		var s = document.createElement("SCRIPT");
		s.charset = "utf-8";
		s.src = PDV_server1364551 + "/pollVote_V3.aspx?s="+ PDV_s1364551 +"&vr=1&b="+ PDV_b1364551 +"&p="+ PDV_id1364551 +"&l="+ PDV_l1364551 +"&sl="+ PDV_sl1364551 +"&pr="+ PDV_pr1364551 +"&pt="+ PDV_pt1364551 +"&va="+ PDV_va1364551 + "&cookie=" + PD_ck1364551 + "&rdm="+  randomnumber + "&url=" + escape(location.href) +"&w="+ PDV_w1364551;
  var h = document.getElementsByTagName("head").item(0);
  h.appendChild(s);
  }
  else
  {
  if(PDV_b1364551> 0)
		{
			Set_Cookie1364551('PD_poll_1364551', 'true', 30, '/', '', '' );
		}
		PDV_a1364551 = ''; 
		PDV_a1364551 = PDF_a1364551(document.getElementById("PDI_form1364551"));
		if(PDV_a1364551.length == 0 && PDV_o1364551.length == 0)
		{
			alert(PDV_l4_1364551);
		}
		else
		{
			var s = document.createElement("SCRIPT");
			s.charset = "utf-8";
			s.src = PDV_server1364551 + "/pollVote_V3.aspx?s="+ PDV_s1364551 +"&b="+ PDV_b1364551 +"&p="+ PDV_id1364551 +"&a="+ PDV_a1364551 +"&o="+ PDV_o1364551 +"&l="+ PDV_l1364551 +"&sl="+ PDV_sl1364551 +"&pr="+ PDV_pr1364551 +"&pt="+ PDV_pt1364551 +"&va="+ PDV_va1364551 + "&cookie=" + PD_ck1364551 + "&rdm=" + randomnumber + "&url=" + escape(location.href) +"&w="+ PDV_w1364551;
  var h = document.getElementsByTagName("head").item(0);
  h.appendChild(s);
  }
  }
  }
  var PD_pollString1364551 = PDV_html1364551;
var PD_ck1364551 = 0;

function PDV_rand1364551 ( 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_go1364551()
{
	if(!document.getElementById('poll_style1364551'))
	{
		fileref=document.createElement("style");
		fileref.setAttribute("type", "text/css");
		fileref.setAttribute("id", "poll_style1364551");
		if (fileref.styleSheet) // IE
		{fileref.styleSheet.cssText = PDV_def1364551;} 
		else // the world
		{fileref.appendChild(document.createTextNode(PDV_def1364551));}	  
    document.getElementsByTagName("head").item(0).appendChild(fileref);
	}
	if(!document.getElementById('PDI_container1364551'))
	{document.write('<a name="pd_a_1364551"></a><div class="PDS_Poll" id="PDI_container1364551"></div>');}
	if(Get_Cookie1364551('PD_poll_1364551') == 'true')
	{PD_ck1364551=1;}
	document.getElementById('PDI_container1364551').innerHTML = PD_pollString1364551;
	if(PDV_POLLRAND1364551){AA1364551 = PDV_rand1364551(AA1364551);}
	y1364551 = '';
	for(x1364551=0; x1364551< AA1364551.length; x1364551++){y1364551 = y1364551 + AA1364551[x1364551];}
	document.getElementById('pds-answer1364551').innerHTML = y1364551;	
}
function Set_Cookie1364551( 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_Cookie1364551( 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;}
}	

if(pollClosed1364551 == false)
{
  PDV_go1364551();
}

function st_go1364551(a)
{
  var i;
  var u = document.location.protocol+'//stats.polldaddy.com/p.gif?host='+escape(document.location.host)+'&rand='+Math.random();
  
  for(i in a)
  {
    u=u+'&'+i+'='+escape(a[i]);
  }
  u=u+'&ref='+escape(document.referrer);
  var TrkImg = new Image();
  TrkImg.src = u;
}

st1364551 = {"p" : "1364551", "v" : "0"};

st_go1364551(st1364551);

function media1364551(medType, medID)
{
  switch(medType)
  {
   case '0':
   {
    return '';
    break;
   }
   case '1':
   {
    return '<div style="padding: 10px 0px;"><a target="_blank" href="http://services.nirvanix.com/polldaddy/polldaddy/images/'+ medID +'.jpg"><img border="0" title="Click to enlarge" src="http://services.nirvanix.com/polldaddy/polldaddy/images/'+ medID +'_sml.jpg"></a></div>';
    break;
   }
   case '2':
   {
    return '<div style="padding: 10px 0px;"><object width="200" height="161"><param name="movie" value="http://www.youtube.com/v/'+ medID +'&amp;hl=en&amp;fs=1"><param name="allowFullScreen" value="true"><embed type="application/x-shockwave-flash" allowfullscreen="true" width="200" height="161" src="http://www.youtube.com/v/'+ medID +'&amp;hl=en&amp;fs=1"></embed></object></div>';
    break;
   }
   case '3':
   {
    return '<div style="padding: 10px 0px;"><object width="200" height="163"><param name="movie" value="http://seesmic.com/embeds/wrapper.swf"><param name="allowScriptAccess" value="always"><param name="allowFullScreen" value="true"><param name="flashVars" value="video='+ medID +'&amp;version=threadedplayer"><embed src="http://seesmic.com/embeds/wrapper.swf" type="application/x-shockwave-flash" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" width="200" height="163" flashvars="video='+ medID +'&amp;version=threadedplayer"></embed></object></div>';
    break;
   }
  }
}
