function cuFeedBack(b,c,a){b.href=c+"?query="+a;return true}function scSelect(){var a=document.getElementById("scList");window.location="#"+a.options[a.selectedIndex].value}function redirect(a,b){a.href=b;return true}var showBoxSwh=new Array(10);function showBox(c,b){if(!document.getElementById){return false}if(typeof b!="undefined"){showBoxSwh[c]=b}var a=document.getElementById(c);if(typeof a=="undefined"||a==null){return false}if(typeof showBoxSwh[c]!="undefined"&&showBoxSwh[c]){a.style.display="none";showBoxSwh[c]=false}else{a.style.display="block";showBoxSwh[c]=true}return false}function setQueryFocus(){var c=document.f||document.fh;if(!c){return}var b=c.query;if(b){b.focus();if(b.createTextRange){var a=b.createTextRange();a.select()}else{if(b.setSelectionRange){b.setSelectionRange(0,b.value.length)}}}}function setFormFocus(){var b=document.f||document.fh;if(!b){return}var a=b.query;if(a){a.focus();a.value=a.value}}function setFormBlank(){var b=document.f||document.fh;if(!b){return}var a=b.query;if(a){a.focus();a.value=""}}var scriptTopUrl="http://www.westatic.com/jsad/";function cbc(a,b){if(a){a.srcBgColor=a.style.backgroundColor;a.style.backgroundColor="#ffffdd";if(b){a.className=b}}}function bbc(a,b){if(a){a.style.backgroundColor=a.srcBgColor;if(b){a.className=b}}}function pt(a){window.status="";return true}function au(d,n){if(document.getElementById){var q=d.id.substring(1);var c="",b="",s,m,k;var l=n.target;if(l){s=l.id;m=l.parentNode;if(m){c=m.id;k=m.parentNode;if(k){b=k.id}}}else{k=n.srcElement;m=k.parentNode;if(m){c=m.id;s=k.id}}if(s==q||c==q||b==q){return true}location.href=document.getElementById(q).href;return false}}var ovCnt=0;function adHd(a){document.write('<script type="text/javascript" language="javascript" src="http://im.ov.yahoo.co.jp/js_flat/?'+a+'"><\/script>')}function adHdIni(){if(typeof zSr!="undefined"){ovCnt=zSr.length-6}}function adScS(a){document.write('<script type="text/javascript" language="javascript" src="'+scriptTopUrl+encodeURL(a)+'"><\/script>')}function adrd(b,d,f,h,g,a,e){document.write('<a href="'+(b+"&amp;u="+encodeURL(d)+"&amp;shu="+encodeURL(f)+"&amp;c="+h)+'" target="_blank" id="'+g+e+'">'+a+"</a>")}function adss(a,b,c){document.write('<img src="'+(a+"?u="+encodeURL(b)+"&amp;s="+encodeURL(c))+'" alt="">')}function encodeURL(e){var f="";var a="";var d="";for(var b=0;b<e.length;b++){f=e.charAt(b);a=e.charCodeAt(b);if(a==42||a==45||a==46||a==95||((a>=48)&&(a<=57))||((a>=65)&&(a<=90))||((a>=97)&&(a<=122))){d+=f}else{if(a==32){d+="+"}else{if((a>=0)&&(a<=127)){f="0"+a.toString(16);d+="%"+f.substr(f.length-2)}else{if(a>2097151){d+="%"+(240+((a&1835008)>>18)).toString(16);d+="%"+(128+((a&258048)>>12)).toString(16);d+="%"+(128+((a&4032)>>6)).toString(16);d+="%"+(128+(a&63)).toString(16)}else{if(a>2047){d+="%"+(224+((a&61440)>>12)).toString(16);d+="%"+(128+((a&4032)>>6)).toString(16);d+="%"+(128+(a&63)).toString(16)}else{d+="%"+(192+((a&1984)>>6)).toString(16);d+="%"+(128+(a&63)).toString(16)}}}}}}return d}var xmlhttpKashiGet;var xmlhttpAmazon;var xmlhttpBestOfTheWeb;var xmlhttpSH;function startupKashiGet(a){if(this.XMLHttpRequest){xmlhttpKashiGet=new XMLHttpRequest()}else{if(this.ActiveXObject){try{xmlhttpKashiGet=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){xmlhttpKashiGet=new ActiveXObject("Microsoft.XMLHTTP")}}}xmlhttpKashiGet.open("GET",a);xmlhttpKashiGet.onreadystatechange=function(){if(xmlhttpKashiGet.readyState==4&&xmlhttpKashiGet.status==200){var c=document.getElementById("KashiGet");if(c){c.innerHTML=xmlhttpKashiGet.responseText}}};xmlhttpKashiGet.send(null)}function startupAmazon(a){if(this.XMLHttpRequest){xmlhttpAmazon=new XMLHttpRequest()}else{if(this.ActiveXObject){try{xmlhttpAmazon=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){xmlhttpAmazon=new ActiveXObject("Microsoft.XMLHTTP")}}}xmlhttpAmazon.open("GET",a);xmlhttpAmazon.onreadystatechange=function(){if(xmlhttpAmazon.readyState==4&&xmlhttpAmazon.status==200){var c=document.getElementById("amazon");if(c){c.innerHTML=xmlhttpAmazon.responseText}}};xmlhttpAmazon.send(null)}function startupBestOfTheWeb(a){if(this.XMLHttpRequest){xmlhttpBestOfTheWeb=new XMLHttpRequest()}else{if(this.ActiveXObject){try{xmlhttpBestOfTheWeb=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){xmlhttpBestOfTheWeb=new ActiveXObject("Microsoft.XMLHTTP")}}}xmlhttpBestOfTheWeb.open("GET",a);xmlhttpBestOfTheWeb.onreadystatechange=function(){if(xmlhttpBestOfTheWeb.readyState==4&&xmlhttpBestOfTheWeb.status==200){var c=document.getElementById("best-of-the-web");if(c){c.innerHTML=xmlhttpBestOfTheWeb.responseText}}};xmlhttpBestOfTheWeb.send(null)}document.onkeypress=keyShortCut;function getKeyCode(a){if(document.all){return event.keyCode}else{if(document.getElementById){return(a.keyCode!=0)?a.keyCode:a.charCode}}}function cancelShortCut(b){if(document.all){var a=event.target||event.srcElement}else{if(document.getElementById){var a=b.target||b.srcElement}}if(a.tagName.toLowerCase()=="input"){return true}if(a.tagName.toLowerCase()=="select"){return true}if(a.tagName.toLowerCase()=="textarea"){return true}}function keyShortCut(a){if(cancelShortCut(a)){return true}switch(getKeyCode(a)){case 76:highlight();break;case 81:document.fh.query.focus();return false;break;case 82:location.href="http://www.weblio.jp/WeblioRandomSelectServlet";break;case 84:location.href="#top";break;default:}}function cu(c,b){var a=getDestUrl(b);if(a&&a.length>0){c.href=a}return true}function ht(d,c){var a=getDestUrl(c);if(a&&a.length>0){location.href=a;return false}var b=getTrgtChildNode(d);if(b){location.href=b.href}return false}function htBS(o){var trgtNode=getTrgtChildNode(o);if(trgtNode){var func=trgtNode.onclick;if(func){eval(func())}}return false}function cdm(c,a,b){c.href=a+"&itm="+b;return true}function getDestUrl(c){var a="";if(c){var b=document.f||document.fh;if(b){if(window.encodeURIComponent){if(b.query.value.length>0){if(b.searchType!=null){a=c+"?searchType="+encodeURIComponent(b.searchType.value)+"&query="+encodeURIComponent(b.query.value)}else{a=c+"?query="+encodeURIComponent(b.query.value)}}}}}return a}function getTrgtChildNode(d){var a={};var e=d.childNodes;for(var b=0;b<e.length;++b){var c=e[b];if(c&&c.tagName&&c.tagName.toLowerCase()=="a"){a=c;break}}return a}rYea=new Array(2008,2009,2010,2011,2012);ys=new Array(10);ms=new Array(ys.length*12);function yea(c,e,b,a){if(!document.getElementById){return}if(ys[c]||(a&&ys[c]==null)){document.getElementById("month"+c).style.position="absolute";document.getElementById("month"+c).style.visibility="hidden";document.getElementById("year"+c).src="http://www.westatic.com/img/iconPlus.png";for(i=0;i<rYea.length;++i){for(j=0;j<12;++j){if(rYea[i]==2008&&j<8){continue}if(rYea[i]>e||(rYea[i]==e&&j>b)){break}var d=j+1;if(d<10){d="0"+d}document.getElementById("day"+rYea[i]+d).style.position="absolute";document.getElementById("day"+rYea[i]+d).style.visibility="hidden";document.getElementById("day"+rYea[i]+d).style.overflow="hidden";document.getElementById("day"+rYea[i]+d).style.height="0";document.getElementById("mon"+rYea[i]+d).src="http://www.westatic.com/img/iconPlus.png";ms[rYea[i]+d]=false}}ys[c]=false}else{document.getElementById("month"+c).style.position="";document.getElementById("month"+c).style.visibility="visible";document.getElementById("year"+c).src="http://www.westatic.com/img/iconMinus.png";ys[c]=true}return false}function mon(b,a){if(!document.getElementById){return}if(ms[b]||(a&&ms[b]==null)){document.getElementById("day"+b).style.position="absolute";document.getElementById("day"+b).style.visibility="hidden";document.getElementById("day"+b).style.overflow="hidden";document.getElementById("day"+b).style.height="0";document.getElementById("mon"+b).src="http://www.westatic.com/img/iconPlus.png";ms[b]=false}else{document.getElementById("day"+b).style.position="";document.getElementById("day"+b).style.visibility="visible";document.getElementById("day"+b).style.overflow="visible";document.getElementById("day"+b).style.height="230px";document.getElementById("day"+b).style.width="280px";document.getElementById("day"+b).style.margin="0 auto";document.getElementById("mon"+b).src="http://www.westatic.com/img/iconMinus.png";ms[b]=true}return false}function seltab(a){if(!document.getElementById){return}for(i=0;i<3;++i){if(i==a){document.getElementById("rankBox"+i).style.position="";document.getElementById("rankBox"+i).style.visibility="visible"}else{document.getElementById("rankBox"+i).style.position="absolute";document.getElementById("rankBox"+i).style.visibility="hidden"}}return false}CommonUtils={};CommonUtils.encodeURL=function(e){var f="";var a="";var d="";for(var b=0;b<e.length;b++){f=e.charAt(b);a=e.charCodeAt(b);if(a==42||a==45||a==46||a==95||((a>=48)&&(a<=57))||((a>=65)&&(a<=90))||((a>=97)&&(a<=122))){d+=f}else{if(a==32){d+="+"}else{if((a>=0)&&(a<=127)){f="0"+a.toString(16);d+="%"+f.substr(f.length-2)}else{if(a>2097151){d+="%"+(240+((a&1835008)>>18)).toString(16);d+="%"+(128+((a&258048)>>12)).toString(16);d+="%"+(128+((a&4032)>>6)).toString(16);d+="%"+(128+(a&63)).toString(16)}else{if(a>2047){d+="%"+(224+((a&61440)>>12)).toString(16);d+="%"+(128+((a&4032)>>6)).toString(16);d+="%"+(128+(a&63)).toString(16)}else{d+="%"+(192+((a&1984)>>6)).toString(16);d+="%"+(128+(a&63)).toString(16)}}}}}}return d};CommonUtils.decodeURL=function(e){var g,c,b,k,l,h,a,d;g="";for(c=0;c<e.length;c++){k=e.charAt(c);if(k=="+"){g+=" "}else{if(k!="%"){g+=k}else{h=0;d=1;while(true){l="";for(b=0;b<2;b++){sss=e.charAt(++c);if(((sss>="0")&&(sss<="9"))||((sss>="a")&&(sss<="f"))||((sss>="A")&&(sss<="F"))){l+=sss}else{--c;break}}a=parseInt(l,16);if(a<=127){h=a;d=1}if((a>=192)&&(a<=223)){h=a&31;d=2}if((a>=224)&&(a<=239)){h=a&15;d=3}if((a>=240)&&(a<=247)){h=a&7;d=4}if((a>=128)&&(a<=191)){h=(h<<6)+(a&63);--d}if(d<=1){break}if(e.charAt(c+1)=="%"){c++}else{break}}g+=String.fromCharCode(h)}}}return g};CommonUtils.desanitize=function(a){a=a.replace(/&amp;/g,"&");a=a.replace(/&gt;/g,">");a=a.replace(/&lt;/g,"<");a=a.replace(/&quot;/g,'"');a=a.replace(/&#39;/g,"'");return a};CommonUtils.sanitize=function(a){a=a.replace(/&/g,"&amp;");a=a.replace(/>/g,"&gt;");a=a.replace(/</g,"&lt;");a=a.replace(/"/g,"&quot;");a=a.replace(/'/g,"&#39;");return a};CommonUtils.hasFlashObj=function(){var a;try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(b){}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0){return true}else{if(a){return true}}return false};CommonUtils.clone=function(b){b=(function(){return this}).apply(b);switch(typeof b){case"function":return function(){return b.apply(this,arguments)};case"undefined":return b;case"object":if(b==null){return b}else{var a=function(){};a.prototype=b;var c=new a;switch(b.constructor){case String:case Number:case Boolean:if(c.toSource){c.toSource=function(){return"clone("+b.toSource.apply(b,arguments)+")/*require clone function*/"}}c.toString=function(){return b.toString.apply(b,arguments)};c.valueOf=function(){return b.valueOf.apply(b,arguments)}}return c}}};CommonUtils.cookie=function(b,k,o,l){if(typeof k!="undefined"){o=o||{};l=typeof l!="undefined"?l:true;if(k===null){k="";o.expires=-1}if(!l){k=k.replace(/\r?\n/g,"")}var e="";if(o.expires&&(typeof o.expires=="number"||o.expires.toUTCString)){var f;if(typeof o.expires=="number"){f=new Date();f.setTime(f.getTime()+(o.expires*24*60*60*1000))}else{f=o.expires}e="; expires="+f.toUTCString()}else{}var n=o.path?"; path="+(o.path):"";var g=o.domain?"; domain="+(o.domain):"";var a=o.secure?"; secure":"";document.cookie=[b,"=",(l?CommonUtils.encodeURL(k):k),e,n,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var m=document.cookie.split(";");for(var h=0;h<m.length;h++){var c=jQuery.trim(m[h]);if(c.substring(0,b.length+1)==(b+"=")){d=c.substring(b.length+1);break}}}return d}};CommonUtils.cookieEnabled=function(){return navigator.cookieEnabled==true};var hideTxt="隠す";var showTxt="表示";function showNvBox(a){var d=document.getElementById("nvBtn"+a);var e=document.getElementById("nvTbl"+a);if(typeof d=="undefined"||typeof e=="undefined"){return false}var c=e.rows;if(d.firstChild.data==hideTxt){for(var b=1;b<c.length;++b){c[b].style.display="none"}d.firstChild.data=showTxt}else{for(var b=1;b<c.length;++b){c[b].style.display=c[0].style.display}d.firstChild.data=hideTxt}}function naviBtn(){var b=0;var a=document.getElementsByTagName("table");for(var d=0;d<a.length;++d){if(a[d].className.indexOf("collapsible")>0){a[d].setAttribute("id","nvTbl"+b);var e=document.createElement("a");e.setAttribute("id","nvBtn"+b);e.setAttribute("href","javascript:showNvBox("+b+");");e.appendChild(document.createTextNode("隠す"));var c=document.createElement("span");c.style.fontWeight="normal";c.style.width="6em";c.style.cssFloat="right";c.style.styleFloat="right";c.style.textAlign="right";c.appendChild(document.createTextNode("["));c.appendChild(e);c.appendChild(document.createTextNode("]"));var f=a[d].getElementsByTagName("tr")[0].getElementsByTagName("th")[0];if(f){f.insertBefore(c,f.childNodes[0]);e.style.color=f.style.color;showNvBox(b);++b}}}}function addEvent(d,c,a){if(d.addEventListener){d.addEventListener(c,a,false);return true}else{if(d.attachEvent){var b=d.attachEvent("on"+c,a);return b}else{return false}}}addEvent(window,"load",naviBtn);addEvent(window,"onload",naviBtn);var twitEjCnt="http://ejje.weblio.jp/content";var twitThCnt="http://thesaurus.weblio.jp/content";var twitShCnt="http://shuwa.weblio.jp/content";var twitCjCnt="http://cjjc.weblio.jp/content";var twitWwCnt="http://www.weblio.jp/content";var twitUl;var twitTtl;function twitt(){if(typeof twitUl=="undefined"||typeof twitTtl=="undefined"){return}if(typeof pageTracker!="undefined"){pageTracker._trackPageview("/tweet_button")}var b="weblio";var c="R_c563af935b6cdd625ee7c15c93ac86f3";var a=document.createElement("script");a.type="text/javascript";a.src="http://api.bit.ly/shorten?version=2.0.1&format=json&callback=twBack&login="+b+"&apiKey="+c+"&longUrl="+encodeURIComponent(twitUl);document.body.appendChild(a)}function twBack(b){var a="http://twitter.com/home/?status="+twitTtl+encodeURIComponent(" "+b.results[twitUl]["shortUrl"]+" #weblio");if(navigator.userAgent.indexOf("Safari")>=0){location.href=a}else{window.open(a,"_blank")}}function twitWr(b,a){twitTtl=resQuery(a);if(b=="t"){twitUl=twitThCnt+"/"+resQuery(a)+location.search}else{if(b=="e"){twitUl=twitEjCnt+"/"+resQuery(a)+location.search}else{if(b=="s"){twitUl=twitShCnt+"/"+resQuery(a)+location.search}else{if(b=="c"){twitUl=twitCjCnt+"/"+resQuery(a)+location.search}else{twitUl=twitWwCnt+"/"+resQuery(a)+location.search}}}}document.write('<a href="http://twitter.com/share" rel="nofollow" class="twitter-share-button" data-text="'+CommonUtils.decodeURL(a)+' #weblio" data-count="none" data-url="'+twitUl+'">Tweet</a>');document.write('<script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script>')}function mixiWr(c,b){if(c!="t"&&c!="e"&&c!="s"){return}var a="ac901afe3ec53c051a044d8d0e64177ab9fa728a";if(c=="t"){a="3e9268591e73987be648f49ea203d71144844989"}else{if(c=="e"){a="428bd5a1c4354ea48ed9d3e2b4d0c2465dffa5b8"}else{if(c=="s"){a="da577df01825232b87db48a6f9dfa4889eed355d"}}}document.write('<a href="http://mixi.jp/share.pl" class="mixi-check-button" data-key="'+a+"\" onClick=\"_gaq.push(['_trackEvent', 'click', 'mixi_check_button']);\">Check</a>");if(b){document.write('<script type="text/javascript" src="http://static.mixi.jp/js/share.js"><\/script>')}}function outCntWr(c,b,a){document.write("<table><tr><td class=linkTagRL>");mixiWr(c,a);document.write("</td><td class=linkTagRR>");twitWr(c,b);document.write("</td></tr></table>")}function resQuery(a){a=CommonUtils.decodeURL(a);a=CommonUtils.desanitize(a);a=CommonUtils.encodeURL(a);return a}swc=new Array(50);function catNav(b,a){if(!document.getElementById){return}if(swc[a]){document.getElementById("treeBoxCat"+a).style.position="absolute";document.getElementById("treeBoxCat"+a).style.visibility="hidden";b.src="http://www.westatic.com/img/iconBoxPls.png";swc[a]=false}else{document.getElementById("treeBoxCat"+a).style.position="";document.getElementById("treeBoxCat"+a).style.visibility="visible";b.src="http://www.westatic.com/img/iconBoxMinus.png";swc[a]=true}return false}function subCatNav(b,a){if(!document.getElementById){return}if(swc[a]){document.getElementById("treeBoxCat"+a).style.display="none";b.innerHTML="▼カテゴリを表示";swc[a]=false}else{document.getElementById("treeBoxCat"+a).style.display="block";b.innerHTML="▲閉じる";swc[a]=true}return false}function catRNewNav(c,b,a){if(!document.getElementById){return}if(a&&typeof swc[b]=="undefined"){document.getElementById("treeBoxCat"+b).style.position="absolute";document.getElementById("treeBoxCat"+b).style.visibility="hidden";c.innerHTML="＋";swc[b]=false}else{if(swc[b]){document.getElementById("treeBoxCat"+b).style.position="absolute";document.getElementById("treeBoxCat"+b).style.visibility="hidden";c.innerHTML="＋";swc[b]=false}else{document.getElementById("treeBoxCat"+b).style.position="";document.getElementById("treeBoxCat"+b).style.visibility="visible";c.innerHTML="－";swc[b]=true}}return false};
