// JavaScript Document
// jQuery Verson 1.3.1


//外部サイトを別窓で開く
$(document).ready( function () {
	var Lhost = location.hostname;
	Lhost = "http://"+Lhost+"/";
	$('a[href^="http"]').not('[href^='+Lhost+']').not("a.not_blank").click(function(){
	window.open(this.href, '');
	return false;
	});
	$('a[href^="http"]').not('[href^='+Lhost+']').not("a.not_blank").addClass("exLink");
});


//curvycorners設定
$(document).ready( function(){
	settings = {
			  tl: { radius: 20 },
			  tr: { radius: 20 },
			  bl: { radius: 20 },
			  br: { radius: 20 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"]
		  }
		  var myBoxObject = new curvyCorners(settings, "JCorner");
		  myBoxObject.applyCornersToAll();
});

$(document).ready( function(){
	settings = {
			  tl: { radius: 24 },
			  tr: { radius: 24 },
			  bl: { radius: 24 },
			  br: { radius: 24 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"]
		  }
		  var myBoxObject = new curvyCorners(settings, "JCorner_resform");
		  myBoxObject.applyCornersToAll();
});

$(document).ready( function(){
	settings = {
			  tl: { radius: 12 },
			  tr: { radius: 12 },
			  bl: { radius: 12 },
			  br: { radius: 12 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"]
		  }
		  var myBoxObject = new curvyCorners(settings, "JCorner_relations");
		  myBoxObject.applyCornersToAll();
});



$(document).ready( function(){
	$('#IE .IEMessT').click( function(){
		$('.IE_02').slideToggle(1000);
	});
});

//ロールオーバー
$(document).ready( function(){
	$('#RSSFeed').mouseover( function(){ $("#RSSFeed img").attr( { src : "http://tama-curo_ver04.info/wp-content/themes/chrome4/img/site/rss_on.png" }); });
	$('#RSSFeed').mouseout( function(){ $("#RSSFeed img").attr( { src : "http://tama-curo_ver04.info/wp-content/themes/chrome4/img/site/rss_off.png" }); });
	
	$('.GAList').mouseover( function(){ $(this).css({ background : "#eee" }); });
	$('.GAList').mouseout( function(){ $(this).css({ background : "#fff" }); });
});

//装飾
$(document).ready( function() {
	
	$("#PersonalStatusList li ").not(".Last a").before("｜");
	$("#GlobalFooterMenu li").before("｜");
	$("#GlobalFooterMenu li.Last").after("｜");
	$("#Pankuzu ul li a").not("#PersonalStatusList li a").after(" ≫ ");

});
