// JavaScript Document
function logo_x(){
	var winSize = GetWindowSize_AN('width');
	var logoX = (winSize-708)/2-18;
	document.getElementById('logo').style.left=logoX+'px';
}
function GetWindowSize_AN(hiki){
	var iWindowWidth, iWindowHeight;
	
	// all except Explorer
	if(self.innerHeight){
		iWindowWidth = self.innerWidth;
		iWindowHeight = self.innerHeight;
	// Explorer 6 Strict Mode
	}else if(document.documentElement && document.documentElement.clientHeight){
		iWindowWidth = document.documentElement.clientWidth;
		iWindowHeight = document.documentElement.clientHeight;
	// other Explorers
	}else if(document.body){
		iWindowWidth = document.body.clientWidth;
		iWindowHeight = document.body.clientHeight;
	}
	
	if(hiki == "width"){
		return (iWindowWidth);
	} else {
		return (iWindowHeight);
	}
}
onresize = logo_x;
