function showhide(id){
	if(document.getElementById){
		if(document.getElementById(id).style.display == "block"){
			document.getElementById(id).style.display = "none";
		}else{
			document.getElementById(id).style.display = "block";
		}
	}
}

function fixURL(){
	switch (true){
		case location.pathname == "/english/":
			location.href='/#/english';
			break;
		case (location.pathname.indexOf("/english/news/") > -1):
			location.href='/news/';
			break;
		case location.pathname == "/downloads/":
			location.href='/products/';
			break;
		case (location.pathname.indexOf("/products/fc-accessory") > -1):
			location.href="/products/";
			break;
		case location.pathname == "/products/":
			location.href='/products/lotta/';
			break;
		case location.pathname == "/products/g9/concept/":
		case location.pathname == "/products/g9/concept/index.html":
			location.href="/products/g9/";
			break;
		case location.pathname == "/products/yayoi-kusama/concept/":
		case location.pathname == "/products/yayoi-kusama/concept/index.html":
			location.href="/products/yayoi-kusama/";
			break;
		case location.pathname == "/products/misora/concept/":
		case location.pathname == "/products/misora/concept/index.html":
			location.href="/products/misora/";
			break;
		case location.pathname == "/products/ply/concept/":
		case location.pathname == "/products/ply/concept/index.html":
			location.href="/products/ply/";
			break;
		case location.pathname == "/products/ac-adapter/concept/":
		case location.pathname == "/products/ac-adapter/concept/index.html":
			location.href="/products/ac-adapter/";
			break;
		case location.pathname == "/products/ac-adapter-midori/concept/":
		case location.pathname == "/products/ac-adapter-midori/concept/index.html":
			location.href="/products/ac-adapter-midori/";
			break;
		case location.pathname == "/products/mobile-pico-projector/concept/":
		case location.pathname == "/products/mobile-pico-projector/concept/index.html":
			location.href="/products/mobile-pico-projector/";
			break;
		case location.pathname == "/products/future-concepts/concept/":
		case location.pathname == "/products/future-concepts/concept/index.html":
			location.href="/products/future-concepts/";
			break;
		case location.pathname == "/products/gakki-to-keitai/concept/":
		case location.pathname == "/products/gakki-to-keitai/concept/index.html":
			location.href="/products/gakki-to-keitai/";
			break;
		case location.pathname == "/products/solar-phone-concepts/concept/":
		case location.pathname == "/products/solar-phone-concepts/concept/index.html":
			location.href="/products/solar-phone-concepts/";
			break;
			
			
		case location.pathname == "/english/products/g9/concept/":
		case location.pathname == "/english/products/g9/concept/index.html":
			location.href="/english/products/g9/";
			break;
		case location.pathname == "/english/products/yayoi-kusama/concept/":
		case location.pathname == "/english/products/yayoi-kusama/concept/index.html":
			location.href="/english/products/yayoi-kusama/";
			break;
		case location.pathname == "/english/products/misora/concept/":
		case location.pathname == "/english/products/misora/concept/index.html":
			location.href="/english/products/misora/";
			break;
		case location.pathname == "/english/products/ply/concept/":
		case location.pathname == "/english/products/ply/concept/index.html":
			location.href="/english/products/ply/";
			break;
		case location.pathname == "/english/products/solar-phone-concepts/concept/":
		case location.pathname == "/english/products/solar-phone-concepts/concept/index.html":
			location.href="/english/products/solar-phone-concepts/";
			break;
		case location.pathname == "/english/products/gakki-to-keitai/concept/":
		case location.pathname == "/english/products/gakki-to-keitai/concept/index.html":
			location.href="/english/products/gakki-to-keitai/";
			break;
		case location.pathname == "/english/products/ac-adapter/concept/":
		case location.pathname == "/english/products/ac-adapter/concept/index.html":
			location.href="/english/products/ac-adapter/";
			break;
		case location.pathname == "/english/products/ac-adapter-midori/concept/":
		case location.pathname == "/english/products/ac-adapter-midori/concept/index.html":
			location.href="/english/products/ac-adapter-midori/";
			break;
		case location.pathname == "/english/products/mobile-pico-projector/concept/":
		case location.pathname == "/english/products/mobile-pico-projector/concept/index.html":
			location.href="/english/products/mobile-pico-projector/";
			break;
		case location.pathname == "/english/products/future-concepts/concept/":
		case location.pathname == "/english/products/future-concepts/concept/index.html":
			location.href="/english/products/future-concepts/";
			break;
		default:
			return true;
			break;
	}
}
