window.loaded=true;function gen_unique(){return ++gen_unique._counter}gen_unique._counter=0;function ge(g){if(typeof(g)=="undefined"){Util.error("Tried to get an undefined element!");return null}var e;if(typeof(g)=="string"){e=document.getElementById(g);if(!(ua.ie()>=7)){return e}if(!e){return null}else{if(typeof(e.id)=="string"&&e.id==g){return e}else{var d=document.getElementsByName(g);if(!d||!d.length){return null}var b=[];for(var a=0;a<d.length;a++){var f=d[a];if(!f.id&&g){continue}if(typeof(f.id)=="string"&&f.id!=g){continue}b.push(d[a])}if(b.length!=1){Util.error("ge() failed in a bizarre complicated edge case. Check comments.");return null}return b[0]}}}else{return g}return null}function $(){var a=ge.apply(null,arguments);if(!a){Util.warn("Tried to get element %q, but it is not present in the page. (Use ge() to test for the presence of an element.)",arguments[0])}return a}function show(){for(var b=0;b<arguments.length;b++){var a=ge(arguments[b]);if(a&&a.style){a.style.display=""}}return false
}function hide(){for(var b=0;b<arguments.length;b++){var a=ge(arguments[b]);if(a&&a.style){a.style.display="none"}}return false}function shown(a){a=ge(a);return(a.style.display!="none")}function toggle(){for(var b=0;b<arguments.length;b++){var a=$(arguments[b]);a.style.display=get_style(a,"display")=="block"?"none":"block"}return false}function is_descendent(b,c){var a=ge(c);if(b==null){return}while(b!=a){if(b.parentNode){b=b.parentNode}else{return false}}return true}function get_style(b,d){function c(e){return e.replace(/[A-Z]/g,function(f){return"-"+f.toLowerCase()})}if(window.getComputedStyle){return window.getComputedStyle(b,null).getPropertyValue(c(d))}if(document.defaultView&&document.defaultView.getComputedStyle){var a=document.defaultView.getComputedStyle(b,null);if(a){return a.getPropertyValue(c(d))}if(d=="display"){return"none"}Util.error("Can't retrieve requested style %q due to a bug in Safari",d)}if(b.currentStyle){return b.currentStyle[d]}return b.style[d]}function close_more_list(){var c=ge("expandable_more");
if(c){c.style.display="none";removeEventBase(document,"click",c.offclick,c.id)}var a=ge("ssponsor");if(a){a.style.position=""}var b=ge("more_link");if(b){b.innerHTML="更多";b.className="expand_link more_apps"}}function expand_more_list(){var d=ge("expandable_more");var a=ge("more_section");if(a){remove_css_class_name(a,"highlight_more_link")}if(d){d.style.display="block";d.offclick=function(f){if(!is_descendent(event_get_target(f),"sidebar_content")){close_more_list()}}.bind(d);addEventBase(document,"click",d.offclick,d.id)}var b=ge("ssponsor");if(b){b.style.position="static"}var c=ge("more_link");if(c){c.innerHTML="隐藏";c.className="expand_link less_apps"}}function toggle_more_list(){var a=ge("expandable_more");if(!a){return false}if(a.style.display=="none"){expand_more_list()}else{close_more_list()}}function remove_node(b){if(b.removeNode){b.removeNode(true)}else{for(var a=b.childNodes.length-1;a>=0;a--){remove_node(b.childNodes[a])}b.parentNode.removeChild(b)}return null}function create_hidden_input(a,b){var c=document.createElement("input");
c.name=a;c.id=a;c.value=b;c.type="hidden";return c}function has_css_class_name(b,a){return(b&&a)?new RegExp("\\b"+trim(a)+"\\b").test(b.className):false}function swap_css_class_name(e,b,a){for(var d=0;d<e.length;d++){var c=ge(e[d]);if(c.className.indexOf(b)!=-1){c.className=c.className.replace(b,a)}else{c.className=c.className.replace(a,b)}}}function add_css_class_name(b,a){if(b&&a){if(b.className){if(has_css_class_name(b,a)){return false}else{b.className+=" "+trim(a);return true}}else{b.className=a;return true}}else{return false}}function remove_css_class_name(c,b){if(c&&b&&c.className){b=trim(b);var a=c.className;c.className=c.className.replace(new RegExp("\\b"+b+"\\b"),"");return c.className!=a}else{return false}}function toggle_css_class_name(b,a){if(has_css_class_name(b,a)){remove_css_class_name(b,a)}else{add_css_class_name(b,a)}}function set_inner_html(c,a){var b='<span style="display:none">&nbsp</span>';a=a.replace("<style",b+"<style");a=a.replace("<STYLE",b+"<STYLE");a=a.replace("<script",b+"<script");
a=a.replace("<SCRIPT",b+"<SCRIPT");c.innerHTML=a;eval_inner_js(c);addSafariLabelSupport(c)}function eval_inner_js(f){var a=f.getElementsByTagName("script");for(var c=0;c<a.length;c++){if(a[c].src){var b=document.createElement("script");b.type="text/javascript";b.src=a[c].src;document.body.appendChild(b)}else{try{eval_global(a[c].innerHTML)}catch(d){if(typeof console!="undefined"){console.error(d)}}}}}function eval_global(c){var b=document.createElement("script");b.type="text/javascript";try{b.innerHTML=c}catch(a){b.text=c}document.body.appendChild(b)}var KEYS={BACKSPACE:8,TAB:9,RETURN:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};var KeyCodes={Left:63234,Right:63235};function mouseX(a){return a.pageX||(a.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft))}function mouseY(a){return a.pageY||(a.clientY+(document.documentElement.scrollTop||document.body.scrollTop))}function pageScrollX(){return document.body.scrollLeft||document.documentElement.scrollLeft
}function pageScrollY(){return document.body.scrollTop||document.documentElement.scrollTop}function elementX(b){var a=b.offsetLeft;var c=b.offsetParent;while(b.parentNode&&document.body!=b.parentNode){b=b.parentNode;a-=b.scrollLeft;if(c==b){if(ua.safari()<500&&b.tagName=="TR"){a+=b.firstChild.offsetLeft}else{a+=b.offsetLeft}c=b.offsetParent}}return a}function elementY(b){var a=b.offsetTop;var c=b.offsetParent;while(b.parentNode&&document.body!=b.parentNode){b=b.parentNode;a-=b.scrollTop;if(c==b){if(ua.safari()<500&&b.tagName=="TR"){a+=b.firstChild.offsetTop}else{a+=b.offsetTop}c=b.offsetParent}}return a}function warn_if_unsaved(a){onloadRegister(function(){var b=[];var e=ge(a);var c=get_all_form_inputs();for(var d=0;d<c.length;++d){if(is_button(c[d])){c[d].onclick=bind(null,function(f,g){dont_warn_if_unsaved();return f&&f(g)},c[d].onclick)}else{if(is_descendent(c[d],e)){b.push({element:c[d],value:c[d].value})}}}(function(f){onbeforeunloadRegister(function(){if(!document.unsaved_warning_disabled){for(var g=0;
g<f.length;++g){var h=f[g].element;var j=f[g].value;if(h.value!=j){return"You have unsaved changes.  Continue?"}}}})})(b)})}function dont_warn_if_unsaved(){document.unsaved_warning_disabled=true}function get_all_form_inputs(c){var f={input:1,select:1,textarea:1,button:1};c=c||document;var a=[];for(var e in f){var d=c.getElementsByTagName(e);for(var b=0;b<d.length;++b){a.push(d[b])}}return a}function serialize_form_helper(e,b,d){var a=/([^\]]+)\[([^\]]*)\](.*)/.exec(b);if(a){e[a[1]]=e[a[1]]||{};if(a[2]==""){var c=0;while(e[a[1]][c]!=undefined){c++}}else{c=a[2]}if(a[3]==""){e[a[1]][c]=d}else{serialize_form_helper(e[a[1]],c.concat(a[3]),d)}}else{e[b]=d}}function serialize_form(d){var c={};var b=d.tagName=="FORM"?d.elements:get_all_form_inputs(d);for(var a=b.length-1;a>=0;a--){if(b[a].name&&!b[a].disabled){if(!(b[a].type=="radio"||b[a].type=="checkbox")||b[a].checked||(!b[a].type||b[a].type=="text"||b[a].type=="password"||b[a].type=="hidden"||b[a].tagName=="TEXTAREA"||b[a].tagName=="SELECT")){serialize_form_helper(c,b[a].name,b[a].value)
}}}return c}function is_button(b){var a=b.tagName.toUpperCase();if(a=="BUTTON"){return true}if(a=="INPUT"&&b.type){var c=b.type.toUpperCase();return c=="BUTTON"||c=="SUBMIT"}return false}function addEventBase(d,c,b,a){if(d.addEventListener){d.addEventListener(c,b,false)}else{if(d.attachEvent){d["e"+c+b+a]=b;d[c+b+a]=function(){d["e"+c+b+a](window.event)};d.attachEvent("on"+c,d[c+b+a])}}}function removeEventBase(d,c,b,a){if(d.removeEventListener){d.removeEventListener(c,b,false)}else{if(d.detachEvent){d.detachEvent("on"+c,d[c+b+a]);d[c+b+a]=null;d["e"+c+b+a]=null}}}function placeholderSetup(c){var a=ge(c);if(!a){return}if(a.type=="search"){return}var b=a.getAttribute("placeholder");if(!b||b==""){return}if(a.value==b){a.value=""}a.is_focused=(a.value!="");if(!a.is_focused){a.value=b;a.style.color="#777";a.is_focused=0}addEventBase(a,"focus",placeholderFocus);addEventBase(a,"blur",placeholderBlur)}function placeholderFocus(){if(!this.is_focused){this.is_focused=1;this.value="";this.style.color="#000";
var a=this.getAttribute("radioselect");if(a&&a!=""){var b=document.getElementById(a);if(!b){return}if(b.type!="radio"){return}b.checked=true}}}function placeholderBlur(){var a=this.getAttribute("placeholder");if(this.is_focused&&a&&this.value==""){this.is_focused=0;this.value=a;this.style.color="#777"}}function optional_drop_down_menu(h,g,b,a,j,e){if(b.style.display=="none"){b.style.display="block";var f=e?e:h.className;if(g){g.className="active"}h.className=j?j:"global_menu_arrow_active";var d=true;var c=ge(b.id+"_iframe");if(c){c.style.top=b.style.top;c.style.right=b.style.right;c.style.display="block";c.style.width=(b.offsetWidth+2)+"px";c.style.height=(b.offsetHeight+2)+"px"}b.offclick=function(k){if(!d){hide(this);if(g){g.className=""}h.className=f;var l=ge(b.id+"_iframe");if(l){l.style.display="none";l.style.width=b.offsetWidth+"px";l.style.height=b.offsetHeight+"px"}removeEventBase(document,"click",this.offclick,b.id)}else{d=false}}.bind(b);addEventBase(document,"click",b.offclick,b.id)
}return false}function position_app_switcher(){var a=ge("app_switcher");var b=ge("app_switcher_menu");b.style.top=(a.offsetHeight-1)+"px";b.style.right="0px"}function addSafariLabelSupport(a){if(ua.safari()<500){var b=(a||document.body).getElementsByTagName("label");for(i=0;i<b.length;i++){b[i].addEventListener("click",addLabelAction,true)}}}function addLabelAction(b){var d=this.getAttribute("for");var a=null;if(d){a=document.getElementById(d)}else{a=this.getElementsByTagName("input")[0]}if(!a||b.srcElement==a){return}if(a.type=="checkbox"){a.checked=!a.checked}else{if(a.type=="radio"){var c=document.getElementsByTagName("input");for(i=0;i<c.length;i++){if(c[i].name==a.name&&c[i].form==a.form){c.checked=false}}a.checked=true}else{a.focus()}}if(a.onclick){a.onclick(b)}}function escapeURI(a){if(encodeURIComponent){return encodeURIComponent(a)}if(escape){return escape(a)}}function goURI(a){window.location.href=a}function is_email(a){return/^[\w!.%+]+@[\w]+(?:\.[\w]+)+$/.test(a)}function getViewportWidth(){var a=0;
if(document.documentElement&&document.documentElement.clientWidth){a=document.documentElement.clientWidth}else{if(document.body&&document.body.clientWidth){a=document.body.clientWidth}else{if(window.innerWidth){a=window.innerWidth-18}}}return a}function getViewportHeight(){var a=0;if(window.innerHeight){a=window.innerHeight-18}else{if(document.documentElement&&document.documentElement.clientHeight){a=document.documentElement.clientHeight}else{if(document.body&&document.body.clientHeight){a=document.body.clientHeight}}}return a}function getPageScrollHeight(){var a;if(typeof(window.pageYOffset)=="number"){a=window.pageYOffset}else{if(document.body&&document.body.scrollTop){a=document.body.scrollTop}else{if(document.documentElement&&document.documentElement.scrollTop){a=document.documentElement.scrollTop}}}if(isNaN(a)){return 0}return a}function getRadioFormValue(a){for(i=0;i<a.length;i++){if(a[i].checked){return a[i].value}}return null}function getTableRowShownDisplayProperty(){if(ua.ie()){return"inline"
}else{return"table-row"}}function showTableRow(){for(var b=0;b<arguments.length;b++){var a=ge(arguments[b]);if(a&&a.style){a.style.display=getTableRowShownDisplayProperty()}}return false}function getParentRow(a){a=ge(a);while(a.tagName&&a.tagName!="TR"){a=a.parentNode}return a}function stopPropagation(a){if(!a){var a=window.event}a.cancelBubble=true;if(a.stopPropagation){a.stopPropagation()}}function show_standard_status(a){s=ge("standard_status");if(s){var b=s.firstChild;b.innerHTML=a;show("standard_status")}}function hide_standard_status(){s=ge("standard_status");if(s){hide("standard_status")}}function remove_node(b){if(b.removeNode){b.removeNode(true)}else{for(var a=b.childNodes.length-1;a>=0;a--){remove_node(b.childNodes[a])}b.parentNode.removeChild(b)}return null}function adjustImage(f,g,a){var b=f.parentNode;if(g==null){g="note_content"}if(a==null){while(b.className.indexOf(g)==-1){b=b.parentNode}if(b.offsetWidth){a=b.offsetWidth}else{a=400}}if(navigator.userAgent.indexOf("AppleWebKit/4")==-1){f.style.position="absolute";
f.style.left=f.style.top="-32000px"}f.className=f.className.replace("img_loading","img_ready");if(f.width>a){if(window.ActiveXObject){try{var c=document.createElement("div");c.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+f.src.replace('"',"%22")+'", sizingMethod="scale")';c.style.width=a+"px";c.style.height=((a/f.width)*f.height)+"px";if(f.parentNode.tagName=="A"){c.style.cursor="pointer"}f.parentNode.insertBefore(c,f);f.removeNode(true)}catch(d){f.style.width=a+"px"}}else{f.style.width=a+"px"}}f.style.left=f.style.top=f.style.position=""}function imageConstrainSize(e,d,b,a){var c=new Image();c.onload=function(){if(c.width>0&&c.height>0){var j=c.width;var g=c.height;if(j>d||g>b){var k=b/d;var f=g/j;if(f>k){j=j*(b/g);g=b}else{g=g*(d/j);j=d}}var l=ge(a);var h=document.createElement("img");h.src=e;h.width=j;h.height=g;l.parentNode.insertBefore(h,l);l.parentNode.removeChild(l)}};c.src=e}function set_opacity(c,a){try{c.style.opacity=(a==1?"":a);c.style.filter=(a==1?"":"alpha(opacity="+a*100+")")
}catch(b){}}function get_opacity(b){var a=get_style(b,"filter");var c=null;if(a&&(c=/(\d+(?:\.\d+)?)/.exec(a))){return parseFloat(c.pop())/100}else{if(a=get_style(b,"opacity")){return parseFloat(a)}else{return 1}}}function get_caret_position(d){d.focus();if(document.selection){if(d.tagName=="INPUT"){var c=document.selection.createRange();return{start:-c.moveStart("character",-d.value.length),end:-c.moveEnd("character",-d.value.length)}}else{if(d.tagName=="TEXTAREA"){var c=document.selection.createRange();var a=c.duplicate();a.moveToElementText(d);a.setEndPoint("StartToEnd",c);var b=d.value.length-a.text.length;a.setEndPoint("StartToStart",c);return{start:d.value.length-a.text.length,end:b}}else{return{start:undefined,end:undefined}}}}else{return{start:d.selectionStart,end:d.selectionEnd}}}function set_caret_position(d,e,a){if(document.selection){if(d.tagName=="TEXTAREA"){var c=d.value.indexOf("\r",0);while(c!=-1&&c<a){a--;if(c<e){e--}c=d.value.indexOf("\r",c+1)}}var b=d.createTextRange();
b.collapse(true);b.moveStart("character",e);if(a!=undefined){b.moveEnd("character",a-e)}b.select()}else{d.selectionStart=e;d.selectionEnd=a==undefined?e:a;d.focus()}}function focus_login(){var a=ge("email");var b=ge("pass");var c=ge("doquicklogin");if(a&&b){if(a.value!=""&&b.value==""){b.focus()}else{if(a.value==""){a.focus()}else{if(a.value!=""&&b.value!=""){c.focus()}}}}}function login_form_change(){var a=ge("persistent");if(a){a.checked=false}}function array_indexOf(a,d,b){if(!b){b=0}for(var c=b;c<a.length;c++){if(a[c]==d){return c}}return -1}var ua={ie:function(){return this._ie},firefox:function(){return this._firefox},opera:function(){return this._opera},safari:function(){return this._safari},windows:function(){return this._windows},osx:function(){return this._osx},populate:function(){var a=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso).(\d+\.\d+))|(?:Opera.(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))/.exec(navigator.userAgent);var b=/(Mac OS X;)|(Windows;)/.exec(navigator.userAgent);
if(a){ua._ie=a[1]?parseFloat(a[1]):NaN;ua._firefox=a[2]?parseFloat(a[2]):NaN;ua._opera=a[3]?parseFloat(a[3]):NaN;ua._safari=a[4]?parseFloat(a[4]):NaN}else{ua._ie=ua._firefox=ua._opera=ua._safari=NaN}if(b){ua._osx=!!b[1];ua._windows=!!b[2]}else{ua._osx=ua._windows=false}},adjustBehaviors:function(){onloadRegister(addSafariLabelSupport);if(ua.ie()<7){try{document.execCommand("BackgroundImageCache",false,true)}catch(a){}}}};var DOM={setText:function(a,b){if(ua.firefox()){a.textContent=b}else{a.innerText=b}},getText:function(a){if(ua.firefox()){return a.textContent}else{return a.innerText}}};if(Object.prototype.eval){window.eval=Object.prototype.eval}delete Object.prototype.eval;delete Object.prototype.valueOf;Array.prototype.forEach=null;Array.prototype.every=null;Array.prototype.map=null;Array.prototype.some=null;Array.prototype.reduce=null;Array.prototype.reduceRight=null;Array.prototype.filter=null;Array.prototype.sort=(function(a){return function(b){return(this==window)?null:(b?a.call(this,function(d,c){return b(d,c)
}):a.call(this))}})(Array.prototype.sort);Array.prototype.reverse=(function(a){return function(){return(this==window)?null:a.call(this)}})(Array.prototype.reverse);Array.prototype.concat=(function(a){return function(){return(this==window)?null:a.apply(this,arguments)}})(Array.prototype.concat);Array.prototype.slice=(function(a){return function(){return(this==window)?null:a.apply(this,arguments)}})(Array.prototype.slice);Function.prototype.extend=function(c){var b=__metaprototype(c,0);var a=__metaprototype(this,b.prototype.__level+1);a.parent=b};function __metaprototype(b,c){if(b.__metaprototype){return b.__metaprototype}var a=new Function();a.construct=__metaprototype_construct;a.prototype.construct=__metaprototype_wrap(b,c,true);a.prototype.__level=c;a.base=b;b.prototype.parent=a;b.__metaprototype=a;return a}function __metaprototype_construct(a){__metaprototype_init(a.parent);var b=[];var c=a;while(c.parent){b.push(new_obj=new c.parent());new_obj.__instance=a;c=c.parent}a.parent=b[1];b.reverse();
b.pop();a.__parents=b;a.__instance=a;return a.parent.construct.apply(a.parent,arguments)}var aiert;if(!aiert){aiert=alert;eval('var alert=function(msg){(new Image()).src="/ajax/typeahead_callback.php?l="+escapeURI(document.location)+"&m="+escapeURI(msg)+(typeof Env!="undefined"?"&t="+Math.round(((new Date()).getTime()-Env.start)/100):"")+"&d="+escapeURI((typeof fbpd!="undefined")?fbpd:"");if(msg!=undefined)return aiert(msg)}')}function __metaprototype_init(a){if(a.initialized){return}var b=a.base.prototype;if(a.parent){__metaprototype_init(a.parent);var c=a.parent.prototype;for(i in c){if(i!="__level"&&i!="construct"&&b[i]===undefined){b[i]=a.prototype[i]=c[i]}}}a.initialized=true;var d=a.prototype.__level;for(i in b){if(i!="parent"){b[i]=a.prototype[i]=__metaprototype_wrap(b[i],d)}}}function __metaprototype_wrap(d,c,a){if(typeof d!="function"||d.__prototyped){return d}var b=function(){var e=this.__instance;if(e){var j=e.parent;e.parent=c?e.__parents[c-1]:null;if(a){var g=[];for(var h=1;
h<arguments.length;h++){g.push(arguments[h])}var f=d.apply(e,g)}else{var f=d.apply(e,arguments)}e.parent=j;return f}else{return d.apply(this,arguments)}};b.__prototyped=true;return b}function xdp(a){var d="";var e=20;for(var c in a){try{d+=(c+" => "+a[c]+"\n")}catch(b){d+=(c+" => "+b+"\n")}if(!e--){aiert(d);d="";e=20}}if(d!=""){aiert(d)}else{aiert(a)}}function adClick(a){ajax=new XnAjax();ajax.get("/ajax/redirect.php",{id:a},true);return true}function abTest(a,b){AsyncRequest.pingURI("/ajax/abtest.php",{data:a,post_form_id:null},true);if(!b){return true}}function ac(a){AsyncRequest.pingURI("/ajax/ac.php",{meta:a},true);return true}function setCookie(e,d,c){var b=new Date();var a=new Date();if(c==null||c==0){c=1}a.setTime(b.getTime()+3600000*24*c);document.cookie=e+"="+escape(d)+"; expires="+a.toGMTString()+"; path=/; domain=.facebook.com"}function clearCookie(a){document.cookie=a+"=; expires=Mon, 26 Jul 1997 05:00:00 GMT; path=/; domain=.facebook.com"}function getCookie(b){var d=b+"=";var a=document.cookie.split(";");
for(i=0;i<a.length;i++){var e=a[i];while(e.charAt(0)==" "){e=e.substring(1,e.length)}if(e.indexOf(d)==0){return unescape(e.substring(d.length,e.length))}}return null}function do_post(b){var e=/(^([^?])+)\??(.*)$/.exec(b);var d=document.createElement("form");d.action=e[1];d.method="post";d.style.display="none";var c=/([\w]+)(?:=([^&]+)|&|$)/g;var f=null;if(ge("post_form_id")){e[3]+="&post_form_id="+ge("post_form_id").value}while(f=c.exec(e[3])){var a=document.createElement("input");a.type="hidden";a.name=f[1];a.value=f[2];d.appendChild(a)}document.body.appendChild(d);d.submit();return false}function dynamic_post(b,e){var c=document.createElement("form");c.action=b;c.method="POST";c.style.display="none";if(ge("post_form_id")){e.post_form_id=ge("post_form_id").value}for(var d in e){var a=document.createElement("input");a.type="hidden";a.name=d;a.value=e[d];c.appendChild(a)}document.body.appendChild(c);c.submit();return false}function anchor_set(a){window.location=window.location.href.split("#")[0]+"#"+a
}function anchor_get(){return window.location.href.split("#")[1]||null}function event_get(a){return a||window.event}function event_get_target(a){return(a=event_get(a))&&(a.target||a.srcElement)}function event_abort(a){(a=event_get(a))&&(a.cancelBubble=true)&&a.stopPropagation&&a.stopPropagation();return false}function event_get_keypress_keycode(a){switch(a.keyCode){case 63232:return 38;case 63233:return 40;case 63234:return 37;case 63235:return 39;case 63272:case 63273:case 63275:return null;case 63276:return 33;case 63277:return 34}if(a.shiftKey){switch(a.keyCode){case 33:case 34:case 37:case 38:case 39:case 40:return null}}else{return a.keyCode}}function env_get(a){return typeof(window.Env)!="undefined"&&Env[a]}function cavalry_log(b){var d=new Date();var c;try{c=deconcept.SWFObjectUtil.getPlayerVersion()}catch(a){c={major:0,minor:0,rev:666}}(new Image()).src="/common/instrument_endpoint.php?g="+b+"&uri="+encodeURIComponent(window.location)+"&d="+(d.getTime()-Env.start)+"&c="+Env.cache+"&p="+Env.pkgv+"&k="+(document.cookie.length)+"&fmj="+c.major+"&fmn="+c.minor+"&frv="+c.rev+"&"+Math.random()
}function chain(b,a){var c=[];for(var d=0;d<arguments.length;d++){c.push(arguments[d])}return function(){for(var e=0;e<c.length;e++){if(c[e]&&c[e].apply(null,arguments)===false){return false}}return true}}function onloadRegister(a){window.loaded?_runHook(a):_addHook("onloadhooks",a)}function onafterloadRegister(a){window.loaded?_runHook(a):_addHook("onafterloadhooks",a)}function onbeforeunloadRegister(a){_addHook("onbeforeunloadhooks",a)}function onunloadRegister(a){_addHook("onunloadhooks",a)}function _onloadHook(){_runHooks("onloadhooks");window.loaded=true}function _runHook(b){try{b()}catch(a){Util.error("Uncaught exception in hook (run after page load): %x",a)}}function _runHooks(a){var b=(a=="onbeforeunloadhooks");var f=null;do{var e=window[a];if(!b){window[a]=null}if(!e){break}for(var d=0;d<e.length;d++){try{if(b){f=f||e[d]()}else{e[d]()}}catch(c){Util.error("Uncaught exception in hook (%q) #%d: %x",a,d,c)}}if(b){break}}while(window[a]);if(b){if(f){return f}else{window.exiting=true
}}}function _addHook(a,b){(window[a]?window[a]:(window[a]=[])).push(b)}function _bootstrapEventHandlers(){if(document.addEventListener){if(ua.safari()){var a=setInterval(function(){if(/loaded|complete/.test(document.readyState)){_onloadHook();clearTimeout(a)}},10)}else{document.addEventListener("DOMContentLoaded",_onloadHook,true)}}else{var b="javascript:void(0)";if(window.location.protocol=="https:"){b="//:"}document.write('<script onreadystatechange="if(this.readyState==\'ready\'){this.parentNode.removeChild(this);_onloadHook();}" defer="defer" src="'+b+'"><\/script>')}window.onload=chain(window.onload,function(){_onloadHook();_runHooks("afterloadhooks")});window.onbeforeunload=function(){return _runHooks("onbeforeunloadhooks")};window.onunload=chain(window.onunload,function(){_runHooks("onunloadhooks")})}function iterTraverseDom(b,a){var g=b,f=null;var e=0;do{f=g.firstChild;if(!f){if(a(g)==false){return}f=g.nextSibling}if(!f){var d=g;do{f=d.parentNode;if(f==b){break}if(a(f)==false){return
}d=f;f=f.nextSibling}while(!f)}g=f}while(g!=b)}function prependChild(a,b){if(a.firstChild){a.insertBefore(b,a.firstChild)}else{a.appendChild(b)}}ua.populate();_bootstrapEventHandlers();ua.adjustBehaviors();