var pollClosed124922 = false;
var PDV_POLLRAND124922 = false;

var PDV_a124922 = "";
var PDV_o124922 = "";
var PDV_id124922 = 124922;
var PDV_pt124922 = 0;
var PDV_po124922 = 0;
var PDV_s124922 = 5;
var PDV_b124922 = 0;
var PDV_l124922 = 0;
var PDV_pr124922 = 1;
var PDV_w124922 = 124922;
 
var PDV_sl124922 = 1;
var PDV_va124922 = 0;

var PDV_lnk124922 = 1;



var PDV_def124922 = '#PDI_container124922 .pds-box {font-family:Verdana,arial;background: #999;width: 250px;font-size:12px;text-align: left;color: #FFF;} #PDI_container124922 .pds-box-outer {padding: 10px;} #PDI_container124922  .pds-question-top {font-size:12px;line-height: 150%;font-weight: bold;position:relative;} #PDI_container124922  .pds-answer {padding: 10px 0px 15px 0px;} #PDI_container124922  .pds-answer label{width: 200px;color: #FFF;line-height: 150%;display:inline-block;padding: 7px 0px 9px 4px;float:left;font-weight: normal;} #PDI_container124922 .pds-radiobutton, .pds-checkbox {float:left;clear:left;margin-top:7px;padding: 0px;} #PDI_container124922 html>body .pds-radiobutton{margin-top:10px;} #PDI_container124922  html>body .pds-checkbox{margin-top:11px;} #PDI_container124922  .pds-textfield{background:#FFF;border:1px solid #888;font-size:12px;margin: 0px 0px 0px 25px;padding:2px;width:170px;} #PDI_container124922  .pds-answer-feedback {background-color: #DDD;clear:left;margin: 0px 4px;position:relative;line-height: 0px;} #PDI_container124922  .pds-answer-feedback-bar {background: #666;height:10px;margin: 0px;} #PDI_container124922 .pds-vote {color: #c3C4c7;} #PDI_container124922  .pds-votebutton-outer {height:35px;clear:left;} #PDI_container124922 .pds-votebutton-outer A{margin-top: 15px;} #PDI_container124922 .pds-vote BR{} #PDI_container124922 .pds-vote a {font-size: 0.8em;padding: 0px 15px 0px 0px;color: #FFF;font-weight: normal;line-height: 22px;} #PDI_container124922 .pds-vote a:hover{color: #FFF;} #PDI_container124922 input.pds-votebutton {width: 55px;height: 21px;background: url(http://i.polldaddy.com/polls/pdsimple-votebutton.gif) no-repeat;outline: none;float: right;margin: 0px 20px 0px 0px;} #PDI_container124922 .pds-totalvotes-inner {font-size: 1em;font-weight: bold;color: #272727;padding: 0px 0px 10px 0px;position: relative;} #PDI_container124922 .pds-totalvotes-outer P{clear: left !important;line-height: 0px;padding: 0px;margin: 0px;}';

