/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright ﾂｩ 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/

// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t + b;
		return c/2*((t-=2)*t*t + 2) + b;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
		return -c/2 * ((t-=2)*t*t*t - 2) + b;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
		return c/2*((t-=2)*t*t*t*t + 2) + b;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, t, b, c, d) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158; 
		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});

/*
 *
 * TERMS OF USE - EASING EQUATIONS
 * 
 * Open source under the BSD License. 
 * 
 * Copyright ﾂｩ 2001 Robert Penner
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
 */





/*
 * 
 * WhatInOut
 * Nice fadeInOut effect with jQuery!!!!
 * jQuery 1.4 or higher, jQuery.easing required
 *
 * Licensed under the MIT 
 * Copyright (c) 2010 nori (norimania@gmail.com)
 * 5509 - http://5509.me/
 * 
 * $Update: 2010-05-01 21:41
 * $Date: 2010-04-28 21:14
 * 
 */

(function($) {

	// what global vars and funcs
	var whatInOutEasing = $.easing['easeOutCirc'] ? 'easeOutCirc' : 'swing',
		returnData = function($this) {
			return {
				marginTop: parseInt($this.css('marginTop')),
				marginLeft: parseInt($this.css('marginLeft')),
				width: $this.attr('offsetWidth'),
				height: $this.attr('offsetHeight'),
				opacity: $this.css('opacity')
			}
		},
		writeData = function(name, baseData) {
			if ( $.data(document, name) == null ) {
				$.data(document, name, baseData);
			}		
		},
		returnID = function($this) {
			if ( $this.attr('id') ) {
				return $this.attr('id');
			} else {
				var name = 'what_' + Math.floor(Math.random() * Math.random() * 1000);
				$this.attr('id', name);
				return name;
			}
		};

	// WhatSlideIn
	$.fn.whatSlideIn = function(options) {
		$(this).show();
		var c = $.extend({
				easing: whatInOutEasing,
				duration: 400,
				posIn: 20,
				callback: function(){}
			}, options),
			$this = $(this),
			name = returnID($this),
			baseData = $.data(document, name) != null ? $.data(document, name) : returnData($this);
			
		writeData(name, baseData);
			
		$this
			.css({
				marginTop: baseData.marginTop + parseInt(c.posIn),
				opacity: 0
			})
			.stop(true, false)
			.animate(
				$.data(document, name),
				{
					duration: c.duration,
					easing: c.easing,
					complete: function() {
						c.callback();
						$this.css($.data(document, name));
					}
				}
			);
	}
	
	// WhatSlideOut
	$.fn.whatSlideOut = function(options) {
		$(this).show();
		var c = $.extend({
				easing: whatInOutEasing,
				duration: 400,
				posOut: '-20',
				callback: function(){}
			}, options),
			$this = $(this),
			name = returnID($this),
			baseData = $.data(document, name) != null ? $.data(document, name) : returnData($this);

		writeData(name, baseData);

		$this
			.css($.data(document, name))
			.stop(true, false)
			.animate(
				{
					marginTop: baseData.marginTop + parseInt(c.posOut),
					opacity: 0
				},
				{
					duration: c.duration,
					easing: c.easing,
					complete: function() {
						c.callback();
						$this.hide().css($.data(document, name));
					}
				}
			);
	}
	
	// WhatIn
	$.fn.whatIn = function(options) {
		$(this).show();
		var c = $.extend({
				easing: whatInOutEasing,
				duration: 400,
				sizeFrom: 80,
				callback: function(){}
			}, options),
			$this = $(this),
			name = returnID($this),
			percentage = c.sizeFrom / 100,
			baseData = $.data(document, name) != null ? $.data(document, name) : returnData($this),
			sizeFrom =  {
				width: baseData.width * percentage,
				height: baseData.height * percentage
			},
			mPosFrom = {
				marginTop: baseData.marginLeft + (baseData.height - sizeFrom.height) / 2,
				marginLeft: baseData.marginLeft + (baseData.width - sizeFrom.width) / 2
			};
			
		writeData(name, baseData);
			
		$this
			.hide()
			.css({
				width: sizeFrom.width,
				height: sizeFrom.height,
				opacity: 0,
				marginTop: mPosFrom.marginTop,
				marginLeft: mPosFrom.marginLeft
			})
			.stop(true, false)
			.animate(
				$.data(document, name),
				{
					duration: c.duration,
					easing: c.easing,
					complete: function() {
						$this.css($.data(document, name));
						c.callback();
					}
				}
			);
	}
	
	// WhatOut
	$.fn.whatOut = function(options) {	
		$(this).show();
		var c = $.extend({
				easing: whatInOutEasing,
				duration: 400,
				sizeTo: 80,
				callback: function(){}
			}, options),
			$this = $(this),
			name = returnID($this),
			percentage = c.sizeTo / 100,
			baseData = $.data(document, name) != null ? $.data(document, name) : returnData($this),
			sizeTo =  {
				width: baseData.width * percentage,
				height: baseData.height * percentage
			},
			mPosTo = {
				marginTop: baseData.marginLeft + (baseData.height - sizeTo.height) / 2,
				marginLeft: baseData.marginLeft + (baseData.width - sizeTo.width) / 2
			};
			
		writeData(name, baseData);
			
		$this
			.hide()
			.css($.data(document, name))
			.stop(true, false)
			.animate(
				{
					marginTop: mPosTo.marginTop,
					marginLeft: mPosTo.marginLeft,
					width: sizeTo.width,
					height: sizeTo.height,
					opacity: 0
				},
				{
					duration: c.duration,
					easing: c.easing,
					complete: function() {
						$this
							.hide()
							.css($.data(document, name));
						c.callback();
					}
				}
			);
	}
	
})(jQuery);




