/* Yahoo! Answers Portable Badge - http://answers.yahoo.com/ */
/* Copyright Yahoo! 2006 */

document.write('<style type="text/css">@import url("http://l.yimg.com/a/lib/eu/kpb/badge_1.5.css");</style>');
var css = '';
    css+='#y-answers-badge-0 * {color:#000000;font-size:11px;border-color:#000000;font-family: Arial, Helvetica, sans-serif;}';
    css+='#y-answers-badge-0{width:300px;background-color:#000000;}';
    css+='#y-answers-badge-0 .y-answers-inner{background:#000000;}';
    css+='#y-answers-badge-0 #y-bd-0{height:190px;background:#ffffff;}';
    css+='#y-answers-badge-0 #y-bd-0 .y-answers-inner,#y-answers-badge-0 #y-ol .y-answers-inner{background:#ffffff;}';
    css+='#y-answers-badge-0 #y-hd-0,#y-answers-badge-0 #y-bd-0,#y-answers-badge-0 #y-bd-hd-0{margin:1px;}';
            css+='#y-answers-badge-0 #y-hd-0 a {display:block;margin-left:3px;margin-top:10px;margin-bottom:10px;} #y-answers-badge-0 #y-hd-0 a img {display:block;}';
        css+='#y-answers-badge-0 #y-bd-hd-0{margin-bottom:-1px;}';
    css+='#y-answers-badge-0 #y-bd-hd-0 .y-answers-inner{background:#ffffff;}';
    css+='#y-answers-badge-0 #y-bd-0 .y-answer{height:60px;background-color:#ffffff;}';
    css+='#y-answers-badge-0 .y-answer h2 a{color:#3399ee;}';
    css+='#y-answers-badge-0 .y-ol-c h3{color:#000000;}';
    css+='#y-answers-badge-0 .y-answer p.y-answer-meta,#y-answers-badge-0 .num-answers{color:#666666;}';
    css+='#y-answers-badge-0 .y-answer,#y-answers-badge-0 .y-answer *{background-color:#ffffff;}';
    css+='#y-answers-badge-0 #y-ol{height:190px;}';
    css+='#y-answers-badge-0 #y-ol .chosen-answer{color:#666666;}';
    css+='#y-answers-badge-0 #y-ol .full-question{color:#666666;}';
    css+='#y-answers-badge-0 .a-close{color:#3399ee;}';
    if (document.compatMode && document.compatMode == "BackCompat") {
        css+="#y-answers-badge-0 .y-search-box {*width:68%;}";
    } else {
        css+="#y-answers-badge-0 .y-search-box {*width:46%;}";
    }
    css+='#y-answers-badge-0 #y-bd-0 .y-answers-down{height:190px}';
    css+='#y-answers-badge-0 #y-bd-0 .y-answers-down p{padding-top:11px;margin-bottom:11px}';
    css+='#y-answers-badge-0 #y-bd-0 .y-answers-down p.bot{padding-bottom:11px}';
    css+='#y-answers-badge-0 #y-ln-0 {border-width: 1px 0 0 0;padding: 5px;color: #666666;background: #ECFFE6;}';
    css+='#y-answers-badge-0 #y-ln-0 a {color:#3399ee;white-space: nowrap;}';
    css+='';

document.write('<st'+'yle type="text/css">'+"\n"+css+"</st"+"yle>\n");

