/**
 * Simple rollover
 * 
 * Copyright (c) 2009 Kyosuke Nakamura (kyosuke.jp)
 * Licensed under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */

$(function(){
	$('.btn').each(function(){
		this.originalSrc = $(this).attr('src');
		this.rolloverSrc = this.originalSrc.replace(/(\.gif|\.jpg|\.png)$/, '_on'+"$1");
		this.rolloverImg = new Image();
		this.rolloverImg.src = this.rolloverSrc;
	}).hover(function(){
		$(this).attr('src',this.rolloverSrc);
	},function(){
		$(this).attr('src',this.originalSrc);
	});
});



// mailsoft‹N“®
function mailgif(t) {

	var num=t.indexOf("!",0);

	var dom=t.substring(0,num);

	var ad=t.substring(num+1,t.length);

	var head='lto:';

	location.href=('mai'+head+ad+'%40'+dom);

}

// JavaScript Document
function open_win(){
	window.open('http://www.takeno-clinic.com/gmap.html','','width=530,height=480');
}
