	video_off = new Image();
	video_off.src= 'http://www.posly.ru/images/but_about.gif';
	video_on = new Image();
	video_on.src= 'http://www.posly.ru/images/but_about_active.gif';
	
	downloads_off = new Image();
	downloads_off.src= 'http://www.posly.ru/images/but_visa.gif';
	downloads_on = new Image();
	downloads_on.src= 'http://www.posly.ru/images/but_visa_active.gif';
	
	photos_off = new Image();
	photos_off.src= 'http://www.posly.ru/images/but_visa.gif';
	photos_on = new Image();
	photos_on.src= 'http://www.posly.ru/images/but_visa_active.gif';
	
	radio_off = new Image();
	radio_off.src= 'http://www.posly.ru/images/but_embassy.gif';
	radio_on = new Image();
	radio_on.src= 'http://www.posly.ru/images/but_embassy_active.gif';
	
	var videoActive = true;
	var downloadsActive = false;
	var photosActive = false;
	var radioActive = false;
	
	function closeDivs()
	{
		if (videoActive == true)
		{
			document.getElementById('video_div').style.visibility = 'hidden';
			document.getElementById('video').src = video_off.src;
			videoActive = false;
		}//end if
		else if (downloadsActive == true)
		{
			document.getElementById('downloads_div').style.visibility = 'hidden';
			document.getElementById('downloads').src = downloads_off.src;
			downloadsActive = false;
		}//end else if
		else if (photosActive == true)
		{
			document.getElementById('photos_div').style.visibility = 'hidden';
			document.getElementById('photos').src = photos_off.src;
			photosActive = false;
		}//end else if
		else
		{
			document.getElementById('radio_div').style.visibility = 'hidden';
			document.getElementById('radio').src = radio_off.src;
			radioActive = false;
		}//end else
	}//end closeDivs
	
	
	function mediaCenterRoll(id)
	{
		if (!(eval(id + 'Active == true')))
		{
			closeDivs();
			document.getElementById(id).src = eval(id + '_on').src;		
			document.getElementById(id + '_div').style.visibility = 'visible';			
			eval(id + 'Active = true');
		}//end else		
	}//end mediaCenterRoll

