GalleryButtons=Class.create();GalleryButtons.prototype={initialize:function(){this.data={title:{type:"img",normal:this.preload("/allages/design/image/gallery/button/normal/title.png"),hover:this.preload("/allages/design/image/gallery/button/hover/title.png")},download:{type:"img",normal:this.preload("/allages/design/image/gallery/button/normal/download.png"),hover:this.preload("/allages/design/image/gallery/button/hover/download.png")}};},onMouseOver:function(a,b){this.change("gallery_img_"+a+"_"+b,this.data[a].hover,this.data[a].type);},onMouseOut:function(a,b){this.change("gallery_img_"+a+"_"+b,this.data[a].normal,this.data[a].type);},preload:function(a){index=this.loaded.length;this.loaded[index]=new Image();this.loaded[index].src=a;return index;},change:function(c,a,b){$(c).src=this.loaded[a].src;this.iepngfix(c);},iepngfix:function(a){if(!/^Mozilla\/4.0\s\(compatible;\sMSIE\s\d+\.\d+/.test(navigator.userAgent)){return;}if(typeof IEPNGFIX=="undefined"){return;}IEPNGFIX.fix($(a));},data:{},loaded:[]};var myGalleryButtons=new GalleryButtons();