/*
 * 
 * WhatInOut&ImageCache
 * Nice fadeInOut effect with jQuery!!!!
 * jQuery 1.4 or higher, jQuery.easing required
 *
 * Licensed under the MIT 
 * Copyright (c) 2010 nori (norimania@gmail.com)
 * 5509 - http://5509.me/
 * 
 * $Update: 2010-05-01 21:41
 * $Date: 2010-04-28 21:14
 * 
 */
(function($) {
	var cache = [];
	$.preLoadImages = function() {
		var args_len = arguments.length;
		for (var i = args_len; i--;) {
			var cacheImage = document.createElement('img');
			cacheImage.src = arguments[i];
			cache.push(cacheImage);
		}
	}
})(jQuery)

jQuery.preLoadImages(
"../gifs/ctime_btn.gif",
"../gifs/ctime_map.gif",
"../gifs/ctime_point.png",
"../gifs/ctime_root_ise.png",
"../gifs/ctime_root_kameyama.png",
"../gifs/ctime_root_komono.png",
"../gifs/ctime_root_kuwana.png",
"../gifs/ctime_root_matsusaka.png",
"../gifs/ctime_root_owase.png",
"../gifs/ctime_root_toba.png",
"../gifs/ctime_root_tsu.png",
"../gifs/ctime_root_ueno.png",
"../gifs/ctime_root_yokkaichi.png",
"../gifs/ctime_balloon_ise.png",
"../gifs/ctime_balloon_kameyama.png",
"../gifs/ctime_balloon_komono.png",
"../gifs/ctime_balloon_kuwana.png",
"../gifs/ctime_balloon_matsusaka.png",
"../gifs/ctime_balloon_owase.png",
"../gifs/ctime_balloon_toba.png",
"../gifs/ctime_balloon_tsu.png",
"../gifs/ctime_balloon_ueno.png",
"../gifs/ctime_balloon_yokkaichi.png",
"../gifs/ttime_btn.gif",
"../gifs/ttime_map.gif",
"../gifs/ttime_point.png",
"../gifs/ttime_root_ise.png",
"../gifs/ttime_root_kameyama.png",
"../gifs/ttime_root_kuwana.png",
"../gifs/ttime_root_matsusaka.png",
"../gifs/ttime_root_owase.png",
"../gifs/ttime_root_toba.png",
"../gifs/ttime_root_tsu.png",
"../gifs/ttime_root_ueno.png",
"../gifs/ttime_root_yokkaichi1.png",
"../gifs/ttime_root_yokkaichi2.png",
"../gifs/ttime_root_yunoyama.png",
"../gifs/ttime_balloon_ise.png",
"../gifs/ttime_balloon_kameyama.png",
"../gifs/ttime_balloon_kuwana.png",
"../gifs/ttime_balloon_matsusaka.png",
"../gifs/ttime_balloon_owase.png",
"../gifs/ttime_balloon_toba.png",
"../gifs/ttime_balloon_tsu.png",
"../gifs/ttime_balloon_ueno.png",
"../gifs/ttime_balloon_yokkaichi1.png",
"../gifs/ttime_balloon_yokkaichi2.png",
"../gifs/ttime_balloon_yunoyama.png"
);


