$(function(){var b=new Object();$("img.roll, .roll img, input.roll, .roll input").not("[src*='_o.']").each(function(d){var d=$(this).attr("class");if(d!="noneSwap"){var f=this.src;var c=this.src.lastIndexOf(".");var e=this.src.substr(0,c)+"_o"+this.src.substr(c,4);b[this.src]=new Image();b[this.src].src=e;$(this).hover(function(){this.src=e},function(){this.src=f})}})});$(function(){$('a[target="_blank"]').attr("title","新規ウインドウで開きます")});$(function(){$("a.popup").each(function(){var b=$("a.popup").attr("title");b?void (0):$("a.popup").attr("title","ポップアップで開きます")});$('a[class*="popup"]').click(function(){var b=this.href;var l=$(this).attr("class").substr($(this).attr("class").indexOf("{"),$(this).attr("class").indexOf("}"));l=l.split("{")[1].split("}")[0];param=l.split(",");var c=l.split(",")[0].split(":")[1];var h=l.split(",")[1].split(":")[1];var o=l.split(",")[2].split(":")[1];var p=l.split(",")[3].split(":")[1];var d=l.split(",")[4].split(":")[1];var e=l.split(",")[5].split(":")[1];var g=l.split(",")[6].split(":")[1];var k=l.split(",")[7].split(":")[1];var m=l.split(",")[8].split(":")[1];var j=l.split(",")[9].split(":")[1];var f=l.split(",")[10].split(":")[1];var n=l.split(",")[11].split(":")[1];if(d==0){d=$(window).width()}if(p==0){p=$(window).height()}window.open(b,c,"width="+d+",height="+p+",screenX="+h+",left="+h+",screenY="+o+",top="+o+",location="+j+",scrollbars="+g+",directories="+f+",menubar="+e+",toolbar="+m+",resizable="+n+",titlebar=1,status="+k+",fullscreen=0").focus();return false})});window.onload=function(){a=document.getElementsByTagName("a");for(i=0;i<a.length;i++){a[i].onfocus=function(){this.blur()}}area=document.getElementsByTagName("area");for(i=0;i<area.length;i++){area[i].onfocus=function(){this.blur()}}};$(function(){$("#pagetop a").click(function(){$e(window,[0,(document.body.scrollTop||document.documentElement.scrollTop)],[0,0]).easing(100).time(300).smoothScroll();return false})});