/* * common.js */ /* :::::: GUIDE :::::: */$(function() {	//ご利用ガイド	$('li.guide a, p.close a').click(function(){    $('#guide').slideToggle('fast');	});});/* :::::: MAIN VISUAL :::::: */$(function() {	$('#main > ul').tabs({		fx: { opacity: 'toggle', duration: 'fast'  }	}).tabs('rotate', 6000);});/* :::::: GEORGE & NANCY :::::: */$(function() {	$('#movie > ul').tabs({		fx: { opacity: 'toggle', duration: 'fast'  }	}).tabs('rotate', 5000);});/* :::::: CAROUSEL BANNER :::::: */$(function() {		var speed = 5000;	var run = setInterval('rotate()', speed);		var item_width = $('#slides li').outerWidth(); 	var left_value = item_width * (-1); 	$('#slides li:first').before($('#slides li:last'));	$('#slides ul').css({'left' : left_value});	$('#prev').click(function() {		var left_indent = parseInt($('#slides ul').css('left')) + item_width;		$('#slides ul:not(:animated)').animate({'left' : left_indent}, 200,function(){    			$('#slides li:first').before($('#slides li:last'));           			$('#slides ul').css({'left' : left_value});		});		return false;	});	$('#next').click(function() {		var left_indent = parseInt($('#slides ul').css('left')) - item_width;		$('#slides ul:not(:animated)').animate({'left' : left_indent}, 200, function () {			$('#slides li:last').after($('#slides li:first'));                 				$('#slides ul').css({'left' : left_value});		});		return false;	});        	$('#slides').hover(		function() {			clearInterval(run);		}, 		function() {			run = setInterval('rotate()', speed);			}	); });function rotate() {	$('#next').click();}/* :::::: GO TOP :::::: */$(function() {		$('li.goTop > a').click(function(){		var target;		target = $('#wrapper, #wrapperH');		$('html, body').animate({scrollTop: target.offset().top});		return false;	});	$('li.goNav > a').click(function(){		var target;		target = $('#iNav');		$('html, body').animate({scrollTop: target.offset().top});		return false;	});	$('li.pagetop > a').click(function(){		var target;		target = $('#wrapper, #wrapperH');		$('html, body').animate({scrollTop: target.offset().top});		return false;	});	$('li.itemsearch > a').click(function(){		var target;		target = $('#iNav');		$('html, body').animate({scrollTop: target.offset().top});		return false;	});	$('p.pagetop > a').click(function(){		var target;		target = $('#wrapper');		$('html, body').animate({scrollTop: target.offset().top});		return false;	});});/*  :::::: LIGHT BOX :::::: */$(function() {  	$('#lb a, #PHOTO_0 a, #tshirt-navi a.lb').lightBox();  }); /*  :::::: exfixed :::::: */$(function() {		$('#bnrL,#bnrR').exFixed(); // for IE6});