$(function() {
	$('#box_suzuka').stop(true, false).hide();
	$('#box_tsu').stop(true, false).hide();
	$('#box_yokkaichi').stop(true, false).hide();
	$('#box_kuwana').stop(true, false).hide();
	$('#box_kameyama').stop(true, false).hide();
	$('#box_komono').stop(true, false).hide();
	$('#box_mie').stop(true, false).hide();
	$('#box_time').stop(true, false).hide();

	if(!jQuery.support.opacity){
		$('#tbtn_suzuka').hover(function() {
			$('#box_suzuka').stop(true, false).show();
		},function() {
			$('#box_suzuka').stop(true, false).hide();
		});

		$('#tbtn_tsu').hover(function() {
			$('#box_tsu').stop(true, false).show();
		},function() {
			$('#box_tsu').stop(true, false).hide();
		});

		$('#tbtn_yokkaichi').hover(function() {
			$('#box_yokkaichi').stop(true, false).show();
		},function() {
			$('#box_yokkaichi').stop(true, false).hide();
		});

		$('#tbtn_kuwana').hover(function() {
			$('#box_kuwana').stop(true, false).show();
		},function() {
			$('#box_kuwana').stop(true, false).hide();
		});

		$('#tbtn_kameyama').hover(function() {
			$('#box_kameyama').stop(true, false).show();
		},function() {
			$('#box_kameyama').stop(true, false).hide();
		});

		$('#tbtn_komono').hover(function() {
			$('#box_komono').stop(true, false).show();
		},function() {
			$('#box_komono').stop(true, false).hide();
		});

		$('#tbtn_mie').hover(function() {
			$('#box_mie').stop(true, false).show();
		},function() {
			$('#box_mie').stop(true, false).hide();
		});

		$('#tbtn_time').hover(function() {
			$('#box_time').stop(true, false).show();
		},function() {
			$('#box_time').stop(true, false).hide();
		});

	}else{

		$('#tbtn_suzuka').hover(function() {
			$('#box_suzuka').stop(true, false).whatSlideIn();
		},function() {
			$('#box_suzuka').stop(true, false).whatSlideOut();
		});

		$('#tbtn_tsu').hover(function() {
			$('#box_tsu').stop(true, false).whatSlideIn();
		},function() {
			$('#box_tsu').stop(true, false).whatSlideOut();
		});

		$('#tbtn_yokkaichi').hover(function() {
			$('#box_yokkaichi').stop(true, false).whatSlideIn();
		},function() {
			$('#box_yokkaichi').stop(true, false).whatSlideOut();
		});

		$('#tbtn_kuwana').hover(function() {
			$('#box_kuwana').stop(true, false).whatSlideIn();
		},function() {
			$('#box_kuwana').stop(true, false).whatSlideOut();
		});

		$('#tbtn_kameyama').hover(function() {
			$('#box_kameyama').stop(true, false).whatSlideIn();
		},function() {
			$('#box_kameyama').stop(true, false).whatSlideOut();
		});

		$('#tbtn_komono').hover(function() {
			$('#box_komono').stop(true, false).whatSlideIn();
		},function() {
			$('#box_komono').stop(true, false).whatSlideOut();
		});

		$('#tbtn_mie').hover(function() {
			$('#box_mie').stop(true, false).whatSlideIn();
		},function() {
			$('#box_mie').stop(true, false).whatSlideOut();
		});

		$('#tbtn_time').hover(function() {
			$('#box_time').stop(true, true).fadeIn();
		},function() {
			$('#box_time').stop(true, true).fadeOut();
		});

	}
});





