(function(a){a.fn.jovotranslate=function(b){var d=a.extend({},a.fn.jovotranslate.defaults,b);var c=this.each(function(){var e=this;google.language.translate(e.innerHTML,d.originLanguage,d.targetLanguage,function(f){if(!f.error){e.innerHTML=f.translation}})});d.afterTranslate();return c};a.fn.jovotranslate.defaults={originLanguage:"",targetLanguage:"en",afterTranslate:function(){}}})(jQuery);(function(a){a.fn.expander=function(d){var f=a.extend({},a.fn.expander.defaults,d);var c;return this.each(function(){var r=a(this);var k=a.meta?a.extend({},f,r.data()):f;var u,y,m;var q=r.html();var v=q.slice(0,k.slicePoint).replace(/\w+$/,"");y=v.match(/<\w[^>]*>/g);if(y){v=q.slice(0,k.slicePoint+y.join("").length).replace(/\w+$/,"")}if(v.lastIndexOf("<")>v.lastIndexOf(">")){v=v.slice(0,v.lastIndexOf("<"))}var l=q.slice(v.length);if(!a("span.details",this).length){if(l.replace(/\s+$/,"").split(" ").length<k.widow){return}if(l.indexOf("</")>-1){m=l.match(/<(\/)?[^>]*>/g);for(var p=0;p<m.length;p++){if(m[p].indexOf("</")>-1){var x,t=false;for(var n=0;n<p;n++){x=m[n].slice(0,m[n].indexOf(" ")).replace(/(\w)$/,"$1>");if(x==g(m[p])){t=true}}if(!t){v=v+m[p];var h=false;for(var A=y.length-1;A>=0;A--){if(y[A].slice(0,y[A].indexOf(" ")).replace(/(\w)$/,"$1>")==g(m[p])&&h==false){u=u?y[A]+u:y[A];h=true}}}}}l=u&&u+l||l}r.html([v,'<span class="read-more">',k.expandPrefix,'<a href="#">',k.expandText,"</a>","</span>",'<span class="details">',l,"</span>"].join(""))}var w=a("span.details",this),z=a("span.read-more",this);w.hide();z.find("a").click(function(){z.hide();if(k.expandEffect==="show"&&!k.expandSpeed){k.beforeExpand(r);w.show();k.afterExpand(r);e(k,w)}else{k.beforeExpand(r);w[k.expandEffect](k.expandSpeed,function(){w.css({zoom:""});k.afterExpand(r);e(k,w)})}return false});if(k.userCollapse){r.find("span.details").append('<span class="re-collapse">'+k.userCollapsePrefix+'<a href="#">'+k.userCollapseText+"</a></span>");r.find("span.re-collapse a").click(function(){clearTimeout(c);var i=a(this).parents("span.details");b(i);k.onCollapse(r,true);return false})}});function b(h){h.hide().prev("span.read-more").show()}function e(i,h){if(i.collapseTimer){c=setTimeout(function(){b(h);i.onCollapse(h.parent(),false)},i.collapseTimer)}}function g(h){return h.replace(/\//,"")}};a.fn.expander.defaults={slicePoint:100,widow:4,expandText:"read more",expandPrefix:"&hellip; ",collapseTimer:0,expandEffect:"fadeIn",expandSpeed:"",userCollapse:true,userCollapseText:"[collapse expanded text]",userCollapsePrefix:" ",beforeExpand:function(b){},afterExpand:function(b){},onCollapse:function(c,b){}}})(jQuery);jQuery.fn.ratingBox=function(c){var l=$.extend({beforeAjax:function(){},afterAjax:function(v,w,u,x){b=w.value;m.text(w.shown_rating);r.text(w.missing_karma)}},c||{});var i=this;var s=parseInt($(this).attr("data-ideaid"));var b=parseInt($(this).attr("data-rating"));var j=i.find(".star-rating");var n=i.find(".star-rating a");var a=i.find(".star-rating > li");var h=function(u){return i.find(".star-rating > li:eq("+(u-1)+")")};var t=i.find(".rating_value, .user_rating, .user_rating_desc");var e=i.find(".rating_value");var q=i.find(".user_rating");var p=i.find(".user_rating_desc");var d=i.find(".idea_ratings_count");var o=i.find(".missing_ratings_count");var m=i.find(".rating_average");var r=i.find(".missing_karma_points");var f=i.find("h2");n.bind("ajax:before",function(u){f.remove();if(!b){d.text(parseInt(d.text())+1);if(o.length){o.text(parseInt(o.text())-1)}}b=parseInt($(this).text());k();e.animate({opacity:0.1},"slow").animate({opacity:1},"slow");l.beforeAjax(i)});n.bind("ajax:success",l.afterAjax);k();i.find("ul.star-rating.open").mouseover(function(){t.show();f.hide()}).mouseout(function(){if(!b){t.hide();f.show()}k()});i.find("ul.star-rating.open > li > a").mouseover(function(){a.removeClass("current-rating");g($(this))});function g(v){t.show();var u=Math.floor((parseInt(v.text())-1)/2);if(jovoto.rating_desc_as_words){q.html("<strong>"+v.attr("title")+"</strong>");p.html(jovoto.rating_desc_as_words[u])}e.text(v.text())}function k(){if(b){var u=h(b);g(u.find("a"));a.removeClass("current-rating");u.addClass("current-rating");j.addClass("rated")}else{t.hide()}}};$(function(){if($("body#ideas.show, body#ideas.simple").size()){if($("#main_idea_version[rel!=]").size()){$("#main_idea_version").addClass("more_versions");$("#main_idea_version").live("click",function(){var c=$("#attachment_glider_frame .slider-item.current ~ .slider-item");if(c.size()>0){load_idea_version_with_glider(c.first())}else{load_idea_version_with_glider($("#attachment_glider_frame .slider-item:first-child"))}})}if($("#idea_version_glider").size()){$(".idea_version").click(function(){load_idea_version_with_glider($(this).parent());return false})}$("._idea_description a.description_de").click(function(){toogle_idea_description_lang({hide:"de",show:"en"})});$("._idea_description a.description_en").click(function(){toogle_idea_description_lang({hide:"en",show:"de"})});if($("._idea_description a.description_en").length>0){toogle_idea_description_lang({hide:jQuery.grep(I18n.content_locales,function(c){return c!=I18n.locale}),show:jQuery.grep(I18n.content_locales,function(c){return c==I18n.locale})})}else{toogle_idea_description_lang({hide:"de",show:"en"})}$("a.follow_idea").live("ajax:success",function(d,e,c,f){$("#followable").html(e.html)});$("#translate").click(function(){translateIdeaPage(this)});init_idea_description_expander()}if($("body#ideas.new , body#ideas.edit, body#ideas.create, body#ideas.update").size()){$("#idea_summary_en").simplyCountable({counter:"#idea_summary_en_input ._counter",maxCount:100,strictMax:true});$("#idea_summary_de").simplyCountable({counter:"#idea_summary_de_input ._counter",maxCount:100,strictMax:true});$(".send_idea_forms").click(function(){$("[id^=idea_form]").submit();return false});$("#uploaded_data").change(function(c){upload_idea_attachment(this)});jQuery.validator.addMethod("checked",function(d,c){return $("#idea_terms:checked").size()==1});jQuery.validator.addMethod("media_check",function(f,d){var e=$("#uploaded_data");if($("#idea_form").hasClass("_visual")&&$(("#idea_attachments")).find("input").size()<1){var c={text:function(){return I18n.t("an_idea_has_to_have_at_least_one_media_file")}};this.settings.errorPlacement(c,e);this.settings.highlight(e,this.settings.errorClass,this.settings.validClass);return false}else{this.settings.unhighlight(e,this.settings.errorClass,this.settings.validClass);return true}},I18n.t("an_idea_has_to_have_at_least_one_media_file"));mark_uploads();$("#idea_attachments").sortable({axis:"y",dropOnEmpty:false,handle:"div.btn_move",update:function(){var c=$("#idea_attachments").sortable("serialize");if($("#idea_attachments").attr("rel")){$.post($("#idea_attachments").attr("rel"),c)}mark_uploads();$("#idea_attachments > li:last").prev().addClass("last")}});$("#idea_form").validate({rules:{idea_attachment:{media_check:true},"idea[terms]":{checked:true},"idea[summary_en]":{required:true}},messages:{"idea[terms]":I18n.t("you_need_to_accept_the_terms_and_conditions"),"idea[description_en]":I18n.t("you_have_to_add_an_english_description")}});if(typeof jQuery().tagSuggest!="undefined"){$("input#idea_tag_list").bind("change blur keyup",function(c){updateTagClouds(c.target)});var a;var b;a=$("input.tagSuggest").tagSuggest({tags:b,suggestionsShow:true,delay:200});$("div.hTagcloud ul.popularity a").bind("click",function(c){toggleTagOnCloud($("#idea_tag_list"),$(c.target).text());return false});$('#idea_attachments .media_image img[src*="throbber_encoding"]').each(function(){update_attachment_in_process($(this))})}}});function update_attachment_in_process(b){var a=b.parents("li:first").attr("id").replace(/attachment_/,"");$.Updater("/idea/attachments/show/"+a+".js",{type:"json"},function(d,c){var e=d.audio||d.video;if(e.processed===true){if(d.audio){b.attr("src",e.public_filename.replace(/_\.png$/,"_small.png"))}if(d.video){b.attr("src",e.public_filename.replace(/\.[a-z0-9]*$/i,"_small.jpg"))}c.interval=9900000000000}})}function finish_upload(b){var a=$("#attachment_"+b.upload_id);a.attr("id","attachment_"+b.id);a.find(".media_image").removeClass("loading").append($("<img />").attr("src",b.url));a.find("input").each(function(){this.name=this.name.replace(/\[0\]/,"["+b.id+"]")});a.find("input:hidden").attr("value",b.id);a.find('.media_image img[src*="throbber_encoding"]').each(function(){update_attachment_in_process($(this))})}function mark_uploads(){if($("#idea_attachments > li").length==1){$("#idea_attachments > li div.btn_move").hide();$("#idea_attachments > li .btn_round_red").hide();$("#idea_attachments > li:first").addClass("first")}else{$("#idea_attachments > li:first div.btn_move").show();$("#idea_attachments > li .btn_round_red").show();$("#idea_attachments > li").removeClass("first last");$("#idea_attachments > li:first").addClass("first");$("#idea_attachments > li:last").addClass("last")}$(".label-over label").labelOver("over-apply")}function upload_idea_attachment(c){if(typeof upload_idea_attachment.counter=="undefined"){upload_idea_attachment.counter=0}var e=upload_idea_attachment.counter++;var d=$(c).parents("form");$("#image_type_error").hide();$("#upload_id").val(e);$(d).submit();c.blur();var a="attachment_"+e;var b=$("#attachment_form_template > li").clone().attr("id",a);$(b.find("input")[0]).attr("id",a+"_0");$(b.find("label")[0]).attr("for",a+"_0");$(b.find("input")[1]).attr("id",a+"_1");$(b.find("label")[1]).attr("for",a+"_1");b.appendTo("#idea_attachments");mark_uploads()}function remove_or_delete(b){var a=$(b).parents("li");var c=$(a).find("input:hidden");if(c.val()>0){$.ajax({url:"/idea/attachments/destroy/"+c.val(),type:"POST",data:"_method=delete"});$(a).hide("slow",function(){$(a).remove()});$(a).remove()}else{$(a).hide("slow",function(){$(a).remove()})}mark_uploads()}function toogle_idea_description_lang(c){var b="description_"+c.hide;var a="description_"+c.show;$("._idea_description ."+b).hide();$("._idea_description ."+a).show()}function init_idea_description_expander(){$(".text .short").each(function(){$(this).expander({slicePoint:400,expandEffect:"fadeIn",expandText:I18n.t("description_read_more"),userCollapseText:"["+I18n.t("description_hide")+"]"})})}function resize_and_show(a,d,g,h,i){var j=a.width();var b=a.height();var c=g.width;var e=g.height;var f=e/c;if(c>h){c=h;e=c*f}if(e>i){e=i;c=e/f}a.find("#main_idea_version img, .flashplayer").animate({width:c,height:e,opacity:0},jovoto.animation.mediumspeed,function(){d.find("#main_idea_version img").css({opacity:0.05});d.find("#main_idea_version img, .flashplayer").css({maxHeight:e,maxWidth:c});a.html(d);a.find("#main_idea_version img").animate({opacity:1},jovoto.animation.slowspeed);$("#main_idea_version").addClass("more_versions")})}function load_idea_version_with_glider(a){$("#attachment_glider_frame .glider-panel").removeClass("current").addClass("inactive");$(a).addClass("current").removeClass("inactive");load_idea_version($("a",a).attr("rel"))}function load_idea_version(e,d,c){var a,b;d=d||$("#col3_content").width();a=$("#_main_attachment");a.find("#main_idea_version > div").hide();a.find("#main_idea_version img").animate({opacity:0.5},jovoto.animation.slowspeed);$.get(e+"&format=js","",function(g){var f=new Image();b=$(g);if(b.find("#main_idea_version > img").length){f.onload=function(){resize_and_show(a,b,f,d,c)};f.src=b.find("#main_idea_version > img").attr("src")}else{a.html(b)}});return false}function translateIdeaPage(b){var a=b;b.innerHTML="Translating";$(".description_en, .description_de, .comment_content .big_font").jovotranslate({afterTranslate:function(){$(a).replaceWith("Translated");google.language.getBranding("branding")}})}var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);
/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/
return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return}}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();