// JavaScript Document

$(document).ready(function(){
	$('body').pngFix();
	//$('#baserk0008').height($("#baserk0011").height());
	/*if ($("#baserk0008").height()<280)
	{
		$("#baserk0008").height(280);
	}
	else
	{
		$("#baserk0008").height($("#baserk0011").height());
	};*/
	$("#baserk000902isub").smarquee(
		{
			isEqual:false,
			distance:20,
			time:2,
			//btnGo:{up:'#goU',down:'#goD'},
			direction:'up'
		}
	);
	/*******************************************/
	$("#baserk0004 div").hover(
		function(){
			$(this).children("ul").fadeIn('slow');
		},function(){
			$(this).children("ul").fadeOut('fast')
		});
	$("#baserk0004i div").hover(
		function(){
			$(this).children("ul").fadeIn('slow');
		},function(){
			$(this).children("ul").fadeOut('fast')
		});
	$('#baserk0006').flash({ 
		src: 'baserk/baserk2b01.swf',
		width: 230,
		height: 118,
		wmode: 'opaque'
	},
	{
		version: 8
	});
	$('#baserk0006i').flash({ 
		src: 'baserk/baserk2b01i.swf',
		width: 230,
		height: 316,
		wmode: 'opaque'
	},
	{
		version: 8
	});
	$('#baserk0007i').flash({ 
		src: 'baserk/baserk2b02i.swf',
		width: 670,
		height: 316,
		wmode: 'opaque'
	},
	{
		version: 8
	});
	$('#baserk_music div').flash({ 
		src: 'baserk.swf',
		width: 28,
		height: 28,
		wmode: 'transparent'
	},
	{
		version: 8
	});
	$("#baserk000901 a").hover(function() {
		$(this).children("img").animate({opacity: "0.7"}, "slow");
	}, function() {
		$(this).children("img").animate({opacity: "1"}, "fast");
	});
	$(".baserk0012a1 a").hover(function() {
		$(this).children("img").animate({opacity: "0.7"}, "slow");
	}, function() {
		$(this).children("img").animate({opacity: "1"}, "fast");
	});
	$(".baserk0017 a").hover(function() {
		$(this).children("img").animate({opacity: "0.6"}, "slow");
	}, function() {
		$(this).children("img").animate({opacity: "1"}, "slow");
	});
});

