function swapimg(my) {
	var img = my.src.substring(my.src.lastIndexOf('/') + 1, my.src.length);
	if (img.substring(0,img.lastIndexOf('.')).match(/(ovr?|\/)$/) == null){
		my.src = my.src.substring(0,my.src.lastIndexOf('/') + 1) + img.substring(0,img.lastIndexOf('.')) + "ov" + img.substring(img.lastIndexOf('.'),img.length);
	} else {
		my.src = my.src.substring(0,my.src.lastIndexOf('/') + 1) + img.substring(0,img.lastIndexOf('ov.')) + img.substring(img.lastIndexOf('.'),img.length);
	}
}

function print_out() {
   /* print() が使えるブラウザかどうかを判断 */
   if (navigator.userAgent.match(/msie (\d)/i))
      v = (eval(RegExp.$1) >= 5) ? 1 : 0;
   else if (self.innerWidth)
      v = (eval(navigator.appVersion.charAt(0)) >= 4) ? 1 : 0;
   else v = 0;

   /* print() が使えるブラウザなら印刷を実行 */
   if (v) {
   	//menustat('hidden');
   	self.print();
   	//menustat('visible');
   }
   else alert("お使いのブラウザではこの機能は利用できません");
}
