function RowSelect(obj){
	obj.style.backgroundColor = "#EEEDEE";
//	obj.className = "selectedrow";
}
function RowDeselect(obj){
	obj.style.backgroundColor = "";
//	obj.className = "deselectedrow";
}

function switch_on(num){
	eval("document.images['square_"+ num + "'].src='img/orange.gif'");
}

function switch_off(num){
	eval("document.images['square_"+ num + "'].src='img/white.gif'");
}

var wndDisclaimer;
function Disclamer(){
	var s;
	s="";
	if (document.Send_frm.firm.value=="") {s = s + "Полное название организации\n" }
	if (document.Send_frm.name.value=="") {s = s + "ФИО\n" }
	if (document.Send_frm.appointment.value=="") {s = s + "Должность\n" }
	if (document.Send_frm.phone.value=="") {s = s + "Контактный телефон\n" }
	if (document.Send_frm.eeemail.value=="") {s = s + "E-mail\n" }
	if (document.Send_frm.resname.value=="") {s = s + "Название ресурса\n" }
	if (document.Send_frm.url.value=="") {s = s + "Адрес в Интернет\n" }
	if (document.Send_frm.desc.value=="") {s = s + "Описание\n" }

	if(s!=""){
		s = "Пожалуйста заполните следующие поля:\n\n" + s;
		alert(s);
		}
	else{
		document.Send_frm.submit();
	}
}

function startpoll()
{
	window.open('/poll.asp', 'poll', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=700,height=500,left=50, top=50,screenX=50,screenY=50');
	return void(0);
}
function openwin(urla){
masmi = window.open(urla,'vote','resizable=yes,toolbar=no,width=575,height=535,status=no,scrollbars=yes,top=25,left=25');
return false;}


