function changeImages() 
{ 
	d = document; 
	if (d.images) 
	{ 
		var img; 
		for (var i=0; i<changeImages.arguments.length; i+=2) 
		{ 
			img = null; 
			img = document.getElementById(changeImages.arguments[i]); 
			if (img) {img.src = changeImages.arguments[i+1];} 
		} 
	} 
} 

function OnOff(n){
	var hide;
	var nTag = document.getElementById(n);
//	alert(nTag.currentStyle);
	if(nTag)
		{	
			//alert(nTag.style.display);
			if( nTag.style.display == 'none')
				{	hide = 0;	}
				if( nTag.style.display == '')
				{	hide = 1;	}
		}
	hide=!hide;
//	alert(hide);
		if( hide )
			{	
	//			alert("1");
				nTag.style.display = '';
			}
		else
			{	
//				alert("0");
				nTag.style.display = 'none';
			}
}

function plus_minus(id)
{
	id.innerText = (id.innerText == "+") ? "--" : "+";
}

//-------------------------------------------
	var hideMenu = null;
//===========================================
function SubShow(id){ 
//===========================================
//  Отобразить блок
//===========================================
		document.getElementById(id).className = 'v';
}
//===========================================
function SubHide(id){ 
//===========================================
//  Скрыть блок
//===========================================
		document.getElementById(id).className = 'h';
}
//===========================================
function Show(){
	var xAll=document.body.clientWidth;
	var s_x=0;
	var b_x=0;
	
	if(xAll<=740)
	{
		s_x=220;
		b_x=0;
	}
	else
	{
		s_x=220+(((xAll-740)/2)/20);
		b_x=((xAll-740)/10);
	}

	document.getElementById("small").style.left=s_x;
	document.getElementById("big").style.left=b_x;

}