var PDV_POLL_q124922 = 'Which is Shaun\'s best show so far ?'; var PDV_POLL_medType124922 = '1'; var PDV_POLL_medID124922 = '1247372392_4535-x';
var PDV_A124922 = new Array();


  PDV_A124922[0] = new Array(4); PDV_A124922[0][0] = "6773361"; PDV_A124922[0][1] = "未来不是梦 The Dream Catchers";   PDV_A124922[0][2] = "0"; PDV_A124922[0][3] = "";

  PDV_A124922[1] = new Array(4); PDV_A124922[1][0] = "5176304"; PDV_A124922[1][1] = "叮当神探 Crime Busters x 2";   PDV_A124922[1][2] = "0"; PDV_A124922[1][3] = "";

  PDV_A124922[2] = new Array(4); PDV_A124922[2][0] = "5176305"; PDV_A124922[2][1] = "绝对佳人 La Femme";   PDV_A124922[2][2] = "0"; PDV_A124922[2][3] = "";

  PDV_A124922[3] = new Array(4); PDV_A124922[3][0] = "5176306"; PDV_A124922[3][1] = "谜图 The Truth";   PDV_A124922[3][2] = "0"; PDV_A124922[3][3] = "";

  PDV_A124922[4] = new Array(4); PDV_A124922[4][0] = "5176307"; PDV_A124922[4][1] = "天堂鳥 Live Again";   PDV_A124922[4][2] = "0"; PDV_A124922[4][3] = "";

  PDV_A124922[5] = new Array(4); PDV_A124922[5][0] = "569926"; PDV_A124922[5][1] = "天使的烙印 Fallen Angel";   PDV_A124922[5][2] = "0"; PDV_A124922[5][3] = "";

  PDV_A124922[6] = new Array(4); PDV_A124922[6][0] = "569927"; PDV_A124922[6][1] = "幸运星 Switched！";   PDV_A124922[6][2] = "0"; PDV_A124922[6][3] = "";

  PDV_A124922[7] = new Array(4); PDV_A124922[7][0] = "569928"; PDV_A124922[7][1] = "原點 The Beginning";   PDV_A124922[7][2] = "0"; PDV_A124922[7][3] = "";

  PDV_A124922[8] = new Array(4); PDV_A124922[8][0] = "569929"; PDV_A124922[8][1] = "萤火虫的夢 Let It Shine";   PDV_A124922[8][2] = "0"; PDV_A124922[8][3] = "";

  PDV_A124922[9] = new Array(4); PDV_A124922[9][0] = "569930"; PDV_A124922[9][1] = "奇迹 Making Miracles";   PDV_A124922[9][2] = "0"; PDV_A124922[9][3] = "";

  PDV_A124922[10] = new Array(4); PDV_A124922[10][0] = "569931"; PDV_A124922[10][1] = "梦拼图 Dreamchasers";   PDV_A124922[10][2] = "0"; PDV_A124922[10][3] = "";

  PDV_A124922[11] = new Array(4); PDV_A124922[11][0] = "569932"; PDV_A124922[11][1] = "刑警二人组 C.I.D";   PDV_A124922[11][2] = "0"; PDV_A124922[11][3] = "";

  PDV_A124922[12] = new Array(4); PDV_A124922[12][0] = "569933"; PDV_A124922[12][1] = "爱的掌门人 Love Concierge";   PDV_A124922[12][2] = "0"; PDV_A124922[12][3] = "";

  PDV_A124922[13] = new Array(4); PDV_A124922[13][0] = "569934"; PDV_A124922[13][1] = "Heartlanders 4";   PDV_A124922[13][2] = "0"; PDV_A124922[13][3] = "";

  PDV_A124922[14] = new Array(4); PDV_A124922[14][0] = "569935"; PDV_A124922[14][1] = "Yummy Yummy";   PDV_A124922[14][2] = "0"; PDV_A124922[14][3] = "";

  PDV_A124922[15] = new Array(4); PDV_A124922[15][0] = "569936"; PDV_A124922[15][1] = "零樓 Zero";   PDV_A124922[15][2] = "0"; PDV_A124922[15][3] = "";

  PDV_A124922[16] = new Array(4); PDV_A124922[16][0] = "569937"; PDV_A124922[16][1] = "易心人 Changing Lanes";   PDV_A124922[16][2] = "0"; PDV_A124922[16][3] = "";

  PDV_A124922[17] = new Array(4); PDV_A124922[17][0] = "569938"; PDV_A124922[17][1] = "甜蜜風暴 Power Of Love";   PDV_A124922[17][2] = "0"; PDV_A124922[17][3] = "";

  PDV_A124922[18] = new Array(4); PDV_A124922[18][0] = "569939"; PDV_A124922[18][1] = "非一般媽媽 To Mum With Love";   PDV_A124922[18][2] = "0"; PDV_A124922[18][3] = "";

  PDV_A124922[19] = new Array(4); PDV_A124922[19][0] = "569940"; PDV_A124922[19][1] = "無炎的愛 Always On Your Mind";   PDV_A124922[19][2] = "0"; PDV_A124922[19][3] = "";

  PDV_A124922[20] = new Array(4); PDV_A124922[20][0] = "569941"; PDV_A124922[20][1] = "荷蘭村 Holland V";   PDV_A124922[20][2] = "0"; PDV_A124922[20][3] = "";

  PDV_A124922[21] = new Array(4); PDV_A124922[21][0] = "569942"; PDV_A124922[21][1] = "真心英雄 True Heroes";   PDV_A124922[21][2] = "0"; PDV_A124922[21][3] = "";


