function addOption (oListbox, text, value, isDefaultSelected, isSelected)
{
  var oOption = document.createElement("option");
  oOption.appendChild(document.createTextNode(text));
  oOption.setAttribute("value", value);

  if (isDefaultSelected) oOption.defaultSelected = true;
  else if (isSelected) oOption.selected = true;

  oListbox.appendChild(oOption);
}
function showOption(){
	var el = document.getElementById("material");
	if (el.options[el.selectedIndex].value == "Мелованная бумага"){
		
		
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");
		

		vidmaterial.style.display = 'none';	
		pokritie.style.display = 'block';	
		tisnenie_struktura.style.display = 'block';	
		color.style.display = 'none';	
		plotnosti.style.display = 'none';	
		
		vidmaterial_l.style.display = 'none';	
		pokritie_l.style.display = 'block';	
		tisnenie_struktura_l.style.display = 'block';	
		color_l.style.display = 'none';	
		plotnosti_l.style.display = 'none';	

		
		// заполняем массив	оптионов pokritie
		var pokritie = document.getElementById("pokritie");
		pokritie.options.length = 3;
		
		pokritie.options[0] = new Option("Любое", "");
		pokritie.options[1] = new Option("Глянцевое мелование", "Глянцевое мелование");
		pokritie.options[2] = new Option("Матовое мелование", "Матовое мелование");

		// заполняем массив	оптионов tisnenie-struktura
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		tisnenie_struktura.options.length = 2;
		tisnenie_struktura.options[0] = new Option("Любое", "");
		tisnenie_struktura.options[1] = new Option("Нет", "Нет");
	}
	if (el.options[el.selectedIndex].value == "Офсетная бумага"){

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");
		

		vidmaterial.style.display = 'none';	
		pokritie.style.display = 'none';	
		tisnenie_struktura.style.display = 'none';	
		color.style.display = 'none';	
		plotnosti.style.display = 'none';	
		
		vidmaterial_l.style.display = 'none';	
		pokritie_l.style.display = 'none';	
		tisnenie_struktura_l.style.display = 'none';	
		color_l.style.display = 'none';	
		plotnosti_l.style.display = 'none';	
	}
	if (el.options[el.selectedIndex].value == "Картон"){
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");
		

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'none';	
		tisnenie_struktura.style.display = 'none';	
		color.style.display = 'none';	
		plotnosti.style.display = 'block';	
		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'none';	
		tisnenie_struktura_l.style.display = 'none';	
		color_l.style.display = 'none';	
		plotnosti_l.style.display = 'block';	
		

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");		
		vidmaterial.options.length = 4;
		vidmaterial.options[0] = new Option("Любой", "");
		vidmaterial.options[1] = new Option("Целлюлозный", "Целлюлозный");
		vidmaterial.options[2] = new Option("Макулатурный", "Макулатурный");
		vidmaterial.options[3] = new Option("Пивной", "Пивной");
		
		// заполняем массив	оптионов plotnosti
		var plotnosti = document.getElementById("plotnosti");
		plotnosti.options.length = 7;
		plotnosti.options[0] = new Option("Любая", "");
		plotnosti.options[1] = new Option("160-195", "160-195");
		plotnosti.options[2] = new Option("200-250", "200-250");
		plotnosti.options[3] = new Option("255-300", "255-300");
		plotnosti.options[4] = new Option("305-350", "305-350");	
		plotnosti.options[5] = new Option("355-495", "355-495");
		plotnosti.options[6] = new Option(">500", ">500");	
	}
	if (el.options[el.selectedIndex].value == "Дизайнерская бумага"){
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");		

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'block';	
		tisnenie_struktura.style.display = 'block';	
		color.style.display = 'block';	
		plotnosti.style.display = 'block';
		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'block';	
		tisnenie_struktura_l.style.display = 'block';	
		color_l.style.display = 'block';	
		plotnosti_l.style.display = 'block';		

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 6;
		vidmaterial.options[0] = new Option("Любая", "");
		vidmaterial.options[1] = new Option("Цветная гладкая", "Цветная гладкая");
		vidmaterial.options[2] = new Option("Цветная с тиснением", "Цветная с тиснением");
		vidmaterial.options[3] = new Option("Со спецэффектами", "Со спецэффектами");
		vidmaterial.options[4] = new Option("Для корпоративного стиля", "Для корпоративного стиля");
		vidmaterial.options[5] = new Option("Кальки", "Кальки");
		
		// заполняем массив	оптионов pokritie
		var pokritie = document.getElementById("pokritie");
		pokritie.options.length = 5;
		pokritie.options[0] = new Option("Любое", "");
		pokritie.options[1] = new Option("Металлизированное", "Металлизированное");
		pokritie.options[2] = new Option("Латексное", "Латексное");
		pokritie.options[3] = new Option("Замша", "Замша");
		pokritie.options[4] = new Option("Литое мелование", "Литое мелование");

		// заполняем массив	оптионов tisnenie-struktura
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		tisnenie_struktura.options.length = 28;
		tisnenie_struktura.options[0] = new Option("Не важно", "");
		tisnenie_struktura.options[1] = new Option("Нет", "Нет");
		tisnenie_struktura.options[2] = new Option("Вафля", "Вафля");
		tisnenie_struktura.options[3] = new Option("Вельвет", "Вельвет");
		tisnenie_struktura.options[4] = new Option("Верже", "Верже");		
		tisnenie_struktura.options[5] = new Option("Волна", "Волна");
		tisnenie_struktura.options[6] = new Option("Геометрическое", "Геометрическое");
		tisnenie_struktura.options[7] = new Option("Дерево", "Дерево");
		tisnenie_struktura.options[8] = new Option("Дорожка", "Дорожка");
		tisnenie_struktura.options[9] = new Option("Коготь", "Коготь");
		tisnenie_struktura.options[10] = new Option("Кожа", "Кожа");
		tisnenie_struktura.options[11] = new Option("Лен", "Лен");
		tisnenie_struktura.options[12] = new Option("Линейное", "Линейное");
		tisnenie_struktura.options[13] = new Option("Микро", "Микро");
		tisnenie_struktura.options[14] = new Option("Микровельвет", "Микровельвет");
		tisnenie_struktura.options[15] = new Option("Микротекстиль", "Микротекстиль");
		tisnenie_struktura.options[16] = new Option("Мозаика", "Мозаика");
		tisnenie_struktura.options[17] = new Option("Молоток", "Молоток");
		tisnenie_struktura.options[18] = new Option("Песок", "Песок");
		tisnenie_struktura.options[19] = new Option("Призма", "Призма");
		tisnenie_struktura.options[20] = new Option("Растр", "Растр");
		tisnenie_struktura.options[21] = new Option("Рогожка", "Рогожка");
		tisnenie_struktura.options[22] = new Option("Рубчик", "Рубчик");
		tisnenie_struktura.options[23] = new Option("Фетр", "Фетр");
		tisnenie_struktura.options[24] = new Option("Холст", "Холст");
		tisnenie_struktura.options[25] = new Option("Шелк", "Шелк");
		tisnenie_struktura.options[26] = new Option("Ящерица", "Ящерица");
		tisnenie_struktura.options[27] = new Option("Голографическая", "Голографическая");
		

		// заполняем массив	оптионов color
		var color = document.getElementById("color");
		color.options.length = 5;
		color.options[0] = new Option("Любой", "");
		color.options[1] = new Option("Белые и пастельные оттенки", "Белые и пастельные оттенки");
		color.options[2] = new Option("Цветные", "Цветные");
		color.options[3] = new Option("Золото", "Золото");
		color.options[4] = new Option("Серебро", "Серебро");	
		
		// заполняем массив	оптионов plotnosti
		var plotnosti = document.getElementById("plotnosti");
		plotnosti.options.length = 9;
		plotnosti.options[0] = new Option("Любая", "");
		plotnosti.options[1] = new Option("17", "17");
		plotnosti.options[2] = new Option("21", "21");
		plotnosti.options[3] = new Option("24", "24");
		plotnosti.options[4] = new Option("<100", "<100");
		plotnosti.options[5] = new Option("110-150", "110-150");
		plotnosti.options[6] = new Option("160-200", "160-200");	
		plotnosti.options[7] = new Option("210-300", "210-300");	
		plotnosti.options[8] = new Option(">310", ">310");	


	}
	if (el.options[el.selectedIndex].value == "Бумаги для цифровой печати"){
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");		

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'block';	
		tisnenie_struktura.style.display = 'block';	
		color.style.display = 'block';	
		plotnosti.style.display = 'block';
		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'block';	
		tisnenie_struktura_l.style.display = 'block';	
		color_l.style.display = 'block';	
		plotnosti_l.style.display = 'block';		

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 1;
		vidmaterial.options[0] = new Option("Любая", "");
		
		// заполняем массив	оптионов pokritie
		var pokritie = document.getElementById("pokritie");
		pokritie.options.length = 1;
		pokritie.options[0] = new Option("Любое", "");

		// заполняем массив	оптионов tisnenie-struktura
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		tisnenie_struktura.options.length = 1;
		tisnenie_struktura.options[0] = new Option("Любое", "");

		// заполняем массив	оптионов color
		var color = document.getElementById("color");
		color.options.length = 1;
		color.options[0] = new Option("Любой", "");
		
		// заполняем массив	оптионов plotnosti
		var plotnosti = document.getElementById("plotnosti");
		plotnosti.options.length = 1;
		plotnosti.options[0] = new Option("Любая", "");

	}
	if (el.options[el.selectedIndex].value == "Этикеточная бумага"){

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");		

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'none';	
		tisnenie_struktura.style.display = 'none';	
		color.style.display = 'none';	
		plotnosti.style.display = 'none';
		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'none';	
		tisnenie_struktura_l.style.display = 'none';	
		color_l.style.display = 'none';	
		plotnosti_l.style.display = 'none';
		
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 5;
		vidmaterial.options[0] = new Option("Любая", "");
		vidmaterial.options[1] = new Option("Влагостойкая", "Влагостойкая");
		vidmaterial.options[2] = new Option("Влаго-щелчестойкая", "Влаго-щелчестойкая");
		vidmaterial.options[3] = new Option("Невлагостойкая", "Невлагостойкая");
		vidmaterial.options[4] = new Option("Металлизированная", "Металлизированная");
	}
	if (el.options[el.selectedIndex].value == "Самоклеящиеся материалы"){

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");		

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'block';	
		tisnenie_struktura.style.display = 'block';	
		color.style.display = 'block';	
		plotnosti.style.display = 'none';

		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'block';	
		tisnenie_struktura_l.style.display = 'block';	
		color_l.style.display = 'block';	
		plotnosti_l.style.display = 'none';
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 9;
		vidmaterial.options[0] = new Option("Любая", "");
		vidmaterial.options[1] = new Option("Бумага листовая", "Бумага листовая");
		vidmaterial.options[2] = new Option("Бумага ролевая", "Бумага ролевая");
		vidmaterial.options[3] = new Option("Пленка листовая", "Пленка листовая");
		vidmaterial.options[4] = new Option("Пленка ролевая", "Пленка ролевая");
		vidmaterial.options[5] = new Option("Элитная бумага для винных этикеток", "Элитная бумага для винных этикеток");
		vidmaterial.options[6] = new Option("Ролевая пленка для широкоформатной печати", "Ролевая пленка для широкоформатной печати");
		vidmaterial.options[7] = new Option("Ролевые пленки для плоттерной резки", "Ролевые пленки для плоттерной резки");
		vidmaterial.options[8] = new Option("Ролевые монтажные пленки", "Ролевые монтажные пленки");

		// заполняем массив	оптионов pokritie
		var pokritie = document.getElementById("pokritie");
		pokritie.options.length = 3;
		pokritie.options[0] = new Option("Любое", "");
		pokritie.options[1] = new Option("Металлизированное", "Металлизированное");
		pokritie.options[2] = new Option("Флуоресцентные", "Флуоресцентные");

		// заполняем массив	оптионов tisnenie-struktura
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		tisnenie_struktura.options.length = 6;
		tisnenie_struktura.options[0] = new Option("Любое", "");
		tisnenie_struktura.options[1] = new Option("Нет", "Нет");
		tisnenie_struktura.options[2] = new Option("Верже", "Верже");
		tisnenie_struktura.options[3] = new Option("Лен", "Лен");
		tisnenie_struktura.options[4] = new Option("Фетр", "Фетр");
		tisnenie_struktura.options[5] = new Option("Другое тиснение", "Другое тиснение");

		// заполняем массив	оптионов color
		var color = document.getElementById("color");
		color.options.length = 8;
		color.options[0] = new Option("Любой", "");
		color.options[1] = new Option("Серебро", "Серебро");
		color.options[2] = new Option("Золото", "Золото");
		color.options[3] = new Option("Белый", "Белый");
		color.options[4] = new Option("Слоновая кость", "Слоновая кость");		
		color.options[5] = new Option("Кремовый", "Кремовый");	
		color.options[6] = new Option("Цветная", "Цветная");	
		color.options[7] = new Option("Прозрачная", "Прозрачная");	
	}
	if (el.options[el.selectedIndex].value == "Переплетные материалы"){

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");	
		

		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'block';	
		tisnenie_struktura_l.style.display = 'block';	
		color_l.style.display = 'block';	
		plotnosti_l.style.display = 'block';

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'block';	
		tisnenie_struktura.style.display = 'block';	
		color.style.display = 'block';	
		plotnosti.style.display = 'block';
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 11;
		vidmaterial.options[0] = new Option("Любые", "");
		vidmaterial.options[1] = new Option("Бумажные", "Бумажные");
		vidmaterial.options[2] = new Option("Флокированные", "Флокированные");
		vidmaterial.options[3] = new Option("Синтетические ПВХ на бумажной основе", "Синтетические ПВХ на бумажной основе");
		vidmaterial.options[4] = new Option("Тканевые", "Тканевые");
		vidmaterial.options[5] = new Option("Искусственная кожа", "Искусственная кожа");
		vidmaterial.options[6] = new Option("Балакрон", "Балакрон");
		vidmaterial.options[7] = new Option("Переплетный картон", "Переплетный картон");
		vidmaterial.options[8] = new Option("Переплетный картон с поролоном", "Переплетный картон с поролоном");
		vidmaterial.options[9] = new Option("Гофрокартон", "Гофрокартон");
		vidmaterial.options[10] = new Option("Микрогофрокартон", "Микрогофрокартон");

		// заполняем массив	оптионов pokritie
		var pokritie = document.getElementById("pokritie");
		pokritie.options.length = 2;
		pokritie.options[0] = new Option("Любое", "");
		pokritie.options[1] = new Option("Металлизированное", "Металлизированное");

		// заполняем массив	оптионов tisnenie-struktura
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		tisnenie_struktura.options.length = 14;
		tisnenie_struktura.options[0] = new Option("Любое", "");
		tisnenie_struktura.options[1] = new Option("Нет", "Нет");
		tisnenie_struktura.options[2] = new Option("Лен", "Лен");
		tisnenie_struktura.options[3] = new Option("Новый лен", "Новый лен");
		tisnenie_struktura.options[4] = new Option("Тонкий лен", "Тонкий лен");
		tisnenie_struktura.options[5] = new Option("Верже", "Верже");
		tisnenie_struktura.options[6] = new Option("Кожа", "Кожа");
		tisnenie_struktura.options[7] = new Option("Муар", "Муар");
		tisnenie_struktura.options[8] = new Option("Геометрическое", "Геометрическое");
		tisnenie_struktura.options[9] = new Option("Микровельвет", "Микровельвет");
		tisnenie_struktura.options[10] = new Option("Микротекстиль", "Микротекстиль");
		tisnenie_struktura.options[11] = new Option("Линейное", "Линейное");
		tisnenie_struktura.options[12] = new Option("Кроко", "Кроко");
		tisnenie_struktura.options[13] = new Option("Тростник", "Тростник");


		// заполняем массив	оптионов color
		var color = document.getElementById("color");
		color.options.length = 7;
		color.options[0] = new Option("Любой", "");
		color.options[1] = new Option("Одноцветный", "Одноцветный");
		color.options[2] = new Option("Двуцветный", "Двуцветный");
		color.options[3] = new Option("Золото", "Золото");
		color.options[4] = new Option("Серебро", "Серебро");		
		color.options[5] = new Option("Белые и пастельные оттенки", "Белые и пастельные оттенки");		
		color.options[6] = new Option("Цветные", "Цветные");		

		
		// заполняем массив	оптионов plotnosti
		var plotnosti = document.getElementById("plotnosti");
		plotnosti.options.length = 7;
		plotnosti.options[0] = new Option("Любая", "");
		plotnosti.options[1] = new Option("115-140", "115-140");
		plotnosti.options[2] = new Option("145-195", "145-195");
		plotnosti.options[3] = new Option("200-250", "200-250");
		plotnosti.options[4] = new Option("370, 375", "370, 375");	
		plotnosti.options[5] = new Option("380-500", "380-500");
		plotnosti.options[6] = new Option(">500", ">500");	
	}
	if (el.options[el.selectedIndex].value == "Товары для офисного и домашнего использования"){

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");			

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'none';	
		tisnenie_struktura.style.display = 'none';	
		color.style.display = 'block';	
		plotnosti.style.display = 'none';
		
		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'none';	
		tisnenie_struktura_l.style.display = 'none';	
		color_l.style.display = 'block';	
		plotnosti_l.style.display = 'none';		
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 4;
		vidmaterial.options[0] = new Option("Любая", "");
		vidmaterial.options[1] = new Option("Бумага для копировально-множительной техники", "Бумага для копировально-множительной техники");
		vidmaterial.options[2] = new Option("Фотобумага для цветных струйных принтеров", "Фотобумага для цветных струйных принтеров");
		vidmaterial.options[3] = new Option("Самоклеящиеся этикетки для копировально-множительной техники", "Самоклеящиеся этикетки для копировально-множительной техники");

		// заполняем массив	оптионов color
		var color = document.getElementById("color");
		color.options.length = 3;
		color.options[0] = new Option("Любой", "");
		color.options[1] = new Option("Белый", "Белый");
		color.options[2] = new Option("Цветная", "Цветная");
	}
	if (el.options[el.selectedIndex].value == "Самокопирующая бумага"){
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");
		

		vidmaterial.style.display = 'none';	
		pokritie.style.display = 'none';	
		tisnenie_struktura.style.display = 'none';	
		color.style.display = 'none';	
		plotnosti.style.display = 'none';	
		
		vidmaterial_l.style.display = 'none';	
		pokritie_l.style.display = 'none';	
		tisnenie_struktura_l.style.display = 'none';	
		color_l.style.display = 'none';	
		plotnosti_l.style.display = 'none';
	}
	if (el.options[el.selectedIndex].value == "Конверты"){

		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");				

		vidmaterial.style.display = 'block';	
		pokritie.style.display = 'block';	
		tisnenie_struktura.style.display = 'block';	
		color.style.display = 'block';	
		plotnosti.style.display = 'block';
		
		
		vidmaterial_l.style.display = 'block';	
		pokritie_l.style.display = 'block';	
		tisnenie_struktura_l.style.display = 'block';	
		color_l.style.display = 'block';	
		plotnosti_l.style.display = 'block';		
		
		// заполняем массив	оптионов vidmaterial
		var vidmaterial = document.getElementById("vidmaterial");
		vidmaterial.options.length = 3;
		vidmaterial.options[0] = new Option("Любые", "");
		vidmaterial.options[1] = new Option("Офисные", "Офисные");
		vidmaterial.options[2] = new Option("Элитные (дизайнерские)", "Элитные (дизайнерские)");
		
		// заполняем массив	оптионов pokritie
		var pokritie = document.getElementById("pokritie");
		pokritie.options.length = 4;
		pokritie.options[0] = new Option("Любое", "");
		pokritie.options[1] = new Option("Металлизированное", "Металлизированное");
		pokritie.options[2] = new Option("Латексное", "Латексное");
		pokritie.options[3] = new Option("Из кальки", "Из кальки");

		// заполняем массив	оптионов tisnenie-struktura
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		tisnenie_struktura.options.length = 10;
		tisnenie_struktura.options[0] = new Option("Любое", "");
		tisnenie_struktura.options[1] = new Option("Нет", "Нет");
		tisnenie_struktura.options[2] = new Option("Верже", "Верже");
		tisnenie_struktura.options[3] = new Option("Рогожка", "Рогожка");
		tisnenie_struktura.options[4] = new Option("Кожа", "Кожа");
		tisnenie_struktura.options[5] = new Option("Фетр", "Фетр");
		tisnenie_struktura.options[6] = new Option("Микровельвет", "Микровельвет");
		tisnenie_struktura.options[7] = new Option("Лен", "Лен");
		tisnenie_struktura.options[8] = new Option("Микротекстиль", "Микротекстиль");
		tisnenie_struktura.options[9] = new Option("Молоток", "Молоток");

		// заполняем массив	оптионов color
		var color = document.getElementById("color");
		color.options.length = 6;
		color.options[0] = new Option("Любой", "");
		color.options[1] = new Option("Белый", "Белый");
		color.options[2] = new Option("Крафт", "Крафт");
		color.options[3] = new Option("Цветные", "Цветные");	
		color.options[4] = new Option("Серебро", "Серебро");	
		color.options[5] = new Option("Золото", "Золото");
		
		// заполняем массив	оптионов plotnosti
		var plotnosti = document.getElementById("plotnosti");
		plotnosti.options.length = 3;
		plotnosti.options[0] = new Option("Любая", "");
		plotnosti.options[1] = new Option("80-100", "80-100");
		plotnosti.options[2] = new Option("110-135", "110-135");
	}


if (el.options[el.selectedIndex].value == "Выберите материал"){

		var vidmaterial = document.getElementById("vidmaterial");
		var pokritie = document.getElementById("pokritie");
		var tisnenie_struktura = document.getElementById("tisnenie_struktura");
		var color = document.getElementById("color");
		var plotnosti = document.getElementById("plotnosti");
		
		
		var vidmaterial_l = document.getElementById("vidmaterial_l");
		var pokritie_l = document.getElementById("pokritie_l");
		var tisnenie_struktura_l = document.getElementById("tisnenie_struktura_l");
		var color_l = document.getElementById("color_l");
		var plotnosti_l = document.getElementById("plotnosti_l");

		vidmaterial.style.display = 'none';	
		pokritie.style.display = 'none';	
		tisnenie_struktura.style.display = 'none';	
		color.style.display = 'none';	
		plotnosti.style.display = 'none';
		
		vidmaterial_l.style.display = 'none';	
		pokritie_l.style.display = 'none';	
		tisnenie_struktura_l.style.display = 'none';	
		color_l.style.display = 'none';	
		plotnosti_l.style.display = 'none';

}
}
