function ChangeStyle(value)
{	
	if (document.getElementById('event' + value))
	{
		var bodyFon = document.getElementById('event' + value);
	
		if (bodyFon.className == "event" + value)
		{			
			bodyFon.className = "event" + value + "-on";
		}
	}
}

function ChangeStyleOut(value)
{	
	if (document.getElementById('event' + value))
	{
		var bodyFon = document.getElementById('event' + value);
	
		if (bodyFon.className == "event" + value + "-on")
		{			
			bodyFon.className = "event" + value;
		}
	}
}

function toEng()
{
strURL=document.URL;
arrayURL=strURL.split("/");
tourl='/eng';
for (ii=3; ii<arrayURL.length; ii++) 
tourl+='/'+arrayURL[ii];
location.href=tourl;	
}

function toRus()
{
strURL=document.URL;
arrayURL=strURL.split("/");
tourl='';
for (ii=4; ii<arrayURL.length; ii++) 
tourl+='/'+arrayURL[ii];
location.href=tourl;	
}


