function jQueryEasing(){jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,a,c,b,d){return jQuery.easing[jQuery.easing.def](e,a,c,b,d)},easeInQuad:function(e,a,c,b,d){return b*(a/=d)*a+c},easeOutQuad:function(e,a,c,b,d){return-b*(a/=d)*(a-2)+c},easeInOutQuad:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a+c;return-b/2*(--a*(a-2)-1)+c},easeInCubic:function(e,a,c,b,d){return b*(a/=d)*a*a+c},easeOutCubic:function(e,a,c,b,d){return b*((a=a/d-1)*a*
a+1)+c},easeInOutCubic:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a*a+c;return b/2*((a-=2)*a*a+2)+c},easeInQuart:function(e,a,c,b,d){return b*(a/=d)*a*a*a+c},easeOutQuart:function(e,a,c,b,d){return-b*((a=a/d-1)*a*a*a-1)+c},easeInOutQuart:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a*a*a+c;return-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(e,a,c,b,d){return b*(a/=d)*a*a*a*a+c},easeOutQuint:function(e,a,c,b,d){return b*((a=a/d-1)*a*a*a*a+1)+c},easeInOutQuint:function(e,a,c,b,d){if((a/=d/2)<
1)return b/2*a*a*a*a*a+c;return b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(e,a,c,b,d){return-b*Math.cos(a/d*(Math.PI/2))+b+c},easeOutSine:function(e,a,c,b,d){return b*Math.sin(a/d*(Math.PI/2))+c},easeInOutSine:function(e,a,c,b,d){return-b/2*(Math.cos(Math.PI*a/d)-1)+c},easeInExpo:function(e,a,c,b,d){return a==0?c:b*Math.pow(2,10*(a/d-1))+c},easeOutExpo:function(e,a,c,b,d){return a==d?c+b:b*(-Math.pow(2,-10*a/d)+1)+c},easeInOutExpo:function(e,a,c,b,d){if(a==0)return c;if(a==d)return c+b;if((a/=
d/2)<1)return b/2*Math.pow(2,10*(a-1))+c;return b/2*(-Math.pow(2,-10*--a)+2)+c},easeInCirc:function(e,a,c,b,d){return-b*(Math.sqrt(1-(a/=d)*a)-1)+c},easeOutCirc:function(e,a,c,b,d){return b*Math.sqrt(1-(a=a/d-1)*a)+c},easeInOutCirc:function(e,a,c,b,d){if((a/=d/2)<1)return-b/2*(Math.sqrt(1-a*a)-1)+c;return b/2*(Math.sqrt(1-(a-=2)*a)+1)+c},easeInElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d)==1)return c+b;f||(f=d*0.3);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/
g);return-(g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f))+c},easeOutElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d)==1)return c+b;f||(f=d*0.3);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin((a*d-e)*2*Math.PI/f)+b+c},easeInOutElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d/2)==2)return c+b;f||(f=d*0.3*1.5);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);if(a<1)return-0.5*
g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f)+c;return g*Math.pow(2,-10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f)*0.5+b+c},easeInBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;return b*(a/=d)*a*((f+1)*a-f)+c},easeOutBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;return b*((a=a/d-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;if((a/=d/2)<1)return b/2*a*a*(((f*=1.525)+1)*a-f)+c;return b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(e,
a,c,b,d){return b-jQuery.easing.easeOutBounce(e,d-a,0,b,d)+c},easeOutBounce:function(e,a,c,b,d){return(a/=d)<1/2.75?b*7.5625*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+0.75)+c:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+0.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+0.984375)+c},easeInOutBounce:function(e,a,c,b,d){if(a<d/2)return jQuery.easing.easeInBounce(e,a*2,0,b,d)*0.5+c;return jQuery.easing.easeOutBounce(e,a*2-d,0,b,d)*0.5+b*0.5+c}})}
function jQueryScrollTo(){(function(e){e.scrollTo=function(a,c,b){e(e.browser.safari?"body":"html").scrollTo(a,c,b)};e.scrollTo.defaults={axis:"y",duration:1};e.fn.scrollTo=function(a,c,b){if(typeof c=="object"){b=c;c=0}b=e.extend({},e.scrollTo.defaults,b);c||(c=b.speed||b.duration);b.queue=b.queue&&b.axis.length==2;if(b.queue)c=Math.ceil(c/2);if(typeof b.offset=="number")b.offset={left:b.offset,top:b.offset};return this.each(function(){function d(n){q.animate(j,c,b.easing,function(){n&&n.call(this,
q,j,h)})}function f(n){var o=t?e.browser.opera?document.body:document.documentElement:g;n=n=="x"?"Width":"Height";return o["scroll"+n]-o["client"+n]}var g=this,q=e(g),h=a,s,j={},t=q.is("html,body");switch(typeof h){case "number":case "string":if(/^([+-]=)?\d+(px)?$/.test(h)){h={top:h,left:h};break}h=e(h,this);case "object":if(h.is||h.style)s=(h=e(h)).offset()}e.each(b.axis.split(""),function(n,o){var r=o=="x"?"Left":"Top",p=r.toLowerCase(),m="scroll"+r,u=g[m];if(s){j[m]=s[p]+(t?0:u-q.offset()[p]);
if(b.margin){j[m]-=parseInt(h.css("margin"+r))||0;j[m]-=parseInt(h.css("border"+r+"Width"))||0}if(b.offset&&b.offset[p])j[m]+=b.offset[p]}else j[m]=h[p];if(/^\d+$/.test(j[m]))j[m]=j[m]<=0?0:Math.min(j[m],f(o));if(!n&&b.queue){u!=j[m]&&d(b.onAfterFirst);delete j[m]}});d(b.onAfter)})}})(jQuery)}var ary=location.pathname.split("/"),l=0,isLinkAry=[];for(i=0;i<=ary.length-1;i++){isLinkAry[i]=ary.slice(i,i+1);isLinkAry[i]=isLinkAry[i].join("/")}
for(k=i+1;k<=i+ary.length;k++){isLinkAry[k]=ary.slice(0,ary.length-l);isLinkAry[k]=isLinkAry[k].join("/");isLinkAry[k]=isLinkAry[k].replace(/^\//,"");l++}isLinkAry[0]=isLinkAry[0].replace(/\#.*$/,"");
var jcommon={preloader:{loadedImages:[],load:function(e){var a=this.loadedImages,c=a.length;a[c]=new Image;a[c].src=e}},URI:function(e){e=e.replace(/^https[^a-z]*[^\/]*/,"");e=e.replace(/^[^a-z]*/,"");e=e.replace(/index.*$/,"");this.absolutePath=e=e.replace(/\/$/,"");this.len=isLinkAry.length;for(this.isSelfLink=false;this.len--;)this.isSelfLink=this.isSelfLink||this.absolutePath==isLinkAry[this.len]}};
(function(){google.load("jquery","1");google.load("swfobject","2.1");google.setOnLoadCallback(function(){window.absPath="/";jQueryEasing();jQueryScrollTo();jQueryRun()})})();
function jQueryRun(){$(function(){function e(a){a.parents("#header").find(".current").removeClass("current");a.addClass("current")}$.getScript("http://www.k-mix.co.jp/shared/js/lightbox.js",function(){$('a[href$=".jpg"]').add('a[href$=".gif"]').lightBox()});$("a img.btn").add(".submitBtn input").add("#globalNav li a img").each(function(){this.originalSrc=$(this).attr("src");this.rolloverSrc=this.originalSrc.replace(/(\.gif|\.jpg|\.png)/,"_on$1");jcommon.preloader.load(this.rolloverSrc)}).hover(function(){$(this).attr("src",
this.rolloverSrc)},function(){$(this).attr("src",this.originalSrc)});$('a[href^="http://"]:not([href^="http://www.k-mix.co.jp/"],[href^="http://59.84.158.19/"],[href^="http://blog.k-mix.co.jp/"],[href^="http://59.84.158.20/"])').add('a[href$="disaster/"]').add('a[href*="form/check.php"]').click(function(){window.open(this.href,"_blank");return false});$(".externalLink").find("img").parent("a").removeClass("externalLink");$('a[href$=".pdf"]').click(function(){window.open(this.href,"_blank");return false});
$('a[href^="#"]:not([href*="Week"],[href="#yearly"])').each(function(){this.target=$(this).attr("href")}).click(function(){$.scrollTo(this.target,{speed:800});return false});$("table").each(function(){$(this).find("tr:odd").addClass("even");$(this).find("tr:even").addClass("odd")});$("#backNumber ul").add("#mainContent #podBox ul").add("#mainContent #perBox ul").each(function(){$(this).find("li:odd").addClass("even");$(this).find("li:even").addClass("odd")});$("body.twoStrikeOneBall div#mainContent div.mainCol #entries .entry .entryBody p:first-child").add("body.twoStrikeOneBall div#mainContent #today p:first-child").addClass("firstChild");
$("#cpCorner ul li:last-child").addClass("lastChild");$("input").add("textarea").addClass("hover").each(function(){$(this).removeClass("hover")}).hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")});$('a[href$="aboutrss.html"]').click(function(){this.offset=$(this).offset().top-$(this).height();$("body").append('<div id="floatingWrapper"><a class="close" href="">&nbsp;</a></div>').append('<div id="floatingWindow"><iframe id="includeAboutRSS" src="http://www.k-mix.co.jp/aboutrss.html"></iframe><p><a class="close" href=""><img src="http://www.k-mix.co.jp/shared/img/btn/btn_close_window.gif" alt="\u9589\u3058\u308b" width="58" height="20" class="btn" /></a></p></div>');
$("#floatingWrapper").css({height:$("body").height()+"px"});$("#floatingWindow").css({top:this.offset+"px"});$("body iframe .home").hide();$(".close").click(function(){$("select").show();$("#floatingWrapper").add("#floatingWindow").remove();return false});return false});$.getScript("http://www.k-mix.co.jp/shared/js/cookie.js",function(){$(".mhzNav li a").click(function(){this.side=$(this).parents("ul").attr("id");this.num=$(this).parent("li").attr("class");e($(this));this.cr=$(this).attr("href").replace(/^\?/,
"");this.path=$(this).parents("#header").find("#localMhz img");this.uri=this.path.attr("src");this.uri=this.uri.replace(/[^\.|_]*\.gif$/,this.cr+".gif");this.path.attr("src",this.uri);$.cookie("MHzURI",this.uri,{path:"/"});$.cookie("MHzSIDE","#"+this.side,{path:"/"});$.cookie("MHzNUM","."+this.num,{path:"/"});return false}).parents(".mhzNav").each(function(){for(i=1;i<=5;i++)$(this).find("li:nth-child("+i+")").addClass("n"+i)});$("#localMhz img").each(function(){if($.cookie("MHzURI")!=null){$(this).attr("src",
$.cookie("MHzURI"));e($(this).parents("#header").find($.cookie("MHzSIDE")).find($.cookie("MHzNUM")).find("a"))}})})})};