");$t.val(text).css({width:"1px",height:"1px"}).appendTo("body");$t.select();if(document.execCommand("copy"))$t.remove();var event=window.event||callmymethod.caller.arguments[0];event.preventDefault?event.preventDefault():(event.returnValue=false);return false;}function twtt(X,O){$(".twtt").css("cursor","pointer").click(function(){$(".tw-para").find("h2.twtt").each(function(){var e=$(this).next();e.slideUp(0);e=e.next();if(e!=null&&(e.hasClass("ptext")||e.hasClass("pobj")))e.slideUp(0);$(this).attr("data-before",X);});var e=$(this).next();e.slideToggle();e=e.next();if(e!=null&&(e.hasClass("ptext")||e.hasClass("pobj")))e.slideToggle();if($(this).attr("data-before")==O){$(this).attr("data-before",X);}else $(this).attr("data-before",O);}).each(function(i,o){var e=$(o).next();e.slideUp(0);e=e.next();if(e!=null&&(e.hasClass("ptext")||e.hasClass("pobj")))e.slideUp(0);$(this).attr("data-before",O)});}$("a[href$='?twscroll']").click(function(){var bk=($(this).attr("href")).split("?")[0];$(this).attr("href",bk);if(bk=="#"){$("html,body").animate({scrollTop:0},"slow");}else{if($(bk+"_container").length)bk+="_container";$("html,body").animate({scrollTop:($(bk).offset()).top},"slow");}});function onChangeSiteLang(href){var i=location.href.indexOf("?");if(i>0)href+=location.href.substr(i);document.location.href=href;}