
/*----------------------------------------------

	Theme Name:Nextware Ltd.
	http://www.nextware.co.jp/
	Description:Common Style Sheet　10-10-2008 (mm-dd-yyyy)
	Version:ver. 1.0

----------------------------------------------*/

$(document).ready(function() {

	$('#archives').find('a').each(function(){
		if( location.href.indexOf(this.href) != -1) {
			$(this).addClass('current');
		}
	});

	//$('.archivesBody').hide();
	$('.archivesHead').click(function(){
		$(this).next('dd').slideToggle('slow')
		.siblings('dd:visible').slideUp('slow');
		$(this).toggleClass('active');
		$(this).siblings('.archivesHead').removeClass('active');
	});

	$('#archives dt').hover(
		function() {
			$(this).addClass('hover');
		},
		function() {
			$(this).removeClass('hover');
	});

/*
	$('.asset-body a[@href^="http://"]').addClass("external");
	$('.asset-body a[@href^="http://"]').click(function() {
		window.open(this.href, '_blank');
		return false;
	});
*/

/*
	$("a:not([@href*=http://biz.nextware.co.jp])").not("[href^=#]")
		.addClass("external")
		.attr({ target: "_blank" });
*/

});


