function AllResize(){
	FooterRemove();
	LogoRemove();
	if(fd_url == "tube" || fd_url == "sakamoto" || fd_url == "eco"){
	WindowResize();
	}
}
function WindowResize(){
	if(document.all){
		document.all("screen").style.width = document.body.clientWidth;
		document.all("screen").style.height = document.body.clientHeight;
		document.all("movie_position").style.left = (document.body.clientWidth - movie_width)/2 - 200;
		document.all("movie_position").style.top = (document.body.clientHeight - movie_height)/2;
		document.all("footer_base").style.top = document.body.clientHeight - 70;
		document.all("copy_base").style.top = document.body.clientHeight - 20;
	}else if(document.getElementById){
		document.getElementById("screen").style.width = window.innerWidth;
		document.getElementById("screen").style.height = window.innerHeight;
		document.getElementById("movie_position").style.left = (window.innerWidth - movie_width)/2 - 200;
		document.getElementById("movie_position").style.top = (window.innerHeight - movie_height)/2;
		document.getElementById("footer_base").style.top = window.innerHeight - 70;
		document.getElementById("copy_base").style.top = window.innerHeight - 20;
	}
}
function PluginCheck(){
	if(document.all){
		document.all("plug").style.left = (document.body.clientWidth - 262)/2;
		document.all("plug").style.top = (document.body.clientHeight - 13)/2;
	}else if(document.getElementById){
		document.getElementById("plug").style.left = (document.body.innerWidth - 262)/2;
		document.getElementById("plug").style.top = (document.body.innerHeight - 13)/2;
	}
}
function MacIE(){
document.write('<style type="text/css">body {overflow: hidden;}</style>');
document.write('<div id="mac" class="dragme" style="z-index:1;">このページはMac版IEには対応しておりません。</div>');
	if(document.all){
		document.all("mac").style.left = (document.body.clientWidth - 217)/2;
		document.all("mac").style.top = (document.body.clientHeight - 13)/2;
	}else if(document.getElementById){
		document.getElementById("mac").style.left = (document.body.innerWidth - 217)/2;
		document.getElementById("mac").style.top = (document.body.innerHeight - 13)/2;
	}
}
function FooterRemove(){
	if(document.all){
		document.all("footer_base").style.top = document.body.clientHeight - 95;
		document.all("copy_base").style.top = document.body.clientHeight - 45;
	}else if(document.getElementById){
		document.getElementById("footer_base").style.top = window.innerHeight - 95;
		document.getElementById("copy_base").style.top = window.innerHeight - 45;
	}
}
function UnderConstruction(){
	if(document.all){
		document.all("box1").style.left = (document.body.clientWidth - 190)/2 - 200;
		document.all("box1").style.top = (document.body.clientHeight - 190)/2;
	}else if(document.getElementById){
		document.getElementById("box1").style.left = (document.body.innerWidth - 190)/2;
		document.getElementById("box1").style.top = (document.body.innerHeight - 190)/2;
	}
}
function LogoRemove(){
	if(document.all){
		document.all("logo_null").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_null").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_top").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_top").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_media").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_media").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_sakamoto").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_sakamoto").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_artists").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_artists").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_tube").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_tube").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_eco").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_eco").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_mart").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_mart").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_letter").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_letter").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_link").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_link").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_voices").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_voices").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_about").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_about").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_who").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_who").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_press").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_press").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_credit").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_credit").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_policy").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_policy").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_personal").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_personal").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_contact").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_contact").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_english").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_english").style.top = (document.body.clientHeight - 82)/2;
		document.all("logo_release").style.left = (document.body.clientWidth - 652)/2+30;
		document.all("logo_release").style.top = (document.body.clientHeight - 82)/2;
	}else if(document.getElementById){
		document.getElementById("logo_null").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_null").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_top").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_top").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_media").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_media").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_sakamoto").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_sakamoto").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_artists").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_artists").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_tube").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_tube").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_eco").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_eco").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_mart").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_mart").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_letter").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_letter").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_link").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_link").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_voices").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_voices").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_about").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_about").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_who").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_who").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_press").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_press").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_credit").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_credit").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_policy").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_policy").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_personal").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_personal").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_contact").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_contact").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_english").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_english").style.top = (window.innerHeight - 82)/2;
		document.getElementById("logo_release").style.left = (window.innerWidth - 652)/2+30;
		document.getElementById("logo_release").style.top = (window.innerHeight - 82)/2;
	}
}
window.onresize = AllResize;