
$(document).ready(
	function()
	{
		$('.blank').click(
			function()
				{
					this.target='_blank';
				});
});

$(document).ready(
	function()
	{
		$('#link_otake').hover(
			function()
			{
				$('#homepage-3').removeClass('img_orion img_general img_daitsu').addClass('img_otake');
				$('#homepage-2').removeClass('tech_orion tech_general tech_daitsu').addClass('tech_otake');
			}
		)
		
		$('#link_orion').hover(
			function()
			{
				$('#homepage-3').removeClass('img_otake img_general img_daitsu').addClass('img_orion');
				$('#homepage-2').removeClass('tech_otake tech_general tech_daitsu').addClass('tech_orion');
			}
		)
		
		$('#link_general').hover(
			function()
			{
				$('#homepage-3').removeClass('img_otake img_orion img_daitsu').addClass('img_general');
				$('#homepage-2').removeClass('tech_otake tech_orion tech_daitsu').addClass('tech_general');
			}
		)
		
		$('#link_daitsu').hover(
			function()
			{
				$('#homepage-3').removeClass('img_otake img_general img_orion').addClass('img_daitsu');
				$('#homepage-2').removeClass('tech_otake tech_general tech_orion').addClass('tech_daitsu');
			}
		)
});

$(document).ready(
	function()
	{
		//orion box
		$('a.orion_sl').mouseover(
			function()
			{
				$('.orion_sl_box').fadeIn('fast', function() {});
			}
		)
		$('a.orion_sl').mouseout(
			function()
			{
				$('.orion_sl_box').fadeOut('fast', function() {});
			}
		)
		
		//otake box
		$('a.otake_sl').mouseover(
			function()
			{
				$('.otake_sl_box').fadeIn('fast', function() {});
			}
		)
		$('a.otake_sl').mouseout(
			function()
			{
				$('.otake_sl_box').fadeOut('fast', function() {});
			}
		)
		
		//general box
		$('a.general_sl').mouseover(
			function()
			{
				$('.general_sl_box').fadeIn('fast', function() {});
			}
		)
		$('a.general_sl').mouseout(
			function()
			{
				$('.general_sl_box').fadeOut('fast', function() {});
			}
		)
		
		//daitsu box
		$('a.daitsu_sl').mouseover(
			function()
			{
				$('.daitsu_sl_box').fadeIn('fast', function() {});
			}
		)
		$('a.daitsu_sl').mouseout(
			function()
			{
				$('.daitsu_sl_box').fadeOut('fast', function() {});
			}
		)
		
	});


$(document).ready(
	function()
	{
		$('h1').click(
			function()
				{
					window.location = 'index.html';
					return false;
				});
});