$(function() {
	if(!jQuery.support.opacity){

		$('#cbtn_kuwana').hover(function() {
			$('#cbox_kuwana').stop(true, false).show();
			$('#cbal_kuwana').stop(true, false).show();
		},function() {
			$('#cbox_kuwana').stop(true, false).hide();
			$('#cbal_kuwana').stop(true, false).hide();
		});
		$('#cbtn_yokkaichi').hover(function() {
			$('#cbox_yokkaichi').stop(true, false).show();
			$('#cbal_yokkaichi').stop(true, false).show();
		},function() {
			$('#cbox_yokkaichi').stop(true, false).hide();
			$('#cbal_yokkaichi').stop(true, false).hide();
		});
		$('#cbtn_komono').hover(function() {
			$('#cbox_komono').stop(true, false).show();
			$('#cbal_komono').stop(true, false).show();
		},function() {
			$('#cbox_komono').stop(true, false).hide();
			$('#cbal_komono').stop(true, false).hide();
		});
		$('#cbtn_ueno').hover(function() {
			$('#cbox_ueno').stop(true, false).show();
			$('#cbal_ueno').stop(true, false).show();
		},function() {
			$('#cbox_ueno').stop(true, false).hide();
			$('#cbal_ueno').stop(true, false).hide();
		});
		$('#cbtn_kameyama').hover(function() {
			$('#cbox_kameyama').stop(true, false).show();
			$('#cbal_kameyama').stop(true, false).show();
		},function() {
			$('#cbox_kameyama').stop(true, false).hide();
			$('#cbal_kameyama').stop(true, false).hide();
		});
		$('#cbtn_tsu').hover(function() {
			$('#cbox_tsu').stop(true, false).show();
			$('#cbal_tsu').stop(true, false).show();
		},function() {
			$('#cbox_tsu').stop(true, false).hide();
			$('#cbal_tsu').stop(true, false).hide();
		});
		$('#cbtn_matsusaka').hover(function() {
			$('#cbox_matsusaka').stop(true, false).show();
			$('#cbal_matsusaka').stop(true, false).show();
		},function() {
			$('#cbox_matsusaka').stop(true, false).hide();
			$('#cbal_matsusaka').stop(true, false).hide();
		});
		$('#cbtn_ise').hover(function() {
			$('#cbox_ise').stop(true, false).show();
			$('#cbal_ise').stop(true, false).show();
		},function() {
			$('#cbox_ise').stop(true, false).hide();
			$('#cbal_ise').stop(true, false).hide();
		});
		$('#cbtn_toba').hover(function() {
			$('#cbox_toba').stop(true, false).show();
			$('#cbal_toba').stop(true, false).show();
		},function() {
			$('#cbox_toba').stop(true, false).hide();
			$('#cbal_toba').stop(true, false).hide();
		});
		$('#cbtn_owase').hover(function() {
			$('#cbox_owase').stop(true, false).show();
			$('#cbal_owase').stop(true, false).show();
		},function() {
			$('#cbox_owase').stop(true, false).hide();
			$('#cbal_owase').stop(true, false).hide();
		});

		$('#trbtn_kuwana').hover(function() {
			$('#trbox_kuwana').stop(true, false).show();
			$('#trbal_kuwana').stop(true, false).show();
		},function() {
			$('#trbox_kuwana').stop(true, false).hide();
			$('#trbal_kuwana').stop(true, false).hide();
		});
		$('#trbtn_yunoyama').hover(function() {
			$('#trbox_yunoyama').stop(true, false).show();
			$('#trbal_yunoyama').stop(true, false).show();
		},function() {
			$('#trbox_yunoyama').stop(true, false).hide();
			$('#trbal_yunoyama').stop(true, false).hide();
		});
		$('#trbtn_yokkaichi1').hover(function() {
			$('#trbox_yokkaichi1').stop(true, false).show();
			$('#trbal_yokkaichi1').stop(true, false).show();
		},function() {
			$('#trbox_yokkaichi1').stop(true, false).hide();
			$('#trbal_yokkaichi1').stop(true, false).hide();
		});
		$('#trbtn_yokkaichi2').hover(function() {
			$('#trbox_yokkaichi2').stop(true, false).show();
			$('#trbal_yokkaichi2').stop(true, false).show();
		},function() {
			$('#trbox_yokkaichi2').stop(true, false).hide();
			$('#trbal_yokkaichi2').stop(true, false).hide();
		});
		$('#trbtn_ueno').hover(function() {
			$('#trbox_ueno').stop(true, false).show();
			$('#trbal_ueno').stop(true, false).show();
		},function() {
			$('#trbox_ueno').stop(true, false).hide();
			$('#trbal_ueno').stop(true, false).hide();
		});
		$('#trbtn_kameyama').hover(function() {
			$('#trbox_kameyama').stop(true, false).show();
			$('#trbal_kameyama').stop(true, false).show();
		},function() {
			$('#trbox_kameyama').stop(true, false).hide();
			$('#trbal_kameyama').stop(true, false).hide();
		});
		$('#trbtn_tsu').hover(function() {
			$('#trbox_tsu').stop(true, false).show();
			$('#trbal_tsu').stop(true, false).show();
		},function() {
			$('#trbox_tsu').stop(true, false).hide();
			$('#trbal_tsu').stop(true, false).hide();
		});
		$('#trbtn_matsusaka').hover(function() {
			$('#trbox_matsusaka').stop(true, false).show();
			$('#trbal_matsusaka').stop(true, false).show();
		},function() {
			$('#trbox_matsusaka').stop(true, false).hide();
			$('#trbal_matsusaka').stop(true, false).hide();
		});
		$('#trbtn_ise').hover(function() {
			$('#trbox_ise').stop(true, false).show();
			$('#trbal_ise').stop(true, false).show();
		},function() {
			$('#trbox_ise').stop(true, false).hide();
			$('#trbal_ise').stop(true, false).hide();
		});
		$('#trbtn_toba').hover(function() {
			$('#trbox_toba').stop(true, false).show();
			$('#trbal_toba').stop(true, false).show();
		},function() {
			$('#trbox_toba').stop(true, false).hide();
			$('#trbal_toba').stop(true, false).hide();
		});
		$('#trbtn_owase').hover(function() {
			$('#trbox_owase').stop(true, false).show();
			$('#trbal_owase').stop(true, false).show();
		},function() {
			$('#trbox_owase').stop(true, false).hide();
			$('#trbal_owase').stop(true, false).hide();
		});

	}else{

		$('#cbtn_kuwana').hover(function() {
			$('#cbox_kuwana').stop(true, true).fadeIn();
			$('#cbal_kuwana').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_kuwana').stop(true, true).fadeOut();
			$('#cbal_kuwana').stop(true, false).whatSlideOut();
		});
		$('#cbtn_yokkaichi').hover(function() {
			$('#cbox_yokkaichi').stop(true, true).fadeIn();
			$('#cbal_yokkaichi').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_yokkaichi').stop(true, true).fadeOut();
			$('#cbal_yokkaichi').stop(true, false).whatSlideOut();
		});
		$('#cbtn_komono').hover(function() {
			$('#cbox_komono').stop(true, true).fadeIn();
			$('#cbal_komono').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_komono').stop(true, true).fadeOut();
			$('#cbal_komono').stop(true, false).whatSlideOut();
		});
		$('#cbtn_ueno').hover(function() {
			$('#cbox_ueno').stop(true, true).fadeIn();
			$('#cbal_ueno').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_ueno').stop(true, true).fadeOut();
			$('#cbal_ueno').stop(true, false).whatSlideOut();
		});
		$('#cbtn_kameyama').hover(function() {
			$('#cbox_kameyama').stop(true, true).fadeIn();
			$('#cbal_kameyama').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_kameyama').stop(true, true).fadeOut();
			$('#cbal_kameyama').stop(true, false).whatSlideOut();
		});
		$('#cbtn_tsu').hover(function() {
			$('#cbox_tsu').stop(true, true).fadeIn();
			$('#cbal_tsu').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_tsu').stop(true, true).fadeOut();
			$('#cbal_tsu').stop(true, false).whatSlideOut();
		});
		$('#cbtn_matsusaka').hover(function() {
			$('#cbox_matsusaka').stop(true, true).fadeIn();
			$('#cbal_matsusaka').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_matsusaka').stop(true, true).fadeOut();
			$('#cbal_matsusaka').stop(true, false).whatSlideOut();
		});
		$('#cbtn_ise').hover(function() {
			$('#cbox_ise').stop(true, true).fadeIn();
			$('#cbal_ise').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_ise').stop(true, true).fadeOut();
			$('#cbal_ise').stop(true, false).whatSlideOut();
		});
		$('#cbtn_toba').hover(function() {
			$('#cbox_toba').stop(true, true).fadeIn();
			$('#cbal_toba').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_toba').stop(true, true).fadeOut();
			$('#cbal_toba').stop(true, false).whatSlideOut();
		});
		$('#cbtn_owase').hover(function() {
			$('#cbox_owase').stop(true, true).fadeIn();
			$('#cbal_owase').stop(true, false).whatSlideIn();
		},function() {
			$('#cbox_owase').stop(true, true).fadeOut();
			$('#cbal_owase').stop(true, false).whatSlideOut();
		});

		$('#trbtn_kuwana').hover(function() {
			$('#trbox_kuwana').stop(true, true).fadeIn();
			$('#trbal_kuwana').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_kuwana').stop(true, true).fadeOut();
			$('#trbal_kuwana').stop(true, false).whatSlideOut();
		});
		$('#trbtn_yunoyama').hover(function() {
			$('#trbox_yunoyama').stop(true, true).fadeIn();
			$('#trbal_yunoyama').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_yunoyama').stop(true, true).fadeOut();
			$('#trbal_yunoyama').stop(true, false).whatSlideOut();
		});
		$('#trbtn_yokkaichi1').hover(function() {
			$('#trbox_yokkaichi1').stop(true, true).fadeIn();
			$('#trbal_yokkaichi1').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_yokkaichi1').stop(true, true).fadeOut();
			$('#trbal_yokkaichi1').stop(true, false).whatSlideOut();
		});
		$('#trbtn_yokkaichi2').hover(function() {
			$('#trbox_yokkaichi2').stop(true, true).fadeIn();
			$('#trbal_yokkaichi2').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_yokkaichi2').stop(true, true).fadeOut();
			$('#trbal_yokkaichi2').stop(true, false).whatSlideOut();
		});
		$('#trbtn_ueno').hover(function() {
			$('#trbox_ueno').stop(true, true).fadeIn();
			$('#trbal_ueno').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_ueno').stop(true, true).fadeOut();
			$('#trbal_ueno').stop(true, false).whatSlideOut();
		});
		$('#trbtn_kameyama').hover(function() {
			$('#trbox_kameyama').stop(true, true).fadeIn();
			$('#trbal_kameyama').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_kameyama').stop(true, true).fadeOut();
			$('#trbal_kameyama').stop(true, false).whatSlideOut();
		});
		$('#trbtn_tsu').hover(function() {
			$('#trbox_tsu').stop(true, true).fadeIn();
			$('#trbal_tsu').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_tsu').stop(true, true).fadeOut();
			$('#trbal_tsu').stop(true, false).whatSlideOut();
		});
		$('#trbtn_matsusaka').hover(function() {
			$('#trbox_matsusaka').stop(true, true).fadeIn();
			$('#trbal_matsusaka').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_matsusaka').stop(true, true).fadeOut();
			$('#trbal_matsusaka').stop(true, false).whatSlideOut();
		});
		$('#trbtn_ise').hover(function() {
			$('#trbox_ise').stop(true, true).fadeIn();
			$('#trbal_ise').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_ise').stop(true, true).fadeOut();
			$('#trbal_ise').stop(true, false).whatSlideOut();
		});
		$('#trbtn_toba').hover(function() {
			$('#trbox_toba').stop(true, true).fadeIn();
			$('#trbal_toba').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_toba').stop(true, true).fadeOut();
			$('#trbal_toba').stop(true, false).whatSlideOut();
		});
		$('#trbtn_owase').hover(function() {
			$('#trbox_owase').stop(true, true).fadeIn();
			$('#trbal_owase').stop(true, false).whatSlideIn();
		},function() {
			$('#trbox_owase').stop(true, true).fadeOut();
			$('#trbal_owase').stop(true, false).whatSlideOut();
		});

	}
});


