function switchoff(layer)
{
	if (layer == "all")
	{
		switchoff("infolayer");
		switchoff("storylayer");
		switchoff("Characterslayer");
		switchoff("Weaponslayer");
		switchoff("screenshotlayer");
		switchoff("anotherworld");		
	}
	else
	{
		var maincell = window.document.getElementById(layer);
	    maincell.style.visibility = 'hidden';
 	}
}

function switchon(layer)
{
	var maincell = window.document.getElementById(layer);
    maincell.style.visibility = 'visible';
}