/*
UPDATE : 2011.03.03
CAMPANY : 株式会社KOUS
AUTOR : GAINA k.watuu

-----------------------------------------------------------

	Index
	1.external
	2.a img fade
	3.IE6 png
	4.other


-----------------------------------------------------------

 1.reset [
----------------------------------------------------------- */
jQuery(function(){
	//外部リンクにtarget="_blank"を付与
	$("a[href^='http://']").attr("target","_blank");
	//擬似クラスの明示化
	$('body :first-child').addClass('firstChild');
	$('body :last-child').addClass('lastChild');
	$('ul, ol').each(function(){
		$(this).children('li:odd').addClass('even');
		$(this).children('li:even').addClass('odd');
	});
});

/*
 2.link [
----------------------------------------------------------- */
jQuery(function(){
  $("#main a img ,#header h1").each(function(){
		$(this).hover(
		  function(){
				$(this).fadeTo(150,0.65);
			},
			function(){
				$(this).fadeTo(150,1.0);
			});
  });
});

/*
 3.IE6 png [
----------------------------------------------------------- */
$(document).ready(function(){ 
		$(document).pngFix(); 
}); 

/*
 4.other [
----------------------------------------------------------- */
$(document).ready(function(){ 
		$("#g_navi").addClass("allbtn"); 
		$("#h_navi").addClass("allbtn"); 
		$("#g_navi").addClass("selflink"); 
		$("#h_navi").addClass("selflink"); 
}); 



