<!--
  function showImage(name) {
    var inc_y = 70;
    var inc_x = 10;
    params = "top=20, left=20,width=1, height=1, Status=no, toolbar=no, menubar=no, location=no, directories=no, scrollbars=no";
    popupWin = window.open("","popupWin",params);
    popupWin.focus();
    popupWin.document.open();
    popupWin.document.write("<html><head><title>Фотогалерея</title></head>");
    popupWin.document.write("<script language = JavaScript>");
    popupWin.document.write("function closeWindow(){");
    popupWin.document.write("parent.window.close() };");
    popupWin.document.write("</script>");
    popupWin.document.write("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><a href=''><img src='"+name+"' border='0' name='cha1' onClick='closeWindow()' alt=''  onload='window.resizeTo(window.document.images[0].width+"+inc_x+",window.document.images[0].height+"+inc_y+")'></a></body></html>");
    popupWin.document.close();
  }

function zapret(checking, val1, val2)
{
if(document.getElementById('checkbox' + checking).checked)
	{
		document.getElementById('radio' + val1).disabled = 0;
		document.getElementById('radio' + val2).disabled = 0;
	}
else
	{
		document.getElementById('radio' + val1).disabled = 1;
		document.getElementById('radio' + val2).disabled = 1;	
	}
}

function display(num)
{
switch(num)
{
	case "Талассо":
	clearChild();
	document.getElementById('hidTable1').style.display = "";
	createElement(["Стандартный", "Люкс", "Полулюкс"]);
	clearTbl(1);
	break;
	
	case "Царьград":
	clearChild();
	document.getElementById('hidTable2').style.display = "";
	createElement(["Стандартный", "Люкс", "Полулюкс", "Котедж"]);
	clearTbl(2);
	break;
	
	case "Выберите отель":
	clearTbl();
	clearChild();
	break;
	
	case "Любой":
	document.getElementById('hidTable3').style.display = "";
	clearTbl(3);
	clearChild();
	break;
}
}

function clearTbl(num)
{
	for(i = 1; i<=10; i ++)
		{
			if(document.getElementById('hidTable' + i) && i != num)
				{
					document.getElementById('hidTable' + i).style.display = "none";
				}
		}
}

function createElement(text)
{
	for(i in text)
		{
			var parent = document.getElementById('sendz');
			var newP = document.createElement('option');
		    newP.value = text[i];
			newP.id = "option" + i;
		    var textNode = document.createTextNode(text[i]);
		    newP.appendChild(textNode);
		    parent.appendChild(newP);
		}	
}

function clearChild()
{

	var parent = document.getElementById('sendz');
	var length = parent.length;
	for(i=0; i < length; i++)
	{
	var	del = document.getElementById("option" + i);
	parent.removeChild(del);
	}
}
-->