var PDV_l1_124922 = 'View Results';
var PDV_l2_124922 = 'Other:';
var PDV_l3_124922  = '';

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



//v2.5 1/Oct/09

if (pollClosed124922 == false)
 {
    var PDV_server124922 = 'http://polls.polldaddy.com';
    var AA124922 = new Array();
    var PDV_html124922 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form124922" id="PDI_form124922"><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">' + media124922(PDV_POLL_medType124922, PDV_POLL_medID124922) + ' ' + unescape_HTML_124922( PDV_POLL_q124922 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer124922"></span>';
    if (PDV_po124922 == 1)
    {
		PDV_html124922 += '<span class="pds-answer-group">';
		
        if (PDV_pt124922 == 0)
        {
            PDV_html124922 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer124922" id="PDI_answerOther124922" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html124922 += '<label for="PDI_answerOther124922" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_124922 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText124922" name="PDI_OtherText124922" onclick="PDI_checkOther124922();" onchange="PDI_checkOther124922(true);" /></span>';

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

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

    if ( PDV_l3_124922 == '' )
    {
		PDV_l3_124922 = 'Vote';
    }
	
	if ( PDV_s124922 < 99 || PDV_def124922.indexOf('input.pds-votebutton') != -1 )	
	{
		if (PDV_l3_124922 == 'Vote' || PDV_l3_124922 == '')
	    {
	        PDV_html124922 += '<input type="button" class="pds-votebutton" style="border:none;cursor: pointer;" src="http://i.polldaddy.com/polls/spacer.gif" onclick="PD_vote124922(0);">';
	    }
	    else
	    {
	        PDV_html124922 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_124922 + '"  onclick="PD_vote124922(0);" />';
	    }
	}
	else
	{
		PDV_html124922 += '<a href="javascript:PD_vote124922(0);" id="pd-vote-button124922" class="pds-vote-button"><span>' + PDV_l3_124922 + '</span></a>';
	}

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

    if (PDV_pr124922 == 2) {
        PDV_html124922 += '<br/>';
    }
    else {
        PDV_html124922 += '<a href="javascript:PD_vote124922(1);" class="pds-view-results">' + PDV_l1_124922 + '</a><br/>';
    }

	if( typeof PDV_share124922 != "undefined") {
		if (PDV_share124922 == 1 ) {
			PDV_html124922 += '<a class="a2a_dd pds-share"  href="javascript:">' + PDV_l12_124922 + '</a>';
		}
	}
	
    if (PDV_lnk124922 == 1) {
        PDV_html124922 += '<a href="http://www.polldaddy.com" target="_blank" class="pds-pd-link">Polldaddy.com</a>';
    }

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

    for (PDV_x = 0; PDV_x < PDV_A124922.length; PDV_x++)
    {
        if (PDV_pt124922 == 0)
        {
            AA124922[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A124922[PDV_x][0] + '" value="' + PDV_A124922[PDV_x][0] + '" name="PDI_answer124922" /></span><label for="PDI_answer' + PDV_A124922[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_124922( PDV_A124922[PDV_x][1] ) + '</span></label>' + media124922(PDV_A124922[PDV_x][2], PDV_A124922[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA124922[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A124922[PDV_x][0] + '" value="' + PDV_A124922[PDV_x][0] + '" name="PDI_answer' + PDV_A124922[PDV_x][0] + '" onclick="javascript:PDF_mc124922(this);" /></span><label for="PDI_answer' + PDV_A124922[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_124922( PDV_A124922[PDV_x][1] ) + '</span></label>' + media124922(PDV_A124922[PDV_x][2], PDV_A124922[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a124922()
 {
    PDF_o124922();
    var r;
    if (PDV_pt124922 == 0)
    {
    	for (var i = 0; i < AA124922.length; i++)
        {
            r = document.getElementById(AA124922[i].substring(AA124922[i].indexOf('id=') + 4, AA124922[i].indexOf('"', AA124922[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther124922");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA124922.length; i++)
        {
            r = document.getElementById(AA124922[i].substring(AA124922[i].indexOf('id=') + 4, AA124922[i].indexOf('"', AA124922[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a124922 = PDV_a124922 + r.value + ",";
            }
        }
        return PDV_a124922;
    }
}
function PDF_o124922(r) {
    if (PDV_po124922 == 1) {
        PDV_o124922 = document.getElementById("PDI_OtherText124922").value;
    }
}
function PDI_checkOther124922( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText124922").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt124922 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther124922").checked = false; }
		else{ document.getElementById("PDI_answerOther124922").checked = true; }
    }
	else if ( PDV_pt124922 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText124922");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA124922.length; i++)
	    {
	        r = document.getElementById(AA124922[i].substring(AA124922[i].indexOf('id=') + 4, AA124922[i].indexOf('"', AA124922[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt124922 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA124922.length; i++)
		    {
		        r = document.getElementById(AA124922[i].substring(AA124922[i].indexOf('id=') + 4, AA124922[i].indexOf('"', AA124922[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt124922 ){
			obj.disabled=false;
			for (i = 0; i < AA124922.length; i++)
		    {
		        r = document.getElementById(AA124922[i].substring(AA124922[i].indexOf('id=') + 4, AA124922[i].indexOf('"', AA124922[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote124922(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server124922 + "/vote-js.php?s=" + PDV_s124922 + "&vr=1&b=" + PDV_b124922 + "&p=" + PDV_id124922 + "&l=" + PDV_l124922 + "&sl=" + PDV_sl124922 + "&pr=" + PDV_pr124922 + "&pt=" + PDV_pt124922 + "&va=" + PDV_va124922 + "&cookie=" + PD_ck124922 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w124922;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b124922 > 0)
        {
            Set_Cookie124922('PD_poll_' + PDV_id124922, 'true', 30, '/', '', '');
        }
        PDV_a124922 = '';
        PDV_a124922 = PDF_a124922(document.getElementById("PDI_form124922"));
        if (PDV_a124922.length == 0 && PDV_o124922.length == 0)
        {
            alert(PDV_l4_124922);
        }
        else
        {
			if ( PDV_def124922.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button124922').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server124922 + "/vote-js.php?s=" + PDV_s124922 + "&b=" + PDV_b124922 + "&p=" + PDV_id124922 + "&a=" + PDV_a124922 + "&o=" + PDV_o124922 + "&l=" + PDV_l124922 + "&sl=" + PDV_sl124922 + "&pr=" + PDV_pr124922 + "&pt=" + PDV_pt124922 + "&va=" + PDV_va124922 + "&cookie=" + PD_ck124922 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w124922;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString124922 = PDV_html124922;
var PD_ck124922 = 0;

function PDV_rand124922(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_go124922()
 {
    if (!document.getElementById('poll_style124922'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style124922");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def124922;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def124922));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container124922'))
    {
        document.write('<a name="pd_a_124922" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container124922"></div>');
    }
    if (Get_Cookie124922('PD_poll_' + PDV_id124922) == 'true')
    {
        PD_ck124922 = 1;
    }

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

    if (PDV_POLLRAND124922) {
        AA124922 = PDV_rand124922(AA124922);
    }
    y124922 = '';
    for (x124922 = 0; x124922 < AA124922.length; x124922++) {
        y124922 = y124922 + AA124922[x124922];
    }
    document.getElementById('pds-answer124922').innerHTML = y124922;
	share124922();
}
function Set_Cookie124922(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_Cookie124922(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 (pollClosed124922 == false)
 {
    PDV_go124922();
}

function st_go124922(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;
}

st124922 = {
    "p": "124922",
    "v": "0"
};

st_go124922(st124922);

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

function media124922(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;
        }
    }
}

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

if (pollClosed124922 == true)
{
	share124922();
}