var logo_id = 0;
var logo_cache = 0;
var send_logo_id = 0;
var logo_alpha = 0;
var fd_num2 = 0;
function fd_logo(fd_url,fd_num){
	re_logodata();
	logo_id = fd_url;
	fd_num2 = fd_num;
	ch_zindex(logo_id);
	ch_alpha(logo_id);
}
function re_logodata(){
	logo_alpha = 0;
}
function ch_zindex(logo_id){
	if(document.getElementById){
		zindex0_1();
		document.getElementById('logo_'+logo_id).style.zIndex=1;
	}
	else if(document.all){
		zindex0_2();
		document.all('logo_'+logo_id).style.zIndex=1;
	}
	else if(document.layers){
		zindex0_3();
		document.layers['logo_'+logo_id].zIndex=1;
	}
}
function ch_alpha(logo_id){
	target_logo = document.getElementById('logo_'+logo_id);
	target_logo.style.filter = 'alpha(opacity=' + logo_alpha + ')';
	target_logo.style.MozOpacity = logo_alpha/100;
	target_logo.style.opacity = logo_alpha/100;
	logo_alpha += 10;
	if(logo_alpha == 100){
		alpha0_all();
		target_logo = document.getElementById('logo_'+logo_id);
		target_logo.style.filter = 'alpha(opacity=' + 100 + ')';
		target_logo.style.MozOpacity = 1;
		target_logo.style.opacity = 1;
		return;
	}
	setTimeout("ch_alpha(logo_id)",10);
}
function zindex0_1(){
	document.getElementById('logo_null').style.zIndex=0;
	document.getElementById('logo_top').style.zIndex=0;
	document.getElementById('logo_media').style.zIndex=0;
	document.getElementById('logo_sakamoto').style.zIndex=0;
	document.getElementById('logo_artists').style.zIndex=0;
	document.getElementById('logo_tube').style.zIndex=0;
	document.getElementById('logo_eco').style.zIndex=0;
	document.getElementById('logo_mart').style.zIndex=0;
	document.getElementById('logo_letter').style.zIndex=0;
	document.getElementById('logo_link').style.zIndex=0;
	document.getElementById('logo_voices').style.zIndex=0;
	document.getElementById('logo_about').style.zIndex=0;
	document.getElementById('logo_who').style.zIndex=0;
	document.getElementById('logo_press').style.zIndex=0;
	document.getElementById('logo_credit').style.zIndex=0;
	document.getElementById('logo_policy').style.zIndex=0;
	document.getElementById('logo_personal').style.zIndex=0;
	document.getElementById('logo_contact').style.zIndex=0;
	document.getElementById('logo_english').style.zIndex=0;
	document.getElementById('logo_release').style.zIndex=0;
}
function zindex0_2(){
	document.all('logo_null').style.zIndex=0;
	document.all('logo_top').style.zIndex=0;
	document.all('logo_media').style.zIndex=0;
	document.all('logo_sakamoto').style.zIndex=0;
	document.all('logo_artists').style.zIndex=0;
	document.all('logo_tube').style.zIndex=0;
	document.all('logo_eco').style.zIndex=0;
	document.all('logo_mart').style.zIndex=0;
	document.all('logo_letter').style.zIndex=0;
	document.all('logo_link').style.zIndex=0;
	document.all('logo_voices').style.zIndex=0;
	document.all('logo_about').style.zIndex=0;
	document.all('logo_who').style.zIndex=0;
	document.all('logo_press').style.zIndex=0;
	document.all('logo_credit').style.zIndex=0;
	document.all('logo_policy').style.zIndex=0;
	document.all('logo_personal').style.zIndex=0;
	document.all('logo_contact').style.zIndex=0;
	document.all('logo_english').style.zIndex=0;
	document.all('logo_release').style.zIndex=0;
}
function zindex0_3(){
	document.layers('logo_null').zIndex=0;
	document.layers('logo_top').zIndex=0;
	document.layers('logo_media').zIndex=0;
	document.layers('logo_sakamoto').zIndex=0;
	document.layers('logo_artists').zIndex=0;
	document.layers('logo_tube').zIndex=0;
	document.layers('logo_eco').zIndex=0;
	document.layers('logo_mart').zIndex=0;
	document.layers('logo_letter').zIndex=0;
	document.layers('logo_link').zIndex=0;
	document.layers('logo_voices').zIndex=0;
	document.layers('logo_about').zIndex=0;
	document.layers('logo_who').zIndex=0;
	document.layers('logo_press').zIndex=0;
	document.layers('logo_credit').zIndex=0;
	document.layers('logo_policy').zIndex=0;
	document.layers('logo_personal').zIndex=0;
	document.layers('logo_contact').zIndex=0;
	document.layers('logo_english').zIndex=0;
	document.layers('logo_release').zIndex=0;
}
function alpha0_all(){
	target_logo = document.getElementById('logo_null');
	alpha0_one();
	target_logo = document.getElementById('logo_top');
	alpha0_one();
	target_logo = document.getElementById('logo_media');
	alpha0_one();
	target_logo = document.getElementById('logo_sakamoto');
	alpha0_one();
	target_logo = document.getElementById('logo_artists');
	alpha0_one();
	target_logo = document.getElementById('logo_tube');
	alpha0_one();
	target_logo = document.getElementById('logo_eco');
	alpha0_one();
	target_logo = document.getElementById('logo_mart');
	alpha0_one();
	target_logo = document.getElementById('logo_letter');
	alpha0_one();
	target_logo = document.getElementById('logo_link');
	alpha0_one();
	target_logo = document.getElementById('logo_voices');
	alpha0_one();
	target_logo = document.getElementById('logo_about');
	alpha0_one();
	target_logo = document.getElementById('logo_who');
	alpha0_one();
	target_logo = document.getElementById('logo_press');
	alpha0_one();
	target_logo = document.getElementById('logo_credit');
	alpha0_one();
	target_logo = document.getElementById('logo_policy');
	alpha0_one();
	target_logo = document.getElementById('logo_personal');
	alpha0_one();
	target_logo = document.getElementById('logo_contact');
	alpha0_one();
	target_logo = document.getElementById('logo_english');
	alpha0_one();
	target_logo = document.getElementById('logo_release');
	alpha0_one();
}
function alpha0_one(){
	target_logo.style.filter = 'alpha(opacity=' + 0 + ')';
	target_logo.style.MozOpacity = 0;
	target_logo.style.opacity = 0;	
}



