// JavaScript Document

var tip1='Высота мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="H" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="B" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="ostekl" style="width:20px;height:15px">Остекление одинарное<br /><input type="checkbox" name="pokraska" style="width:20px;height:15px">Покраска 3 слоя<br /><input type="checkbox" name="dop" style="width:20px;height:15px">Дополнительные переплеты<br /><input type="checkbox" name="podok" style="width:20px;height:15px">Подоконная доска<br />Длинна мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="L" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="C" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="sliv" style="width:20px;height:15px">Слив<br /><input type="checkbox" name="montaj" style="width:20px;height:15px">Монтаж<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="sbm" value="Посчитать" style="width:80px">';
var tip2='Высота мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="H" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="B" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="ostekl" style="width:20px;height:15px">Остекление двойное<br /><input type="checkbox" name="pokraska" style="width:20px;height:15px">Покраска 3 слоя<br /><input type="checkbox" name="dop" style="width:20px;height:15px">Уплотнитель 1 контур<br /><input type="checkbox" name="podok" style="width:20px;height:15px">Подоконная доска<br />Длинна мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="L" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="C" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="sliv" style="width:20px;height:15px">Слив<br /><input type="checkbox" name="montaj" style="width:20px;height:15px">Монтаж<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="sbm" value="Посчитать" style="width:80px">';
var tip3='Высота мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="H" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="B" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="ostekl" style="width:20px;height:15px">Остекление, стекло+стеклопакет<br /><input type="checkbox" name="pokraska" style="width:20px;height:15px">Покраска 3 слоя<br /><input type="checkbox" name="dop" style="width:20px;height:15px">Уплотнитель 2 контура<br /><input type="checkbox" name="podok" style="width:20px;height:15px">Подоконная доска<br />Длинна мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="L" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="C" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="sliv" style="width:20px;height:15px">Слив<br /><input type="checkbox" name="montaj" style="width:20px;height:15px">Монтаж<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="sbm" value="Посчитать" style="width:80px">';
var tip4='Высота мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="H" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="B" style="width:40px;height:15px;font-size:11px"><br /><input type="radio" name="paket" value="1" style="width:20px;height:15px" checked>1 камерный пакет<br /><input type="radio" name="paket" value="2" style="width:20px;height:15px">2-х камерный пакет<br /><input type="checkbox" name="dop" style="width:20px;height:15px">Энергосберегающее стекло<br /><input type="checkbox" name="podok" style="width:20px;height:15px">Подоконная доска<br />Длинна мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="L" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="C" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="sliv" style="width:20px;height:15px">Слив<br /><input type="checkbox" name="montaj" style="width:20px;height:15px">Монтаж<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="sbm" value="Посчитать" style="width:80px">';
var tip5='Высота мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="H" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="B" style="width:40px;height:15px;font-size:11px"><br /><input type="radio" name="paket" value="1" style="width:20px;height:15px" checked>1 камерный пакет<br /><!--<input type="radio" name="paket" value="2" style="width:20px;height:15px">2-х камерный пакет--><br /><input type="checkbox" name="dop" style="width:20px;height:15px">Клееный брус<br /><input type="checkbox" name="podok" style="width:20px;height:15px">Подоконная доска<br />Длинна мм.&nbsp;&nbsp;&nbsp;&nbsp;Ширина мм.<br /><input type="edit" name="L" style="width:40px;height:15px;font-size:11px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="edit" name="C" style="width:40px;height:15px;font-size:11px"><br /><input type="checkbox" name="sliv" style="width:20px;height:15px">Слив<br /><input type="checkbox" name="montaj" style="width:20px;height:15px">Монтаж<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="sbm" value="Посчитать" style="width:80px">';
function setvalue(ind)
{
if (ind==1)
	{
	document.getElementById("tabl").innerHTML=tip1;
	tek=1;
	brbb(1);
	}
if (ind==2)
	{
	document.getElementById("tabl").innerHTML=tip2;
	tek=2;
	brbb(2);
	}
if (ind==3)
	{
	document.getElementById("tabl").innerHTML=tip3;
	tek=3;
	brbb(3);
	}
if (ind==4)
	{
	document.getElementById("tabl").innerHTML=tip4;
	tek=4;
	brbb(4);
	}
if (ind==5)
	{
	document.getElementById("tabl").innerHTML=tip5;
	tek=5;
	brbb(5);
	}
}