output = '<div id="y-answers-badge-0" class="branded">';
output+='<div class="y-answers-inner">';
    output+='<div id="y-hd-0"><a href="http://ca.answers.yahoo.com/" target="_blank"><img src="http://l.yimg.com/i/i/eu/se/prope29.gif" height="25" width="232" alt="Yahoo! Answers"></a></div>';
    output+='<div id="y-bd-hd-0"><div class="y-answers-inner"><h1>Yahoo! Canada Answers</h1></div></div>';
    output+='<div id="y-bd-0">';
    document.write(output);
    a_output = '';
    if(typeof kp_data != 'object' || kp_data.length < 1) {
        kp_data = {};
    }
    if(typeof kp_items != 'object' || kp_items.length < 1) {
        kp_items = {};
    }
    a_output += '<div class="y-answers-inner">';
    document.write(a_output);
    

                        
                        x_output='<div class="y-answer y-answer-list" id="y-answer-0">';
                        x_output+="<div class=\"y-no-avatar\">\n";
            x_output+="<h2><a href=\"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172415AAbIGfJ\" class=\"y-answer-link\" target=\"_blank\">What caused the heat of fusion of ice to be lower than the literature value in our experiment?</a></h2>\n";
            x_output+="<p class=\"y-answer-meta\"><span>Chemistry</span> - 5 minutes ago</p>\n";
            x_output+="</div></div>";
            document.write(x_output);
        
                    
                        x_output='<div class="y-answer y-answer-list" id="y-answer-1">';
                        x_output+="<div class=\"y-no-avatar\">\n";
            x_output+="<h2><a href=\"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172403AAvrWEf\" class=\"y-answer-link\" target=\"_blank\">YOUTUBE QUESTION: How do you put a URL into a bulletin in recent activity?</a></h2>\n";
            x_output+="<p class=\"y-answer-meta\"><span>YouTube</span> - 5 minutes ago</p>\n";
            x_output+="</div></div>";
            document.write(x_output);
        
                    
                        x_output='<div class="y-answer y-answer-list" id="y-answer-2">';
                        x_output+="<div class=\"y-no-avatar\">\n";
            x_output+="<h2><a href=\"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172357AAnQL3h\" class=\"y-answer-link\" target=\"_blank\">if you have watched the soup on E in the past few weeks where can i get this video?</a></h2>\n";
            x_output+="<p class=\"y-answer-meta\"><span>Comedy</span> - 5 minutes ago</p>\n";
            x_output+="</div></div>";
            document.write(x_output);
        
                    
            
    

                        
            kp_data["y-answer-0"] = {"question":"What caused the heat of fusion of ice to be lower than the literature value in our experiment?","answer_meta":"<span>Chemistry</span> - 5 minutes ago","full_question":"We did an experiment with a simple coffee cup to find the heat of fusion of ice. Our value was lower than the literature value of heat of fusion of ice (334 J/g) I was wondering if you could give me some ideas why our heat of fusion was measured lower... e.g holes in the cup, too much ice added to quickly. Thanks","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172415AAbIGfJ","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172415AAbIGfJ","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172415AAbIGfJ&s=q&date=Wed%2C+10+Feb+2010+01%3A24%3A15+GMT&.crumb="};
                    
                    
            kp_data["y-answer-1"] = {"question":"YOUTUBE QUESTION: How do you put a URL into a bulletin in recent activity?","answer_meta":"<span>YouTube</span> - 5 minutes ago","full_question":"Is there a way to post a link in the bulletin. I tried posting a news website like this. <br /><br />Made up website <br /><br /><a target=\"_blank\" rel=\"nofollow\" href=\"http://etc.com/I-Hate-Youtube\">http://etc.com/i-hate-youtube...</a> <br /><br />It came up on the board fine, but when my friends copy and paste it. It came out like this. <br /><br /><a target=\"_blank\" rel=\"nofollow\" href=\"http://etc.com/I-Ha-t-e-Yo-ut-ub-e\">http://etc.com/i-ha-t-e-yo-ut-ub-e...</a> <br /><br />It added random dashes. I thought that would kind of be the point of posting a bulletin.<br /><br />Is there tricks to it or something???","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172403AAvrWEf","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172403AAvrWEf","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172403AAvrWEf&s=q&date=Wed%2C+10+Feb+2010+01%3A24%3A03+GMT&.crumb="};
                    
                    
            kp_data["y-answer-2"] = {"question":"if you have watched the soup on E in the past few weeks where can i get this video?","answer_meta":"<span>Comedy</span> - 5 minutes ago","full_question":"does anyone know where i can get the video where there was a weather guy who was perverted and said that thats not the only thing thats a little over 9 inches and squated down? that was really funny!","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172357AAnQL3h","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172357AAnQL3h","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172357AAnQL3h&s=q&date=Wed%2C+10+Feb+2010+01%3A23%3A57+GMT&.crumb="};
                    
                    
            kp_data["y-answer-3"] = {"question":"What should I put in my Me bag?","answer_meta":"<span>Other - Arts  Humanities</span> - 5 minutes ago","full_question":"So, well we have this thing in our english class in which we make a bag and put things that represent us, or some things that we have a fond memory of. I have no idea what to put in my bag, i can think of a lot of normal things to put in (i.e. a pencil because i like to write stories) but I want to put something really unique and interesting. It can be as many items as we want, so please give me some good ideas!<br />you know what first answerer ? im really not in the mood for so called witty answers. I just want a proper answer that will help me out, and if you cannot do that, then don&#039;t bother answering!","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172335AAsWSwb","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172335AAsWSwb","num_answers":"There is 1 other Answer to this question","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172335AAsWSwb&s=q&date=Wed%2C+10+Feb+2010+01%3A23%3A35+GMT&.crumb="};
                            kp_items["y-answer-3"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172335AAsWSwb","img":"http://l.yimg.com/a/i/identity/nopic_48.gif","myclass":"y-no-avatar","subject":"What should I put in my Me bag?","meta":"<span>Other - Arts  Humanities</span> - 5 minutes ago"};
                    
                    
            kp_data["y-answer-4"] = {"question":"Why is this guy blowing hot and cold?","answer_meta":"<span>Singles  Dating</span> - 7 minutes ago","full_question":"I&#039;ve been seeing a guy I was friends with for a year for almost four months now.  We&#039;ve gone out on dates (i.e. he paid), we&#039;ve kissed, had sex many times....he tells me he can&#039;t have a serious heavy committed relationship, and I&#039;ve told him I can never do friends with benefits.  Here recently he has been acting very sweet, calling and coming around more; he asked me to be his valentine last week...and in the snowing weather went and got me groceries.  All good things---until he wanted to have sex, we did, and then afterwards before he was leaving he hugged me while I thanked him for getting me groceries in the snow--he said that I was a good friend. (!!!) Later that evening I was on facebook and noticed that he also had deleted a nice comment I had left up on his wall.....wtff?!?!?! I am seriously pissed. What do you think?<br />We agreed that we were seeing each other and he has told me that he&#039;s not playing me and that he&#039;s not been or talked to any other girls since we&#039;ve started dating. He said he would always be 100% honest with me, and vice versa.","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172226AAQvaGD","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172226AAQvaGD","num_answers":"There are 2 other Answers to this question","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172226AAQvaGD&s=q&date=Wed%2C+10+Feb+2010+01%3A22%3A26+GMT&.crumb="};
                            kp_items["y-answer-4"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172226AAQvaGD","img":"http://l.yimg.com/q/users/1mdqqHXfqAAICQEEo4AfOtBE7YpQF.medium.jpg","myclass":"y-no-avatar","subject":"Why is this guy blowing hot and cold?","meta":"<span>Singles  Dating</span> - 7 minutes ago"};
                    
                    
            kp_data["y-answer-5"] = {"question":"What can someone with a Criminology degree do?","answer_meta":"<span>Psychology</span> - 8 minutes ago","full_question":"I don&#039;t want to take any major courses after it (i.e. police foundations or anything). I&#039;m looking to help people in general but not teach it. I&#039;m planning on doing a Psychology degree and taking Criminology courses (it;s the way it goes at U of Waterloo....is that the best school for it?)","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172048AAdkRxO","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172048AAdkRxO","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172048AAdkRxO&s=q&date=Wed%2C+10+Feb+2010+01%3A20%3A48+GMT&.crumb="};
                            kp_items["y-answer-5"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172048AAdkRxO","img":"http://l.yimg.com/q/users/1KMw_7wHPAAIB-sFTNI3juCsRMg==.medium.jpg","myclass":"y-no-avatar","subject":"What can someone with a Criminology degree do?","meta":"<span>Psychology</span> - 8 minutes ago"};
                    
                    
            kp_data["y-answer-6"] = {"question":"How does this make you feel racist Hispanic stalker finally arrested targets with threats and cyberstalking?","answer_meta":"<span>Immigration</span> - 9 minutes ago","full_question":"The 63-yearold man&#039;s real name is Vincent P. Johnson. Yet, this New Jersey resident is more comfortable going by the pseudonym Devilfish579, especially when he&#039;s emailing a number of his favorite Hispanic advocacy targets with threats and cyberstalking them.Johnson, or Devilfish579, was arrested and indicted on charges he threatened employees of five Hispanic civil rights groups between November 2006 and February 2009.<br /><br />His favorite targets were the: LatinoJustice Puerto Rican Legal Defense and Education Fund, the Mexican American Legal Defense and Educational Fund, the National Council of La Raza, the League of United Latin American Citizens, and the National Coalition of Latino Clergy and Christian Leaders.<br /><br />Johnson thought it a hoot or clever, to write such things as:<br /><br />do you have a last will and testament? If not, better get one real soon.or <br /><br />our guns are loaded and we will take you out as well whether by the courts or by true fire power and if the idiots in the organizations which this e-mail is being copied to can&#039;t fathom the serious nature of their actions, then they will be on the hit list just like any illegal alien . . . actually, they are already on the list.<br /><br />and<br /><br />I am giving you fair warning that your presence and position is being tracked . . . you are dead meat . . . along with anyone else in your organization.<br /><br /><br />In fact, at one time Latina Lista was one of Devilfish579&#039;s targets but I was able to block him. Never really thought about him again until I saw that this time he bit off more than he could chew.<br /><br />I wish I could say Johnson was an anomaly when it comes to cyber-critics of Hispanic advocacy groups and activists but he&#039;s not. Unfortunately, he&#039;s the norm. <br /><br />While popular characterization of members of White Supremacist groups and those with an abnormal intolerance of Spanish-speaking immigrants, undocumented or otherwise, has been young and white, it is also true that there is a sizable over-50 crowd.<br /><br />Though it&#039;s only anecdotal on my part, through my experience I have found that the majority of Latina Lista&#039;s critics over the years have been retirement age. It&#039;s not that they so easily regurgitate misinformation gleaned from conservative talk radio or anti-immigrant enthusiasts with no desire to compare the facts, the young do that as well, it&#039;s that there&#039;s a stubbornness about them that has vanquished all doubt from their reasoning.<br /><br />At times, even the younger critics will concede a doubt, though not for long but older critics don&#039;t . They feel justified in condemning those whom they were led to believe are their enemies. They wag the argument of patriotism like their own battle flag and fail to understand that patriotism is a non-issue in this debate.<br /><br />They believe the misinformation and spout it as truth.<br /><a target=\"_blank\" rel=\"nofollow\" href=\"http://www.latinalista.net/palabrafinal/2010/02/arrest_of_63-year-old_anti-hispanic_cybe.html\">http://www.latinalista.net/palabrafina...</a>","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172009AADS8oj","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209172009AADS8oj","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209172009AADS8oj&s=q&date=Wed%2C+10+Feb+2010+01%3A20%3A09+GMT&.crumb="};
                            kp_items["y-answer-6"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209172009AADS8oj","img":"http://l.yimg.com/a/i/identity/nopic_48.gif","myclass":"y-no-avatar","subject":"How does this make you feel racist Hispanic stalker finally arrested targets with threats and cyberstalking?","meta":"<span>Immigration</span> - 9 minutes ago"};
                    
                    
            kp_data["y-answer-7"] = {"question":"Predict the chemical formulas of the compounds formed by:...help?","answer_meta":"<span>Homework Help</span> - 10 minutes ago","full_question":"A) Cu+1 and S-2<br /><br />B) Fe+3 and O-2<br /><br />C) Hg2 +2 and CO3 -2<br /><br />D) Ca+2 and AsO4 -3<br /><br />E) NH4 +1 and CO3 -2","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209171852AANqlSO","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209171852AANqlSO","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209171852AANqlSO&s=q&date=Wed%2C+10+Feb+2010+01%3A18%3A52+GMT&.crumb="};
                            kp_items["y-answer-7"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209171852AANqlSO","img":"http://l.yimg.com/a/i/identity/nopic_48.gif","myclass":"y-no-avatar","subject":"Predict the chemical formulas of the compounds formed by:...help?","meta":"<span>Homework Help</span> - 10 minutes ago"};
                    
                    
            kp_data["y-answer-8"] = {"question":"How long would a great white shark live if placed in apple juice?","answer_meta":"<span>Non-Alcoholic Drinks</span> - 11 minutes ago","full_question":"Assume a large tank with plenty of oxygen in the juice.  To clarify: I won&#039;t actually be putting a shark in a tank of apple juice.  This is more of a theoretical question that grew out of a weekend conversation with friends.  Our best guesses ranged from between 5 to 15 minutes, with people guessing on the shorter end arguing that the chemical properties of the apple juice (e.g., lack of salt) would cause a quick death.","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209171810AA5Fi5c","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209171810AA5Fi5c","num_answers":"","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209171810AA5Fi5c&s=q&date=Wed%2C+10+Feb+2010+01%3A18%3A10+GMT&.crumb="};
                            kp_items["y-answer-8"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209171810AA5Fi5c","img":"http://l.yimg.com/a/i/identity/nopic_48.gif","myclass":"y-no-avatar","subject":"How long would a great white shark live if placed in apple juice?","meta":"<span>Non-Alcoholic Drinks</span> - 11 minutes ago"};
                    
                    
            kp_data["y-answer-9"] = {"question":"Ladies: is sex once a week not enough?","answer_meta":"<span>Singles  Dating</span> - 12 minutes ago","full_question":"It seems women get disinterested in me because i only desire sex about once a week.  That once a week is usually big though, (i.e. being called freaky, bad ect). But it seems if i dont have sex with them within another week, they get bored of me or something. Are their women that exist that are more of a one shot, one kill kinda woman? lol   or am i living in an alternate universe where sex every day or 2 times a week is necessary in the real world.","question_state":"q","chosen_answer":"","answer_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209171714AAP6Def","button_link":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&link=answer&qid=20100209171714AAP6Def","num_answers":"There are 4 other Answers to this question","chosen_answer_date":"4 decades ago","report_abuse_link":"http://ca.answers.yahoo.com/question/accuse_write?qid=20100209171714AAP6Def&s=q&date=Wed%2C+10+Feb+2010+01%3A17%3A14+GMT&.crumb="};
                            kp_items["y-answer-9"] = {"linkurl":"http://ca.answers.yahoo.com/question/?fr=apm-P0OIBxSc6@OUYkICGh&qid=20100209171714AAP6Def","img":"http://l.yimg.com/q/users/1qbRpqHy7AAECIEElYAX-cCVsB_WoTg==.medium.jpg","myclass":"y-no-avatar","subject":"Ladies: is sex once a week not enough?","meta":"<span>Singles  Dating</span> - 12 minutes ago"};
                    
    
    a_output = '</div>';
    document.write(a_output);
    output='</div>';
    output+='<div id="y-se-0"><div class="y-answers-inner"><p>Search<br>Yahoo! Canada Answers</p><form action="http://ca.answers.yahoo.com/search/search_result" method="get" name="asearch" target="_blank"><input class="y-search-box" name="p" type="text"><input class="y-search-submit" value="Search" type="submit"><input name="sid" value="" type="hidden"></form></div></div>';
output+='</div></div>';
document.write(output);
function fixheight() {
    if(!document.getElementById('y-answers-badge-0')) {
        return window.setTimeout(fixheight,500);
    }
    if( document.getElementById('y-answers-badge-0').offsetHeight == 190 ) {
        document.getElementById('y-answers-badge-0').style.height = (190+2)+"px";
    }
}

window.setTimeout(fixheight,500);
if( window.print && !(document.all && !document.fireEvent && !window.opera)) {
            if(typeof YAHOO==="undefined") {
            if(typeof YAHOO=="undefined"){var YAHOO={};}YAHOO.namespace=function(){var a=arguments,o=null,i,j,d;for(i=0;i<a.length;++i){d=a[i].split(".");o=YAHOO;for(j=(d[0]=="YAHOO")?1:0;j<d.length;++j){o[d[j]]=o[d[j]]||{};o=o[d[j]];}}return o;};YAHOO.log=function(_2,_3,_4){var l=YAHOO.widget.Logger;if(l&&l.log){return l.log(_2,_3,_4);}else{return false;}};YAHOO.extend=function(_6,_7,_8){var F=function(){};F.prototype=_7.prototype;_6.prototype=new F();_6.prototype.constructor=_6;_6.superclass=_7.prototype;if(_7.prototype.constructor==Object.prototype.constructor){_7.prototype.constructor=_7;}if(_8){for(var i in _8){_6.prototype[i]=_8[i];}}};YAHOO.augment=function(r,s){var rp=r.prototype,sp=s.prototype,a=arguments,i,p;if(a[2]){for(i=2;i<a.length;++i){rp[a[i]]=sp[a[i]];}}else{for(p in sp){if(!rp[p]){rp[p]=sp[p];}}}};YAHOO.namespace("util","widget","example");
        }
        if(typeof YAHOO.util.Dom === 'undefined') {
            (function(){var Y=YAHOO.util,getStyle,setStyle,id_counter=0,propertyCache={};var ua=navigator.userAgent.toLowerCase(),isOpera=(ua.indexOf('opera')>-1),isSafari=(ua.indexOf('safari')>-1),isGecko=(!isOpera&&!isSafari&&ua.indexOf('gecko')>-1),isIE=(!isOpera&&ua.indexOf('msie')>-1);var patterns={HYPHEN:/(-[a-z])/i};var toCamel=function(property){if(!patterns.HYPHEN.test(property)){return property;}if(propertyCache[property]){return propertyCache[property];}while(patterns.HYPHEN.exec(property)){property=property.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase());}propertyCache[property]=property;return property;};if(document.defaultView&&document.defaultView.getComputedStyle){getStyle=function(el,property){var value=null;var computed=document.defaultView.getComputedStyle(el,'');if(computed){value=computed[toCamel(property)];}return el.style[property]||value;};}else if(document.documentElement.currentStyle&&isIE){getStyle=function(el,property){switch(toCamel(property)){case'opacity':var val=100;try{val=el.filters['DXImageTransform.Microsoft.Alpha'].opacity;}catch(e){try{val=el.filters('alpha').opacity;}catch(e){}}return val/100;break;default:var value=el.currentStyle?el.currentStyle[property]:null;return(el.style[property]||value);}};}else{getStyle=function(el,property){return el.style[property];};}if(isIE){setStyle=function(el,property,val){switch(property){case'opacity':if(typeof el.style.filter=='string'){el.style.filter='alpha(opacity='+val*100+')';if(!el.currentStyle||!el.currentStyle.hasLayout){el.style.zoom=1;}}break;default:el.style[property]=val;}};}else{setStyle=function(el,property,val){el.style[property]=val;};}YAHOO.util.Dom={get:function(el){if(!el){return null;}if(typeof el!='string'&&!(el instanceof Array)){return el;}if(typeof el=='string'){return document.getElementById(el);}else{var collection=[];for(var i=0,len=el.length;i<len;++i){collection[collection.length]=Y.Dom.get(el[i]);}return collection;}return null;},getStyle:function(el,property){property=toCamel(property);var f=function(element){return getStyle(element,property);};return Y.Dom.batch(el,f,Y.Dom,true);},setStyle:function(el,property,val){property=toCamel(property);var f=function(element){setStyle(element,property,val);};Y.Dom.batch(el,f,Y.Dom,true);},getXY:function(el){var f=function(el){if(el.parentNode===null||el.offsetParent===null||this.getStyle(el,'display')=='none'){return false;}var parentNode=null;var pos=[];var box;if(el.getBoundingClientRect){box=el.getBoundingClientRect();var doc=document;if(!this.inDocument(el)&&parent.document!=document){doc=parent.document;if(!this.isAncestor(doc.documentElement,el)){return false;}}var scrollTop=Math.max(doc.documentElement.scrollTop,doc.body.scrollTop);var scrollLeft=Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft);return[box.left+scrollLeft,box.top+scrollTop];}else{pos=[el.offsetLeft,el.offsetTop];parentNode=el.offsetParent;if(parentNode!=el){while(parentNode){pos[0]+=parentNode.offsetLeft;pos[1]+=parentNode.offsetTop;parentNode=parentNode.offsetParent;}}if(isSafari&&this.getStyle(el,'position')=='absolute'){pos[0]-=document.body.offsetLeft;pos[1]-=document.body.offsetTop;}}if(el.parentNode){parentNode=el.parentNode;}else{parentNode=null;}while(parentNode&&parentNode.tagName.toUpperCase()!='BODY'&&parentNode.tagName.toUpperCase()!='HTML'){if(Y.Dom.getStyle(parentNode,'display')!='inline'){pos[0]-=parentNode.scrollLeft;pos[1]-=parentNode.scrollTop;}if(parentNode.parentNode){parentNode=parentNode.parentNode;}else{parentNode=null;}}return pos;};return Y.Dom.batch(el,f,Y.Dom,true);},getX:function(el){var f=function(el){return Y.Dom.getXY(el)[0];};return Y.Dom.batch(el,f,Y.Dom,true);},getY:function(el){var f=function(el){return Y.Dom.getXY(el)[1];};return Y.Dom.batch(el,f,Y.Dom,true);},setXY:function(el,pos,noRetry){var f=function(el){var style_pos=this.getStyle(el,'position');if(style_pos=='static'){this.setStyle(el,'position','relative');style_pos='relative';}var pageXY=this.getXY(el);if(pageXY===false){return false;}var delta=[parseInt(this.getStyle(el,'left'),10),parseInt(this.getStyle(el,'top'),10)];if(isNaN(delta[0])){delta[0]=(style_pos=='relative')?0:el.offsetLeft;}if(isNaN(delta[1])){delta[1]=(style_pos=='relative')?0:el.offsetTop;}if(pos[0]!==null){el.style.left=pos[0]-pageXY[0]+delta[0]+'px';}if(pos[1]!==null){el.style.top=pos[1]-pageXY[1]+delta[1]+'px';}var newXY=this.getXY(el);if(!noRetry&&(newXY[0]!=pos[0]||newXY[1]!=pos[1])){this.setXY(el,pos,true);}};Y.Dom.batch(el,f,Y.Dom,true);},setX:function(el,x){Y.Dom.setXY(el,[x,null]);},setY:function(el,y){Y.Dom.setXY(el,[null,y]);},getRegion:function(el){var f=function(el){var region=new Y.Region.getRegion(el);return region;};return Y.Dom.batch(el,f,Y.Dom,true);},getClientWidth:function(){return Y.Dom.getViewportWidth();},getClientHeight:function(){return Y.Dom.getViewportHeight();},getElementsByClassName:function(className,tag,root){var method=function(el){return Y.Dom.hasClass(el,className);};return Y.Dom.getElementsBy(method,tag,root);},hasClass:function(el,className){var re=new RegExp('(?:^|\\s+)'+className+'(?:\\s+|$)');var f=function(el){return re.test(el['className']);};return Y.Dom.batch(el,f,Y.Dom,true);},addClass:function(el,className){var f=function(el){if(this.hasClass(el,className)){return;}el['className']=[el['className'],className].join(' ');};Y.Dom.batch(el,f,Y.Dom,true);},removeClass:function(el,className){var re=new RegExp('(?:^|\\s+)'+className+'(?:\\s+|$)','g');var f=function(el){if(!this.hasClass(el,className)){return;}var c=el['className'];el['className']=c.replace(re,' ');if(this.hasClass(el,className)){this.removeClass(el,className);}};Y.Dom.batch(el,f,Y.Dom,true);},replaceClass:function(el,oldClassName,newClassName){if(oldClassName===newClassName){return false;}var re=new RegExp('(?:^|\\s+)'+oldClassName+'(?:\\s+|$)','g');var f=function(el){if(!this.hasClass(el,oldClassName)){this.addClass(el,newClassName);return;}el['className']=el['className'].replace(re,' '+newClassName+' ');if(this.hasClass(el,oldClassName)){this.replaceClass(el,oldClassName,newClassName);}};Y.Dom.batch(el,f,Y.Dom,true);},generateId:function(el,prefix){prefix=prefix||'yui-gen';el=el||{};var f=function(el){if(el){el=Y.Dom.get(el);}else{el={};}if(!el.id){el.id=prefix+id_counter++;}return el.id;};return Y.Dom.batch(el,f,Y.Dom,true);},isAncestor:function(haystack,needle){haystack=Y.Dom.get(haystack);if(!haystack||!needle){return false;}var f=function(needle){if(haystack.contains&&!isSafari){return haystack.contains(needle);}else if(haystack.compareDocumentPosition){return!!(haystack.compareDocumentPosition(needle)&16);}else{var parent=needle.parentNode;while(parent){if(parent==haystack){return true;}else if(!parent.tagName||parent.tagName.toUpperCase()=='HTML'){return false;}parent=parent.parentNode;}return false;}};return Y.Dom.batch(needle,f,Y.Dom,true);},inDocument:function(el){var f=function(el){return this.isAncestor(document.documentElement,el);};return Y.Dom.batch(el,f,Y.Dom,true);},getElementsBy:function(method,tag,root){tag=tag||'*';root=Y.Dom.get(root)||document;var nodes=[];var elements=root.getElementsByTagName(tag);if(!elements.length&&(tag=='*'&&root.all)){elements=root.all;}for(var i=0,len=elements.length;i<len;++i){if(method(elements[i])){nodes[nodes.length]=elements[i];}}return nodes;},batch:function(el,method,o,override){var id=el;el=Y.Dom.get(el);var scope=(override)?o:window;if(!el||el.tagName||!el.length){if(!el){return false;}return method.call(scope,el,o);}var collection=[];for(var i=0,len=el.length;i<len;++i){if(!el[i]){id=el[i];}collection[collection.length]=method.call(scope,el[i],o);}return collection;},getDocumentHeight:function(){var scrollHeight=(document.compatMode!='CSS1Compat')?document.body.scrollHeight:document.documentElement.scrollHeight;var h=Math.max(scrollHeight,Y.Dom.getViewportHeight());return h;},getDocumentWidth:function(){var scrollWidth=(document.compatMode!='CSS1Compat')?document.body.scrollWidth:document.documentElement.scrollWidth;var w=Math.max(scrollWidth,Y.Dom.getViewportWidth());return w;},getViewportHeight:function(){var height=self.innerHeight;var mode=document.compatMode;if((mode||isIE)&&!isOpera){height=(mode=='CSS1Compat')?document.documentElement.clientHeight:document.body.clientHeight;}return height;},getViewportWidth:function(){var width=self.innerWidth;var mode=document.compatMode;if(mode||isIE){width=(mode=='CSS1Compat')?document.documentElement.clientWidth:document.body.clientWidth;}return width;}};})();YAHOO.util.Region=function(t,r,b,l){this.top=t;this[1]=t;this.right=r;this.bottom=b;this.left=l;this[0]=l;};YAHOO.util.Region.prototype.contains=function(region){return(region.left>=this.left&&region.right<=this.right&&region.top>=this.top&&region.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(region){var t=Math.max(this.top,region.top);var r=Math.min(this.right,region.right);var b=Math.min(this.bottom,region.bottom);var l=Math.max(this.left,region.left);if(b>=t&&r>=l){return new YAHOO.util.Region(t,r,b,l);}else{return null;}};YAHOO.util.Region.prototype.union=function(region){var t=Math.min(this.top,region.top);var r=Math.max(this.right,region.right);var b=Math.max(this.bottom,region.bottom);var l=Math.min(this.left,region.left);return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+"}");};YAHOO.util.Region.getRegion=function(el){var p=YAHOO.util.Dom.getXY(el);var t=p[1];var r=p[0]+el.offsetWidth;var b=p[1]+el.offsetHeight;var l=p[0];return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Point=function(x,y){if(x instanceof Array){y=x[1];x=x[0];}this.x=this.right=this.left=this[0]=x;this.y=this.top=this.bottom=this[1]=y;};YAHOO.util.Point.prototype=new YAHOO.util.Region();
        }
        if(typeof YAHOO.util.Event === 'undefined') {
            YAHOO.util.CustomEvent=function(_1,_2,_3,_4){this.type=_1;this.scope=_2||window;this.silent=_3;this.signature=_4||YAHOO.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var _5="_YUICEOnSubscribe";if(_1!==_5){this.subscribeEvent=new YAHOO.util.CustomEvent(_5,this,true);}};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(fn,_7,_8){if(this.subscribeEvent){this.subscribeEvent.fire(fn,_7,_8);}this.subscribers.push(new YAHOO.util.Subscriber(fn,_7,_8));},unsubscribe:function(fn,_9){var _10=false;for(var i=0,len=this.subscribers.length;i<len;++i){var s=this.subscribers[i];if(s&&s.contains(fn,_9)){this._delete(i);_10=true;}}return _10;},fire:function(){var len=this.subscribers.length;if(!len&&this.silent){return true;}var _14=[],ret=true,i;for(i=0;i<arguments.length;++i){_14.push(arguments[i]);}var _15=_14.length;if(!this.silent){}for(i=0;i<len;++i){var s=this.subscribers[i];if(s){if(!this.silent){}var _16=s.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var _17=null;if(_14.length>0){_17=_14[0];}ret=s.fn.call(_16,_17,s.obj);}else{ret=s.fn.call(_16,this.type,_14,s.obj);}if(false===ret){if(!this.silent){}return false;}}}return true;},unsubscribeAll:function(){for(var i=0,len=this.subscribers.length;i<len;++i){this._delete(len-1-i);}},_delete:function(_18){var s=this.subscribers[_18];if(s){delete s.fn;delete s.obj;}this.subscribers.splice(_18,1);},toString:function(){return "CustomEvent: "+"'"+this.type+"', "+"scope: "+this.scope;}};YAHOO.util.Subscriber=function(fn,obj,_20){this.fn=fn;this.obj=obj||null;this.override=_20;};YAHOO.util.Subscriber.prototype.getScope=function(_21){if(this.override){if(this.override===true){return this.obj;}else{return this.override;}}return _21;};YAHOO.util.Subscriber.prototype.contains=function(fn,obj){if(obj){return (this.fn==fn&&this.obj==obj);}else{return (this.fn==fn);}};YAHOO.util.Subscriber.prototype.toString=function(){return "Subscriber { obj: "+(this.obj||"")+", override: "+(this.override||"no")+" }";};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var _22=false;var _23=[];var _24=[];var _25=[];var _26=[];var _27=0;var _28=[];var _29=[];var _30=0;return {POLL_RETRYS:200,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,OBJ:3,ADJ_SCOPE:4,isSafari:(/Safari|Konqueror|KHTML/gi).test(navigator.userAgent),isIE:(!this.isSafari&&!navigator.userAgent.match(/opera/gi)&&navigator.userAgent.match(/msie/gi)),_interval:null,startInterval:function(){if(!this._interval){var _31=this;var _32=function(){_31._tryPreloadAttach();};this._interval=setInterval(_32,this.POLL_INTERVAL);}},onAvailable:function(_33,_34,_35,_36){_28.push({id:_33,fn:_34,obj:_35,override:_36,checkReady:false});_27=this.POLL_RETRYS;this.startInterval();},onContentReady:function(_37,_38,_39,_40){_28.push({id:_37,fn:_38,obj:_39,override:_40,checkReady:true});_27=this.POLL_RETRYS;this.startInterval();},addListener:function(el,_42,fn,obj,_43){if(!fn||!fn.call){return false;}if(this._isValidCollection(el)){var ok=true;for(var i=0,len=el.length;i<len;++i){ok=this.on(el[i],_42,fn,obj,_43)&&ok;}return ok;}else{if(typeof el=="string"){var oEl=this.getEl(el);if(oEl){el=oEl;}else{this.onAvailable(el,function(){YAHOO.util.Event.on(el,_42,fn,obj,_43);});return true;}}}if(!el){return false;}if("unload"==_42&&obj!==this){_24[_24.length]=[el,_42,fn,obj,_43];return true;}var _46=el;if(_43){if(_43===true){_46=obj;}else{_46=_43;}}var _47=function(e){return fn.call(_46,YAHOO.util.Event.getEvent(e),obj);};var li=[el,_42,fn,_47,_46];var _50=_23.length;_23[_50]=li;if(this.useLegacyEvent(el,_42)){var _51=this.getLegacyIndex(el,_42);if(_51==-1||el!=_25[_51][0]){_51=_25.length;_29[el.id+_42]=_51;_25[_51]=[el,_42,el["on"+_42]];_26[_51]=[];el["on"+_42]=function(e){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(e),_51);};}_26[_51].push(li);}else{this._simpleAdd(el,_42,_47,false);}return true;},fireLegacyEvent:function(e,_52){var ok=true;var le=_26[_52];for(var i=0,len=le.length;i<len;++i){var li=le[i];if(li&&li[this.WFN]){var _54=li[this.ADJ_SCOPE];var ret=li[this.WFN].call(_54,e);ok=(ok&&ret);}}return ok;},getLegacyIndex:function(el,_56){var key=this.generateId(el)+_56;if(typeof _29[key]=="undefined"){return -1;}else{return _29[key];}},useLegacyEvent:function(el,_58){if(!el.addEventListener&&!el.attachEvent){return true;}else{if(this.isSafari){if("click"==_58||"dblclick"==_58){return true;}}}return false;},removeListener:function(el,_59,fn){var i,len;if(typeof el=="string"){el=this.getEl(el);}else{if(this._isValidCollection(el)){var ok=true;for(i=0,len=el.length;i<len;++i){ok=(this.removeListener(el[i],_59,fn)&&ok);}return ok;}}if(!fn||!fn.call){return this.purgeElement(el,false,_59);}if("unload"==_59){for(i=0,len=_24.length;i<len;i++){var li=_24[i];if(li&&li[0]==el&&li[1]==_59&&li[2]==fn){_24.splice(i,1);return true;}}return false;}var _60=null;var _61=arguments[3];if("undefined"==typeof _61){_61=this._getCacheIndex(el,_59,fn);}if(_61>=0){_60=_23[_61];}if(!el||!_60){return false;}if(this.useLegacyEvent(el,_59)){var _62=this.getLegacyIndex(el,_59);var _63=_26[_62];if(_63){for(i=0,len=_63.length;i<len;++i){li=_63[i];if(li&&li[this.EL]==el&&li[this.TYPE]==_59&&li[this.FN]==fn){_63.splice(i,1);break;}}}}else{this._simpleRemove(el,_59,_60[this.WFN],false);}delete _23[_61][this.WFN];delete _23[_61][this.FN];_23.splice(_61,1);return true;},getTarget:function(ev,_65){var t=ev.target||ev.srcElement;return this.resolveTextNode(t);},resolveTextNode:function(_67){if(_67&&3==_67.nodeType){return _67.parentNode;}else{return _67;}},getPageX:function(ev){var x=ev.pageX;if(!x&&0!==x){x=ev.clientX||0;if(this.isIE){x+=this._getScrollLeft();}}return x;},getPageY:function(ev){var y=ev.pageY;if(!y&&0!==y){y=ev.clientY||0;if(this.isIE){y+=this._getScrollTop();}}return y;},getXY:function(ev){return [this.getPageX(ev),this.getPageY(ev)];},getRelatedTarget:function(ev){var t=ev.relatedTarget;if(!t){if(ev.type=="mouseout"){t=ev.toElement;}else{if(ev.type=="mouseover"){t=ev.fromElement;}}}return this.resolveTextNode(t);},getTime:function(ev){if(!ev.time){var t=new Date().getTime();try{ev.time=t;}catch(e){return t;}}return ev.time;},stopEvent:function(ev){this.stopPropagation(ev);this.preventDefault(ev);},stopPropagation:function(ev){if(ev.stopPropagation){ev.stopPropagation();}else{ev.cancelBubble=true;}},preventDefault:function(ev){if(ev.preventDefault){ev.preventDefault();}else{ev.returnValue=false;}},getEvent:function(e){var ev=e||window.event;if(!ev){var c=this.getEvent.caller;while(c){ev=c.arguments[0];if(ev&&Event==ev.constructor){break;}c=c.caller;}}return ev;},getCharCode:function(ev){return ev.charCode||ev.keyCode||0;},_getCacheIndex:function(el,_71,fn){for(var i=0,len=_23.length;i<len;++i){var li=_23[i];if(li&&li[this.FN]==fn&&li[this.EL]==el&&li[this.TYPE]==_71){return i;}}return -1;},generateId:function(el){var id=el.id;if(!id){id="yuievtautoid-"+_30;++_30;el.id=id;}return id;},_isValidCollection:function(o){return (o&&o.length&&typeof o!="string"&&!o.tagName&&!o.alert&&typeof o[0]!="undefined");},elCache:{},getEl:function(id){return document.getElementById(id);},clearCache:function(){},_load:function(e){_22=true;var EU=YAHOO.util.Event;if(this.isIE){EU._simpleRemove(window,"load",EU._load);}},_tryPreloadAttach:function(){if(this.locked){return false;}this.locked=true;var _75=!_22;if(!_75){_75=(_27>0);}var _76=[];for(var i=0,len=_28.length;i<len;++i){var _77=_28[i];if(_77){var el=this.getEl(_77.id);if(el){if(!_77.checkReady||_22||el.nextSibling||(document&&document.body)){var _78=el;if(_77.override){if(_77.override===true){_78=_77.obj;}else{_78=_77.override;}}_77.fn.call(_78,_77.obj);delete _28[i];}}else{_76.push(_77);}}}_27=(_76.length===0)?0:_27-1;if(_75){this.startInterval();}else{clearInterval(this._interval);this._interval=null;}this.locked=false;return true;},purgeElement:function(el,_79,_80){var _81=this.getListeners(el,_80);if(_81){for(var i=0,len=_81.length;i<len;++i){var l=_81[i];this.removeListener(el,l.type,l.fn);}}if(_79&&el&&el.childNodes){for(i=0,len=el.childNodes.length;i<len;++i){this.purgeElement(el.childNodes[i],_79,_80);}}},getListeners:function(el,_83){var _84=[];if(_23&&_23.length>0){for(var i=0,len=_23.length;i<len;++i){var l=_23[i];if(l&&l[this.EL]===el&&(!_83||_83===l[this.TYPE])){_84.push({type:l[this.TYPE],fn:l[this.FN],obj:l[this.OBJ],adjust:l[this.ADJ_SCOPE],index:i});}}}return (_84.length)?_84:null;},_unload:function(e){var EU=YAHOO.util.Event,i,j,l,len,index;for(i=0,len=_24.length;i<len;++i){l=_24[i];if(l){var _85=window;if(l[EU.ADJ_SCOPE]){if(l[EU.ADJ_SCOPE]===true){_85=l[EU.OBJ];}else{_85=l[EU.ADJ_SCOPE];}}l[EU.FN].call(_85,EU.getEvent(e),l[EU.OBJ]);delete _24[i];l=null;_85=null;}}if(_23&&_23.length>0){j=_23.length;while(j){index=j-1;l=_23[index];if(l){EU.removeListener(l[EU.EL],l[EU.TYPE],l[EU.FN],index);}j=j-1;}l=null;EU.clearCache();}for(i=0,len=_25.length;i<len;++i){delete _25[i][0];delete _25[i];}EU._simpleRemove(window,"unload",EU._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var dd=document.documentElement,db=document.body;if(dd&&(dd.scrollTop||dd.scrollLeft)){return [dd.scrollTop,dd.scrollLeft];}else{if(db){return [db.scrollTop,db.scrollLeft];}else{return [0,0];}}},_simpleAdd:function(){if(window.addEventListener){return function(el,_87,fn,_88){el.addEventListener(_87,fn,(_88));};}else{if(window.attachEvent){return function(el,_89,fn,_90){el.attachEvent("on"+_89,fn);};}else{return function(){};}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(el,_91,fn,_92){el.removeEventListener(_91,fn,(_92));};}else{if(window.detachEvent){return function(el,_93,fn){el.detachEvent("on"+_93,fn);};}else{return function(){};}}}()};}();(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;if(document&&document.body){EU._load();}else{EU._simpleAdd(window,"load",EU._load);}EU._simpleAdd(window,"unload",EU._unload);EU._tryPreloadAttach();})();}YAHOO.util.EventProvider=function(){};YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(_94,_95,_96,_97){this.__yui_events=this.__yui_events||{};var ce=this.__yui_events[_94];if(ce){ce.subscribe(_95,_96,_97);}else{this.__yui_subscribers=this.__yui_subscribers||{};var _99=this.__yui_subscribers;if(!_99[_94]){_99[_94]=[];}_99[_94].push({fn:_95,obj:_96,override:_97});}},unsubscribe:function(_100,p_fn,_102){this.__yui_events=this.__yui_events||{};var ce=this.__yui_events[_100];if(ce){return ce.unsubscribe(p_fn,_102);}else{return false;}},createEvent:function(_103,_104){this.__yui_events=this.__yui_events||{};var opts=_104||{};var _106=this.__yui_events;if(_106[_103]){}else{var _107=opts.scope||this;var _108=opts.silent||null;var ce=new YAHOO.util.CustomEvent(_103,_107,_108,YAHOO.util.CustomEvent.FLAT);_106[_103]=ce;if(opts.onSubscribeCallback){ce.subscribeEvent.subscribe(opts.onSubscribeCallback);}this.__yui_subscribers=this.__yui_subscribers||{};var qs=this.__yui_subscribers[_103];if(qs){for(var i=0;i<qs.length;++i){ce.subscribe(qs[i].fn,qs[i].obj,qs[i].override);}}}return _106[_103];},fireEvent:function(_110,arg1,arg2,etc){this.__yui_events=this.__yui_events||{};var ce=this.__yui_events[_110];if(ce){var args=[];for(var i=1;i<arguments.length;++i){args.push(arguments[i]);}return ce.fire.apply(ce,args);}else{return null;}},hasEvent:function(type){if(this.__yui_events){if(this.__yui_events[type]){return true;}}return false;}};
        }
        if(typeof YAHOO.util.Anim==='undefined') {
            YAHOO.util.Anim=function(el,attributes,duration,method){if(el){this.init(el,attributes,duration,method);}};YAHOO.util.Anim.prototype={toString:function(){var el=this.getEl();var id=el.id||el.tagName;return("Anim "+id);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(attr,start,end){return this.method(this.currentFrame,start,end-start,this.totalFrames);},setAttribute:function(attr,val,unit){if(this.patterns.noNegatives.test(attr)){val=(val>0)?val:0;}YAHOO.util.Dom.setStyle(this.getEl(),attr,val+unit);},getAttribute:function(attr){var el=this.getEl();var val=YAHOO.util.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);}var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if(box||(YAHOO.util.Dom.getStyle(el,'position')=='absolute'&&pos)){val=el['offset'+a[0].charAt(0).toUpperCase()+a[0].substr(1)];}else{val=0;}return val;},getDefaultUnit:function(attr){if(this.patterns.defaultUnit.test(attr)){return'px';}return'';},setRuntimeAttribute:function(attr){var start;var end;var attributes=this.attributes;this.runtimeAttributes[attr]={};var isset=function(prop){return(typeof prop!=='undefined');};if(!isset(attributes[attr]['to'])&&!isset(attributes[attr]['by'])){return false;}start=(isset(attributes[attr]['from']))?attributes[attr]['from']:this.getAttribute(attr);if(isset(attributes[attr]['to'])){end=attributes[attr]['to'];}else if(isset(attributes[attr]['by'])){if(start.constructor==Array){end=[];for(var i=0,len=start.length;i<len;++i){end[i]=start[i]+attributes[attr]['by'][i];}}else{end=start+attributes[attr]['by'];}}this.runtimeAttributes[attr].start=start;this.runtimeAttributes[attr].end=end;this.runtimeAttributes[attr].unit=(isset(attributes[attr].unit))?attributes[attr]['unit']:this.getDefaultUnit(attr);},init:function(el,attributes,duration,method){var isAnimated=false;var startTime=null;var actualFrames=0;el=YAHOO.util.Dom.get(el);this.attributes=attributes||{};this.duration=duration||1;this.method=method||YAHOO.util.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=YAHOO.util.AnimMgr.fps;this.getEl=function(){return el;};this.isAnimated=function(){return isAnimated;};this.getStartTime=function(){return startTime;};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false;}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(YAHOO.util.AnimMgr.fps*this.duration):this.duration;YAHOO.util.AnimMgr.registerElement(this);};this.stop=function(finish){if(finish){this.currentFrame=this.totalFrames;this._onTween.fire();}YAHOO.util.AnimMgr.stop(this);};var onStart=function(){this.onStart.fire();this.runtimeAttributes={};for(var attr in this.attributes){this.setRuntimeAttribute(attr);}isAnimated=true;actualFrames=0;startTime=new Date();};var onTween=function(){var data={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};data.toString=function(){return('duration: '+data.duration+', currentFrame: '+data.currentFrame);};this.onTween.fire(data);var runtimeAttributes=this.runtimeAttributes;for(var attr in runtimeAttributes){this.setAttribute(attr,this.doMethod(attr,runtimeAttributes[attr].start,runtimeAttributes[attr].end),runtimeAttributes[attr].unit);}actualFrames+=1;};var onComplete=function(){var actual_duration=(new Date()-startTime)/1000;var data={duration:actual_duration,frames:actualFrames,fps:actualFrames/actual_duration};data.toString=function(){return('duration: '+data.duration+', frames: '+data.frames+', fps: '+data.fps);};isAnimated=false;actualFrames=0;this.onComplete.fire(data);};this._onStart=new YAHOO.util.CustomEvent('_start',this,true);this.onStart=new YAHOO.util.CustomEvent('start',this);this.onTween=new YAHOO.util.CustomEvent('tween',this);this._onTween=new YAHOO.util.CustomEvent('_tween',this,true);this.onComplete=new YAHOO.util.CustomEvent('complete',this);this._onComplete=new YAHOO.util.CustomEvent('_complete',this,true);this._onStart.subscribe(onStart);this._onTween.subscribe(onTween);this._onComplete.subscribe(onComplete);}};YAHOO.util.AnimMgr=new function(){var thread=null;var queue=[];var tweenCount=0;this.fps=200;this.delay=1;this.registerElement=function(tween){queue[queue.length]=tween;tweenCount+=1;tween._onStart.fire();this.start();};this.unRegister=function(tween,index){tween._onComplete.fire();index=index||getIndex(tween);if(index!=-1){queue.splice(index,1);}tweenCount-=1;if(tweenCount<=0){this.stop();}};this.start=function(){if(thread===null){thread=setInterval(this.run,this.delay);}};this.stop=function(tween){if(!tween){clearInterval(thread);for(var i=0,len=queue.length;i<len;++i){if(queue[i].isAnimated()){this.unRegister(tween,i);}}queue=[];thread=null;tweenCount=0;}else{this.unRegister(tween);}};this.run=function(){for(var i=0,len=queue.length;i<len;++i){var tween=queue[i];if(!tween||!tween.isAnimated()){continue;}if(tween.currentFrame<tween.totalFrames||tween.totalFrames===null){tween.currentFrame+=1;if(tween.useSeconds){correctFrame(tween);}tween._onTween.fire();}else{YAHOO.util.AnimMgr.stop(tween,i);}}};var getIndex=function(anim){for(var i=0,len=queue.length;i<len;++i){if(queue[i]==anim){return i;}}return-1;};var correctFrame=function(tween){var frames=tween.totalFrames;var frame=tween.currentFrame;var expected=(tween.currentFrame*tween.duration*1000/tween.totalFrames);var elapsed=(new Date()-tween.getStartTime());var tweak=0;if(elapsed<tween.duration*1000){tweak=Math.round((elapsed/expected-1)*tween.currentFrame);}else{tweak=frames-(frame+1);}if(tweak>0&&isFinite(tweak)){if(tween.currentFrame+tweak>=frames){tweak=frames-(frame+1);}tween.currentFrame+=tweak;}};};YAHOO.util.Bezier=new function(){this.getPosition=function(points,t){var n=points.length;var tmp=[];for(var i=0;i<n;++i){tmp[i]=[points[i][0],points[i][1]];}for(var j=1;j<n;++j){for(i=0;i<n-j;++i){tmp[i][0]=(1-t)*tmp[i][0]+t*tmp[parseInt(i+1,10)][0];tmp[i][1]=(1-t)*tmp[i][1]+t*tmp[parseInt(i+1,10)][1];}}return[tmp[0][0],tmp[0][1]];};};(function(){YAHOO.util.ColorAnim=function(el,attributes,duration,method){YAHOO.util.ColorAnim.superclass.constructor.call(this,el,attributes,duration,method);};YAHOO.extend(YAHOO.util.ColorAnim,YAHOO.util.Anim);var Y=YAHOO.util;var superclass=Y.ColorAnim.superclass;var proto=Y.ColorAnim.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("ColorAnim "+id);};proto.patterns.color=/color$/i;proto.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;proto.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;proto.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;proto.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;proto.parseColor=function(s){if(s.length==3){return s;}var c=this.patterns.hex.exec(s);if(c&&c.length==4){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)];}c=this.patterns.rgb.exec(s);if(c&&c.length==4){return[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)];}c=this.patterns.hex3.exec(s);if(c&&c.length==4){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)];}return null;};proto.getAttribute=function(attr){var el=this.getEl();if(this.patterns.color.test(attr)){var val=YAHOO.util.Dom.getStyle(el,attr);if(this.patterns.transparent.test(val)){var parent=el.parentNode;val=Y.Dom.getStyle(parent,attr);while(parent&&this.patterns.transparent.test(val)){parent=parent.parentNode;val=Y.Dom.getStyle(parent,attr);if(parent.tagName.toUpperCase()=='HTML'){val='#fff';}}}}else{val=superclass.getAttribute.call(this,attr);}return val;};proto.doMethod=function(attr,start,end){var val;if(this.patterns.color.test(attr)){val=[];for(var i=0,len=start.length;i<len;++i){val[i]=superclass.doMethod.call(this,attr,start[i],end[i]);}val='rgb('+Math.floor(val[0])+','+Math.floor(val[1])+','+Math.floor(val[2])+')';}else{val=superclass.doMethod.call(this,attr,start,end);}return val;};proto.setRuntimeAttribute=function(attr){superclass.setRuntimeAttribute.call(this,attr);if(this.patterns.color.test(attr)){var attributes=this.attributes;var start=this.parseColor(this.runtimeAttributes[attr].start);var end=this.parseColor(this.runtimeAttributes[attr].end);if(typeof attributes[attr]['to']==='undefined'&&typeof attributes[attr]['by']!=='undefined'){end=this.parseColor(attributes[attr].by);for(var i=0,len=start.length;i<len;++i){end[i]=start[i]+end[i];}}this.runtimeAttributes[attr].start=start;this.runtimeAttributes[attr].end=end;}};})();YAHOO.util.Easing={easeNone:function(t,b,c,d){return c*t/d+b;},easeIn:function(t,b,c,d){return c*(t/=d)*t+b;},easeOut:function(t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeBoth:function(t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInStrong:function(t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutStrong:function(t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeBothStrong:function(t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},elasticIn:function(t,b,c,d,a,p){if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(!a||a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},elasticOut:function(t,b,c,d,a,p){if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(!a||a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},elasticBoth:function(t,b,c,d,a,p){if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(!a||a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},backIn:function(t,b,c,d,s){if(typeof s=='undefined')s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;},backOut:function(t,b,c,d,s){if(typeof s=='undefined')s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},backBoth:function(t,b,c,d,s){if(typeof s=='undefined')s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},bounceIn:function(t,b,c,d){return c-YAHOO.util.Easing.bounceOut(d-t,0,c,d)+b;},bounceOut:function(t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}},bounceBoth:function(t,b,c,d){if(t<d/2)return YAHOO.util.Easing.bounceIn(t*2,0,c,d)*.5+b;return YAHOO.util.Easing.bounceOut(t*2-d,0,c,d)*.5+c*.5+b;}};(function(){YAHOO.util.Motion=function(el,attributes,duration,method){if(el){YAHOO.util.Motion.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Motion,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Motion.superclass;var proto=Y.Motion.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Motion "+id);};proto.patterns.points=/^points$/i;proto.setAttribute=function(attr,val,unit){if(this.patterns.points.test(attr)){unit=unit||'px';superclass.setAttribute.call(this,'left',val[0],unit);superclass.setAttribute.call(this,'top',val[1],unit);}else{superclass.setAttribute.call(this,attr,val,unit);}};proto.getAttribute=function(attr){if(this.patterns.points.test(attr)){var val=[superclass.getAttribute.call(this,'left'),superclass.getAttribute.call(this,'top')];}else{val=superclass.getAttribute.call(this,attr);}return val;};proto.doMethod=function(attr,start,end){var val=null;if(this.patterns.points.test(attr)){var t=this.method(this.currentFrame,0,100,this.totalFrames)/100;val=Y.Bezier.getPosition(this.runtimeAttributes[attr],t);}else{val=superclass.doMethod.call(this,attr,start,end);}return val;};proto.setRuntimeAttribute=function(attr){if(this.patterns.points.test(attr)){var el=this.getEl();var attributes=this.attributes;var start;var control=attributes['points']['control']||[];var end;var i,len;if(control.length>0&&!(control[0]instanceof Array)){control=[control];}else{var tmp=[];for(i=0,len=control.length;i<len;++i){tmp[i]=control[i];}control=tmp;}if(Y.Dom.getStyle(el,'position')=='static'){Y.Dom.setStyle(el,'position','relative');}if(isset(attributes['points']['from'])){Y.Dom.setXY(el,attributes['points']['from']);}else{Y.Dom.setXY(el,Y.Dom.getXY(el));}start=this.getAttribute('points');if(isset(attributes['points']['to'])){end=translateValues.call(this,attributes['points']['to'],start);var pageXY=Y.Dom.getXY(this.getEl());for(i=0,len=control.length;i<len;++i){control[i]=translateValues.call(this,control[i],start);}}else if(isset(attributes['points']['by'])){end=[start[0]+attributes['points']['by'][0],start[1]+attributes['points']['by'][1]];for(i=0,len=control.length;i<len;++i){control[i]=[start[0]+control[i][0],start[1]+control[i][1]];}}this.runtimeAttributes[attr]=[start];if(control.length>0){this.runtimeAttributes[attr]=this.runtimeAttributes[attr].concat(control);}this.runtimeAttributes[attr][this.runtimeAttributes[attr].length]=end;}else{superclass.setRuntimeAttribute.call(this,attr);}};var translateValues=function(val,start){var pageXY=Y.Dom.getXY(this.getEl());val=[val[0]-pageXY[0]+start[0],val[1]-pageXY[1]+start[1]];return val;};var isset=function(prop){return(typeof prop!=='undefined');};})();(function(){YAHOO.util.Scroll=function(el,attributes,duration,method){if(el){YAHOO.util.Scroll.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Scroll,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Scroll.superclass;var proto=Y.Scroll.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Scroll "+id);};proto.doMethod=function(attr,start,end){var val=null;if(attr=='scroll'){val=[this.method(this.currentFrame,start[0],end[0]-start[0],this.totalFrames),this.method(this.currentFrame,start[1],end[1]-start[1],this.totalFrames)];}else{val=superclass.doMethod.call(this,attr,start,end);}return val;};proto.getAttribute=function(attr){var val=null;var el=this.getEl();if(attr=='scroll'){val=[el.scrollLeft,el.scrollTop];}else{val=superclass.getAttribute.call(this,attr);}return val;};proto.setAttribute=function(attr,val,unit){var el=this.getEl();if(attr=='scroll'){el.scrollLeft=val[0];el.scrollTop=val[1];}else{superclass.setAttribute.call(this,attr,val,unit);}};})();
        }
        YAHOO.namespace('EU.Answersbadge');
    YAHOO.EU.Answersbadge.Strings = {
        additional_details : 'Additional Details',
        answer_this : 'Answer this Question',
        back_to_list : '&lt;&lt; Back to Question List',
        best_answer : 'Best Answer - Chosen by Asker',
        vote_this : 'Vote for the Best Answer',
        view_this : 'View them on Yahoo! Canada Answers'
    };
    YAHOO.EU.Answersbadge.Vars = {
        num_questions : 3,
        question_height : 65,
        hotlinks_title : 'Popular Searches - '
    };
            document.write('<scr'+'ipt type="text/javascr'+'ipt" charset="ISO-8859-1" src="http://l.yimg.com/a/lib/eu/kpb/badge_1.8.js"></scr'+'ipt>');
}