/*--------------------------------------------------------------------------*
*
*	common js
*
*	(C) Remixpoint, Inc. All Rights Reserved.
*	
*	2009 Remixpoint, Inc.
*	http://www.remixpoint.co.jp
*
*	Last Modified: 2009-07-27
*	Last Editor: Toshiyuki Hara
*
*	jQuery 1.3.2
/*--------------------------------------------------------------------------*/

(function($){


	$(function(){

/*--------------------------------------------------------------------------*
 *	マウスオーバー
/*--------------------------------------------------------------------------*/
		$.fn.mouseHover = function(){
			$(this).live("mouseover" , function(){
				$(this).animate({opacity : '0.7'},250);
			});

			$(this).live("mouseout" , function(){
				$(this).animate({opacity : '1.0'},250);
			});
		}

		$('.mOver , #navTab a').mouseHover();


	//target属性を使わずにリンク先を別ウインドで開く
/*--------------------------------------------------------------------------*
*	リンク先を別ウインドで開く
/*--------------------------------------------------------------------------*/
		$('.externalLink').live('click',function(){
				window.open(this.href, '_blank');
				return false;
		});


		$.fn.borderHover = function() {
			$(this).live("mouseover" , function(){
				$(this).parents("li").addClass("hoverBoder");
			}).live("mouseout" , function(){
				$(this).parents("li").removeClass("hoverBoder");
			});
		}
		$("#thumbList img").borderHover();
/*
		$('#thumbList img').hover(
			function(){
				$(this).parents("li").addClass("hoverBoder");
			},
			function(){
				$(this).parents("li").removeClass("hoverBoder");
			}
		);
*/



	});


})(jQuery);
























